Closed radiantmediaplayer closed 3 months ago
Including CLOSED-CAPTIONS=NONE
in the #EXT-X-STREAM-INF disables closed captions for that variant:
#EXTM3U
#EXT-X-STREAM-INF:AVERAGE-BANDWIDTH=3850000,BANDWIDTH=4820000,RESOLUTION=1920x1080,FRAME-RATE=30.000,CODECS="avc1.4d401f,mp4a.40.2",CLOSED-CAPTIONS=NONE
mono.m3u8
Here's the change that disables captions based on the CLOSED-CAPTIONS attribute being set to NONE:
Thanks for clarification. We will fix it at the stream level then.
What version of Hls.js are you using?
1.5.8
What browser (including version) are you using?
Google Chrome Version 125.0.6422.112 (Official Build) (64-bit)
What OS (including version) are you using?
Windows 11
Test stream
https://www.rmp-streaming.com/test/hls/29052024/playlist.m3u8
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
Play HLS stream https://www.rmp-streaming.com/test/hls/29052024/playlist.m3u8 at https://hlsjs.video-dev.org/demo/ >> No text track is available.
Expected behaviour
This is a HLS stream with CEA-608 RollUp Text, hls.js should pick up on the text track. This does work on Theoplayer tester at https://www.theoplayer.com/test-your-stream-hls-dash-hesp with the same HLS stream.
What actually happened?
video.textTracks and hlsJS.allSubtitleTracks and hlsJS.subtitleTracks are all empty. hls.js is not picking up on the text track.
Console output
Chrome media internals output