-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Disabling inflight subtitle playlist prevents segments from ever loading #6402
Comments
I'm unable to reproduce the issue on the demo page with In your reproduction example, the english subtitle playlist is requested on start. It is the default track and will be loaded when you begin loading on manifest_parsed. The issue is related to disabling the subtitle track while it is being loaded. This results in the level details never being stored in subtitle-stream-controller because of an early return ( hls.js/src/controller/subtitle-stream-controller.ts Lines 267 to 279 in 2c19c5c
You could either remove the default tag from the subs or not disable subtitles on start to workaround this issue for now. |
Thank you for that fast response! What I figured out inbetween: When I set the track to |
That's clever. I guess this produces the warning hls.js/src/controller/subtitle-track-controller.ts Lines 377 to 379 in 2c19c5c
|
What version of Hls.js are you using?
1.5.x
What browser (including version) are you using?
Chrome
What OS (including version) are you using?
macOS
Test stream
https://codepen.io/3qgmbh/pen/MWdgKVK
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
When I try to Change to the first textTrack, there is no reaction.
The other tracks can be changed as expected, but choosing the first one doesn't have an effect.
The code works up until HLS 1.4.14, but on 1.5.x it's broken.
Example Codepen: https://codepen.io/3qgmbh/pen/MWdgKVK
Expected behaviour
You can choose the first texttrack
What actually happened?
When choosing the first texttrack, the last message (if existing) keeps being displayed
Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: