shaka-player 4.11.2 → 4.11.3

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.
Files changed (72) hide show
  1. package/dist/locales.js +55 -55
  2. package/dist/shaka-player.compiled.d.ts +9 -0
  3. package/dist/shaka-player.compiled.debug.d.ts +9 -0
  4. package/dist/shaka-player.compiled.debug.externs.js +13 -0
  5. package/dist/shaka-player.compiled.debug.js +226 -222
  6. package/dist/shaka-player.compiled.debug.map +3 -3
  7. package/dist/shaka-player.compiled.externs.js +13 -0
  8. package/dist/shaka-player.compiled.js +344 -341
  9. package/dist/shaka-player.compiled.map +3 -3
  10. package/dist/shaka-player.ui.d.ts +9 -0
  11. package/dist/shaka-player.ui.debug.d.ts +9 -0
  12. package/dist/shaka-player.ui.debug.externs.js +13 -0
  13. package/dist/shaka-player.ui.debug.js +101 -97
  14. package/dist/shaka-player.ui.debug.map +3 -3
  15. package/dist/shaka-player.ui.externs.js +13 -0
  16. package/dist/shaka-player.ui.js +475 -471
  17. package/dist/shaka-player.ui.map +3 -3
  18. package/lib/dash/dash_parser.js +3 -3
  19. package/lib/dash/mpd_utils.js +0 -3
  20. package/lib/dash/segment_template.js +11 -2
  21. package/lib/media/presentation_timeline.js +16 -0
  22. package/lib/media/segment_index.js +4 -4
  23. package/lib/media/streaming_engine.js +2 -1
  24. package/lib/player.js +4 -2
  25. package/lib/text/ttml_text_parser.js +1 -1
  26. package/lib/util/periods.js +56 -3
  27. package/lib/util/tXml.js +17 -9
  28. package/package.json +1 -1
  29. package/ui/locales/ar-XB.json +1 -1
  30. package/ui/locales/ar.json +1 -1
  31. package/ui/locales/bg.json +1 -1
  32. package/ui/locales/ca.json +5 -5
  33. package/ui/locales/cs.json +1 -1
  34. package/ui/locales/da.json +1 -1
  35. package/ui/locales/de.json +1 -1
  36. package/ui/locales/el.json +1 -1
  37. package/ui/locales/en-GB.json +1 -1
  38. package/ui/locales/en-XA.json +1 -1
  39. package/ui/locales/es-419.json +4 -4
  40. package/ui/locales/es.json +4 -4
  41. package/ui/locales/fa.json +1 -1
  42. package/ui/locales/fi.json +1 -1
  43. package/ui/locales/fil.json +1 -1
  44. package/ui/locales/fr.json +5 -5
  45. package/ui/locales/hi.json +1 -1
  46. package/ui/locales/hr.json +1 -1
  47. package/ui/locales/hu.json +1 -1
  48. package/ui/locales/id.json +1 -1
  49. package/ui/locales/it.json +1 -1
  50. package/ui/locales/iw.json +1 -1
  51. package/ui/locales/ja.json +1 -1
  52. package/ui/locales/ko.json +1 -1
  53. package/ui/locales/lt.json +1 -1
  54. package/ui/locales/lv.json +1 -1
  55. package/ui/locales/nl.json +1 -1
  56. package/ui/locales/no.json +1 -1
  57. package/ui/locales/pl.json +5 -5
  58. package/ui/locales/pt-BR.json +7 -7
  59. package/ui/locales/pt-PT.json +8 -8
  60. package/ui/locales/ro.json +1 -1
  61. package/ui/locales/ru.json +1 -1
  62. package/ui/locales/sk.json +1 -1
  63. package/ui/locales/sl.json +1 -1
  64. package/ui/locales/sr.json +1 -1
  65. package/ui/locales/sv.json +1 -1
  66. package/ui/locales/th.json +1 -1
  67. package/ui/locales/tr.json +1 -1
  68. package/ui/locales/uk.json +1 -1
  69. package/ui/locales/vi.json +1 -1
  70. package/ui/locales/zh-HK.json +1 -1
  71. package/ui/locales/zh-TW.json +1 -1
  72. 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