shaka-player 4.12.6 → 4.12.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/controls.css +1 -1
- package/dist/controls.css.map +1 -1
- package/dist/deps.js +1 -1
- package/dist/locales.js +37 -37
- package/dist/shaka-player.compiled.d.ts +1 -1
- package/dist/shaka-player.compiled.debug.d.ts +1 -1
- package/dist/shaka-player.compiled.debug.externs.js +2 -1
- package/dist/shaka-player.compiled.debug.js +309 -305
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +2 -1
- package/dist/shaka-player.compiled.js +1381 -1378
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +1 -1
- package/dist/shaka-player.ui.debug.d.ts +1 -1
- package/dist/shaka-player.ui.debug.externs.js +2 -1
- package/dist/shaka-player.ui.debug.js +269 -265
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +2 -1
- package/dist/shaka-player.ui.js +1111 -1107
- package/dist/shaka-player.ui.map +3 -3
- package/lib/cea/cea708_service.js +27 -2
- package/lib/cea/dtvcc_packet_builder.js +15 -0
- package/lib/dash/dash_parser.js +5 -2
- package/lib/dash/mpd_utils.js +7 -4
- package/lib/dash/segment_template.js +30 -17
- package/lib/hls/hls_parser.js +6 -3
- package/lib/media/media_source_engine.js +12 -8
- package/lib/media/segment_utils.js +28 -16
- package/lib/net/http_fetch_plugin.js +1 -1
- package/lib/net/http_plugin_utils.js +3 -0
- package/lib/player.js +4 -3
- package/package.json +1 -1
- package/ui/audio_language_selection.js +1 -1
|
@@ -374,7 +374,7 @@ declare namespace shaka {
|
|
|
374
374
|
* language, role and channel count, and chooses a new variant if need be.
|
|
375
375
|
* If the player has not loaded any content, this will be a no-op.
|
|
376
376
|
*/
|
|
377
|
-
selectAudioLanguage (language : string , role ? : string , channelsCount ? : number , safeMargin ? : number , codec ? : string ) : any ;
|
|
377
|
+
selectAudioLanguage (language : string , role ? : string , channelsCount ? : number , safeMargin ? : number , codec ? : string , spatialAudio ? : boolean ) : any ;
|
|
378
378
|
/**
|
|
379
379
|
* Sets the current text language and current text role to the selected
|
|
380
380
|
* language and role, and chooses a new variant if need be. If the player has
|
|
@@ -374,7 +374,7 @@ declare namespace shaka {
|
|
|
374
374
|
* language, role and channel count, and chooses a new variant if need be.
|
|
375
375
|
* If the player has not loaded any content, this will be a no-op.
|
|
376
376
|
*/
|
|
377
|
-
selectAudioLanguage (language : string , role ? : string , channelsCount ? : number , safeMargin ? : number , codec ? : string ) : any ;
|
|
377
|
+
selectAudioLanguage (language : string , role ? : string , channelsCount ? : number , safeMargin ? : number , codec ? : string , spatialAudio ? : boolean ) : any ;
|
|
378
378
|
/**
|
|
379
379
|
* Sets the current text language and current text role to the selected
|
|
380
380
|
* language and role, and chooses a new variant if need be. If the player has
|
|
@@ -3761,8 +3761,9 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
|
|
|
3761
3761
|
* @param {number=} channelsCount
|
|
3762
3762
|
* @param {number=} safeMargin
|
|
3763
3763
|
* @param {string=} codec
|
|
3764
|
+
* @param {boolean=} spatialAudio
|
|
3764
3765
|
*/
|
|
3765
|
-
selectAudioLanguage(language, role, channelsCount, safeMargin, codec) {}
|
|
3766
|
+
selectAudioLanguage(language, role, channelsCount, safeMargin, codec, spatialAudio) {}
|
|
3766
3767
|
/**
|
|
3767
3768
|
* Sets the current text language and current text role to the selected
|
|
3768
3769
|
* language and role, and chooses a new variant if need be. If the player has
|