-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
PlaybackController.getBufferLevel() continually returns 0 due to inactive text track. #3850
Comments
Can be reproduced with: Add the following to
Using a breakpoint on line 42912 of |
HI Daniel, Thanks for looking at this. I'll give it a try in the next few days. Your fix looks similar to the change I applied locally, so I think it'll be good. FYI: What I concluded was it required both a text track in the MPD and Regards, |
Thanks, I will merge this for now and close this ticket. Please comment if you encounter any problems. |
Environment
Steps to reproduce
Configure DASH-JS player with
text.defaultEnabled = false
setting viaMediaPlayer.updateSettings()
API, similar to the following:Provide player an MPD which contains an AdaptationSet for a text track.
Start player with autoplay
Observed behavior
Playback does not start, as the
PlaybackController.getBufferLevel()
function returns zero due to the text track.Playback has to be started by calling
play()
on the video element.Console output
Expected behavior
Playback should start once the buffer level of the active
VIDEO
andAUDIO
tracks reaches the value ininitialBufferLevel
.The text was updated successfully, but these errors were encountered: