ExoPlayer Version
2.17.1
Devices that reproduce the issue
Pixel 3 in Android 12.
vivo iqoo NEO in Android 11.
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
-
in DefaultLoadControl, set minBufferMs = 5000, maxBufferMs = 10000
-
play the video https://v4.cdtlas.com/20220518/kkY4bcNJ/index.m3u8
3.It will be stuck when play 1-2 minutes.
boolean allowsPlayback =
isReadingAhead || isWaitingForNextStream || renderer.isReady() || renderer.isEnded();
renderersAllowPlayback = renderersAllowPlayback && allowsPlayback;
This audio renderer is not ready leads ths issue. but I do not know why?
I also test in MediaPlayer. It is normal .
Expected result
play normally.
Actual result
It will be stuck when play 1-2 minutes.
Media
https://v4.cdtlas.com/20220518/kkY4bcNJ/index.m3u8
Bug Report