shaka-player 4.7.14 → 4.7.15

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/CONTRIBUTORS +1 -0
  2. package/dist/cast-boot.js +37 -0
  3. package/dist/deps.js +5 -4
  4. package/dist/locales.js +33 -33
  5. package/dist/shaka-player.compiled.d.ts +36 -14
  6. package/dist/shaka-player.compiled.debug.d.ts +36 -14
  7. package/dist/shaka-player.compiled.debug.externs.js +10 -0
  8. package/dist/shaka-player.compiled.debug.js +326 -320
  9. package/dist/shaka-player.compiled.debug.map +4 -4
  10. package/dist/shaka-player.compiled.externs.js +10 -0
  11. package/dist/shaka-player.compiled.js +1079 -1079
  12. package/dist/shaka-player.compiled.map +3 -3
  13. package/dist/shaka-player.ui.d.ts +36 -14
  14. package/dist/shaka-player.ui.debug.d.ts +36 -14
  15. package/dist/shaka-player.ui.debug.externs.js +10 -0
  16. package/dist/shaka-player.ui.debug.js +229 -221
  17. package/dist/shaka-player.ui.debug.map +4 -4
  18. package/dist/shaka-player.ui.externs.js +10 -0
  19. package/dist/shaka-player.ui.js +1228 -1228
  20. package/dist/shaka-player.ui.map +3 -3
  21. package/externs/cast-namespace.js +14 -0
  22. package/externs/{chromecast.js → cast-sdk-v2.js} +0 -4
  23. package/externs/cast-sdk-v3.js +35 -0
  24. package/externs/ima.js +2 -0
  25. package/externs/mediatailor.js +0 -0
  26. package/externs/{cast.js → remote-playback.js} +2 -2
  27. package/externs/shaka/player.js +5 -2
  28. package/lib/ads/client_side_ad_manager.js +5 -3
  29. package/lib/cea/cea608_data_channel.js +9 -0
  30. package/lib/cea/cea_decoder.js +9 -2
  31. package/lib/dash/segment_template.js +6 -1
  32. package/lib/hls/hls_parser.js +19 -10
  33. package/lib/media/closed_caption_parser.js +16 -4
  34. package/lib/media/gap_jumping_controller.js +9 -1
  35. package/lib/media/media_source_engine.js +7 -10
  36. package/lib/media/play_rate_controller.js +36 -8
  37. package/lib/media/stall_detector.js +3 -0
  38. package/lib/net/http_fetch_plugin.js +3 -1
  39. package/lib/net/http_xhr_plugin.js +6 -1
  40. package/lib/player.js +71 -40
  41. package/lib/polyfill/media_capabilities.js +7 -5
  42. package/lib/polyfill/patchedmediakeys_cert.js +62 -0
  43. package/lib/transmuxer/ts_transmuxer.js +6 -24
  44. package/lib/util/object_utils.js +1 -2
  45. package/lib/util/platform.js +70 -3
  46. package/lib/util/stream_utils.js +25 -12
  47. package/package.json +7 -2
  48. package/support.html +2 -0
  49. package/ui/audio_language_selection.js +4 -0
  50. package/ui/range_element.js +8 -2
  51. package/ui/resolution_selection.js +4 -0
  52. package/ui/text_selection.js +4 -0
@@ -4946,6 +4946,16 @@ shaka.polyfill.PatchedMediaKeysApple = class {
4946
4946
  */
4947
4947
  static uninstall() {}
4948
4948
  };
4949
+ /**
4950
+ * @summary A polyfill to fix setServerCertificate implementation on
4951
+ * older platforms which claim to support modern EME.
4952
+ */
4953
+ shaka.polyfill.PatchedMediaKeysCert = class {
4954
+ /**
4955
+ * Installs the polyfill if needed.
4956
+ */
4957
+ static install() {}
4958
+ };
4949
4959
  /**
4950
4960
  * @summary A polyfill to stub out
4951
4961
  * {@link https://bit.ly/EmeMar15 EME draft 12 March 2015} on browsers without