Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Dash captions cannot handle duplicate "lang" and ignores label #645
When providing multiple subtitle tracks in dash, not every track is selectable. This happens if the
In the manifest, the
This is contained twice (with different labels):
Playlist that does not work:
In case the files ever lead to 404, here is the source:
Steps to reproduce
Expected the text tracks list to show
If you use
what version of videojs-http-streaming does this occur with?
what version of videojs does this occur with?
what platforms are affected? please include operating system and version or device and version for each
If you're reporting a
Just a sidenote:
I thought that this might be a trivial usage of a Set in the parser and a missing getter for the label, but I have no idea where to actually find the parsing code to begin the investigation.
Interesting, it's possible that we deduping based on kind and language. Looking at the HTML spec now, it seems that label is also used for deduping, though, I thought that labels didn't count previously.