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
Understanding Live Playlist Re-Sync Behavior #3764
Comments
See
"live sliding playlist" suggests that the start and end of the playlist change with updates, but this error is mostly caused by the end being too far from
The hls.js configuration options and defaults for this have not changed in v1.0. You might be running into an issue I noticed in 3736 and have a fix for coming in v1.0.1 in #3740. |
@softworkz can you confirm that the "Playback: ... is located too far from the end ..." resyncing is fixed for your stream in https://hls-js-1b74ca68-453f-43e4-b9f4-5e9e18e6d611.netlify.app/demo/ ? Thanks! |
(this is not yet about your PR..) Initially, I had this:
Then I added these:
=> The problem still occured Finally, I got crazy and I also added(!) these:
Now, I will try your patch of course! |
Can I cherry-pick 9ff3ab8 onto v1.0.0 or should I better merge all of the master branch up to this commit? |
If you're working on your own fork, you can do either. HEAD is pretty close to v1.0.1: https://github.com/video-dev/hls.js/pulls?q=is%3Apr+milestone%3A1.0.1 |
I primarily need my own PR about progressive loading, but anyway I probably can't test a localhost non-https stream with your hosted demo (https://hls-js-1b74ca68-453f-43e4-b9f4-5e9e18e6d611.netlify.app/demo/)
Just wanted to make sure that the PR doesn't have any dependencies on post-v1.0.0 commits.. Hold on.. |
Good news...I can confirm that the referenced patch fixes the issue! Thanks, great job! |
A tiny follow-up question in that context: Given the same situation as described above, let's assume that a user has paused playback. Assuming I would want to do something in that case like displaying a message or auto-resuming playback, what would be the best way to monitor for that situation? UPDATE: Created separate issue #3794 |
What do you want to do with Hls.js?
It's about Live TV Playback with Time-Shift buffer
I have a live playlist for TV playback where the time-shift range can cover something like the past 60 minutes.
That means (with 3s target duration) that the (live!) playlist can include 1200 segments (0 to 1199) before segments start to get removed from the beginning (after 60 minutes, segment 0 gets removed, then 1, then 2, etc)
What's the problem?
But frequently (typically after having paused for a while and then resuming playback), I get messages like this:
First of all, I don't understand the message - what "live sliding playlist" is it referring to?
And how can 293 be "located too far from the end of live sliding playlist"?
All segments are available, starting from segment 0 at time 0.
And why does hlsjs decide to reset the time close to the "live edge" in this case?
(it regularly re-loads the playlist and should know which segments are available)
Thanks,
softworkz
The text was updated successfully, but these errors were encountered: