ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

adaptive bitrate

Open ummerakbar45 opened this issue 8 years ago • 3 comments

How can I check adaptive bitrate or resulation like youtube shows 144 , 240 etc. I mean how can I check video changes bitrate. I have hls videos but exoplayer start buffering without switching to low bitrate

ummerakbar45 avatar Oct 04 '18 17:10 ummerakbar45

There are two questions here, I suppose:

How can I check adaptive bitrate or resulation like youtube shows 144 , 240 etc. I mean how can I check video changes bitrate.

Have a look at the DemoApp. When you play a video, at the top of the screen you will see a short text in white with black background. The code that backs this can be found in DebugTextViewHelper#getVideoString. Also relevant is VideoListener#onVideoSizeChanged.

I have hls videos but exoplayer start buffering without switching to low bitrate

Depends on the initial bitrate estimate that the Player is using, but this is not inherently an issue. Please fill the issue template if you think there is a bug in ExoPlayer.

AquilesCanta avatar Oct 05 '18 13:10 AquilesCanta

Thanks for your reply please provide link for DebugTextViewHelper. How can I convert 560kb/s to resulation , I mean what bit rate is equal to 144 , 240 and so on. Is it possible , I add my own url in demo app and tested is bitrate switching based on bandwidth, if yes please provide steps.

On Fri, Oct 5, 2018 at 6:31 PM Santiago Seifert [email protected] wrote:

Closed #4909 https://github.com/google/ExoPlayer/issues/4909.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/ExoPlayer/issues/4909#event-1887086606, or mute the thread https://github.com/notifications/unsubscribe-auth/AdgNFsJcIDfPCMG-Py9IhoGpZhHzkjFgks5uh1gMgaJpZM4XIkAP .

ummerakbar45 avatar Oct 06 '18 10:10 ummerakbar45

Here is a link to DebugTextViewHelper. The resolution will be available in the video format if the manifest declares the resolution.

AquilesCanta avatar Oct 15 '18 08:10 AquilesCanta