Closed
Description
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
{
autoStartLoad: false
}
Additional player setup steps
No response
Checklist
- The issue observed is not already reported by searching on Github under https://github.com/video-dev/hls.js/issues
- The issue occurs in the stable client (latest release) on https://hlsjs.video-dev.org/demo and not just on my page
- The issue occurs in the latest client (main branch) on https://hlsjs-dev.video-dev.org/demo and not just on my page
- The stream has correct Access-Control-Allow-Origin headers (CORS)
- There are no network errors such as 404s in the browser console when trying to play the stream
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
[log] > [subtitle-track-controller]: Switching to subtitle-track 0 "English" lang:en group:textstream
contrary to the other texttracks, there is no more output after this line. Video was buffered and paused
Chrome media internals output
No response