shaka-player 4.3.6 → 4.3.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/.github/workflows/demo-version-index.yaml +3 -3
- package/CHANGELOG.md +21 -0
- package/README.md +3 -0
- package/demo/demo.less +1 -0
- package/dist/demo.css +1 -1
- package/dist/demo.css.map +1 -1
- package/dist/locales.js +31 -31
- package/dist/shaka-player.compiled.d.ts +8 -0
- package/dist/shaka-player.compiled.debug.d.ts +8 -0
- package/dist/shaka-player.compiled.debug.externs.js +9 -0
- package/dist/shaka-player.compiled.debug.js +130 -125
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +9 -0
- package/dist/shaka-player.compiled.js +754 -751
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +8 -0
- package/dist/shaka-player.ui.debug.d.ts +8 -0
- package/dist/shaka-player.ui.debug.externs.js +9 -0
- package/dist/shaka-player.ui.debug.js +236 -231
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +9 -0
- package/dist/shaka-player.ui.js +578 -575
- package/dist/shaka-player.ui.map +3 -3
- package/docs/tutorials/welcome.md +1 -1
- package/lib/cea/mp4_cea_parser.js +5 -2
- package/lib/hls/hls_parser.js +43 -2
- package/lib/hls/manifest_text_parser.js +10 -1
- package/lib/media/drm_engine.js +9 -6
- package/lib/media/media_source_engine.js +6 -4
- package/lib/media/segment_reference.js +22 -0
- package/lib/media/streaming_engine.js +9 -4
- package/lib/player.js +5 -1
- package/package.json +8 -3
- package/test/cea/mp4_cea_parser_unit.js +19 -0
- package/test/hls/hls_live_unit.js +3 -1
- package/test/media/media_source_engine_unit.js +30 -0
- package/test/test/assets/h265-cea-init.mp4 +0 -0
- package/test/test/assets/h265-cea-segment.mp4 +0 -0
- package/test/test/util/layout_tests.js +4 -3
|
@@ -1199,6 +1199,14 @@ declare namespace shaka.media {
|
|
|
1199
1199
|
* Creates and returns the URIs of the resource containing the segment.
|
|
1200
1200
|
*/
|
|
1201
1201
|
getUris ( ) : string [] ;
|
|
1202
|
+
/**
|
|
1203
|
+
* Returns true if the segment is preloaded.
|
|
1204
|
+
*/
|
|
1205
|
+
isPreload ( ) : boolean ;
|
|
1206
|
+
/**
|
|
1207
|
+
* Mark the reference as preload.
|
|
1208
|
+
*/
|
|
1209
|
+
markAsPreload ( ) : any ;
|
|
1202
1210
|
/**
|
|
1203
1211
|
* Mark the reference as unavailable.
|
|
1204
1212
|
*/
|
|
@@ -1199,6 +1199,14 @@ declare namespace shaka.media {
|
|
|
1199
1199
|
* Creates and returns the URIs of the resource containing the segment.
|
|
1200
1200
|
*/
|
|
1201
1201
|
getUris ( ) : string [] ;
|
|
1202
|
+
/**
|
|
1203
|
+
* Returns true if the segment is preloaded.
|
|
1204
|
+
*/
|
|
1205
|
+
isPreload ( ) : boolean ;
|
|
1206
|
+
/**
|
|
1207
|
+
* Mark the reference as preload.
|
|
1208
|
+
*/
|
|
1209
|
+
markAsPreload ( ) : any ;
|
|
1202
1210
|
/**
|
|
1203
1211
|
* Mark the reference as unavailable.
|
|
1204
1212
|
*/
|
|
@@ -1900,6 +1900,15 @@ shaka.media.SegmentReference = class {
|
|
|
1900
1900
|
* Mark the reference as unavailable.
|
|
1901
1901
|
*/
|
|
1902
1902
|
markAsUnavailable() {}
|
|
1903
|
+
/**
|
|
1904
|
+
* Mark the reference as preload.
|
|
1905
|
+
*/
|
|
1906
|
+
markAsPreload() {}
|
|
1907
|
+
/**
|
|
1908
|
+
* Returns true if the segment is preloaded.
|
|
1909
|
+
* @return {boolean}
|
|
1910
|
+
*/
|
|
1911
|
+
isPreload() {}
|
|
1903
1912
|
/**
|
|
1904
1913
|
* Set the segment's thumbnail sprite.
|
|
1905
1914
|
* @param {shaka.media.SegmentReference.ThumbnailSprite} thumbnailSprite
|