shaka-player 4.13.0 → 4.13.2
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/CONTRIBUTORS +1 -0
- package/dist/deps.js +4 -4
- package/dist/locales.js +36 -36
- 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 -9
- package/dist/shaka-player.compiled.debug.js +491 -478
- package/dist/shaka-player.compiled.debug.map +4 -4
- package/dist/shaka-player.compiled.externs.js +2 -9
- package/dist/shaka-player.compiled.js +1455 -1443
- package/dist/shaka-player.compiled.map +4 -4
- 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 -9
- package/dist/shaka-player.ui.debug.js +544 -530
- package/dist/shaka-player.ui.debug.map +4 -4
- package/dist/shaka-player.ui.externs.js +2 -9
- package/dist/shaka-player.ui.js +1627 -1613
- package/dist/shaka-player.ui.map +4 -4
- package/eslint.config.mjs +14 -1
- package/lib/cast/cast_proxy.js +50 -12
- package/lib/cast/cast_receiver.js +6 -9
- package/lib/cast/cast_sender.js +14 -11
- package/lib/cast/cast_utils.js +43 -46
- package/lib/cea/mp4_cea_parser.js +23 -23
- package/lib/dash/content_protection.js +1 -1
- package/lib/dash/dash_parser.js +39 -29
- package/lib/dash/mpd_utils.js +8 -9
- package/lib/dash/segment_list.js +2 -2
- package/lib/dash/segment_template.js +9 -9
- package/lib/debug/log.js +16 -17
- package/lib/hls/hls_parser.js +122 -99
- package/lib/media/closed_caption_parser.js +5 -5
- package/lib/media/content_workarounds.js +78 -0
- package/lib/media/example_based_criteria.js +4 -3
- package/lib/media/manifest_parser.js +8 -12
- package/lib/media/media_source_engine.js +136 -119
- package/lib/media/preload_manager.js +10 -5
- package/lib/media/region_observer.js +9 -8
- package/lib/media/region_timeline.js +10 -8
- package/lib/media/streaming_engine.js +25 -9
- package/lib/mss/mss_parser.js +6 -7
- package/lib/net/http_plugin_utils.js +1 -1
- package/lib/net/networking_engine.js +7 -7
- package/lib/net/networking_utils.js +38 -39
- package/lib/offline/stream_bandwidth_estimator.js +8 -8
- package/lib/player.js +98 -47
- package/lib/polyfill/media_capabilities.js +8 -9
- package/lib/text/cue.js +6 -2
- package/lib/text/text_engine.js +7 -7
- package/lib/text/ttml_text_parser.js +14 -16
- package/lib/text/ui_text_displayer.js +25 -4
- package/lib/transmuxer/ac3_transmuxer.js +6 -1
- package/lib/transmuxer/transmuxer_engine.js +6 -6
- package/lib/util/manifest_parser_utils.js +7 -8
- package/lib/util/mp4_generator.js +23 -8
- package/lib/util/mp4_parser.js +10 -10
- package/lib/util/multi_map.js +22 -20
- package/lib/util/platform.js +40 -9
- package/lib/util/player_configuration.js +1 -1
- package/lib/util/stream_utils.js +35 -17
- package/package.json +2 -2
- package/project-words.txt +1 -0
- package/third_party/closure-uri/uri.js +13 -13
- package/ui/ad_statistics_button.js +17 -16
- package/ui/audio_language_selection.js +6 -1
- package/ui/statistics_button.js +36 -35
|
@@ -3776,8 +3776,9 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
|
|
|
3776
3776
|
* @param {number=} safeMargin
|
|
3777
3777
|
* @param {string=} codec
|
|
3778
3778
|
* @param {boolean=} spatialAudio
|
|
3779
|
+
* @param {string=} label
|
|
3779
3780
|
*/
|
|
3780
|
-
selectAudioLanguage(language, role, channelsCount, safeMargin, codec, spatialAudio) {}
|
|
3781
|
+
selectAudioLanguage(language, role, channelsCount, safeMargin, codec, spatialAudio, label) {}
|
|
3781
3782
|
/**
|
|
3782
3783
|
* Sets the current text language and current text role to the selected
|
|
3783
3784
|
* language and role, and chooses a new variant if need be. If the player has
|
|
@@ -5910,14 +5911,6 @@ shaka.polyfill.MediaCapabilities = class {
|
|
|
5910
5911
|
* @type {MediaCapabilities}
|
|
5911
5912
|
*/
|
|
5912
5913
|
shaka.polyfill.MediaCapabilities.originalMcap;
|
|
5913
|
-
/**
|
|
5914
|
-
* A cache that stores the canDisplayType result of calling
|
|
5915
|
-
* `cast.__platform__.canDisplayType`.
|
|
5916
|
-
* @type {(Object<(!string), (!boolean)>)}
|
|
5917
|
-
*/
|
|
5918
|
-
shaka.polyfill.MediaCapabilities.memoizedCanDisplayTypeRequests_ = {
|
|
5919
|
-
|
|
5920
|
-
};
|
|
5921
5914
|
/**
|
|
5922
5915
|
* @summary A polyfill to patch MSE bugs.
|
|
5923
5916
|
*/
|