shaka-player 4.6.7 → 4.6.8

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 (37) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +3 -1
  3. package/dist/locales.js +28 -28
  4. package/dist/shaka-player.compiled.d.ts +4 -0
  5. package/dist/shaka-player.compiled.debug.d.ts +4 -0
  6. package/dist/shaka-player.compiled.debug.externs.js +5 -0
  7. package/dist/shaka-player.compiled.debug.js +72 -71
  8. package/dist/shaka-player.compiled.debug.map +3 -3
  9. package/dist/shaka-player.compiled.externs.js +5 -0
  10. package/dist/shaka-player.compiled.js +690 -690
  11. package/dist/shaka-player.compiled.map +2 -2
  12. package/dist/shaka-player.ui.d.ts +4 -0
  13. package/dist/shaka-player.ui.debug.d.ts +4 -0
  14. package/dist/shaka-player.ui.debug.externs.js +5 -0
  15. package/dist/shaka-player.ui.debug.js +92 -89
  16. package/dist/shaka-player.ui.debug.map +3 -3
  17. package/dist/shaka-player.ui.externs.js +5 -0
  18. package/dist/shaka-player.ui.js +786 -786
  19. package/dist/shaka-player.ui.map +2 -2
  20. package/lib/ads/client_side_ad.js +4 -2
  21. package/lib/ads/client_side_ad_manager.js +5 -3
  22. package/lib/cea/cea608_memory.js +1 -1
  23. package/lib/cea/cea_decoder.js +1 -1
  24. package/lib/hls/hls_parser.js +16 -0
  25. package/lib/media/media_source_engine.js +3 -3
  26. package/lib/media/presentation_timeline.js +11 -0
  27. package/lib/offline/session_deleter.js +0 -8
  28. package/lib/player.js +12 -6
  29. package/lib/polyfill/patchedmediakeys_apple.js +0 -6
  30. package/lib/text/vtt_text_parser.js +5 -0
  31. package/package.json +1 -1
  32. package/test/cea/cea_decoder_unit.js +36 -0
  33. package/test/media/media_source_engine_unit.js +24 -1
  34. package/test/player_load_graph_integration.js +5 -0
  35. package/test/player_unit.js +17 -0
  36. package/ui/play_button.js +17 -0
  37. package/ui/small_play_button.js +2 -2
@@ -1100,6 +1100,10 @@ declare namespace shaka.media {
1100
1100
  getSegmentAvailabilityStart ( ) : number ;
1101
1101
  isInProgress ( ) : boolean ;
1102
1102
  isLive ( ) : boolean ;
1103
+ /**
1104
+ * Returns if the presentation timeline's start time is locked.
1105
+ */
1106
+ isStartTimeLocked ( ) : boolean ;
1103
1107
  /**
1104
1108
  * Lock the presentation timeline's start time. After this is called, no
1105
1109
  * further adjustments to presentationStartTime_ will be permitted.
@@ -1100,6 +1100,10 @@ declare namespace shaka.media {
1100
1100
  getSegmentAvailabilityStart ( ) : number ;
1101
1101
  isInProgress ( ) : boolean ;
1102
1102
  isLive ( ) : boolean ;
1103
+ /**
1104
+ * Returns if the presentation timeline's start time is locked.
1105
+ */
1106
+ isStartTimeLocked ( ) : boolean ;
1103
1107
  /**
1104
1108
  * Lock the presentation timeline's start time. After this is called, no
1105
1109
  * further adjustments to presentationStartTime_ will be permitted.
@@ -2528,6 +2528,11 @@ shaka.media.PresentationTimeline = class {
2528
2528
  * windows to jump around on updates.
2529
2529
  */
2530
2530
  lockStartTime() {}
2531
+ /**
2532
+ * Returns if the presentation timeline's start time is locked.
2533
+ * @return {boolean}
2534
+ */
2535
+ isStartTimeLocked() {}
2531
2536
  /**
2532
2537
  * Gives PresentationTimeline a Stream's minimum segment start time.
2533
2538
  * @param {number} startTime