shaka-player 4.3.12 → 4.3.13
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/CHANGELOG.md +21 -0
- package/demo/common/asset.js +5 -0
- package/demo/common/assets.js +16 -1
- package/demo/common/message_ids.js +1 -0
- package/demo/locales/en.json +1 -0
- package/demo/locales/source.json +4 -0
- package/demo/main.js +1 -1
- package/dist/demo.compiled.debug.js +55 -53
- package/dist/demo.compiled.debug.map +3 -3
- package/dist/demo.compiled.js +55 -53
- package/dist/demo.compiled.map +3 -3
- package/dist/locales.js +27 -27
- package/dist/receiver.compiled.debug.js +24 -22
- package/dist/receiver.compiled.debug.map +3 -3
- package/dist/receiver.compiled.js +24 -22
- package/dist/receiver.compiled.map +3 -3
- 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 +6 -4
- package/dist/shaka-player.compiled.debug.js +87 -89
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +6 -4
- package/dist/shaka-player.compiled.js +340 -338
- 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 +6 -4
- package/dist/shaka-player.ui.debug.js +235 -237
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +6 -4
- package/dist/shaka-player.ui.js +510 -508
- package/dist/shaka-player.ui.map +3 -3
- package/docs/tutorials/offline.md +1 -1
- package/lib/dash/dash_parser.js +4 -1
- package/lib/hls/hls_parser.js +60 -24
- package/lib/media/segment_reference.js +11 -5
- package/lib/media/streaming_engine.js +15 -25
- package/lib/player.js +1 -1
- package/lib/text/vtt_text_parser.js +2 -2
- package/lib/util/cmcd_manager.js +6 -1
- package/lib/util/manifest_parser_utils.js +10 -4
- package/lib/util/ts_parser.js +3 -3
- package/package.json +1 -1
- package/test/dash/dash_parser_manifest_unit.js +5 -0
- package/test/dash/dash_parser_segment_base_unit.js +5 -0
- package/test/dash/dash_parser_segment_list_unit.js +21 -17
- package/test/dash/dash_parser_segment_template_unit.js +5 -0
- package/test/hls/hls_live_unit.js +33 -0
- package/test/hls/hls_parser_unit.js +2 -57
- package/test/test/util/dash_parser_util.js +16 -7
- package/test/text/vtt_text_parser_unit.js +2 -17
- package/test/util/ts_parser_unit.js +1 -1
|
@@ -1664,11 +1664,13 @@ shaka.media.InitSegmentReference = class {
|
|
|
1664
1664
|
* @param {?number} endByte The offset from the start of the resource
|
|
1665
1665
|
* to the end of the segment, inclusive. A value of null indicates that the
|
|
1666
1666
|
* segment extends to the end of the resource.
|
|
1667
|
-
* @param {null|shaka.extern.MediaQualityInfo=} mediaQuality Information
|
|
1668
|
-
* the quality of the media associated with this init segment.
|
|
1669
|
-
* @param {number=} timescale
|
|
1667
|
+
* @param {(null|shaka.extern.MediaQualityInfo)=} mediaQuality Information
|
|
1668
|
+
* about the quality of the media associated with this init segment.
|
|
1669
|
+
* @param {(null|number)=} timescale
|
|
1670
|
+
* @param {?shaka.extern.HlsAes128Key=} aes128Key
|
|
1671
|
+
* The segment's AES-128-CBC full segment encryption key and iv.
|
|
1670
1672
|
*/
|
|
1671
|
-
constructor(uris, startByte, endByte, mediaQuality, timescale) {}
|
|
1673
|
+
constructor(uris, startByte, endByte, mediaQuality, timescale, aes128Key) {}
|
|
1672
1674
|
/**
|
|
1673
1675
|
* Returns the offset from the start of the resource to the
|
|
1674
1676
|
* start of the segment.
|