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
|
@@ -2496,6 +2496,13 @@ shaka.media.PresentationTimeline = class {
|
|
|
2496
2496
|
* @param {!Array.<!shaka.media.SegmentReference>} references
|
|
2497
2497
|
*/
|
|
2498
2498
|
notifySegments(references) {}
|
|
2499
|
+
/**
|
|
2500
|
+
* Gives PresentationTimeline an startTime and endTime of the period.
|
|
2501
|
+
* This should be only set for Dash.
|
|
2502
|
+
* @param {number} startTime
|
|
2503
|
+
* @param {number} endTime
|
|
2504
|
+
*/
|
|
2505
|
+
notifyPeriodDuration(startTime, endTime) {}
|
|
2499
2506
|
/**
|
|
2500
2507
|
* Gets the end time of the last available segment.
|
|
2501
2508
|
* @return {?number}
|
|
@@ -5092,6 +5099,12 @@ shaka.util.PeriodCombiner = class {
|
|
|
5092
5099
|
* @return {!Array.<shaka.extern.Stream>}
|
|
5093
5100
|
*/
|
|
5094
5101
|
getImageStreams() {}
|
|
5102
|
+
/**
|
|
5103
|
+
* Deletes a stream from matchedStreams because it is no longer needed
|
|
5104
|
+
* @param {?shaka.extern.Stream} stream
|
|
5105
|
+
* @param {string} periodId
|
|
5106
|
+
*/
|
|
5107
|
+
deleteStream(stream, periodId) {}
|
|
5095
5108
|
/**
|
|
5096
5109
|
* @param {!Array.<shaka.extern.Period>} periods
|
|
5097
5110
|
* @param {boolean} isDynamic
|