shaka-player 4.7.5 → 4.7.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/AUTHORS +1 -0
- package/CONTRIBUTORS +1 -0
- package/dist/locales.js +32 -32
- package/dist/shaka-player.compiled.d.ts +8 -1
- package/dist/shaka-player.compiled.debug.d.ts +8 -1
- package/dist/shaka-player.compiled.debug.externs.js +6 -1
- package/dist/shaka-player.compiled.debug.js +52 -49
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +6 -1
- package/dist/shaka-player.compiled.js +1078 -1076
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +20 -2
- package/dist/shaka-player.ui.debug.d.ts +20 -2
- package/dist/shaka-player.ui.debug.externs.js +7 -1
- package/dist/shaka-player.ui.debug.js +59 -58
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +7 -1
- package/dist/shaka-player.ui.js +1201 -1199
- package/dist/shaka-player.ui.map +3 -3
- package/externs/shaka/abr_manager.js +9 -0
- package/lib/abr/simple_abr_manager.js +11 -0
- package/lib/media/drm_engine.js +9 -0
- package/lib/media/segment_prefetch.js +4 -0
- package/lib/media/streaming_engine.js +6 -8
- package/lib/net/networking_engine.js +1 -1
- package/lib/offline/storage.js +4 -0
- package/lib/player.js +31 -7
- package/lib/polyfill/media_capabilities.js +9 -2
- package/lib/util/periods.js +4 -0
- package/lib/util/platform.js +18 -0
- package/lib/util/stream_utils.js +14 -0
- package/lib/util/ts_parser.js +7 -4
- package/package.json +1 -1
- package/ui/controls.js +3 -0
- package/ui/externs/ui.js +24 -0
- package/ui/pip_button.js +5 -21
- package/ui/play_button.js +3 -0
|
@@ -1162,6 +1162,10 @@ shaka.abr.SimpleAbrManager = class {
|
|
|
1162
1162
|
* @override
|
|
1163
1163
|
*/
|
|
1164
1164
|
segmentDownloaded(deltaTimeMs, numBytes, allowSwitch) {}
|
|
1165
|
+
/**
|
|
1166
|
+
* @override
|
|
1167
|
+
*/
|
|
1168
|
+
trySuggestStreams() {}
|
|
1165
1169
|
/**
|
|
1166
1170
|
* @override
|
|
1167
1171
|
*/
|
|
@@ -2238,9 +2242,10 @@ shaka.util.TsParser = class {
|
|
|
2238
2242
|
* Credit to https://github.com/video-dev/hls.js/blob/master/src/demux/tsdemuxer.ts
|
|
2239
2243
|
* @param {shaka.extern.MPEG_PES} pes
|
|
2240
2244
|
* @param {?shaka.extern.VideoNalu=} lastNalu
|
|
2245
|
+
* @param {?number=} lastState
|
|
2241
2246
|
* @return {!Array.<shaka.extern.VideoNalu>}
|
|
2242
2247
|
*/
|
|
2243
|
-
parseNalus(pes, lastNalu) {}
|
|
2248
|
+
parseNalus(pes, lastNalu, lastState) {}
|
|
2244
2249
|
/**
|
|
2245
2250
|
* Return the ID3 metadata
|
|
2246
2251
|
* @return {!Array.<shaka.extern.ID3Metadata>}
|