Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Getting current player buffer size (Android native)


I am using Android's native JWPlayer. I want to get the player's current video buffer size (seconds of playback remaining).

I have looked into the API documentation but I have not found a suitable method for getting it. I also did not find anything useful on the Internet.

There is VideoPlayerEvents.OnBufferChangeListener(), but it does not seem to get called at all. There is also VideoPlayerEvents.OnTimeListener(), but the 'duration' parameter is always set to -1.

Does anyone know the correct / customary way to get JWPlayer's current buffer size in native Android apps, or is it not possible?

Thanks in advance ;)

1 Community Answers


JW Player Support Agent  
0 rated :

For me to reproduce this issue reliably I will need this information about your application:

Device’s Android Version:
JW Player SDK for Android version number:
Device make and model where you are experiencing this issue:
Provide step by step instructions on how to reproduce your issue:
JW Player Demo Application Source Code that is also experiencing the issue:

As the last field suggests, please replicate this issue using the JW Player Demo Application and send us a link to a zipped version of the entire Android Studio Project for testing which can be found here:

This question has received the maximum number of answers.