shaka-player 4.2.9 → 4.2.11
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/.github/workflows/demo-version-index.yaml +3 -3
- package/.github/workflows/selenium-lab-tests.yaml +23 -1
- package/AUTHORS +2 -1
- package/CHANGELOG.md +44 -0
- package/CONTRIBUTORS +4 -1
- package/README.md +3 -0
- package/demo/demo.less +1 -0
- package/dist/controls.css +1 -1
- package/dist/demo.compiled.debug.js +154 -276
- package/dist/demo.compiled.debug.map +4 -4
- package/dist/demo.compiled.js +154 -276
- package/dist/demo.compiled.map +4 -4
- package/dist/demo.css +1 -1
- package/dist/demo.css.map +1 -1
- package/dist/deps.js +1 -1
- package/dist/locales.js +33 -33
- package/dist/receiver.compiled.debug.js +36 -65
- package/dist/receiver.compiled.debug.map +4 -4
- package/dist/receiver.compiled.js +36 -65
- package/dist/receiver.compiled.map +4 -4
- package/dist/shaka-player.compiled.d.ts +20 -3
- package/dist/shaka-player.compiled.debug.d.ts +20 -3
- package/dist/shaka-player.compiled.debug.externs.js +26 -12
- package/dist/shaka-player.compiled.debug.js +185 -180
- package/dist/shaka-player.compiled.debug.map +4 -4
- package/dist/shaka-player.compiled.externs.js +26 -12
- package/dist/shaka-player.compiled.js +821 -818
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +20 -3
- package/dist/shaka-player.ui.debug.d.ts +20 -3
- package/dist/shaka-player.ui.debug.externs.js +14 -0
- package/dist/shaka-player.ui.debug.js +266 -261
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +14 -0
- package/dist/shaka-player.ui.js +964 -960
- package/dist/shaka-player.ui.map +3 -3
- package/docs/tutorials/a11y.md +0 -4
- package/docs/tutorials/ad_monetization.md +0 -4
- package/docs/tutorials/basic-usage.md +0 -5
- package/docs/tutorials/config.md +0 -5
- package/docs/tutorials/debugging.md +0 -5
- package/docs/tutorials/drm-config.md +0 -5
- package/docs/tutorials/fairplay.md +2 -2
- package/docs/tutorials/license-server-auth.md +0 -5
- package/docs/tutorials/license-wrapping.md +0 -5
- package/docs/tutorials/network-and-buffering-config.md +0 -5
- package/docs/tutorials/ui-customization.md +0 -5
- package/docs/tutorials/ui.md +0 -7
- package/docs/tutorials/welcome.md +1 -6
- package/externs/network_information.js +7 -2
- package/externs/shaka/abr_manager.js +6 -0
- package/externs/shaka/net.js +1 -0
- package/externs/shaka/player.js +13 -7
- package/lib/abr/simple_abr_manager.js +27 -3
- package/lib/ads/client_side_ad_manager.js +6 -3
- package/lib/dash/dash_parser.js +49 -48
- package/lib/debug/log.js +9 -13
- package/lib/hls/hls_parser.js +6 -0
- package/lib/hls/manifest_text_parser.js +10 -1
- package/lib/media/drm_engine.js +9 -6
- package/lib/media/media_source_engine.js +17 -8
- package/lib/media/segment_index.js +2 -0
- package/lib/media/segment_reference.js +22 -0
- package/lib/media/streaming_engine.js +17 -7
- package/lib/net/http_fetch_plugin.js +79 -57
- package/lib/net/networking_engine.js +1 -0
- package/lib/player.js +26 -3
- package/lib/polyfill/media_capabilities.js +13 -0
- package/lib/text/mp4_vtt_parser.js +4 -0
- package/lib/text/text_engine.js +1 -0
- package/lib/util/manifest_parser_utils.js +1 -2
- package/lib/util/mime_utils.js +11 -0
- package/lib/util/periods.js +5 -5
- package/lib/util/stream_utils.js +2 -2
- package/maintained-branches.md +3 -4
- package/package.json +9 -3
- package/test/hls/hls_live_unit.js +3 -1
- package/test/media/content_workarounds_unit.js +43 -0
- package/test/media/drm_engine_integration.js +4 -17
- package/test/media/media_source_engine_unit.js +31 -0
- package/test/media/streaming_engine_unit.js +6 -1
- package/test/net/networking_engine_unit.js +6 -1
- package/test/player_integration.js +39 -0
- package/test/player_unit.js +57 -0
- package/test/polyfill/media_capabilities_unit.js +0 -1
- package/test/test/assets/text-clip-alt.vtt +63 -0
- package/test/test/util/fake_drm_engine.js +3 -0
- package/test/test/util/layout_tests.js +4 -3
- package/test/test/util/simple_fakes.js +6 -0
- package/test/test/util/test_scheme.js +9 -14
- package/test/text/mp4_vtt_parser_unit.js +8 -0
- package/test/util/mime_utils_unit.js +10 -0
|
@@ -1170,6 +1170,7 @@ shaka.text.TextEngine = class {
|
|
|
1170
1170
|
* per ({@link shaka.abr.SimpleAbrManager.SWITCH_INTERVAL_MS}).
|
|
1171
1171
|
* </p>
|
|
1172
1172
|
* @implements {shaka.extern.AbrManager}
|
|
1173
|
+
* @implements {shaka.util.IReleasable}
|
|
1173
1174
|
*/
|
|
1174
1175
|
shaka.abr.SimpleAbrManager = class {
|
|
1175
1176
|
/** */
|
|
@@ -1178,6 +1179,10 @@ shaka.abr.SimpleAbrManager = class {
|
|
|
1178
1179
|
* @override
|
|
1179
1180
|
*/
|
|
1180
1181
|
stop() {}
|
|
1182
|
+
/**
|
|
1183
|
+
* @override
|
|
1184
|
+
*/
|
|
1185
|
+
release() {}
|
|
1181
1186
|
/**
|
|
1182
1187
|
* @override
|
|
1183
1188
|
*/
|
|
@@ -1869,6 +1874,15 @@ shaka.media.SegmentReference = class {
|
|
|
1869
1874
|
* Mark the reference as unavailable.
|
|
1870
1875
|
*/
|
|
1871
1876
|
markAsUnavailable() {}
|
|
1877
|
+
/**
|
|
1878
|
+
* Mark the reference as preload.
|
|
1879
|
+
*/
|
|
1880
|
+
markAsPreload() {}
|
|
1881
|
+
/**
|
|
1882
|
+
* Returns true if the segment is preloaded.
|
|
1883
|
+
* @return {boolean}
|
|
1884
|
+
*/
|
|
1885
|
+
isPreload() {}
|
|
1872
1886
|
/**
|
|
1873
1887
|
* Offset the segment reference by a fixed amount.
|
|
1874
1888
|
* @param {number} offset The amount to add to the segment's start and end
|