forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Immediately switch audio tracks if different role selected
Previously, selecting a new audio track with selectAudioLanguage(), with the same language but different role, would only set the variants to switch to for ABR, but wouldn't actually switch to any of those variants at the moment of selection due to a bug in chooseStreams_(), which was still looking at only audio language as a differentiating mechanism. This change honors the role as well, so that a switch to the correct variants immediately happens. Closes shaka-project#948
- Loading branch information
Bryan Huh
committed
Jul 26, 2017
1 parent
4496f53
commit 6958e95
Showing
2 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters