Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Selecting audio track fails #214

Open
andrej-repisky opened this issue Apr 21, 2021 · 0 comments
Open

Selecting audio track fails #214

andrej-repisky opened this issue Apr 21, 2021 · 0 comments

Comments

@andrej-repisky
Copy link

I need to select a particular audio track language in encrypted MPEG dash streams. I found 2 ways to do it in API:

  • The property audioLanguagesAndRoles and method selectAudioLanguage() in ShakaPlayer class. The property is working well and returning a list of language codes. However selectAudioLanguage() when called with one of the codes has no effect.
  • getVariantTracks and selectVariantTrack – here as well the getter is working, but the selection method isn't.

So how can I set the audio track?

Environment:

Shaka player embedded, commit dabbeb5
Widevine 15.2.4
Xcode 12.4
iOS 14.4.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant