shaka-player 4.3.14 → 4.3.16

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 (75) hide show
  1. package/.github/workflows/appspot.yaml +4 -4
  2. package/.github/workflows/build-and-test.yaml +23 -10
  3. package/.github/workflows/custom-actions/set-commit-status/action.yaml +29 -7
  4. package/.github/workflows/demo-version-index.yaml +3 -3
  5. package/.github/workflows/nightly-demo.yaml +4 -4
  6. package/.github/workflows/release-please.yaml +25 -24
  7. package/.github/workflows/report-incremental-coverage.yaml +1 -1
  8. package/.github/workflows/selenium-lab-tests.yaml +30 -18
  9. package/.github/workflows/shaka-bot-commands/lib.sh +37 -12
  10. package/.github/workflows/shaka-bot-commands/main.sh +4 -2
  11. package/.github/workflows/sync-labels.yaml +1 -1
  12. package/.github/workflows/talk-to-shaka-bot.yaml +2 -1
  13. package/.github/workflows/update-issues.yaml +1 -1
  14. package/.github/workflows/update-screenshots.yaml +25 -38
  15. package/CHANGELOG.md +37 -0
  16. package/demo/demo.less +1 -5
  17. package/dist/controls.css +1 -1
  18. package/dist/controls.css.map +1 -1
  19. package/dist/demo.css +1 -1
  20. package/dist/demo.css.map +1 -1
  21. package/dist/deps.js +0 -1
  22. package/dist/locales.js +32 -32
  23. package/dist/shaka-player.compiled.d.ts +6 -10
  24. package/dist/shaka-player.compiled.debug.d.ts +6 -10
  25. package/dist/shaka-player.compiled.debug.externs.js +13 -11
  26. package/dist/shaka-player.compiled.debug.js +222 -217
  27. package/dist/shaka-player.compiled.debug.map +4 -4
  28. package/dist/shaka-player.compiled.externs.js +13 -11
  29. package/dist/shaka-player.compiled.js +855 -853
  30. package/dist/shaka-player.compiled.map +4 -4
  31. package/dist/shaka-player.ui.d.ts +6 -10
  32. package/dist/shaka-player.ui.debug.d.ts +6 -10
  33. package/dist/shaka-player.ui.debug.externs.js +13 -11
  34. package/dist/shaka-player.ui.debug.js +171 -167
  35. package/dist/shaka-player.ui.debug.map +4 -4
  36. package/dist/shaka-player.ui.externs.js +13 -11
  37. package/dist/shaka-player.ui.js +950 -948
  38. package/dist/shaka-player.ui.map +4 -4
  39. package/docs/tutorials/faq.md +25 -0
  40. package/docs/tutorials/offline.md +3 -0
  41. package/docs/tutorials/ui.md +4 -4
  42. package/externs/shaka/player.js +32 -19
  43. package/lib/cast/cast_proxy.js +1 -3
  44. package/lib/cast/cast_sender.js +8 -11
  45. package/lib/cea/cea608_memory.js +1 -1
  46. package/lib/dash/dash_parser.js +3 -0
  47. package/lib/dash/segment_template.js +5 -0
  48. package/lib/deprecate/deprecate.js +1 -1
  49. package/lib/hls/hls_parser.js +34 -17
  50. package/lib/media/drm_engine.js +17 -3
  51. package/lib/media/manifest_parser.js +2 -1
  52. package/lib/media/presentation_timeline.js +23 -0
  53. package/lib/media/segment_index.js +10 -0
  54. package/lib/media/streaming_engine.js +1 -13
  55. package/lib/player.js +19 -5
  56. package/lib/polyfill/mediasource.js +5 -36
  57. package/lib/text/ui_text_displayer.js +10 -1
  58. package/lib/text/vtt_text_parser.js +2 -1
  59. package/lib/util/error.js +1 -0
  60. package/lib/util/manifest_parser_utils.js +1 -0
  61. package/lib/util/stream_utils.js +8 -5
  62. package/package.json +2 -2
  63. package/test/cast/cast_proxy_unit.js +0 -46
  64. package/test/cast/cast_sender_unit.js +26 -26
  65. package/test/cea/cea608_memory_unit.js +3 -2
  66. package/test/hls/hls_live_unit.js +52 -0
  67. package/test/hls/hls_parser_unit.js +28 -0
  68. package/test/media/media_source_engine_integration.js +1 -1
  69. package/test/player_integration.js +9 -1
  70. package/test/player_load_graph_integration.js +13 -7
  71. package/test/player_src_equals_integration.js +2 -2
  72. package/test/player_unit.js +22 -4
  73. package/test/text/vtt_text_parser_unit.js +31 -0
  74. package/ui/less/containers.less +1 -0
  75. package/lib/polyfill/storage_estimate.js +0 -57
@@ -2001,6 +2001,15 @@ shaka.media.PresentationTimeline = class {
2001
2001
  * @return {boolean}
2002
2002
  */
2003
2003
  isStartTimeLocked() {}
2004
+ /**
2005
+ * Sets the initial program date time.
2006
+ * @param {number} initialProgramDateTime
2007
+ */
2008
+ setInitialProgramDateTime(initialProgramDateTime) {}
2009
+ /**
2010
+ * @return {?number} The initial program date time in seconds.
2011
+ */
2012
+ getInitialProgramDateTime() {}
2004
2013
  /**
2005
2014
  * Gives PresentationTimeline a Stream's minimum segment start time.
2006
2015
  * @param {number} startTime
@@ -2232,6 +2241,10 @@ shaka.media.MetaSegmentIndex = class extends shaka.media.SegmentIndex {
2232
2241
  * @override
2233
2242
  */
2234
2243
  release() {}
2244
+ /**
2245
+ * @override
2246
+ */
2247
+ forEachTopLevelReference(fn) {}
2235
2248
  /**
2236
2249
  * @override
2237
2250
  */
@@ -4075,17 +4088,6 @@ shaka.polyfill.RandomUUID = class {
4075
4088
  */
4076
4089
  static install() {}
4077
4090
  };
4078
- /**
4079
- * @summary A polyfill to provide navigator.storage.estimate in old
4080
- * webkit browsers.
4081
- * See: https://developers.google.com/web/updates/2017/08/estimating-available-storage-space#the-present
4082
- */
4083
- shaka.polyfill.StorageEstimate = class {
4084
- /**
4085
- * Install the polyfill if needed.
4086
- */
4087
- static install() {}
4088
- };
4089
4091
  /**
4090
4092
  * @summary A polyfill to provide Symbol.prototype.description in all browsers.
4091
4093
  * See: https://caniuse.com/mdn-javascript_builtins_symbol_description