Interstitial with a timeOffset > 0 breaks subtitle selection. #6768
Labels
Bug
Interstitials
Needs Triage
If there is a suspected stream issue, apply this label to triage if it is something we should fix.
Milestone
What version of Hls.js are you using?
v1.6.0-beta.1
What browser (including version) are you using?
Chrome 129.0.6668.100
What OS (including version) are you using?
macOS
Test stream
No response
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
Create a stream with 2
SUBTITLE
tracks, without interstitials:Get the
url
from the response and play it with https://hlsjs-dev.video-dev.org/demo/. The first 8 seconds contain two text tracks, you can select them with the controls, they'll also appear.Now, let's add an interstitial with a timeOffset > 0:
Select a subtitle track when it did not reach the interstitial yet. The subtitle track is selected (& HLS.js API reflects the right state), but it's not shown.
Expected behaviour
Subtitles should be visible.
What actually happened?
Subtitles are not visible.
Console output
Chrome media internals output
The text was updated successfully, but these errors were encountered: