feat: Add preferredAudioLabel to PlayerConfiguration (#4763)

Closes
[#4762](https://github.com/shaka-project/shaka-player/issues/4762).

The change is to add PreferredAudioLabel to player configuration so that
host apps can decide the default variant label to choose at very
beginning.
This commit is contained in:
Tian Shao
2022-11-29 01:30:40 -08:00
committed by GitHub
parent c5a86a8298
commit aadecd6401
13 changed files with 39 additions and 7 deletions
+1
View File
@@ -64,6 +64,7 @@ player.getConfiguration();
playRangeEnd: Infinity
playRangeStart: 0
preferredAudioLanguage: ""
preferredAudioLabel: ""
preferredTextLanguage: ""
restrictions: Object
streaming: Object