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
startPosition is ignored / slides back to live sync point #3736
Comments
Hi @eteubert, If you get "Playback: ... is located too far from the end of live sliding playlist", then you need to configure Ah looking in more detail Instead of looking at the readyState we should be looking at whether or not currentTime is outside the window AND we're not buffered (playback is allowed outside the window if buffered as this is necessary for streams with very small windows). |
Do not sync with live edge when inside sliding window and liveMaxLatencyDuration Fixes #3736
Turns out it is two things:
|
Do not sync with live edge when inside sliding window and liveMaxLatencyDuration Fixes #3736
What version of Hls.js are you using?
1.0.0
What browser and OS (including versions) are you using?
macOS 11.2.3 / FF 88
Test stream:
https://hls-js.netlify.app/demo/?src=https%3A%2F%2Fmcdn.br.de%2Fbr%2Fhf%2Fb2sued%2Fmaster.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjpmYWxzZSwiZHVtcGZNUDQiOmZhbHNlLCJsZXZlbENhcHBpbmciOi0xLCJsaW1pdE1ldHJpY3MiOi0xfQ==
https://mcdn.br.de/br/hf/b2sued/master.m3u8
Configuration:
Checklist
Steps to reproduce
Expected behavior
Stream loads and starts at time provided to
startPosition
Actual behavior
Stream starts playing at live sync point.
Same behavior when I manually call
hls.startLoad(123);
on theMEDIA_ATTACHED
event.Seems related to #3603
Console output
The text was updated successfully, but these errors were encountered: