Closed tri170391 closed 5 years ago
Observations:
hls.subtitleTracks
subtitle
captions
metadata
caption
Hlsjs.Events.SUBTITLE_TRACKS_UPDATED
Well unit test is tricky unless the video.js/hls.js never changes (a.k.a our assertion might not be correct anymore in new versions, unknown use cases etc.)
video.js
hls.js
Observations:
hls.subtitleTracks
apparently only havesubtitle
tracks and nocaptions
.metadata
andcaption
tracks is not available whenHlsjs.Events.SUBTITLE_TRACKS_UPDATED
is emitted.caption
andsubtitle
track gets switched at the same time.