-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DASH + multiple subtitles adaptation sets issue #4650
Comments
I can see from your example that the two tracks are equivalent in language, and only differ in format. This is analogous to video and audio, where you may have the same resolutions/languages available in multiple codecs. For video and audio, we select a single codec early, because we don't yet have the ability to switch codecs during a presentation. (See #1528.) However, that is not the case for text. Because text stream parsing happens at the JavaScript level, we can switch between text streams without concern for their format or codec. If we should only return one track in your case, how should we choose? For audio and video, we introduced some configurations to let applications decide how we choose. (See Should we introduce a similar config for text? Something like: player.configure('preferredTextFormats', [
'wvtt', // in MP4
'text/vtt', // as text
]); |
I'm agree with adding |
Thanks for answering. But besides that, the player should choose and present only one text track (maybe the first one?) per group. Is your understanding of the spec different from mine? |
Have you read the FAQ and checked for duplicate open issues?
Yes.
What version of Shaka Player are you using?
4.2.3.
Can you reproduce the issue with our latest release version?
Not tried.
Can you reproduce the issue with the latest code from
main
?Not tried.
Are you using the demo app or your own custom app?
My own app.
If custom app, can you reproduce the issue using our demo app?
Not tried.
What browser and OS are you using?
Chrome 107.0.5304.88 (Build officiel) (64 bits)
Windows Windows 10 Professionnel 21H2
What are the manifest and license server URIs?
Manifest excerpt:
What did you expect to happen?
As per specification, if several
AdaptationSet
with the samegroup
are present, ony one should be presented:https://dashif.org/docs/DASH-IF-IOP-v4.2-clean.htm#:~:text=Only%20one%20Representation%20in%20a%20Group%20is%20intended%20to%20be%20presented%20at%20a%20time.
So,
getTextTracks()
should return onyl 1 subtitles track.What actually happened?
getTextTracks()
returns the 2 subtitles tracks.The text was updated successfully, but these errors were encountered: