-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exoplayer2 questions about the buffer, format switching. #6607
Comments
|
Hi Tonihei, Thank you so much for the quick response. I have one more question. Let's assume Now based on above, the buffered started playing the chunks, at t=4 sec(at the end of 2nd video chunk) the controller detected the higher bandwidth and triggers 1080P. Now the buffer will play the remaining 720P downloaded video chunks as normal until the end of last (6th) chunk (in time it is 12th sec). For the left 2sec will the buffer try to download 720P video chunk or 1080P video chunk? Through my tests, I got to know that it is waiting for the condition minDurationForQualityIncreaseMs to be satisfied but I want to know how the buffer is acting in this scenario. Thanks in advance. |
If you have 16 seconds of video buffered and minDurationForQualityIncreaseMs is set to 10 seconds and the current bandwidth estimate is sufficient for switching up, then the next chunk will be loaded in the higher resolution. |
Got it and thank you.
Somehow I am experiencing a delay of 48 sec during format switching (in both cases). if (!isBlacklisted(currentSelectedIndex, nowMs)) { |
|
Hi Developers,
Why is this value DEFAULT_MIN_DURATION_FOR_QUALITY_INCREASE_MS is 10000 ?
Link:
https://exoplayer.dev/doc/reference-v1/constant-values.html#com.google.android.exoplayer.chunk.FormatEvaluator.AdaptiveEvaluator.DEFAULT_MIN_DURATION_FOR_QUALITY_INCREASE_MS
What are the effects if we try to decrease the above value to very low in order to avoid the format switching delay (low to high).
How does the buffer manages the low format video chunks already downloaded if it need to switch to higher format ? How the buffer works in downloading the contents?
Anyone please help me in these.
Thanks in advance
The text was updated successfully, but these errors were encountered: