shaka-player 4.11.2 → 4.11.4
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/dist/locales.js +56 -56
- package/dist/shaka-player.compiled.d.ts +10 -1
- package/dist/shaka-player.compiled.debug.d.ts +10 -1
- package/dist/shaka-player.compiled.debug.externs.js +13 -0
- package/dist/shaka-player.compiled.debug.js +316 -310
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +13 -0
- package/dist/shaka-player.compiled.js +1014 -1008
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +10 -1
- package/dist/shaka-player.ui.debug.d.ts +10 -1
- package/dist/shaka-player.ui.debug.externs.js +13 -0
- package/dist/shaka-player.ui.debug.js +373 -365
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +13 -0
- package/dist/shaka-player.ui.js +1266 -1259
- package/dist/shaka-player.ui.map +3 -3
- package/externs/shaka/player.js +10 -1
- package/lib/ads/interstitial_ad_manager.js +27 -5
- package/lib/dash/dash_parser.js +10 -7
- package/lib/dash/mpd_utils.js +0 -3
- package/lib/dash/segment_template.js +11 -2
- package/lib/media/gap_jumping_controller.js +4 -2
- package/lib/media/presentation_timeline.js +16 -0
- package/lib/media/segment_index.js +4 -4
- package/lib/media/streaming_engine.js +17 -10
- package/lib/net/networking_utils.js +5 -0
- package/lib/offline/storage.js +12 -10
- package/lib/player.js +13 -4
- package/lib/text/ttml_text_parser.js +1 -1
- package/lib/util/periods.js +56 -3
- package/lib/util/player_configuration.js +5 -0
- package/lib/util/tXml.js +17 -9
- package/package.json +1 -1
- package/ui/controls.js +14 -2
- package/ui/locales/README.md +16 -0
- package/ui/locales/ar-XB.json +1 -1
- package/ui/locales/ar.json +1 -1
- package/ui/locales/bg.json +1 -1
- package/ui/locales/ca.json +5 -5
- package/ui/locales/cs.json +1 -1
- package/ui/locales/da.json +1 -1
- package/ui/locales/de.json +1 -1
- package/ui/locales/el.json +1 -1
- package/ui/locales/en-GB.json +1 -1
- package/ui/locales/en-XA.json +1 -1
- package/ui/locales/es-419.json +4 -4
- package/ui/locales/es.json +4 -4
- package/ui/locales/fa.json +1 -1
- package/ui/locales/fi.json +1 -1
- package/ui/locales/fil.json +1 -1
- package/ui/locales/fr.json +5 -5
- package/ui/locales/hi.json +1 -1
- package/ui/locales/hr.json +1 -1
- package/ui/locales/hu.json +1 -1
- package/ui/locales/id.json +1 -1
- package/ui/locales/it.json +1 -1
- package/ui/locales/iw.json +1 -1
- package/ui/locales/ja.json +1 -1
- package/ui/locales/ko.json +1 -1
- package/ui/locales/lt.json +1 -1
- package/ui/locales/lv.json +1 -1
- package/ui/locales/nl.json +1 -1
- package/ui/locales/no.json +1 -1
- package/ui/locales/pl.json +5 -5
- package/ui/locales/pt-BR.json +7 -7
- package/ui/locales/pt-PT.json +8 -8
- package/ui/locales/ro.json +1 -1
- package/ui/locales/ru.json +1 -1
- package/ui/locales/sjn-translations.yaml +50 -4
- package/ui/locales/sjn.json +8 -1
- package/ui/locales/sk.json +1 -1
- package/ui/locales/sl.json +1 -1
- package/ui/locales/sr.json +1 -1
- package/ui/locales/sv.json +1 -1
- package/ui/locales/sync-sjn.py +41 -0
- package/ui/locales/th.json +1 -1
- package/ui/locales/tr.json +1 -1
- package/ui/locales/uk.json +1 -1
- package/ui/locales/vi.json +1 -1
- package/ui/locales/zh-HK.json +1 -1
- package/ui/locales/zh-TW.json +1 -1
- package/ui/locales/zh.json +1 -1
|
@@ -2608,6 +2608,13 @@ shaka.media.PresentationTimeline = class {
|
|
|
2608
2608
|
* @param {!Array.<!shaka.media.SegmentReference>} references
|
|
2609
2609
|
*/
|
|
2610
2610
|
notifySegments(references) {}
|
|
2611
|
+
/**
|
|
2612
|
+
* Gives PresentationTimeline an startTime and endTime of the period.
|
|
2613
|
+
* This should be only set for Dash.
|
|
2614
|
+
* @param {number} startTime
|
|
2615
|
+
* @param {number} endTime
|
|
2616
|
+
*/
|
|
2617
|
+
notifyPeriodDuration(startTime, endTime) {}
|
|
2611
2618
|
/**
|
|
2612
2619
|
* Gets the end time of the last available segment.
|
|
2613
2620
|
* @return {?number}
|
|
@@ -5204,6 +5211,12 @@ shaka.util.PeriodCombiner = class {
|
|
|
5204
5211
|
* @return {!Array.<shaka.extern.Stream>}
|
|
5205
5212
|
*/
|
|
5206
5213
|
getImageStreams() {}
|
|
5214
|
+
/**
|
|
5215
|
+
* Deletes a stream from matchedStreams because it is no longer needed
|
|
5216
|
+
* @param {?shaka.extern.Stream} stream
|
|
5217
|
+
* @param {string} periodId
|
|
5218
|
+
*/
|
|
5219
|
+
deleteStream(stream, periodId) {}
|
|
5207
5220
|
/**
|
|
5208
5221
|
* @param {!Array.<shaka.extern.Period>} periods
|
|
5209
5222
|
* @param {boolean} isDynamic
|