HLS subtitles lose role information #4759
Labels
component: HLS
The issue involves Apple's HLS manifest format
priority: P1
Big impact or workaround impractical; resolve before feature release
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
latest
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from
main
?yes
Are you using the demo app or your own custom app?
own custom app
If custom app, can you reproduce the issue using our demo app?
n/a
What browser and OS are you using?
Chrome, macOS
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
n/a
What configuration are you using? What is the output of
player.getConfiguration()
?n/a
What did you do?
Play HLS content that has both captions and subtitles, the captions having the EXT-MEDIA-TAG as follows:
What did you expect to happen?
The subtitle track parsed as having
roles: ["public.accessibility.describes-music-and-sound"]
What actually happened?
There is no information in the shaka track object regarding what
roles
(orkind
) this track has, so there is no way of distinguishing it as captions.I have a fix locally that solves the problem, and could make a pull request. It would be good to have someone with more knowledge of
hls_parser.js
to take a look at it.The text was updated successfully, but these errors were encountered: