-
Notifications
You must be signed in to change notification settings - Fork 414
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
Error updating LLHLS segments when video quality changes. #1445
Comments
Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:
|
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Please do not delete the template, by filling out the required information we can investigate your issue more quickly.
Before opening an issue see if your problem can be resolved with the troubleshooting guide.
Description
A live streaming environment.
In the m3u8 playback situation above, suppose there are some stacked segments in a1 and a2 due to a few quality changes.
There is an issue with segment updates when stopping and restarting a1.
If the interval between stops and starts gets longer, there will be no matching segments and you won't be able to pull map data from the previous segment.
and the handleSegmentBytes function will throw an error.
Sources
I've come up with two possible solutions.
but I'm not familiar with the structure of the http-streaming project, so bear with me.
(playlist-loader.js)
(add method playlist-loader.js)
(media-groups.js)
(playlist-loader.js)
Steps to reproduce
Explain in detail the exact steps necessary to reproduce the issue.
Results
Expected
Hopefully, the above issues have been resolved and LLHLS videos play smoothly despite frequent quality changes.
Error output
Additional Information
Please include any additional information necessary here. Including the following:
videojs-http-streaming version
what version of videojs-http-streaming does this occur with?
videojs-http-streaming x.y.z
videojs version
what version of videojs does this occur with?
video.js x.y.z
Browsers
what browsers are affected? please include browser and version for each
*
Platforms
what platforms are affected? please include operating system and version or device and version for each
*
Other Plugins
are any other videojs plugins being used on the page? If so, please list them with version below.
*
Other JavaScript
are you using any other javascript libraries or frameworks on the page? if so please list them below.
*
The text was updated successfully, but these errors were encountered: