Parse Accessibility element for media type Subtitles
in DASH
#2060
Labels
component: captions/subtitles
The issue involves captions or subtitles
status: archived
Archived and locked; will not be updated
type: accessibility
An accessibility issue
type: bug
Something isn't working correctly
Milestone
Have you read the FAQ and checked for duplicate open issues? - yes
Is your feature request related to a problem? Please describe.
I was on the fence should I open Bug Report or Feature Request.
Current problem is that Shaka does not recognize
Accessibility
element for Subtitle track. As the developer, you do not have enough signals/information to distinguishcaption
tracks fromsubtitle
tracks.Describe the solution you'd like
I think it should be an open discussion, but if somebody supports both
CC
andSubtitle
in the media manifest (DASH), they should be equipped to analyze the data. For example,getTextLanguagesAndRoles
could analyzeAccessibility
elements and return rolescaption
,subtitle
. OrgetTextTracks
should be rich with the information about accessibility traits so the developer can build maintainable conditions to supportCC + Subtitles
use cases.Describe alternatives you've considered
Trying to use methods like
getTextLanguagesAndRoles
orgetTextTracks
does not give enough metadata to operate on.Additional context
I would like to share with you an example of how Role/Accessibility use-case looks like in DASH:
Shaka will parse such DASH manifest without any issues, but as a developer, you will not have enough information from Shaka API to distinguish tracks.
Here are examples, how results will look for the available Shaka API:
Method
getTextLanguagesAndRoles
Method
getTextTracks
The text was updated successfully, but these errors were encountered: