shaka-player 4.3.12 → 4.3.13

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 (52) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/demo/common/asset.js +5 -0
  3. package/demo/common/assets.js +16 -1
  4. package/demo/common/message_ids.js +1 -0
  5. package/demo/locales/en.json +1 -0
  6. package/demo/locales/source.json +4 -0
  7. package/demo/main.js +1 -1
  8. package/dist/demo.compiled.debug.js +55 -53
  9. package/dist/demo.compiled.debug.map +3 -3
  10. package/dist/demo.compiled.js +55 -53
  11. package/dist/demo.compiled.map +3 -3
  12. package/dist/locales.js +27 -27
  13. package/dist/receiver.compiled.debug.js +24 -22
  14. package/dist/receiver.compiled.debug.map +3 -3
  15. package/dist/receiver.compiled.js +24 -22
  16. package/dist/receiver.compiled.map +3 -3
  17. package/dist/shaka-player.compiled.d.ts +1 -1
  18. package/dist/shaka-player.compiled.debug.d.ts +1 -1
  19. package/dist/shaka-player.compiled.debug.externs.js +6 -4
  20. package/dist/shaka-player.compiled.debug.js +87 -89
  21. package/dist/shaka-player.compiled.debug.map +3 -3
  22. package/dist/shaka-player.compiled.externs.js +6 -4
  23. package/dist/shaka-player.compiled.js +340 -338
  24. package/dist/shaka-player.compiled.map +3 -3
  25. package/dist/shaka-player.ui.d.ts +1 -1
  26. package/dist/shaka-player.ui.debug.d.ts +1 -1
  27. package/dist/shaka-player.ui.debug.externs.js +6 -4
  28. package/dist/shaka-player.ui.debug.js +235 -237
  29. package/dist/shaka-player.ui.debug.map +3 -3
  30. package/dist/shaka-player.ui.externs.js +6 -4
  31. package/dist/shaka-player.ui.js +510 -508
  32. package/dist/shaka-player.ui.map +3 -3
  33. package/docs/tutorials/offline.md +1 -1
  34. package/lib/dash/dash_parser.js +4 -1
  35. package/lib/hls/hls_parser.js +60 -24
  36. package/lib/media/segment_reference.js +11 -5
  37. package/lib/media/streaming_engine.js +15 -25
  38. package/lib/player.js +1 -1
  39. package/lib/text/vtt_text_parser.js +2 -2
  40. package/lib/util/cmcd_manager.js +6 -1
  41. package/lib/util/manifest_parser_utils.js +10 -4
  42. package/lib/util/ts_parser.js +3 -3
  43. package/package.json +1 -1
  44. package/test/dash/dash_parser_manifest_unit.js +5 -0
  45. package/test/dash/dash_parser_segment_base_unit.js +5 -0
  46. package/test/dash/dash_parser_segment_list_unit.js +21 -17
  47. package/test/dash/dash_parser_segment_template_unit.js +5 -0
  48. package/test/hls/hls_live_unit.js +33 -0
  49. package/test/hls/hls_parser_unit.js +2 -57
  50. package/test/test/util/dash_parser_util.js +16 -7
  51. package/test/text/vtt_text_parser_unit.js +2 -17
  52. package/test/util/ts_parser_unit.js +1 -1
@@ -1664,11 +1664,13 @@ shaka.media.InitSegmentReference = class {
1664
1664
  * @param {?number} endByte The offset from the start of the resource
1665
1665
  * to the end of the segment, inclusive. A value of null indicates that the
1666
1666
  * segment extends to the end of the resource.
1667
- * @param {null|shaka.extern.MediaQualityInfo=} mediaQuality Information about
1668
- * the quality of the media associated with this init segment.
1669
- * @param {number=} timescale
1667
+ * @param {(null|shaka.extern.MediaQualityInfo)=} mediaQuality Information
1668
+ * about the quality of the media associated with this init segment.
1669
+ * @param {(null|number)=} timescale
1670
+ * @param {?shaka.extern.HlsAes128Key=} aes128Key
1671
+ * The segment's AES-128-CBC full segment encryption key and iv.
1670
1672
  */
1671
- constructor(uris, startByte, endByte, mediaQuality, timescale) {}
1673
+ constructor(uris, startByte, endByte, mediaQuality, timescale, aes128Key) {}
1672
1674
  /**
1673
1675
  * Returns the offset from the start of the resource to the
1674
1676
  * start of the segment.