Closed kareljuricka closed 3 years ago
This is expected behavior. This returns Variants (i.e. audio+video pairs). So since there are multiple resolutions, there will be multiple tracks for the same language. If you want to select the language and keep ABR auto-selecting the resolution, you should use audioLanguagesAndRoles
and use selectAudioLanguage
/selectAudioLanguage:withRole
to change the selected language.
Awesome! That's what I missed. Thanks!
Calling method
returns each of lang track more than once.
instead of expected:
Manifest: https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd
Same behaviour on HLS stream with useNativeHlsOnSafari = false configuration.