shaka-player 3.3.2 → 4.0.0

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 (389) hide show
  1. package/.csslintrc +11 -1
  2. package/.github/ISSUE_TEMPLATE/bug_report.md +1 -1
  3. package/.github/pull_request_template.md +6 -34
  4. package/.github/workflows/build-and-test.yaml +129 -0
  5. package/.github/workflows/custom-actions/prep-for-appspot/action.yaml +56 -0
  6. package/.github/workflows/custom-actions/set-commit-status/action.yaml +41 -0
  7. package/.github/workflows/demo-version-index.yaml +37 -0
  8. package/.github/workflows/nightly-demo.yaml +42 -0
  9. package/.github/workflows/release-please.yaml +168 -0
  10. package/.github/workflows/safari-homedir-launcher.sh +18 -0
  11. package/.github/workflows/selenium-lab-tests.yaml +92 -0
  12. package/.github/workflows/sync-labels.yaml +33 -0
  13. package/.github/workflows/update-issues.yaml +29 -0
  14. package/.github/workflows/validate-pr-title.yaml +35 -0
  15. package/AUTHORS +3 -0
  16. package/CHANGELOG.md +1866 -1675
  17. package/CONTRIBUTING.md +2 -2
  18. package/CONTRIBUTORS +3 -0
  19. package/README.md +16 -13
  20. package/app-engine/README.md +9 -0
  21. package/app-engine/demo-version-index/README.md +14 -0
  22. package/app-engine/demo-version-index/app.yaml +28 -0
  23. package/app-engine/demo-version-index/generate.py +164 -0
  24. package/app-engine/demo-version-index/main.py +11 -0
  25. package/app-engine/demo-version-index/requirements.txt +5 -0
  26. package/app-engine/demo-version-index/templates/index.html +114 -0
  27. package/app-engine/shaka-player-demo/README.md +18 -0
  28. package/app-engine/shaka-player-demo/app.yaml +61 -0
  29. package/app-engine/shaka-player-demo/main.py +95 -0
  30. package/app-engine/shaka-player-demo/posters/10yo.png +0 -0
  31. package/app-engine/shaka-player-demo/posters/10yo.xcf +0 -0
  32. package/app-engine/shaka-player-demo/posters/1yo.jpg +0 -0
  33. package/app-engine/shaka-player-demo/posters/2yo.png +0 -0
  34. package/app-engine/shaka-player-demo/posters/2yo.xcf +0 -0
  35. package/app-engine/shaka-player-demo/posters/3yo.png +0 -0
  36. package/app-engine/shaka-player-demo/posters/3yo.xcf +0 -0
  37. package/app-engine/shaka-player-demo/posters/4yo.png +0 -0
  38. package/app-engine/shaka-player-demo/posters/4yo.xcf +0 -0
  39. package/app-engine/shaka-player-demo/posters/5yo.png +0 -0
  40. package/app-engine/shaka-player-demo/posters/5yo.xcf +0 -0
  41. package/app-engine/shaka-player-demo/posters/6yo.png +0 -0
  42. package/app-engine/shaka-player-demo/posters/6yo.xcf +0 -0
  43. package/app-engine/shaka-player-demo/posters/7yo.png +0 -0
  44. package/app-engine/shaka-player-demo/posters/7yo.xcf +0 -0
  45. package/app-engine/shaka-player-demo/posters/8yo.png +0 -0
  46. package/app-engine/shaka-player-demo/posters/8yo.xcf +0 -0
  47. package/app-engine/shaka-player-demo/posters/9yo.png +0 -0
  48. package/app-engine/shaka-player-demo/posters/9yo.xcf +0 -0
  49. package/app-engine/shaka-player-demo/posters/audioOnly.gif +0 -0
  50. package/app-engine/shaka-player-demo/posters/audioRickRoll.gif +0 -0
  51. package/app-engine/shaka-player-demo/posters/colorbars.gif +0 -0
  52. package/app-engine/shaka-player-demo/posters/fireworks.jpg +0 -0
  53. package/app-engine/shaka-player-demo/posters/party-hat.png +0 -0
  54. package/app-engine/shaka-player-demo/posters/sources.txt +46 -0
  55. package/app-engine/shaka-player-demo/posters/standard.png +0 -0
  56. package/app-engine/shaka-player-demo/posters/trek.jpg +0 -0
  57. package/app-engine/shaka-player-demo/posters/valentines.png +0 -0
  58. package/app-engine/shaka-player-demo/posters/zombie.jpg +0 -0
  59. package/app-engine/shaka-player-demo/posters.py +110 -0
  60. package/app-engine/shaka-player-demo/requirements.txt +5 -0
  61. package/app-engine/shaka-player-demo/time.txt +1 -0
  62. package/build/README.md +3 -3
  63. package/build/checkversion.py +1 -1
  64. package/build/compiler.py +1 -1
  65. package/build/conformance.textproto +13 -0
  66. package/build/docker/Dockerfile +20 -0
  67. package/build/docker/docker-compose.yml +10 -0
  68. package/build/gendeps.py +18 -15
  69. package/build/shaka-lab.yaml +161 -0
  70. package/build/shakaBuildHelpers.py +4 -29
  71. package/build/test.py +94 -29
  72. package/build/types/core +0 -1
  73. package/build/types/polyfill +1 -3
  74. package/build/wrapper.template.js +2 -2
  75. package/demo/TengwarTelcontar.woff2 +0 -0
  76. package/demo/asset_card.js +1 -2
  77. package/demo/cast_receiver/index.html +1 -1
  78. package/demo/cast_receiver/receiver_app.css +14 -14
  79. package/demo/common/asset.js +17 -1
  80. package/demo/common/assets.js +31 -0
  81. package/demo/common/message_ids.js +6 -3
  82. package/demo/config.js +10 -12
  83. package/demo/custom.js +39 -1
  84. package/demo/customWarning.txt +2 -2
  85. package/demo/demo.less +29 -18
  86. package/demo/demo_uncompiled.js +1 -13
  87. package/demo/demo_utils.js +0 -1
  88. package/demo/index.html +1 -1
  89. package/demo/locales/en.json +6 -3
  90. package/demo/locales/source.json +22 -10
  91. package/demo/main.js +12 -9
  92. package/demo/search.js +2 -1
  93. package/dist/controls.css +3 -3
  94. package/dist/controls.css.map +1 -1
  95. package/dist/demo.compiled.debug.js +236 -232
  96. package/dist/demo.compiled.debug.map +4 -4
  97. package/dist/demo.compiled.js +236 -232
  98. package/dist/demo.compiled.map +4 -4
  99. package/dist/demo.css +1 -1
  100. package/dist/demo.css.map +1 -1
  101. package/dist/deps.js +229 -226
  102. package/dist/locales.js +34 -32
  103. package/dist/receiver.compiled.debug.js +75 -73
  104. package/dist/receiver.compiled.debug.map +4 -4
  105. package/dist/receiver.compiled.js +75 -73
  106. package/dist/receiver.compiled.map +4 -4
  107. package/dist/shaka-player.compiled.d.ts +321 -314
  108. package/dist/shaka-player.compiled.debug.d.ts +321 -314
  109. package/dist/shaka-player.compiled.debug.externs.js +140 -129
  110. package/dist/shaka-player.compiled.debug.js +527 -592
  111. package/dist/shaka-player.compiled.debug.map +4 -4
  112. package/dist/shaka-player.compiled.externs.js +140 -129
  113. package/dist/shaka-player.compiled.js +836 -860
  114. package/dist/shaka-player.compiled.map +4 -4
  115. package/dist/shaka-player.ui.d.ts +367 -358
  116. package/dist/shaka-player.ui.debug.d.ts +367 -358
  117. package/dist/shaka-player.ui.debug.externs.js +148 -129
  118. package/dist/shaka-player.ui.debug.js +586 -649
  119. package/dist/shaka-player.ui.debug.map +4 -4
  120. package/dist/shaka-player.ui.externs.js +148 -129
  121. package/dist/shaka-player.ui.js +1008 -1028
  122. package/dist/shaka-player.ui.map +4 -4
  123. package/docs/design/REDESIGN.md +33 -33
  124. package/docs/design/bg-fetch.md +2 -2
  125. package/docs/design/codec_preferences.md +1 -1
  126. package/docs/design/dash-audio-channels.md +3 -3
  127. package/docs/design/dash-manifests.md +1 -1
  128. package/docs/design/gap-jumping.md +3 -3
  129. package/docs/design/preload.md +2 -2
  130. package/docs/tutorials/config.md +0 -2
  131. package/docs/tutorials/drm-config.md +5 -0
  132. package/docs/tutorials/fairplay.md +7 -22
  133. package/docs/tutorials/faq.md +8 -19
  134. package/docs/tutorials/index.json +3 -8
  135. package/docs/tutorials/plugins.md +4 -6
  136. package/docs/tutorials/selenium-grid-config.md +122 -0
  137. package/docs/tutorials/upgrade.md +83 -11
  138. package/docs/tutorials/welcome.md +10 -2
  139. package/externs/cmcd.js +1 -1
  140. package/externs/polyfill.js +15 -0
  141. package/externs/shaka/manifest.js +5 -1
  142. package/externs/shaka/net.js +12 -0
  143. package/externs/shaka/offline.js +5 -1
  144. package/externs/shaka/player.js +39 -32
  145. package/externs/shaka/text.js +12 -12
  146. package/externs/sourcebuffer.js +15 -0
  147. package/karma.conf.js +137 -30
  148. package/lib/abr/simple_abr_manager.js +12 -6
  149. package/lib/ads/client_side_ad.js +13 -2
  150. package/lib/ads/client_side_ad_manager.js +22 -4
  151. package/lib/cast/cast_proxy.js +3 -4
  152. package/lib/cast/cast_utils.js +0 -1
  153. package/lib/cea/cea608_data_channel.js +2 -2
  154. package/lib/cea/cea708_service.js +5 -4
  155. package/lib/cea/mp4_cea_parser.js +11 -5
  156. package/lib/cea/sei_processor.js +6 -3
  157. package/lib/dash/content_protection.js +85 -5
  158. package/lib/dash/dash_parser.js +10 -12
  159. package/lib/dash/mpd_utils.js +4 -5
  160. package/lib/dash/segment_list.js +1 -2
  161. package/lib/dash/segment_template.js +3 -3
  162. package/lib/hls/hls_parser.js +386 -749
  163. package/lib/hls/manifest_text_parser.js +5 -6
  164. package/lib/media/adaptation_set.js +1 -2
  165. package/lib/media/content_workarounds.js +2 -2
  166. package/lib/media/drm_engine.js +105 -55
  167. package/lib/media/gap_jumping_controller.js +10 -45
  168. package/lib/media/media_source_engine.js +90 -17
  169. package/lib/media/mp4_segment_index_parser.js +1 -4
  170. package/lib/media/playhead.js +4 -7
  171. package/lib/media/presentation_timeline.js +19 -10
  172. package/lib/media/segment_index.js +13 -46
  173. package/lib/media/segment_reference.js +47 -1
  174. package/lib/media/streaming_engine.js +35 -17
  175. package/lib/media/time_ranges_utils.js +5 -12
  176. package/lib/media/video_wrapper.js +1 -1
  177. package/lib/net/networking_engine.js +4 -1
  178. package/lib/offline/indexeddb/v1_storage_cell.js +1 -0
  179. package/lib/offline/indexeddb/v2_storage_cell.js +1 -0
  180. package/lib/offline/manifest_converter.js +1 -0
  181. package/lib/offline/storage.js +104 -136
  182. package/lib/player.js +50 -216
  183. package/lib/polyfill/all.js +2 -3
  184. package/lib/polyfill/encryption_scheme.js +1 -1
  185. package/lib/polyfill/media_capabilities.js +15 -9
  186. package/lib/polyfill/mediasource.js +0 -28
  187. package/lib/polyfill/patchedmediakeys_nop.js +2 -0
  188. package/lib/polyfill/patchedmediakeys_webkit.js +2 -0
  189. package/lib/polyfill/symbol.js +46 -0
  190. package/lib/text/cue.js +1 -7
  191. package/lib/text/lrc_text_parser.js +8 -0
  192. package/lib/text/mp4_ttml_parser.js +8 -0
  193. package/lib/text/mp4_vtt_parser.js +8 -0
  194. package/lib/text/sbv_text_parser.js +8 -0
  195. package/lib/text/simple_text_displayer.js +3 -8
  196. package/lib/text/srt_text_parser.js +8 -0
  197. package/lib/text/ssa_text_parser.js +8 -0
  198. package/lib/text/text_engine.js +19 -3
  199. package/lib/text/ttml_text_parser.js +16 -5
  200. package/lib/text/ui_text_displayer.js +2 -8
  201. package/lib/text/vtt_text_parser.js +24 -2
  202. package/lib/text/web_vtt_generator.js +1 -7
  203. package/lib/util/buffer_utils.js +1 -3
  204. package/lib/util/ebml_parser.js +3 -3
  205. package/lib/util/error.js +10 -14
  206. package/lib/util/fairplay_utils.js +109 -0
  207. package/lib/util/functional.js +0 -42
  208. package/lib/util/iterables.js +0 -46
  209. package/lib/util/mime_utils.js +2 -0
  210. package/lib/util/mp4_box_parsers.js +1 -4
  211. package/lib/util/mp4_parser.js +5 -7
  212. package/lib/util/periods.js +10 -11
  213. package/lib/util/platform.js +48 -3
  214. package/lib/util/player_configuration.js +12 -6
  215. package/lib/util/pssh.js +24 -8
  216. package/lib/util/stream_utils.js +96 -25
  217. package/lib/util/string_utils.js +3 -5
  218. package/lib/util/uint8array_utils.js +3 -21
  219. package/lib/util/xml_utils.js +16 -8
  220. package/package.json +61 -36
  221. package/roadmap.md +27 -27
  222. package/shaka-player.uncompiled.js +1 -3
  223. package/test/abr/simple_abr_manager_unit.js +3 -8
  224. package/test/ads/ad_manager_unit.js +0 -6
  225. package/test/cast/cast_proxy_unit.js +0 -8
  226. package/test/cast/cast_receiver_integration.js +1 -18
  227. package/test/cast/cast_receiver_unit.js +1 -9
  228. package/test/cast/cast_sender_unit.js +0 -6
  229. package/test/cast/cast_utils_unit.js +1 -13
  230. package/test/cea/cea608_memory_unit.js +0 -5
  231. package/test/cea/cea708_service_unit.js +0 -7
  232. package/test/cea/cea708_window_unit.js +0 -5
  233. package/test/cea/cea_decoder_unit.js +0 -6
  234. package/test/cea/dtvcc_packet_builder_unit.js +0 -3
  235. package/test/cea/dtvcc_packet_unit.js +0 -5
  236. package/test/cea/mp4_cea_parser_unit.js +0 -4
  237. package/test/dash/dash_parser_content_protection_unit.js +45 -10
  238. package/test/dash/dash_parser_live_unit.js +2 -15
  239. package/test/dash/dash_parser_manifest_unit.js +2 -40
  240. package/test/dash/dash_parser_segment_base_unit.js +1 -8
  241. package/test/dash/dash_parser_segment_list_unit.js +1 -7
  242. package/test/dash/dash_parser_segment_template_unit.js +3 -13
  243. package/test/dash/mpd_utils_unit.js +3 -11
  244. package/test/demo/demo_unit.js +2 -6
  245. package/test/deprecate/enforcer_unit.js +0 -4
  246. package/test/deprecate/version_unit.js +0 -2
  247. package/test/hls/hls_live_unit.js +101 -234
  248. package/test/hls/hls_parser_unit.js +517 -447
  249. package/test/hls/manifest_text_parser_unit.js +0 -10
  250. package/test/media/adaptation_set_criteria_unit.js +3 -7
  251. package/test/media/adaptation_set_unit.js +0 -2
  252. package/test/media/buffering_observer_unit.js +1 -4
  253. package/test/media/closed_caption_parser_unit.js +0 -3
  254. package/test/media/drm_engine_integration.js +2 -15
  255. package/test/media/drm_engine_unit.js +90 -144
  256. package/test/media/manifest_parser_unit.js +0 -4
  257. package/test/media/media_source_engine_integration.js +26 -10
  258. package/test/media/media_source_engine_unit.js +8 -20
  259. package/test/media/mp4_segment_index_parser_unit.js +0 -4
  260. package/test/media/play_rate_controller_unit.js +0 -4
  261. package/test/media/playhead_unit.js +35 -207
  262. package/test/media/presentation_timeline_unit.js +4 -7
  263. package/test/media/quality_observer_unit.js +0 -4
  264. package/test/media/region_observer_unit.js +1 -6
  265. package/test/media/region_timeline_unit.js +0 -3
  266. package/test/media/segment_index_unit.js +15 -31
  267. package/test/media/segment_reference_unit.js +0 -3
  268. package/test/media/stall_detector_unit.js +0 -5
  269. package/test/media/streaming_engine_integration.js +13 -75
  270. package/test/media/streaming_engine_unit.js +14 -37
  271. package/test/media/time_ranges_utils_unit.js +0 -7
  272. package/test/media/transmuxer_integration.js +0 -6
  273. package/test/media/webm_segment_index_parser_unit.js +0 -4
  274. package/test/net/data_uri_plugin_unit.js +0 -7
  275. package/test/net/http_plugin_unit.js +0 -9
  276. package/test/net/networking_engine_unit.js +0 -11
  277. package/test/offline/download_progress_estimator_unit.js +0 -2
  278. package/test/offline/indexeddb_storage_unit.js +0 -6
  279. package/test/offline/manifest_convert_unit.js +34 -12
  280. package/test/offline/offline_integration.js +1 -10
  281. package/test/offline/offline_manifest_parser_unit.js +1 -6
  282. package/test/offline/offline_scheme_unit.js +0 -8
  283. package/test/offline/offline_uri_unit.js +0 -2
  284. package/test/offline/storage_compatibility_unit.js +1 -14
  285. package/test/offline/storage_integration.js +6 -31
  286. package/test/player_external.js +1 -15
  287. package/test/player_integration.js +38 -28
  288. package/test/player_load_graph_integration.js +1 -6
  289. package/test/player_src_equals_external.js +3 -9
  290. package/test/player_src_equals_integration.js +0 -7
  291. package/test/player_unit.js +78 -37
  292. package/test/routing/walker_unit.js +0 -8
  293. package/test/test/assets/large_file.mpd +1 -1
  294. package/test/test/boot.js +75 -22
  295. package/test/test/externs/jasmine.js +2 -2
  296. package/test/test/externs/karma.js +4 -0
  297. package/test/test/namespace.js +10 -0
  298. package/test/test/util/canned_idb.js +0 -8
  299. package/test/test/util/cea_utils.js +0 -6
  300. package/test/test/util/dash_parser_util.js +0 -13
  301. package/test/test/util/fake_ad.js +0 -3
  302. package/test/test/util/fake_ad_manager.js +0 -9
  303. package/test/test/util/fake_demo_main.js +0 -5
  304. package/test/test/util/fake_drm_engine.js +0 -6
  305. package/test/test/util/fake_media_source_engine.js +11 -11
  306. package/test/test/util/fake_networking_engine.js +0 -5
  307. package/test/test/util/fake_text_displayer.js +0 -5
  308. package/test/test/util/indexeddb_utils.js +1 -10
  309. package/test/test/util/jasmine_fetch.js +0 -1
  310. package/test/test/util/loader.js +0 -18
  311. package/test/test/util/manifest_generator.js +12 -15
  312. package/test/test/util/manifest_parser_util.js +4 -7
  313. package/test/test/util/offline_utils.js +1 -5
  314. package/test/test/util/simple_fakes.js +9 -26
  315. package/test/test/util/stream_generator.js +0 -14
  316. package/test/test/util/streaming_engine_util.js +1 -15
  317. package/test/test/util/test_scheme.js +25 -20
  318. package/test/test/util/ttml_utils.js +0 -2
  319. package/test/test/util/ui_utils.js +0 -9
  320. package/test/test/util/util.js +9 -23
  321. package/test/test/util/waiter.js +84 -43
  322. package/test/text/cue_integration.js +2 -6
  323. package/test/text/lrc_text_parser_unit.js +6 -11
  324. package/test/text/mp4_ttml_parser_unit.js +6 -10
  325. package/test/text/mp4_vtt_parser_unit.js +7 -12
  326. package/test/text/sbv_text_parser_unit.js +5 -10
  327. package/test/text/simple_text_displayer_unit.js +1 -8
  328. package/test/text/srt_text_parser_unit.js +5 -10
  329. package/test/text/ssa_text_parser_unit.js +17 -34
  330. package/test/text/text_engine_unit.js +47 -12
  331. package/test/text/text_track_integration.js +0 -2
  332. package/test/text/ttml_text_parser_unit.js +79 -88
  333. package/test/text/ui_text_displayer_unit.js +44 -41
  334. package/test/text/vtt_text_parser_unit.js +55 -66
  335. package/test/text/web_vtt_generator_unit.js +0 -3
  336. package/test/ui/ad_ui_unit.js +0 -11
  337. package/test/ui/localization_unit.js +0 -3
  338. package/test/ui/text_displayer_layout_unit.js +1 -12
  339. package/test/ui/ui_customization_unit.js +0 -6
  340. package/test/ui/ui_integration.js +0 -32
  341. package/test/ui/ui_unit.js +28 -17
  342. package/test/util/abortable_operation_unit.js +4 -9
  343. package/test/util/array_utils_unit.js +0 -2
  344. package/test/util/buffer_utils_unit.js +0 -2
  345. package/test/util/cmcd_manager_unit.js +3 -3
  346. package/test/util/data_view_reader_unit.js +0 -4
  347. package/test/util/ebml_parser_unit.js +0 -4
  348. package/test/util/event_manager_unit.js +0 -3
  349. package/test/util/fake_event_target_unit.js +0 -5
  350. package/test/util/iterables_unit.js +0 -64
  351. package/test/util/language_utils_unit.js +0 -3
  352. package/test/util/manifest_parser_utils_unit.js +0 -2
  353. package/test/util/mp4_box_parsers_unit.js +0 -5
  354. package/test/util/mp4_parser_unit.js +0 -4
  355. package/test/util/multi_map_unit.js +0 -3
  356. package/test/util/object_utils_unit.js +0 -2
  357. package/test/util/periods_unit.js +14 -7
  358. package/test/util/pssh_unit.js +0 -5
  359. package/test/util/state_history_unit.js +0 -2
  360. package/test/util/stream_utils_unit.js +26 -15
  361. package/test/util/string_utils_unit.js +0 -6
  362. package/test/util/text_parser_unit.js +0 -2
  363. package/test/util/xml_utils_unit.js +0 -4
  364. package/ui/controls.js +65 -40
  365. package/ui/fullscreen_button.js +26 -6
  366. package/ui/less/ad_controls.less +6 -6
  367. package/ui/less/buttons.less +6 -6
  368. package/ui/less/containers.less +10 -12
  369. package/ui/less/overflow_menu.less +4 -4
  370. package/ui/less/range_elements.less +7 -2
  371. package/ui/less/tooltip.less +4 -4
  372. package/ui/locales/en.json +1 -0
  373. package/ui/locales/sjn-translations.yaml +257 -0
  374. package/ui/locales/sjn.json +42 -0
  375. package/ui/locales/source.json +5 -0
  376. package/ui/resolution_selection.js +31 -33
  377. package/ui/seek_bar.js +2 -1
  378. package/ui/ui.js +0 -17
  379. package/.github/workflows/build_and_test.yaml +0 -73
  380. package/.github/workflows/release.yaml +0 -53
  381. package/docs/tutorials/upgrade-v2-5.md +0 -441
  382. package/docs/tutorials/upgrade-v3.md +0 -38
  383. package/externs/svgelement.js +0 -18
  384. package/externs/webcrypto.js +0 -18
  385. package/lib/polyfill/mathround.js +0 -49
  386. package/lib/polyfill/patchedmediakeys_apple.js +0 -744
  387. package/lib/polyfill/patchedmediakeys_ms.js +0 -698
  388. package/lib/util/mutex.js +0 -52
  389. package/test/util/functional_unit.js +0 -82
@@ -7,7 +7,7 @@
7
7
  declare class GlobalError extends Error {}
8
8
 
9
9
  //!! generated by clutz.
10
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
10
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
11
11
  declare namespace shaka {
12
12
  class Player extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
13
13
  private noStructuralTyping_shaka_Player : any;
@@ -18,13 +18,6 @@ declare namespace shaka {
18
18
  * This returns the created track.
19
19
  */
20
20
  addChaptersTrack (uri : string , language : string , mimeType ? : string ) : Promise < shaka.extern.Track > ;
21
- /**
22
- * Adds the given text track to the loaded manifest. <code>load()</code> must
23
- * resolve before calling. The presentation must have a duration.
24
- * This returns the created track, which can immediately be selected by the
25
- * application. The track will not be automatically selected.
26
- */
27
- addTextTrack (uri : string , language : string , kind : string , mimeType ? : string , codec ? : string , label ? : string , forced ? : boolean ) : shaka.extern.Track ;
28
21
  /**
29
22
  * Adds the given text track to the loaded manifest. <code>load()</code> must
30
23
  * resolve before calling. The presentation must have a duration.
@@ -430,7 +423,7 @@ declare namespace shaka {
430
423
  static version : string ;
431
424
  }
432
425
  }
433
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
426
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
434
427
  declare namespace shaka.Player {
435
428
  /**
436
429
  * In order to know what method of loading the player used for some content, we
@@ -459,7 +452,7 @@ declare namespace shaka.Player {
459
452
  SRC_EQUALS = 3.0 ,
460
453
  }
461
454
  }
462
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
455
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
463
456
  declare namespace shaka.abr {
464
457
  class SimpleAbrManager implements shaka.extern.AbrManager {
465
458
  private noStructuralTyping_shaka_abr_SimpleAbrManager : any;
@@ -475,7 +468,7 @@ declare namespace shaka.abr {
475
468
  stop ( ) : any ;
476
469
  }
477
470
  }
478
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
471
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
479
472
  declare namespace shaka.ads {
480
473
  /**
481
474
  * A class responsible for ad-related interactions.
@@ -622,11 +615,11 @@ declare namespace shaka.ads {
622
615
  static IMA_STREAM_MANAGER_LOADED : string ;
623
616
  }
624
617
  }
625
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
618
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
626
619
  declare namespace shaka.ads {
627
620
  class ClientSideAd implements shaka.extern.IAd {
628
621
  private noStructuralTyping_shaka_ads_ClientSideAd : any;
629
- constructor (imaAd : google.ima.Ad , imaAdManager : google.ima.AdsManager ) ;
622
+ constructor (imaAd : google.ima.Ad , imaAdManager : google.ima.AdsManager , video : HTMLMediaElement | null ) ;
630
623
  canSkipNow ( ) : any ;
631
624
  getDuration ( ) : any ;
632
625
  getMinSuggestedDuration ( ) : any ;
@@ -648,7 +641,7 @@ declare namespace shaka.ads {
648
641
  skip ( ) : any ;
649
642
  }
650
643
  }
651
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
644
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
652
645
  declare namespace shaka.ads {
653
646
  class ServerSideAd implements shaka.extern.IAd {
654
647
  private noStructuralTyping_shaka_ads_ServerSideAd : any;
@@ -674,7 +667,7 @@ declare namespace shaka.ads {
674
667
  skip ( ) : any ;
675
668
  }
676
669
  }
677
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
670
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
678
671
  declare namespace shaka.cast {
679
672
  class CastProxy extends shaka.util.FakeEventTarget implements shaka.util.IDestroyable {
680
673
  private noStructuralTyping_shaka_cast_CastProxy : any;
@@ -714,7 +707,7 @@ declare namespace shaka.cast {
714
707
  suggestDisconnect ( ) : any ;
715
708
  }
716
709
  }
717
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
710
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
718
711
  declare namespace shaka.cast {
719
712
  /**
720
713
  * A receiver to communicate between the Chromecast-hosted player and the
@@ -766,7 +759,7 @@ declare namespace shaka.cast {
766
759
  setContentTitle (title : string ) : any ;
767
760
  }
768
761
  }
769
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
762
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
770
763
  declare namespace shaka.dash {
771
764
  /**
772
765
  * Creates a new DASH parser.
@@ -780,7 +773,7 @@ declare namespace shaka.dash {
780
773
  update ( ) : any ;
781
774
  }
782
775
  }
783
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
776
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
784
777
  declare namespace shaka {
785
778
  class dependencies {
786
779
  private noStructuralTyping_shaka_dependencies : any;
@@ -797,13 +790,13 @@ declare namespace shaka {
797
790
  static has (key : shaka.dependencies.Allowed ) : boolean ;
798
791
  }
799
792
  }
800
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
793
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
801
794
  declare namespace shaka.dependencies {
802
795
  enum Allowed {
803
796
  muxjs = 'muxjs' ,
804
797
  }
805
798
  }
806
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
799
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
807
800
  declare namespace shaka.hls {
808
801
  /**
809
802
  * HLS parser.
@@ -817,7 +810,7 @@ declare namespace shaka.hls {
817
810
  update ( ) : any ;
818
811
  }
819
812
  }
820
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
813
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
821
814
  declare namespace shaka.media {
822
815
  /**
823
816
  * Creates an InitSegmentReference, which provides the location to an
@@ -839,7 +832,7 @@ declare namespace shaka.media {
839
832
  getStartByte ( ) : number ;
840
833
  }
841
834
  }
842
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
835
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
843
836
  declare namespace shaka.media {
844
837
  class ManifestParser {
845
838
  private noStructuralTyping_shaka_media_ManifestParser : any;
@@ -862,7 +855,7 @@ declare namespace shaka.media {
862
855
  static unregisterParserByMime (mimeType : string ) : any ;
863
856
  }
864
857
  }
865
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
858
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
866
859
  declare namespace shaka.media {
867
860
  /**
868
861
  * A meta-SegmentIndex composed of multiple other SegmentIndexes.
@@ -881,14 +874,14 @@ declare namespace shaka.media {
881
874
  find (time : number ) : number | null ;
882
875
  fit (windowStart : number , windowEnd : number | null , c ? : boolean ) : any ;
883
876
  get (position : number ) : shaka.media.SegmentReference | null ;
884
- merge (references : shaka.media.SegmentReference [] ) : any ;
877
+ merge (references : any ) : any ;
885
878
  mergeAndEvict (references : shaka.media.SegmentReference [] , windowStart : number ) : any ;
886
879
  offset (offset : number ) : any ;
887
880
  release ( ) : any ;
888
881
  updateEvery (interval : number , updateCallback : ( ) => ( shaka.media.SegmentReference | null ) [] | null ) : any ;
889
882
  }
890
883
  }
891
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
884
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
892
885
  declare namespace shaka.media {
893
886
  /**
894
887
  * PresentationTimeline.
@@ -1003,7 +996,7 @@ declare namespace shaka.media {
1003
996
  usingPresentationStartTime ( ) : boolean ;
1004
997
  }
1005
998
  }
1006
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
999
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1007
1000
  declare namespace shaka.media {
1008
1001
  /**
1009
1002
  * SegmentIndex.
@@ -1016,11 +1009,6 @@ declare namespace shaka.media {
1016
1009
  constructor (references : shaka.media.SegmentReference [] ) ;
1017
1010
  //!! Symbol.iterator inserted by Clutz for Iterable subtype
1018
1011
  [Symbol.iterator](): Iterator < shaka.media.SegmentReference > ;
1019
- /**
1020
- * SegmentIndex used to be an IDestroyable. Now it is an IReleasable.
1021
- * This method is provided for backward compatibility.
1022
- */
1023
- destroy ( ) : Promise < any > ;
1024
1012
  /**
1025
1013
  * Removes all SegmentReferences that end before the given time.
1026
1014
  * @param time The time in seconds.
@@ -1061,16 +1049,6 @@ declare namespace shaka.media {
1061
1049
  * This is mainly for testing.
1062
1050
  */
1063
1051
  markImmutable ( ) : any ;
1064
- /**
1065
- * Merges the given SegmentReferences. Supports extending the original
1066
- * references only. Will replace old references with equivalent new ones, and
1067
- * keep any unique old ones.
1068
- * Used, for example, by the DASH and HLS parser, where manifests may not list
1069
- * all available references, so we must keep available references in memory to
1070
- * fill the availability window.
1071
- * @param references The list of SegmentReferences, which must be sorted first by their start times (ascending) and second by their end times (ascending).
1072
- */
1073
- merge (references : shaka.media.SegmentReference [] ) : any ;
1074
1052
  /**
1075
1053
  * Merges the given SegmentReferences and evicts the ones that end before the
1076
1054
  * given time. Supports extending the original references only.
@@ -1101,7 +1079,7 @@ declare namespace shaka.media {
1101
1079
  static forSingleSegment (startTime : number , duration : number , uris : string [] ) : shaka.media.SegmentIndex ;
1102
1080
  }
1103
1081
  }
1104
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1082
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1105
1083
  declare namespace shaka.media {
1106
1084
  /**
1107
1085
  * An iterator over a SegmentIndex's references.
@@ -1114,13 +1092,9 @@ declare namespace shaka.media {
1114
1092
  constructor (segmentIndex : shaka.media.SegmentIndex | null , index : number , partialSegmentIndex : number ) ;
1115
1093
  current ( ) : shaka.media.SegmentReference | null ;
1116
1094
  next ( ) : any ;
1117
- /**
1118
- * Move the iterator to a given timestamp in the underlying SegmentIndex.
1119
- */
1120
- seek (time : number ) : shaka.media.SegmentReference | null ;
1121
1095
  }
1122
1096
  }
1123
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1097
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1124
1098
  declare namespace shaka.media {
1125
1099
  /**
1126
1100
  * SegmentReference provides the start time, end time, and location to a media
@@ -1128,7 +1102,7 @@ declare namespace shaka.media {
1128
1102
  */
1129
1103
  class SegmentReference {
1130
1104
  private noStructuralTyping_shaka_media_SegmentReference : any;
1131
- constructor (startTime : number , endTime : number , uris : ( ) => string [] , startByte : number , endByte : number | null , initSegmentReference : shaka.media.InitSegmentReference | null , timestampOffset : number , appendWindowStart : number , appendWindowEnd : number , partialReferences ? : shaka.media.SegmentReference [] , tilesLayout ? : string | null , tileDuration ? : number | null ) ;
1105
+ constructor (startTime : number , endTime : number , uris : ( ) => string [] , startByte : number , endByte : number | null , initSegmentReference : shaka.media.InitSegmentReference | null , timestampOffset : number , appendWindowStart : number , appendWindowEnd : number , partialReferences ? : shaka.media.SegmentReference [] , tilesLayout ? : string | null , tileDuration ? : number | null , syncTime ? : number | null , status ? : shaka.media.SegmentReference.Status ) ;
1132
1106
  /**
1133
1107
  * Returns the offset from the start of the resource to the end of the
1134
1108
  * segment, inclusive. A value of null indicates that the segment extends to
@@ -1148,6 +1122,10 @@ declare namespace shaka.media {
1148
1122
  * Returns the segment's start time in seconds.
1149
1123
  */
1150
1124
  getStartTime ( ) : number ;
1125
+ /**
1126
+ * Returns the segment's status.
1127
+ */
1128
+ getStatus ( ) : shaka.media.SegmentReference.Status ;
1151
1129
  /**
1152
1130
  * Returns the segment's explicit tile duration.
1153
1131
  * Only defined in image segments.
@@ -1161,16 +1139,36 @@ declare namespace shaka.media {
1161
1139
  * Creates and returns the URIs of the resource containing the segment.
1162
1140
  */
1163
1141
  getUris ( ) : string [] ;
1142
+ /**
1143
+ * Mark the reference as unavailable.
1144
+ */
1145
+ markAsUnavailable ( ) : any ;
1164
1146
  }
1165
1147
  }
1166
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1148
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1149
+ declare namespace shaka.media.SegmentReference {
1150
+ /**
1151
+ * Rather than using booleans to communicate what the state of the reference,
1152
+ * we have this enum.
1153
+ */
1154
+ /**
1155
+ * Rather than using booleans to communicate what the state of the reference,
1156
+ * we have this enum.
1157
+ */
1158
+ enum Status {
1159
+ AVAILABLE = 0.0 ,
1160
+ MISSING = 2.0 ,
1161
+ UNAVAILABLE = 1.0 ,
1162
+ }
1163
+ }
1164
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1167
1165
  declare namespace shaka.net {
1168
1166
  class DataUriPlugin {
1169
1167
  private noStructuralTyping_shaka_net_DataUriPlugin : any;
1170
1168
  static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
1171
1169
  }
1172
1170
  }
1173
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1171
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1174
1172
  declare namespace shaka.net {
1175
1173
  class HttpFetchPlugin {
1176
1174
  private noStructuralTyping_shaka_net_HttpFetchPlugin : any;
@@ -1183,14 +1181,14 @@ declare namespace shaka.net {
1183
1181
  static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated , headersReceived : shaka.extern.HeadersReceived ) : shaka.extern.IAbortableOperation < any > ;
1184
1182
  }
1185
1183
  }
1186
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1184
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1187
1185
  declare namespace shaka.net {
1188
1186
  class HttpXHRPlugin {
1189
1187
  private noStructuralTyping_shaka_net_HttpXHRPlugin : any;
1190
1188
  static parse (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated , headersReceived : shaka.extern.HeadersReceived ) : shaka.extern.IAbortableOperation < any > ;
1191
1189
  }
1192
1190
  }
1193
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1191
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1194
1192
  declare namespace shaka.net {
1195
1193
  /**
1196
1194
  * NetworkingEngine wraps all networking operations. This accepts plugins that
@@ -1259,7 +1257,7 @@ declare namespace shaka.net {
1259
1257
  static unregisterScheme (scheme : string ) : any ;
1260
1258
  }
1261
1259
  }
1262
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1260
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1263
1261
  declare namespace shaka.net.NetworkingEngine {
1264
1262
  /**
1265
1263
  * A wrapper class for the number of bytes remaining to be downloaded for the
@@ -1272,15 +1270,15 @@ declare namespace shaka.net.NetworkingEngine {
1272
1270
  private noStructuralTyping_shaka_net_NetworkingEngine_NumBytesRemainingClass : any;
1273
1271
  }
1274
1272
  }
1275
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1273
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1276
1274
  declare namespace shaka.net.NetworkingEngine {
1277
1275
  type OnDownloadFailed = (a : shaka.extern.Request , b : shaka.util.Error | null , c : number , d : boolean ) => any ;
1278
1276
  }
1279
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1277
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1280
1278
  declare namespace shaka.net.NetworkingEngine {
1281
1279
  type OnHeadersReceived = (a : { [ key: string ]: string } , b : shaka.extern.Request , c : shaka.net.NetworkingEngine.RequestType ) => any ;
1282
1280
  }
1283
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1281
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1284
1282
  declare namespace shaka.net.NetworkingEngine {
1285
1283
  /**
1286
1284
  * A pending network request. This can track the current progress of the
@@ -1295,7 +1293,7 @@ declare namespace shaka.net.NetworkingEngine {
1295
1293
  constructor (promise : Promise < any > , onAbort : shaka.extern.CreateSegmentIndexFunction , numBytesRemainingObj : shaka.net.NetworkingEngine.NumBytesRemainingClass | null ) ;
1296
1294
  }
1297
1295
  }
1298
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1296
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1299
1297
  declare namespace shaka.net.NetworkingEngine {
1300
1298
  /**
1301
1299
  * Priority level for network scheme plugins.
@@ -1313,7 +1311,7 @@ declare namespace shaka.net.NetworkingEngine {
1313
1311
  PREFERRED = 2.0 ,
1314
1312
  }
1315
1313
  }
1316
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1314
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1317
1315
  declare namespace shaka.net.NetworkingEngine {
1318
1316
  /**
1319
1317
  * Request types. Allows a filter to decide which requests to read/alter.
@@ -1330,14 +1328,14 @@ declare namespace shaka.net.NetworkingEngine {
1330
1328
  TIMING = 4.0 ,
1331
1329
  }
1332
1330
  }
1333
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1331
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1334
1332
  declare namespace shaka.offline {
1335
1333
  class OfflineScheme {
1336
1334
  private noStructuralTyping_shaka_offline_OfflineScheme : any;
1337
1335
  static plugin (uri : string , request : shaka.extern.Request , requestType : shaka.net.NetworkingEngine.RequestType , progressUpdated : shaka.extern.ProgressUpdated ) : shaka.extern.IAbortableOperation < any > ;
1338
1336
  }
1339
1337
  }
1340
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1338
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1341
1339
  declare namespace shaka.offline {
1342
1340
  class Storage implements shaka.util.IDestroyable {
1343
1341
  private noStructuralTyping_shaka_offline_Storage : any;
@@ -1365,10 +1363,6 @@ declare namespace shaka.offline {
1365
1363
  * |getNetworkingEngine|.
1366
1364
  */
1367
1365
  getNetworkingEngine ( ) : shaka.net.NetworkingEngine | null ;
1368
- /**
1369
- * Returns true if an asset is currently downloading.
1370
- */
1371
- getStoreInProgress ( ) : boolean ;
1372
1366
  /**
1373
1367
  * Lists all the stored content available.
1374
1368
  */
@@ -1412,7 +1406,7 @@ declare namespace shaka.offline {
1412
1406
  static support ( ) : boolean ;
1413
1407
  }
1414
1408
  }
1415
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1409
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1416
1410
  declare namespace shaka.offline {
1417
1411
  /**
1418
1412
  * StorageMuxer is responsible for managing StorageMechanisms and addressing
@@ -1445,7 +1439,7 @@ declare namespace shaka.offline {
1445
1439
  static unregister (name : string ) : any ;
1446
1440
  }
1447
1441
  }
1448
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1442
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1449
1443
  declare namespace shaka {
1450
1444
  class polyfill {
1451
1445
  private noStructuralTyping_shaka_polyfill : any;
@@ -1460,7 +1454,7 @@ declare namespace shaka {
1460
1454
  static register (polyfill : ( ) => any , priority ? : number ) : any ;
1461
1455
  }
1462
1456
  }
1463
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1457
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1464
1458
  declare namespace shaka.polyfill {
1465
1459
  class Aria {
1466
1460
  private noStructuralTyping_shaka_polyfill_Aria : any;
@@ -1470,7 +1464,7 @@ declare namespace shaka.polyfill {
1470
1464
  static install ( ) : any ;
1471
1465
  }
1472
1466
  }
1473
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1467
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1474
1468
  declare namespace shaka.polyfill {
1475
1469
  class EncryptionScheme {
1476
1470
  private noStructuralTyping_shaka_polyfill_EncryptionScheme : any;
@@ -1480,7 +1474,7 @@ declare namespace shaka.polyfill {
1480
1474
  static install ( ) : any ;
1481
1475
  }
1482
1476
  }
1483
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1477
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1484
1478
  declare namespace shaka.polyfill {
1485
1479
  class Fullscreen {
1486
1480
  private noStructuralTyping_shaka_polyfill_Fullscreen : any;
@@ -1490,17 +1484,7 @@ declare namespace shaka.polyfill {
1490
1484
  static install ( ) : any ;
1491
1485
  }
1492
1486
  }
1493
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1494
- declare namespace shaka.polyfill {
1495
- class MathRound {
1496
- private noStructuralTyping_shaka_polyfill_MathRound : any;
1497
- /**
1498
- * Install the polyfill if needed.
1499
- */
1500
- static install ( ) : any ;
1501
- }
1502
- }
1503
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1487
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1504
1488
  declare namespace shaka.polyfill {
1505
1489
  class MediaCapabilities {
1506
1490
  private noStructuralTyping_shaka_polyfill_MediaCapabilities : any;
@@ -1516,7 +1500,7 @@ declare namespace shaka.polyfill {
1516
1500
  static originalMcap : any | null ;
1517
1501
  }
1518
1502
  }
1519
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1503
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1520
1504
  declare namespace shaka.polyfill {
1521
1505
  class MediaSource {
1522
1506
  private noStructuralTyping_shaka_polyfill_MediaSource : any;
@@ -1526,7 +1510,7 @@ declare namespace shaka.polyfill {
1526
1510
  static install ( ) : any ;
1527
1511
  }
1528
1512
  }
1529
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1513
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1530
1514
  declare namespace shaka.polyfill {
1531
1515
  class Orientation {
1532
1516
  private noStructuralTyping_shaka_polyfill_Orientation : any;
@@ -1536,27 +1520,7 @@ declare namespace shaka.polyfill {
1536
1520
  static install ( ) : any ;
1537
1521
  }
1538
1522
  }
1539
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1540
- declare namespace shaka.polyfill {
1541
- class PatchedMediaKeysApple {
1542
- private noStructuralTyping_shaka_polyfill_PatchedMediaKeysApple : any;
1543
- /**
1544
- * Installs the polyfill if needed.
1545
- */
1546
- static install ( ) : any ;
1547
- }
1548
- }
1549
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1550
- declare namespace shaka.polyfill {
1551
- class PatchedMediaKeysMs {
1552
- private noStructuralTyping_shaka_polyfill_PatchedMediaKeysMs : any;
1553
- /**
1554
- * Installs the polyfill if needed.
1555
- */
1556
- static install ( ) : any ;
1557
- }
1558
- }
1559
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1523
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1560
1524
  declare namespace shaka.polyfill {
1561
1525
  class PatchedMediaKeysNop {
1562
1526
  private noStructuralTyping_shaka_polyfill_PatchedMediaKeysNop : any;
@@ -1566,7 +1530,7 @@ declare namespace shaka.polyfill {
1566
1530
  static install ( ) : any ;
1567
1531
  }
1568
1532
  }
1569
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1533
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1570
1534
  declare namespace shaka.polyfill {
1571
1535
  class PatchedMediaKeysWebkit {
1572
1536
  private noStructuralTyping_shaka_polyfill_PatchedMediaKeysWebkit : any;
@@ -1576,7 +1540,7 @@ declare namespace shaka.polyfill {
1576
1540
  static install ( ) : any ;
1577
1541
  }
1578
1542
  }
1579
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1543
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1580
1544
  declare namespace shaka.polyfill {
1581
1545
  class PiPWebkit {
1582
1546
  private noStructuralTyping_shaka_polyfill_PiPWebkit : any;
@@ -1586,7 +1550,7 @@ declare namespace shaka.polyfill {
1586
1550
  static install ( ) : any ;
1587
1551
  }
1588
1552
  }
1589
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1553
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1590
1554
  declare namespace shaka.polyfill {
1591
1555
  class RandomUUID {
1592
1556
  private noStructuralTyping_shaka_polyfill_RandomUUID : any;
@@ -1596,7 +1560,7 @@ declare namespace shaka.polyfill {
1596
1560
  static install ( ) : any ;
1597
1561
  }
1598
1562
  }
1599
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1563
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1600
1564
  declare namespace shaka.polyfill {
1601
1565
  class StorageEstimate {
1602
1566
  private noStructuralTyping_shaka_polyfill_StorageEstimate : any;
@@ -1606,7 +1570,17 @@ declare namespace shaka.polyfill {
1606
1570
  static install ( ) : any ;
1607
1571
  }
1608
1572
  }
1609
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1573
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1574
+ declare namespace shaka.polyfill {
1575
+ class Symbol {
1576
+ private noStructuralTyping_shaka_polyfill_Symbol : any;
1577
+ /**
1578
+ * Install the polyfill if needed.
1579
+ */
1580
+ static install ( ) : any ;
1581
+ }
1582
+ }
1583
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1610
1584
  declare namespace shaka.polyfill {
1611
1585
  class VTTCue {
1612
1586
  private noStructuralTyping_shaka_polyfill_VTTCue : any;
@@ -1616,7 +1590,7 @@ declare namespace shaka.polyfill {
1616
1590
  static install ( ) : any ;
1617
1591
  }
1618
1592
  }
1619
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1593
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1620
1594
  declare namespace shaka.polyfill {
1621
1595
  class VideoPlayPromise {
1622
1596
  private noStructuralTyping_shaka_polyfill_VideoPlayPromise : any;
@@ -1626,7 +1600,7 @@ declare namespace shaka.polyfill {
1626
1600
  static install ( ) : any ;
1627
1601
  }
1628
1602
  }
1629
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1603
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1630
1604
  declare namespace shaka.polyfill {
1631
1605
  class VideoPlaybackQuality {
1632
1606
  private noStructuralTyping_shaka_polyfill_VideoPlaybackQuality : any;
@@ -1636,7 +1610,7 @@ declare namespace shaka.polyfill {
1636
1610
  static install ( ) : any ;
1637
1611
  }
1638
1612
  }
1639
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1613
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1640
1614
  declare namespace shaka.text {
1641
1615
  class Cue implements shaka.extern.Cue {
1642
1616
  private noStructuralTyping_shaka_text_Cue : any;
@@ -1675,7 +1649,6 @@ declare namespace shaka.text {
1675
1649
  positionAlign : any ;
1676
1650
  region : any ;
1677
1651
  size : any ;
1678
- spacer : any ;
1679
1652
  startTime : any ;
1680
1653
  textAlign : any ;
1681
1654
  textDecoration : any ;
@@ -1685,7 +1658,7 @@ declare namespace shaka.text {
1685
1658
  writingMode : any ;
1686
1659
  }
1687
1660
  }
1688
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1661
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1689
1662
  declare namespace shaka.text.Cue {
1690
1663
  /**
1691
1664
  * Default text background color according to
@@ -1706,7 +1679,7 @@ declare namespace shaka.text.Cue {
1706
1679
  bg_yellow = '#FF0' ,
1707
1680
  }
1708
1681
  }
1709
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1682
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1710
1683
  declare namespace shaka.text.Cue {
1711
1684
  /**
1712
1685
  * Default text color according to
@@ -1727,14 +1700,14 @@ declare namespace shaka.text.Cue {
1727
1700
  yellow = '#FF0' ,
1728
1701
  }
1729
1702
  }
1730
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1703
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1731
1704
  declare namespace shaka.text.Cue {
1732
1705
  enum direction {
1733
1706
  HORIZONTAL_LEFT_TO_RIGHT = 'ltr' ,
1734
1707
  HORIZONTAL_RIGHT_TO_LEFT = 'rtl' ,
1735
1708
  }
1736
1709
  }
1737
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1710
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1738
1711
  declare namespace shaka.text.Cue {
1739
1712
  /**
1740
1713
  * Vertical alignments of the cues within their extents.
@@ -1752,7 +1725,7 @@ declare namespace shaka.text.Cue {
1752
1725
  CENTER = 'center' ,
1753
1726
  }
1754
1727
  }
1755
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1728
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1756
1729
  declare namespace shaka.text.Cue {
1757
1730
  enum fontStyle {
1758
1731
  ITALIC = 'italic' ,
@@ -1760,7 +1733,7 @@ declare namespace shaka.text.Cue {
1760
1733
  OBLIQUE = 'oblique' ,
1761
1734
  }
1762
1735
  }
1763
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1736
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1764
1737
  declare namespace shaka.text.Cue {
1765
1738
  /**
1766
1739
  * In CSS font weight can be a number, where 400 is normal and 700 is bold.
@@ -1775,7 +1748,7 @@ declare namespace shaka.text.Cue {
1775
1748
  NORMAL = 400.0 ,
1776
1749
  }
1777
1750
  }
1778
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1751
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1779
1752
  declare namespace shaka.text.Cue {
1780
1753
  enum lineAlign {
1781
1754
  CENTER = 'center' ,
@@ -1783,14 +1756,14 @@ declare namespace shaka.text.Cue {
1783
1756
  START = 'start' ,
1784
1757
  }
1785
1758
  }
1786
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1759
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1787
1760
  declare namespace shaka.text.Cue {
1788
1761
  enum lineInterpretation {
1789
1762
  LINE_NUMBER = 0.0 ,
1790
1763
  PERCENTAGE = 1.0 ,
1791
1764
  }
1792
1765
  }
1793
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1766
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1794
1767
  declare namespace shaka.text.Cue {
1795
1768
  enum positionAlign {
1796
1769
  AUTO = 'auto' ,
@@ -1799,7 +1772,7 @@ declare namespace shaka.text.Cue {
1799
1772
  RIGHT = 'line-right' ,
1800
1773
  }
1801
1774
  }
1802
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1775
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1803
1776
  declare namespace shaka.text.Cue {
1804
1777
  enum textAlign {
1805
1778
  CENTER = 'center' ,
@@ -1809,7 +1782,7 @@ declare namespace shaka.text.Cue {
1809
1782
  START = 'start' ,
1810
1783
  }
1811
1784
  }
1812
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1785
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1813
1786
  declare namespace shaka.text.Cue {
1814
1787
  enum textDecoration {
1815
1788
  LINE_THROUGH = 'lineThrough' ,
@@ -1817,7 +1790,7 @@ declare namespace shaka.text.Cue {
1817
1790
  UNDERLINE = 'underline' ,
1818
1791
  }
1819
1792
  }
1820
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1793
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1821
1794
  declare namespace shaka.text.Cue {
1822
1795
  enum writingMode {
1823
1796
  HORIZONTAL_TOP_TO_BOTTOM = 'horizontal-tb' ,
@@ -1825,7 +1798,7 @@ declare namespace shaka.text.Cue {
1825
1798
  VERTICAL_RIGHT_TO_LEFT = 'vertical-rl' ,
1826
1799
  }
1827
1800
  }
1828
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1801
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1829
1802
  declare namespace shaka.text {
1830
1803
  class CueRegion implements shaka.extern.CueRegion {
1831
1804
  private noStructuralTyping_shaka_text_CueRegion : any;
@@ -1842,14 +1815,14 @@ declare namespace shaka.text {
1842
1815
  widthUnits : any ;
1843
1816
  }
1844
1817
  }
1845
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1818
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1846
1819
  declare namespace shaka.text.CueRegion {
1847
1820
  enum scrollMode {
1848
1821
  NONE = '' ,
1849
1822
  UP = 'up' ,
1850
1823
  }
1851
1824
  }
1852
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1825
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1853
1826
  declare namespace shaka.text.CueRegion {
1854
1827
  enum units {
1855
1828
  LINES = 2.0 ,
@@ -1857,7 +1830,7 @@ declare namespace shaka.text.CueRegion {
1857
1830
  PX = 0.0 ,
1858
1831
  }
1859
1832
  }
1860
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1833
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1861
1834
  declare namespace shaka.text {
1862
1835
  /**
1863
1836
  * LRC file format: https://en.wikipedia.org/wiki/LRC_(file_format)
@@ -1866,33 +1839,37 @@ declare namespace shaka.text {
1866
1839
  private noStructuralTyping_shaka_text_LrcTextParser : any;
1867
1840
  parseInit (data : any ) : any ;
1868
1841
  parseMedia (data : any , time : any ) : any ;
1842
+ setSequenceMode (sequenceMode : any ) : any ;
1869
1843
  }
1870
1844
  }
1871
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1845
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1872
1846
  declare namespace shaka.text {
1873
1847
  class Mp4TtmlParser implements shaka.extern.TextParser {
1874
1848
  private noStructuralTyping_shaka_text_Mp4TtmlParser : any;
1875
1849
  parseInit (data : any ) : any ;
1876
1850
  parseMedia (data : any , time : any ) : any ;
1851
+ setSequenceMode (sequenceMode : any ) : any ;
1877
1852
  }
1878
1853
  }
1879
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1854
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1880
1855
  declare namespace shaka.text {
1881
1856
  class Mp4VttParser implements shaka.extern.TextParser {
1882
1857
  private noStructuralTyping_shaka_text_Mp4VttParser : any;
1883
1858
  parseInit (data : any ) : any ;
1884
1859
  parseMedia (data : any , time : any ) : any ;
1860
+ setSequenceMode (sequenceMode : any ) : any ;
1885
1861
  }
1886
1862
  }
1887
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1863
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1888
1864
  declare namespace shaka.text {
1889
1865
  class SbvTextParser implements shaka.extern.TextParser {
1890
1866
  private noStructuralTyping_shaka_text_SbvTextParser : any;
1891
1867
  parseInit (data : any ) : any ;
1892
1868
  parseMedia (data : any , time : any ) : any ;
1869
+ setSequenceMode (sequenceMode : any ) : any ;
1893
1870
  }
1894
1871
  }
1895
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1872
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1896
1873
  declare namespace shaka.text {
1897
1874
  /**
1898
1875
  * A text displayer plugin using the browser's native VTTCue interface.
@@ -1910,19 +1887,20 @@ declare namespace shaka.text {
1910
1887
  setTextVisibility (on : any ) : any ;
1911
1888
  }
1912
1889
  }
1913
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1890
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1914
1891
  declare namespace shaka.text {
1915
1892
  class SrtTextParser implements shaka.extern.TextParser {
1916
1893
  private noStructuralTyping_shaka_text_SrtTextParser : any;
1917
1894
  parseInit (data : any ) : any ;
1918
1895
  parseMedia (data : any , time : any ) : any ;
1896
+ setSequenceMode (sequenceMode : any ) : any ;
1919
1897
  /**
1920
1898
  * Convert a SRT format to WebVTT
1921
1899
  */
1922
1900
  static srt2webvtt (data : string ) : string ;
1923
1901
  }
1924
1902
  }
1925
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1903
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1926
1904
  declare namespace shaka.text {
1927
1905
  /**
1928
1906
  * Documentation: http://moodub.free.fr/video/ass-specs.doc
@@ -1932,9 +1910,10 @@ declare namespace shaka.text {
1932
1910
  private noStructuralTyping_shaka_text_SsaTextParser : any;
1933
1911
  parseInit (data : any ) : any ;
1934
1912
  parseMedia (data : any , time : any ) : any ;
1913
+ setSequenceMode (sequenceMode : any ) : any ;
1935
1914
  }
1936
1915
  }
1937
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1916
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1938
1917
  declare namespace shaka.text {
1939
1918
  class TextEngine implements shaka.util.IDestroyable {
1940
1919
  private noStructuralTyping_shaka_text_TextEngine : any;
@@ -1945,15 +1924,16 @@ declare namespace shaka.text {
1945
1924
  static unregisterParser (mimeType : string ) : any ;
1946
1925
  }
1947
1926
  }
1948
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1927
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1949
1928
  declare namespace shaka.text {
1950
1929
  class TtmlTextParser implements shaka.extern.TextParser {
1951
1930
  private noStructuralTyping_shaka_text_TtmlTextParser : any;
1952
1931
  parseInit (data : any ) : any ;
1953
1932
  parseMedia (data : any , time : any ) : any ;
1933
+ setSequenceMode (sequenceMode : any ) : any ;
1954
1934
  }
1955
1935
  }
1956
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1936
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1957
1937
  declare namespace shaka.text {
1958
1938
  /**
1959
1939
  * The text displayer plugin for the Shaka Player UI. Can also be used directly
@@ -1973,21 +1953,22 @@ declare namespace shaka.text {
1973
1953
  setTextVisibility (on : any ) : any ;
1974
1954
  }
1975
1955
  }
1976
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1956
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1977
1957
  declare namespace shaka.text {
1978
1958
  class VttTextParser implements shaka.extern.TextParser {
1979
1959
  private noStructuralTyping_shaka_text_VttTextParser : any;
1980
1960
  parseInit (data : any ) : any ;
1981
1961
  parseMedia (data : any , time : any ) : any ;
1962
+ setSequenceMode (sequenceMode : any ) : any ;
1982
1963
  }
1983
1964
  }
1984
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1965
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1985
1966
  declare namespace shaka.text {
1986
1967
  class WebVttGenerator {
1987
1968
  private noStructuralTyping_shaka_text_WebVttGenerator : any;
1988
1969
  }
1989
1970
  }
1990
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1971
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
1991
1972
  declare namespace shaka.util {
1992
1973
  /**
1993
1974
  * A utility to wrap abortable operations. Note that these are not cancelable.
@@ -2013,7 +1994,7 @@ declare namespace shaka.util {
2013
1994
  static notAbortable < U > (promise : Promise < U > ) : shaka.util.AbortableOperation < U > ;
2014
1995
  }
2015
1996
  }
2016
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
1997
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2017
1998
  declare namespace shaka.util {
2018
1999
  class BufferUtils {
2019
2000
  private noStructuralTyping_shaka_util_BufferUtils : any;
@@ -2043,15 +2024,15 @@ declare namespace shaka.util {
2043
2024
  static toUint8 (data : ArrayBuffer | ArrayBufferView , offset ? : number , length ? : number ) : Uint8Array ;
2044
2025
  }
2045
2026
  }
2046
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2027
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2047
2028
  declare namespace shaka.util.CmcdManager {
2048
2029
  type ManifestInfo = { format : shaka.util.CmcdManager.StreamingFormat } ;
2049
2030
  }
2050
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2031
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2051
2032
  declare namespace shaka.util.CmcdManager {
2052
2033
  type SegmentInfo = { bandwidth ? : number , codecs : string , duration : number , init : boolean , mimeType : string , type : string } ;
2053
2034
  }
2054
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2035
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2055
2036
  declare namespace shaka.util.CmcdManager {
2056
2037
  enum StreamingFormat {
2057
2038
  DASH = 'd' ,
@@ -2060,7 +2041,7 @@ declare namespace shaka.util.CmcdManager {
2060
2041
  SMOOTH = 's' ,
2061
2042
  }
2062
2043
  }
2063
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2044
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2064
2045
  declare namespace shaka.util {
2065
2046
  class ConfigUtils {
2066
2047
  private noStructuralTyping_shaka_util_ConfigUtils : any;
@@ -2073,7 +2054,7 @@ declare namespace shaka.util {
2073
2054
  static mergeConfigObjects (destination : object , source : object , template : object , overrides : object , path : string ) : boolean ;
2074
2055
  }
2075
2056
  }
2076
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2057
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2077
2058
  declare namespace shaka.util {
2078
2059
  class DataViewReader {
2079
2060
  private noStructuralTyping_shaka_util_DataViewReader : any;
@@ -2134,7 +2115,7 @@ declare namespace shaka.util {
2134
2115
  skip (bytes : number ) : any ;
2135
2116
  }
2136
2117
  }
2137
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2118
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2138
2119
  declare namespace shaka.util.DataViewReader {
2139
2120
  /**
2140
2121
  * Endianness.
@@ -2147,7 +2128,7 @@ declare namespace shaka.util.DataViewReader {
2147
2128
  LITTLE_ENDIAN = 1.0 ,
2148
2129
  }
2149
2130
  }
2150
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2131
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2151
2132
  declare namespace shaka.util {
2152
2133
  class Dom {
2153
2134
  private noStructuralTyping_shaka_util_Dom : any;
@@ -2157,7 +2138,7 @@ declare namespace shaka.util {
2157
2138
  static removeAllChildren (element : Element ) : any ;
2158
2139
  }
2159
2140
  }
2160
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2141
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2161
2142
  declare namespace shaka.util {
2162
2143
  class Error extends GlobalError implements shaka.extern.Error {
2163
2144
  private noStructuralTyping_shaka_util_Error : any;
@@ -2169,7 +2150,7 @@ declare namespace shaka.util {
2169
2150
  severity : any ;
2170
2151
  }
2171
2152
  }
2172
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2153
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2173
2154
  declare namespace shaka.util.Error {
2174
2155
  enum Category {
2175
2156
  ADS = 10.0 ,
@@ -2184,7 +2165,7 @@ declare namespace shaka.util.Error {
2184
2165
  TEXT = 2.0 ,
2185
2166
  }
2186
2167
  }
2187
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2168
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2188
2169
  declare namespace shaka.util.Error {
2189
2170
  enum Code {
2190
2171
  ALREADY_CASTING = 8002.0 ,
@@ -2230,11 +2211,10 @@ declare namespace shaka.util.Error {
2230
2211
  FAILED_TO_GENERATE_LICENSE_REQUEST = 6006.0 ,
2231
2212
  HLS_AES_128_ENCRYPTION_NOT_SUPPORTED = 4034.0 ,
2232
2213
  HLS_COULD_NOT_GUESS_CODECS = 4025.0 ,
2233
- HLS_COULD_NOT_PARSE_SEGMENT_START_TIME = 4030.0 ,
2234
2214
  HLS_INTERNAL_SKIP_STREAM = 4035.0 ,
2235
2215
  HLS_INVALID_PLAYLIST_HIERARCHY = 4017.0 ,
2236
2216
  HLS_KEYFORMATS_NOT_SUPPORTED = 4026.0 ,
2237
- HLS_MASTER_PLAYLIST_NOT_PROVIDED = 4022.0 ,
2217
+ HLS_MSE_ENCRYPTED_MP2T_NOT_SUPPORTED = 4040.0 ,
2238
2218
  HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND = 4020.0 ,
2239
2219
  HLS_PLAYLIST_HEADER_MISSING = 4015.0 ,
2240
2220
  HLS_REQUIRED_ATTRIBUTE_MISSING = 4023.0 ,
@@ -2313,14 +2293,14 @@ declare namespace shaka.util.Error {
2313
2293
  WEBM_SEGMENT_ELEMENT_MISSING = 3009.0 ,
2314
2294
  }
2315
2295
  }
2316
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2296
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2317
2297
  declare namespace shaka.util.Error {
2318
2298
  enum Severity {
2319
2299
  CRITICAL = 2.0 ,
2320
2300
  RECOVERABLE = 1.0 ,
2321
2301
  }
2322
2302
  }
2323
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2303
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2324
2304
  declare namespace shaka.util {
2325
2305
  class EventManager implements shaka.util.IReleasable {
2326
2306
  private noStructuralTyping_shaka_util_EventManager : any;
@@ -2358,14 +2338,18 @@ declare namespace shaka.util {
2358
2338
  unlisten (target : EventTarget | null , type : string , listener ? : shaka.util.EventManager.ListenerType ) : any ;
2359
2339
  }
2360
2340
  }
2361
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2341
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2362
2342
  declare namespace shaka.util.EventManager {
2363
2343
  type ListenerType = (a : Event ) => any ;
2364
2344
  }
2365
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2345
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2366
2346
  declare namespace shaka.util {
2367
2347
  class FairPlayUtils {
2368
2348
  private noStructuralTyping_shaka_util_FairPlayUtils : any;
2349
+ /**
2350
+ * Common FairPlay response transform for some DRMs providers.
2351
+ */
2352
+ static commonFairPlayResponse (type : shaka.net.NetworkingEngine.RequestType , response : shaka.extern.Response ) : any ;
2369
2353
  /**
2370
2354
  * Using the default method, extract a content ID from the init data. This is
2371
2355
  * based on the FairPlay example documentation.
@@ -2384,16 +2368,24 @@ declare namespace shaka.util {
2384
2368
  * @param cert The server certificate; this will throw if not provided.
2385
2369
  */
2386
2370
  static initDataTransform (initData : ArrayBuffer | ArrayBufferView , contentId : ArrayBuffer | ArrayBufferView | string , cert : ArrayBuffer | ArrayBufferView | null ) : Uint8Array ;
2371
+ /**
2372
+ * Check if FairPlay is supported.
2373
+ */
2374
+ static isFairPlaySupported ( ) : Promise < boolean > ;
2375
+ /**
2376
+ * SPC FairPlay request.
2377
+ */
2378
+ static spcFairPlayRequest (type : shaka.net.NetworkingEngine.RequestType , request : shaka.extern.Request ) : any ;
2387
2379
  }
2388
2380
  }
2389
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2381
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2390
2382
  declare namespace shaka.util {
2391
2383
  class FakeEvent extends Event {
2392
2384
  private noStructuralTyping_shaka_util_FakeEvent : any;
2393
2385
  constructor (type : string , dict ? : Map < string , object | null > | null ) ;
2394
2386
  }
2395
2387
  }
2396
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2388
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2397
2389
  declare namespace shaka.util {
2398
2390
  class FakeEventTarget implements EventTarget , shaka.util.IReleasable {
2399
2391
  private noStructuralTyping_shaka_util_FakeEventTarget : any;
@@ -2425,14 +2417,14 @@ declare namespace shaka.util {
2425
2417
  removeEventListener (type : string , listener : EventListener | null | ( (a : Event ) => any ) , options ? : EventListenerOptions | null | boolean ) : any ;
2426
2418
  }
2427
2419
  }
2428
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2420
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2429
2421
  declare namespace shaka.util.FakeEventTarget {
2430
2422
  /**
2431
2423
  * These are the listener types defined in the closure extern for EventTarget.
2432
2424
  */
2433
2425
  type ListenerType = EventListener | null | ( (a : Event ) => any ) ;
2434
2426
  }
2435
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2427
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2436
2428
  declare namespace shaka.util {
2437
2429
  /**
2438
2430
  * An interface to standardize how objects are destroyed.
@@ -2446,7 +2438,7 @@ declare namespace shaka.util {
2446
2438
  destroy ( ) : Promise < any > ;
2447
2439
  }
2448
2440
  }
2449
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2441
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2450
2442
  declare namespace shaka.util {
2451
2443
  /**
2452
2444
  * An interface to standardize how objects release internal references
@@ -2460,7 +2452,7 @@ declare namespace shaka.util {
2460
2452
  release ( ) : any ;
2461
2453
  }
2462
2454
  }
2463
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2455
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2464
2456
  declare namespace shaka.util {
2465
2457
  class LanguageUtils {
2466
2458
  private noStructuralTyping_shaka_util_LanguageUtils : any;
@@ -2574,7 +2566,18 @@ declare namespace shaka.util {
2574
2566
  static relatedness (target : string , candidate : string ) : number ;
2575
2567
  }
2576
2568
  }
2577
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2569
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2570
+ declare namespace shaka.util {
2571
+ class MimeUtils {
2572
+ private noStructuralTyping_shaka_util_MimeUtils : any;
2573
+ /**
2574
+ * Takes a MIME type and optional codecs string and produces the full MIME
2575
+ * type.
2576
+ */
2577
+ static getFullType (mimeType : string , codecs ? : string ) : string ;
2578
+ }
2579
+ }
2580
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2578
2581
  declare namespace shaka.util {
2579
2582
  class Mp4Parser {
2580
2583
  private noStructuralTyping_shaka_util_Mp4Parser : any;
@@ -2634,14 +2637,15 @@ declare namespace shaka.util {
2634
2637
  static typeToString (type : number ) : string ;
2635
2638
  }
2636
2639
  }
2637
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2640
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2638
2641
  declare namespace shaka.util.Mp4Parser {
2639
2642
  type CallbackType = (a : shaka.extern.ParsedBox ) => any ;
2640
2643
  }
2641
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2644
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2642
2645
  declare namespace shaka.util {
2643
2646
  class PlayerConfiguration {
2644
2647
  private noStructuralTyping_shaka_util_PlayerConfiguration : any;
2648
+ static createDefault ( ) : shaka.extern.PlayerConfiguration ;
2645
2649
  /**
2646
2650
  * Merges the given configuration changes into the given destination. This
2647
2651
  * uses the default Player configurations as the template.
@@ -2649,7 +2653,7 @@ declare namespace shaka.util {
2649
2653
  static mergeConfigObjects (destination : shaka.extern.PlayerConfiguration , updates : object , template ? : shaka.extern.PlayerConfiguration ) : boolean ;
2650
2654
  }
2651
2655
  }
2652
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2656
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2653
2657
  declare namespace shaka.util {
2654
2658
  class StringUtils {
2655
2659
  private noStructuralTyping_shaka_util_StringUtils : any;
@@ -2683,7 +2687,7 @@ declare namespace shaka.util {
2683
2687
  static toUTF8 (str : string ) : ArrayBuffer ;
2684
2688
  }
2685
2689
  }
2686
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2690
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2687
2691
  declare namespace shaka.util {
2688
2692
  /**
2689
2693
  * A timer allows a single function to be executed at a later time or at
@@ -2712,7 +2716,7 @@ declare namespace shaka.util {
2712
2716
  tickNow ( ) : shaka.util.Timer ;
2713
2717
  }
2714
2718
  }
2715
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/dist/shaka-player.compiled.externs.js
2719
+ // Generated from /home/runner/work/shaka-player/shaka-player/dist/shaka-player.compiled.externs.js
2716
2720
  declare namespace shaka.util {
2717
2721
  class Uint8ArrayUtils {
2718
2722
  private noStructuralTyping_shaka_util_Uint8ArrayUtils : any;
@@ -2720,10 +2724,6 @@ declare namespace shaka.util {
2720
2724
  * Concatenate buffers.
2721
2725
  */
2722
2726
  static concat ( ...varArgs : ( ArrayBuffer | ArrayBufferView ) [] ) : Uint8Array ;
2723
- /**
2724
- * Compare two Uint8Arrays for equality.
2725
- */
2726
- static equal (arr1 : Uint8Array | null , arr2 : Uint8Array | null ) : boolean ;
2727
2727
  /**
2728
2728
  * Convert a base64 string to a Uint8Array. Accepts either the standard
2729
2729
  * alphabet or the alternate "base64url" alphabet.
@@ -2750,7 +2750,7 @@ declare namespace shaka.util {
2750
2750
  static toStandardBase64 (data : ArrayBuffer | ArrayBufferView ) : string ;
2751
2751
  }
2752
2752
  }
2753
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/airplay.js
2753
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/airplay.js
2754
2754
  declare namespace ಠ_ಠ.clutz {
2755
2755
  class AirPlayEvent extends Event {
2756
2756
  private noStructuralTyping_AirPlayEvent : any;
@@ -2758,7 +2758,7 @@ declare namespace ಠ_ಠ.clutz {
2758
2758
  availability : String | null ;
2759
2759
  }
2760
2760
  }
2761
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/awesomplete.js
2761
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/awesomplete.js
2762
2762
  declare namespace ಠ_ಠ.clutz {
2763
2763
  class Awesomplete {
2764
2764
  private noStructuralTyping_Awesomplete : any;
@@ -2768,18 +2768,18 @@ declare namespace ಠ_ಠ.clutz {
2768
2768
  evaluate ( ) : any ;
2769
2769
  }
2770
2770
  }
2771
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2771
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2772
2772
  declare namespace ಠ_ಠ.clutz {
2773
2773
  function __onGCastApiAvailable (a : boolean ) : any ;
2774
2774
  }
2775
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2775
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2776
2776
  declare namespace cast.receiver {
2777
2777
  class CastChannel {
2778
2778
  private noStructuralTyping_cast_receiver_CastChannel : any;
2779
2779
  send (message : any ) : any ;
2780
2780
  }
2781
2781
  }
2782
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2782
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2783
2783
  declare namespace cast.receiver {
2784
2784
  class CastMessageBus {
2785
2785
  private noStructuralTyping_cast_receiver_CastMessageBus : any;
@@ -2788,7 +2788,7 @@ declare namespace cast.receiver {
2788
2788
  onMessage : Function | null ;
2789
2789
  }
2790
2790
  }
2791
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2791
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2792
2792
  declare namespace cast.receiver.CastMessageBus {
2793
2793
  class Event {
2794
2794
  private noStructuralTyping_cast_receiver_CastMessageBus_Event : any;
@@ -2796,7 +2796,7 @@ declare namespace cast.receiver.CastMessageBus {
2796
2796
  senderId : string ;
2797
2797
  }
2798
2798
  }
2799
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2799
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2800
2800
  declare namespace cast.receiver {
2801
2801
  class CastReceiverManager {
2802
2802
  private noStructuralTyping_cast_receiver_CastReceiverManager : any;
@@ -2814,7 +2814,7 @@ declare namespace cast.receiver {
2814
2814
  static getInstance ( ) : cast.receiver.CastReceiverManager | null ;
2815
2815
  }
2816
2816
  }
2817
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2817
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2818
2818
  declare namespace cast.receiver.media {
2819
2819
  enum MetadataType {
2820
2820
  GENERIC = 0.0 ,
@@ -2824,7 +2824,7 @@ declare namespace cast.receiver.media {
2824
2824
  TV_SHOW = 2.0 ,
2825
2825
  }
2826
2826
  }
2827
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2827
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2828
2828
  declare namespace cast.receiver.system {
2829
2829
  class SystemVolumeData {
2830
2830
  private noStructuralTyping_cast_receiver_system_SystemVolumeData : any;
@@ -2832,14 +2832,14 @@ declare namespace cast.receiver.system {
2832
2832
  muted : boolean ;
2833
2833
  }
2834
2834
  }
2835
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2835
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2836
2836
  declare namespace chrome.cast {
2837
2837
  class ApiConfig {
2838
2838
  private noStructuralTyping_chrome_cast_ApiConfig : any;
2839
2839
  constructor (sessionRequest : chrome.cast.SessionRequest | null , sessionListener : Function | null , receiverListener : Function | null , autoJoinPolicy ? : string , defaultActionPolicy ? : string ) ;
2840
2840
  }
2841
2841
  }
2842
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2842
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2843
2843
  declare namespace chrome.cast {
2844
2844
  class Error {
2845
2845
  private noStructuralTyping_chrome_cast_Error : any;
@@ -2849,14 +2849,14 @@ declare namespace chrome.cast {
2849
2849
  details : object | null ;
2850
2850
  }
2851
2851
  }
2852
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2852
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2853
2853
  declare namespace chrome.cast {
2854
2854
  class Receiver {
2855
2855
  private noStructuralTyping_chrome_cast_Receiver : any;
2856
2856
  friendlyName : string ;
2857
2857
  }
2858
2858
  }
2859
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2859
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2860
2860
  declare namespace chrome.cast {
2861
2861
  class Session {
2862
2862
  private noStructuralTyping_chrome_cast_Session : any;
@@ -2872,32 +2872,32 @@ declare namespace chrome.cast {
2872
2872
  stop (successCallback : Function | null , errorCallback : Function | null ) : any ;
2873
2873
  }
2874
2874
  }
2875
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2875
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2876
2876
  declare namespace chrome.cast {
2877
2877
  class SessionRequest {
2878
2878
  private noStructuralTyping_chrome_cast_SessionRequest : any;
2879
2879
  constructor (appId : string ) ;
2880
2880
  }
2881
2881
  }
2882
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2882
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2883
2883
  declare namespace chrome.cast.SessionStatus {
2884
2884
  let STOPPED : string ;
2885
2885
  }
2886
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/chromecast.js
2886
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/chromecast.js
2887
2887
  declare namespace chrome.cast {
2888
2888
  let isAvailable : boolean ;
2889
2889
  }
2890
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/cmcd.js
2890
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/cmcd.js
2891
2891
  declare namespace ಠ_ಠ.clutz {
2892
2892
  type CmcdData = { bl ? : number , br ? : number , bs ? : boolean , cid ? : string , d ? : number , dl ? : number , mtp ? : number , nor ? : string , nrr ? : string , ot ? : string , pr ? : number , rtp ? : number , sf ? : string , sid ? : string , st ? : string , su ? : boolean , tb ? : number , v ? : number } ;
2893
2893
  }
2894
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
2894
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
2895
2895
  declare namespace google.ima.AdErrorEvent {
2896
2896
  enum Type {
2897
2897
  AD_ERROR = 'AD_ERROR' ,
2898
2898
  }
2899
2899
  }
2900
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
2900
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
2901
2901
  declare namespace google.ima.AdEvent {
2902
2902
  enum Type {
2903
2903
  AD_BREAK_READY = 'AD_BREAK_READY' ,
@@ -2929,7 +2929,7 @@ declare namespace google.ima.AdEvent {
2929
2929
  VOLUME_MUTED = 'VOLUME_MUTED' ,
2930
2930
  }
2931
2931
  }
2932
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
2932
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
2933
2933
  declare namespace google.ima {
2934
2934
  class AdsLoader implements EventTarget {
2935
2935
  private noStructuralTyping_google_ima_AdsLoader : any;
@@ -2943,7 +2943,7 @@ declare namespace google.ima {
2943
2943
  requestAds (request : google.ima.AdsRequest ) : any ;
2944
2944
  }
2945
2945
  }
2946
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
2946
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
2947
2947
  declare namespace google.ima {
2948
2948
  class AdsManager implements EventTarget {
2949
2949
  private noStructuralTyping_google_ima_AdsManager : any;
@@ -2965,17 +2965,17 @@ declare namespace google.ima {
2965
2965
  stop ( ) : any ;
2966
2966
  }
2967
2967
  }
2968
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
2968
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
2969
2969
  declare namespace google.ima.AdsManagerLoadedEvent {
2970
2970
  enum Type {
2971
2971
  ADS_MANAGER_LOADED = 'ADS_MANAGER_LOADED' ,
2972
2972
  }
2973
2973
  }
2974
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
2974
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
2975
2975
  declare namespace google.ima {
2976
2976
  type AdsRequest = { adTagUrl ? : string , adsResponse ? : string } ;
2977
2977
  }
2978
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
2978
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
2979
2979
  declare namespace google.ima.ImaSdkSettings {
2980
2980
  enum VpaidMode {
2981
2981
  DISABLED = 0.0 ,
@@ -2983,14 +2983,14 @@ declare namespace google.ima.ImaSdkSettings {
2983
2983
  INSECURE = 2.0 ,
2984
2984
  }
2985
2985
  }
2986
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
2986
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
2987
2987
  declare namespace google.ima {
2988
2988
  enum ViewMode {
2989
2989
  FULLSCREEN = 'FULLSCREEN' ,
2990
2990
  NORMAL = 'NORMAL' ,
2991
2991
  }
2992
2992
  }
2993
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
2993
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
2994
2994
  declare namespace google.ima.dai.api.StreamEvent {
2995
2995
  enum Type {
2996
2996
  AD_BREAK_ENDED = 'adBreakEnded' ,
@@ -3013,7 +3013,7 @@ declare namespace google.ima.dai.api.StreamEvent {
3013
3013
  VIDEO_CLICKED = 'videoClicked' ,
3014
3014
  }
3015
3015
  }
3016
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
3016
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3017
3017
  declare namespace google.ima.dai.api {
3018
3018
  class StreamManager implements EventTarget {
3019
3019
  private noStructuralTyping_google_ima_dai_api_StreamManager : any;
@@ -3032,11 +3032,11 @@ declare namespace google.ima.dai.api {
3032
3032
  streamTimeForContentTime (contentTime : number ) : any ;
3033
3033
  }
3034
3034
  }
3035
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/ima.js
3035
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/ima.js
3036
3036
  declare namespace google.ima {
3037
3037
  let settings : google.ima.ImaSdkSettings ;
3038
3038
  }
3039
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/jwk_set.js
3039
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/jwk_set.js
3040
3040
  declare namespace ಠ_ಠ.clutz {
3041
3041
  /**
3042
3042
  * A JSON Web Key.
@@ -3061,7 +3061,7 @@ declare namespace ಠ_ಠ.clutz {
3061
3061
  kty : string ;
3062
3062
  }
3063
3063
  }
3064
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/jwk_set.js
3064
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/jwk_set.js
3065
3065
  declare namespace ಠ_ಠ.clutz {
3066
3066
  /**
3067
3067
  * A JSON Web Key set.
@@ -3071,7 +3071,7 @@ declare namespace ಠ_ಠ.clutz {
3071
3071
  keys : ( JWK | null ) [] | null ;
3072
3072
  }
3073
3073
  }
3074
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/mdl.js
3074
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mdl.js
3075
3075
  declare namespace ಠ_ಠ.clutz {
3076
3076
  class MaterialLayout {
3077
3077
  private noStructuralTyping_MaterialLayout : any;
@@ -3079,7 +3079,7 @@ declare namespace ಠ_ಠ.clutz {
3079
3079
  toggleDrawer ( ) : any ;
3080
3080
  }
3081
3081
  }
3082
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/mediasession.js
3082
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mediasession.js
3083
3083
  declare namespace ಠ_ಠ.clutz {
3084
3084
  class MediaMetadata {
3085
3085
  private noStructuralTyping_MediaMetadata : any;
@@ -3089,14 +3089,14 @@ declare namespace ಠ_ಠ.clutz {
3089
3089
  title : string ;
3090
3090
  }
3091
3091
  }
3092
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/mediasession.js
3092
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mediasession.js
3093
3093
  declare namespace ಠ_ಠ.clutz {
3094
3094
  class MediaSession {
3095
3095
  private noStructuralTyping_MediaSession : any;
3096
3096
  metadata : MediaMetadata | null ;
3097
3097
  }
3098
3098
  }
3099
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/mux.js
3099
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mux.js
3100
3100
  declare namespace muxjs.mp4 {
3101
3101
  class CaptionParser {
3102
3102
  private noStructuralTyping_muxjs_mp4_CaptionParser : any;
@@ -3129,23 +3129,23 @@ declare namespace muxjs.mp4 {
3129
3129
  resetCaptionStream ( ) : any ;
3130
3130
  }
3131
3131
  }
3132
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/mux.js
3132
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mux.js
3133
3133
  declare namespace muxjs.mp4 {
3134
3134
  type ClosedCaption = { endPts : number , endTime : number , startPts : number , startTime : number , stream : string , text : string } ;
3135
3135
  }
3136
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/mux.js
3136
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mux.js
3137
3137
  declare namespace muxjs.mp4 {
3138
3138
  type Metadata = { cueTime : number , data : Uint8Array , dispatchType : string , dts : number , frames : muxjs.mp4.MetadataFrame [] , pts : number } ;
3139
3139
  }
3140
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/mux.js
3140
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mux.js
3141
3141
  declare namespace muxjs.mp4 {
3142
3142
  type MetadataFrame = { data : string , description : string , id : string , key : string , value : string } ;
3143
3143
  }
3144
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/mux.js
3144
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mux.js
3145
3145
  declare namespace muxjs.mp4 {
3146
3146
  type ParsedClosedCaptions = { captionStreams : { [ key: string ]: boolean } | null , captions : muxjs.mp4.ClosedCaption [] } ;
3147
3147
  }
3148
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/mux.js
3148
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mux.js
3149
3149
  declare namespace muxjs.mp4 {
3150
3150
  class Transmuxer {
3151
3151
  private noStructuralTyping_muxjs_mp4_Transmuxer : any;
@@ -3171,11 +3171,15 @@ declare namespace muxjs.mp4 {
3171
3171
  setBaseMediaDecodeTime (time : number ) : any ;
3172
3172
  }
3173
3173
  }
3174
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/mux.js
3174
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/mux.js
3175
3175
  declare namespace muxjs.mp4.Transmuxer {
3176
3176
  type Segment = { captions : any [] , data : Uint8Array , initSegment : Uint8Array , metadata : any [] } ;
3177
3177
  }
3178
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/prefixed_eme.js
3178
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/polyfill.js
3179
+ declare namespace window {
3180
+ let shakaMediaKeysPolyfill : boolean ;
3181
+ }
3182
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/prefixed_eme.js
3179
3183
  declare namespace ಠ_ಠ.clutz {
3180
3184
  class MediaKeyError {
3181
3185
  private noStructuralTyping_MediaKeyError : any;
@@ -3183,7 +3187,7 @@ declare namespace ಠ_ಠ.clutz {
3183
3187
  systemCode : number ;
3184
3188
  }
3185
3189
  }
3186
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/prefixed_eme.js
3190
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/prefixed_eme.js
3187
3191
  declare namespace ಠ_ಠ.clutz {
3188
3192
  class MediaKeyEvent extends Event {
3189
3193
  private noStructuralTyping_MediaKeyEvent : any;
@@ -3198,7 +3202,7 @@ declare namespace ಠ_ಠ.clutz {
3198
3202
  target : HTMLMediaElement ;
3199
3203
  }
3200
3204
  }
3201
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/abortable.js
3205
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abortable.js
3202
3206
  declare namespace shaka.extern {
3203
3207
  /**
3204
3208
  * A representation of an abortable operation. Note that these are not
@@ -3224,7 +3228,7 @@ declare namespace shaka.extern {
3224
3228
  promise : Promise < T > ;
3225
3229
  }
3226
3230
  }
3227
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/abr_manager.js
3231
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
3228
3232
  declare namespace shaka.extern {
3229
3233
  /**
3230
3234
  * An object which selects Streams from a set of possible choices. This also
@@ -3291,14 +3295,14 @@ declare namespace shaka.extern {
3291
3295
  stop ( ) : any ;
3292
3296
  }
3293
3297
  }
3294
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/abr_manager.js
3298
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
3295
3299
  declare namespace shaka.extern.AbrManager {
3296
3300
  /**
3297
3301
  * A factory for creating the abr manager.
3298
3302
  */
3299
3303
  type Factory = ( ) => shaka.extern.AbrManager ;
3300
3304
  }
3301
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/abr_manager.js
3305
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/abr_manager.js
3302
3306
  declare namespace shaka.extern.AbrManager {
3303
3307
  /**
3304
3308
  * A callback into the Player that should be called when the AbrManager decides
@@ -3317,15 +3321,15 @@ declare namespace shaka.extern.AbrManager {
3317
3321
  */
3318
3322
  type SwitchCallback = (a : shaka.extern.Variant , b ? : boolean , c ? : number ) => any ;
3319
3323
  }
3320
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/ads.js
3324
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
3321
3325
  declare namespace shaka.extern {
3322
3326
  type AdCuePoint = { end : number | null , start : number } ;
3323
3327
  }
3324
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/ads.js
3328
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
3325
3329
  declare namespace shaka.extern {
3326
3330
  type AdsStats = { loadTimes : number [] , playedCompletely : number , skipped : number , started : number } ;
3327
3331
  }
3328
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/ads.js
3332
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
3329
3333
  declare namespace shaka.extern {
3330
3334
  /**
3331
3335
  * Interface for Ad objects.
@@ -3355,7 +3359,7 @@ declare namespace shaka.extern {
3355
3359
  skip ( ) : any ;
3356
3360
  }
3357
3361
  }
3358
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/ads.js
3362
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
3359
3363
  declare namespace shaka.extern {
3360
3364
  /**
3361
3365
  * An object that's responsible for all the ad-related logic
@@ -3381,14 +3385,14 @@ declare namespace shaka.extern {
3381
3385
  setLocale (locale : string ) : any ;
3382
3386
  }
3383
3387
  }
3384
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/ads.js
3388
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/ads.js
3385
3389
  declare namespace shaka.extern.IAdManager {
3386
3390
  /**
3387
3391
  * A factory for creating the ad manager.
3388
3392
  */
3389
3393
  type Factory = ( ) => shaka.extern.IAdManager ;
3390
3394
  }
3391
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/error.js
3395
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/error.js
3392
3396
  declare namespace shaka.extern {
3393
3397
  interface Error {
3394
3398
  category : shaka.util.Error.Category ;
@@ -3398,11 +3402,11 @@ declare namespace shaka.extern {
3398
3402
  severity : shaka.util.Error.Severity ;
3399
3403
  }
3400
3404
  }
3401
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/error.js
3405
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/error.js
3402
3406
  declare namespace shaka.extern {
3403
3407
  type RestrictionInfo = { hasAppRestrictions : boolean , missingKeys : string [] , restrictedKeyStatuses : string [] } ;
3404
3408
  }
3405
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/manifest.js
3409
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
3406
3410
  declare namespace shaka.extern {
3407
3411
  /**
3408
3412
  * Creates a SegmentIndex; returns a Promise that resolves after the
@@ -3410,27 +3414,27 @@ declare namespace shaka.extern {
3410
3414
  */
3411
3415
  type CreateSegmentIndexFunction = ( ) => Promise < any > ;
3412
3416
  }
3413
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/manifest.js
3417
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
3414
3418
  declare namespace shaka.extern {
3415
3419
  type DrmInfo = { audioRobustness : string , distinctiveIdentifierRequired : boolean , initData : shaka.extern.InitDataOverride [] | null , keyIds : Set < string > | null , keySystem : string , licenseServerUri : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
3416
3420
  }
3417
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/manifest.js
3421
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
3418
3422
  declare namespace shaka.extern {
3419
3423
  type InitDataOverride = { initData : Uint8Array , initDataType : string , keyId : string | null } ;
3420
3424
  }
3421
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/manifest.js
3425
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
3422
3426
  declare namespace shaka.extern {
3423
- type Manifest = { imageStreams : shaka.extern.Stream [] , minBufferTime : number , offlineSessionIds : string [] , presentationTimeline : shaka.media.PresentationTimeline , textStreams : shaka.extern.Stream [] , variants : shaka.extern.Variant [] } ;
3427
+ type Manifest = { imageStreams : shaka.extern.Stream [] , minBufferTime : number , offlineSessionIds : string [] , presentationTimeline : shaka.media.PresentationTimeline , sequenceMode : boolean , textStreams : shaka.extern.Stream [] , variants : shaka.extern.Variant [] } ;
3424
3428
  }
3425
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/manifest.js
3429
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
3426
3430
  declare namespace shaka.extern {
3427
3431
  type Stream = { audioSamplingRate : number | null , bandwidth ? : number , channelsCount : number | null , closeSegmentIndex ? : ( ) => any , closedCaptions : Map < string , string > | null , codecs : string , createSegmentIndex : shaka.extern.CreateSegmentIndexFunction , drmInfos : shaka.extern.DrmInfo [] , emsgSchemeIdUris : string [] | null , encrypted : boolean , forced : boolean , frameRate ? : number , hdr ? : string , height ? : number , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , matchedStreams ? : any [] , mimeType : string , originalId : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segmentIndex : shaka.media.SegmentIndex | null , spatialAudio : boolean , tilesLayout ? : string , trickModeVideo : any , type : string , width ? : number } ;
3428
3432
  }
3429
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/manifest.js
3433
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest.js
3430
3434
  declare namespace shaka.extern {
3431
3435
  type Variant = { allowedByApplication : boolean , allowedByKeySystem : boolean , audio : shaka.extern.Stream | null , bandwidth : number , decodingInfos : ( any | null ) [] , id : number , language : string , primary : boolean , video : shaka.extern.Stream | null } ;
3432
3436
  }
3433
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/manifest_parser.js
3437
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest_parser.js
3434
3438
  declare namespace shaka.extern {
3435
3439
  /**
3436
3440
  * Parses media manifests and handles manifest updates.
@@ -3493,7 +3497,7 @@ declare namespace shaka.extern {
3493
3497
  update ( ) : any ;
3494
3498
  }
3495
3499
  }
3496
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/manifest_parser.js
3500
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest_parser.js
3497
3501
  declare namespace shaka.extern.ManifestParser {
3498
3502
  /**
3499
3503
  * A factory for creating the manifest parser. This function is registered with
@@ -3501,27 +3505,27 @@ declare namespace shaka.extern.ManifestParser {
3501
3505
  */
3502
3506
  type Factory = ( ) => shaka.extern.ManifestParser ;
3503
3507
  }
3504
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/manifest_parser.js
3508
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/manifest_parser.js
3505
3509
  declare namespace shaka.extern.ManifestParser {
3506
3510
  type PlayerInterface = { enableLowLatencyMode : ( ) => any , filter : (a : shaka.extern.Manifest ) => Promise < any > , isAutoLowLatencyMode : ( ) => boolean , isLowLatencyMode : ( ) => boolean , makeTextStreamsForClosedCaptions : (a : shaka.extern.Manifest ) => any , modifyManifestRequest : (a : shaka.extern.Request , b : shaka.util.CmcdManager.ManifestInfo ) => any , modifySegmentRequest : (a : shaka.extern.Request , b : shaka.util.CmcdManager.SegmentInfo ) => any , networkingEngine : shaka.net.NetworkingEngine , onError : (a : shaka.util.Error ) => any , onEvent : shaka.util.EventManager.ListenerType , onTimelineRegionAdded : (a : shaka.extern.TimelineRegionInfo ) => any } ;
3507
3511
  }
3508
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/mp4_parser.js
3512
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/mp4_parser.js
3509
3513
  declare namespace shaka.extern {
3510
3514
  type ParsedBox = { flags : number | null , has64BitSize : boolean , parser : shaka.util.Mp4Parser , partialOkay : boolean , reader : shaka.util.DataViewReader , size : number , start : number , version : number | null } ;
3511
3515
  }
3512
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/net.js
3516
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3513
3517
  declare namespace shaka.extern {
3514
3518
  type HeadersReceived = (a : { [ key: string ]: string } ) => any ;
3515
3519
  }
3516
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/net.js
3520
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3517
3521
  declare namespace shaka.extern {
3518
3522
  type ProgressUpdated = (a : number , b : number , c : number ) => any ;
3519
3523
  }
3520
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/net.js
3524
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3521
3525
  declare namespace shaka.extern {
3522
- type Request = { allowCrossSiteCredentials : boolean , body : ArrayBuffer | ArrayBufferView | null , headers : { [ key: string ]: string } , licenseRequestType : string | null , method : string , retryParameters : shaka.extern.RetryParameters , sessionId : string | null , streamDataCallback : ( (a : ArrayBuffer | ArrayBufferView ) => Promise < any > ) | null , uris : string [] } ;
3526
+ type Request = { allowCrossSiteCredentials : boolean , body : ArrayBuffer | ArrayBufferView | null , drmInfo : shaka.extern.DrmInfo | null , headers : { [ key: string ]: string } , initData : Uint8Array | null , initDataType : string | null , licenseRequestType : string | null , method : string , retryParameters : shaka.extern.RetryParameters , sessionId : string | null , streamDataCallback : ( (a : ArrayBuffer | ArrayBufferView ) => Promise < any > ) | null , uris : string [] } ;
3523
3527
  }
3524
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/net.js
3528
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3525
3529
  declare namespace shaka.extern {
3526
3530
  /**
3527
3531
  * Defines a filter for requests. This filter takes the request and modifies
@@ -3531,11 +3535,11 @@ declare namespace shaka.extern {
3531
3535
  */
3532
3536
  type RequestFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Request ) => Promise < any > | void ;
3533
3537
  }
3534
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/net.js
3538
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3535
3539
  declare namespace shaka.extern {
3536
3540
  type Response = { data : ArrayBuffer | ArrayBufferView , fromCache ? : boolean , headers : { [ key: string ]: string } , status ? : number , timeMs ? : number , uri : string } ;
3537
3541
  }
3538
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/net.js
3542
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3539
3543
  declare namespace shaka.extern {
3540
3544
  /**
3541
3545
  * Defines a filter for responses. This filter takes the response and modifies
@@ -3544,19 +3548,19 @@ declare namespace shaka.extern {
3544
3548
  */
3545
3549
  type ResponseFilter = (a : shaka.net.NetworkingEngine.RequestType , b : shaka.extern.Response ) => Promise < any > | void ;
3546
3550
  }
3547
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/net.js
3551
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3548
3552
  declare namespace shaka.extern {
3549
3553
  type RetryParameters = { backoffFactor : number , baseDelay : number , connectionTimeout : number , fuzzFactor : number , maxAttempts : number , stallTimeout : number , timeout : number } ;
3550
3554
  }
3551
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/net.js
3555
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/net.js
3552
3556
  declare namespace shaka.extern {
3553
3557
  type SchemePlugin = (a : string , b : shaka.extern.Request , c : shaka.net.NetworkingEngine.RequestType , d : shaka.extern.ProgressUpdated , e : shaka.extern.HeadersReceived ) => shaka.extern.IAbortableOperation < shaka.extern.Response > ;
3554
3558
  }
3555
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline.js
3559
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
3556
3560
  declare namespace shaka.extern {
3557
3561
  type EmeSessionDB = { audioCapabilities : { contentType : string , robustness : string } [] , keySystem : string , licenseUri : string , serverCertificate : Uint8Array | null , sessionId : string , videoCapabilities : { contentType : string , robustness : string } [] } ;
3558
3562
  }
3559
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline.js
3563
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
3560
3564
  declare namespace shaka.extern {
3561
3565
  /**
3562
3566
  * Similar to storage cells (shaka.extern.StorageCell), an EmeSessionStorageCell
@@ -3582,23 +3586,23 @@ declare namespace shaka.extern {
3582
3586
  remove (sessionIds : string [] ) : Promise < any > ;
3583
3587
  }
3584
3588
  }
3585
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline.js
3589
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
3586
3590
  declare namespace shaka.extern {
3587
- type ManifestDB = { appMetadata : object | null , creationTime : number , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , isIncomplete ? : boolean , originalManifestUri : string , sessionIds : string [] , size : number , streams : shaka.extern.StreamDB [] } ;
3591
+ type ManifestDB = { appMetadata : object | null , creationTime : number , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , isIncomplete ? : boolean , originalManifestUri : string , sequenceMode ? : boolean , sessionIds : string [] , size : number , streams : shaka.extern.StreamDB [] } ;
3588
3592
  }
3589
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline.js
3593
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
3590
3594
  declare namespace shaka.extern {
3591
3595
  type OfflineSupport = { basic : boolean , encrypted : { [ key: string ]: boolean } } ;
3592
3596
  }
3593
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline.js
3597
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
3594
3598
  declare namespace shaka.extern {
3595
3599
  type SegmentDB = { appendWindowEnd : number , appendWindowStart : number , dataKey : number , endTime : number , initSegmentKey : number | null , pendingInitSegmentRefId ? : string , pendingSegmentRefId ? : string , startTime : number , tilesLayout : string | null , timestampOffset : number } ;
3596
3600
  }
3597
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline.js
3601
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
3598
3602
  declare namespace shaka.extern {
3599
3603
  type SegmentDataDB = { data : ArrayBuffer } ;
3600
3604
  }
3601
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline.js
3605
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
3602
3606
  declare namespace shaka.extern {
3603
3607
  /**
3604
3608
  * An interface that defines access to collection of segments and manifests. All
@@ -3674,7 +3678,7 @@ declare namespace shaka.extern {
3674
3678
  updateManifestExpiration (key : number , expiration : number ) : Promise < any > ;
3675
3679
  }
3676
3680
  }
3677
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline.js
3681
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
3678
3682
  declare namespace shaka.extern {
3679
3683
  /**
3680
3684
  * Storage mechanisms are one of two exported storage APIs. Storage mechanisms
@@ -3718,167 +3722,167 @@ declare namespace shaka.extern {
3718
3722
  init ( ) : Promise < any > ;
3719
3723
  }
3720
3724
  }
3721
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline.js
3725
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
3722
3726
  declare namespace shaka.extern {
3723
3727
  type StoredContent = { appMetadata : object | null , duration : number , expiration : number , isIncomplete : boolean , offlineUri : string | null , originalManifestUri : string , size : number , tracks : shaka.extern.TrackList } ;
3724
3728
  }
3725
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline.js
3729
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline.js
3726
3730
  declare namespace shaka.extern {
3727
3731
  type StreamDB = { audioSamplingRate : number | null , channelsCount : number | null , closedCaptions : Map < string , string > | null , codecs : string , encrypted : boolean , forced : boolean , frameRate ? : number , hdr ? : string , height : number | null , id : number , keyIds : Set < string > , kind ? : string , label : string | null , language : string , mimeType : string , originalId : string | null , pixelAspectRatio ? : string , primary : boolean , roles : string [] , segments : shaka.extern.SegmentDB [] , spatialAudio : boolean , tilesLayout ? : string , type : string , variantIds : number [] , width : number | null } ;
3728
3732
  }
3729
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline_compat_v1.js
3733
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v1.js
3730
3734
  declare namespace shaka.extern {
3731
3735
  type ManifestDBV1 = { appMetadata : object | null , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , key : number , originalManifestUri : string , periods : shaka.extern.PeriodDBV1 [] , sessionIds : string [] , size : number } ;
3732
3736
  }
3733
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline_compat_v1.js
3737
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v1.js
3734
3738
  declare namespace shaka.extern {
3735
3739
  type PeriodDBV1 = { startTime : number , streams : shaka.extern.StreamDBV1 [] } ;
3736
3740
  }
3737
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline_compat_v1.js
3741
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v1.js
3738
3742
  declare namespace shaka.extern {
3739
3743
  type SegmentDBV1 = { endTime : number , startTime : number , uri : string } ;
3740
3744
  }
3741
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline_compat_v1.js
3745
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v1.js
3742
3746
  declare namespace shaka.extern {
3743
3747
  type SegmentDataDBV1 = { data : ArrayBuffer , key : number } ;
3744
3748
  }
3745
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline_compat_v1.js
3749
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v1.js
3746
3750
  declare namespace shaka.extern {
3747
3751
  type StreamDBV1 = { codecs : string , contentType : string , encrypted : boolean , frameRate ? : number , height : number | null , id : number , initSegmentUri : string | null , keyId : string | null , kind ? : string , label : string | null , language : string , mimeType : string , presentationTimeOffset : number , primary : boolean , segments : shaka.extern.SegmentDBV1 [] , variantIds : number [] , width : number | null } ;
3748
3752
  }
3749
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline_compat_v2.js
3753
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v2.js
3750
3754
  declare namespace shaka.extern {
3751
3755
  type ManifestDBV2 = { appMetadata : object | null , drmInfo : shaka.extern.DrmInfo | null , duration : number , expiration : number , originalManifestUri : string , periods : shaka.extern.PeriodDBV2 [] , sessionIds : string [] , size : number } ;
3752
3756
  }
3753
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline_compat_v2.js
3757
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v2.js
3754
3758
  declare namespace shaka.extern {
3755
3759
  type PeriodDBV2 = { startTime : number , streams : shaka.extern.StreamDBV2 [] } ;
3756
3760
  }
3757
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline_compat_v2.js
3761
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v2.js
3758
3762
  declare namespace shaka.extern {
3759
3763
  type SegmentDBV2 = { dataKey : number , endTime : number , startTime : number } ;
3760
3764
  }
3761
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline_compat_v2.js
3765
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v2.js
3762
3766
  declare namespace shaka.extern {
3763
3767
  type SegmentDataDBV2 = { data : ArrayBuffer } ;
3764
3768
  }
3765
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/offline_compat_v2.js
3769
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/offline_compat_v2.js
3766
3770
  declare namespace shaka.extern {
3767
3771
  type StreamDBV2 = { codecs : string , contentType : string , encrypted : boolean , frameRate ? : number , height : number | null , id : number , initSegmentKey : number | null , keyId : string | null , kind ? : string , label : string | null , language : string , mimeType : string , originalId : string | null , pixelAspectRatio ? : string , presentationTimeOffset : number , primary : boolean , segments : shaka.extern.SegmentDBV2 [] , variantIds : number [] , width : number | null } ;
3768
3772
  }
3769
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3773
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3770
3774
  declare namespace shaka.extern {
3771
3775
  type AbrConfiguration = { advanced : shaka.extern.AdvancedAbrConfiguration , bandwidthDowngradeTarget : number , bandwidthUpgradeTarget : number , defaultBandwidthEstimate : number , enabled : boolean , restrictions : shaka.extern.Restrictions , switchInterval : number , useNetworkInformation : boolean } ;
3772
3776
  }
3773
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3777
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3774
3778
  declare namespace shaka.extern {
3775
3779
  type AdvancedAbrConfiguration = { fastHalfLife : number , minBytes : number , minTotalBytes : number , slowHalfLife : number } ;
3776
3780
  }
3777
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3781
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3778
3782
  declare namespace shaka.extern {
3779
3783
  type AdvancedDrmConfiguration = { audioRobustness : string , distinctiveIdentifierRequired : boolean , individualizationServer : string , persistentStateRequired : boolean , serverCertificate : Uint8Array | null , serverCertificateUri : string , sessionType : string , videoRobustness : string } ;
3780
3784
  }
3781
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3785
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3782
3786
  declare namespace shaka.extern {
3783
3787
  type BufferedInfo = { audio : shaka.extern.BufferedRange [] , text : shaka.extern.BufferedRange [] , total : shaka.extern.BufferedRange [] , video : shaka.extern.BufferedRange [] } ;
3784
3788
  }
3785
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3789
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3786
3790
  declare namespace shaka.extern {
3787
3791
  type BufferedRange = { end : number , start : number } ;
3788
3792
  }
3789
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3793
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3790
3794
  declare namespace shaka.extern {
3791
3795
  type Chapter = { endTime : number , startTime : number , title : string } ;
3792
3796
  }
3793
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3797
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3794
3798
  declare namespace shaka.extern {
3795
3799
  type CmcdConfiguration = { contentId : string , enabled : boolean , sessionId : string , useHeaders : boolean } ;
3796
3800
  }
3797
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3801
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3798
3802
  declare namespace shaka.extern {
3799
3803
  type DashManifestConfiguration = { autoCorrectDrift : boolean , clockSyncUri : string , disableXlinkProcessing : boolean , ignoreDrmInfo : boolean , ignoreEmptyAdaptationSet : boolean , ignoreMaxSegmentDuration : boolean , ignoreMinBufferTime : boolean , ignoreSuggestedPresentationDelay : boolean , initialSegmentLimit : number , keySystemsByURI : { [ key: string ]: string } , manifestPreprocessor : (a : Element ) => any , xlinkFailGracefully : boolean } ;
3800
3804
  }
3801
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3805
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3802
3806
  declare namespace shaka.extern {
3803
- type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , initDataTransform ? : (a : Uint8Array , b : string , c : shaka.extern.DrmInfo | null ) => Uint8Array , logLicenseExchange : boolean , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
3807
+ type DrmConfiguration = { advanced : { [ key: string ]: shaka.extern.AdvancedDrmConfiguration } | null , clearKeys : { [ key: string ]: string } , delayLicenseRequestUntilPlayed : boolean , logLicenseExchange : boolean , preferredKeySystems : string [] , retryParameters : shaka.extern.RetryParameters , servers : { [ key: string ]: string } , updateExpirationTime : number } ;
3804
3808
  }
3805
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3809
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3806
3810
  declare namespace shaka.extern {
3807
3811
  type DrmSupportType = { persistentState : boolean } ;
3808
3812
  }
3809
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3813
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3810
3814
  declare namespace shaka.extern {
3811
3815
  type EmsgInfo = { endTime : number , eventDuration : number , id : number , messageData : Uint8Array | null , presentationTimeDelta : number , schemeIdUri : string , startTime : number , timescale : number , value : string } ;
3812
3816
  }
3813
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3817
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3814
3818
  declare namespace shaka.extern {
3815
- type HlsManifestConfiguration = { defaultAudioCodec : string , defaultVideoCodec : string , ignoreImageStreamFailures : boolean , ignoreTextStreamFailures : boolean , useFullSegmentsForStartTime : boolean } ;
3819
+ type HlsManifestConfiguration = { defaultAudioCodec : string , defaultVideoCodec : string , ignoreImageStreamFailures : boolean , ignoreManifestProgramDateTime : boolean , ignoreTextStreamFailures : boolean , mediaPlaylistFullMimeType : string } ;
3816
3820
  }
3817
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3821
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3818
3822
  declare namespace shaka.extern {
3819
3823
  type ID3Metadata = { [ key: string ]: any } ;
3820
3824
  }
3821
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3825
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3822
3826
  declare namespace shaka.extern {
3823
3827
  type LanguageRole = { label : string | null , language : string , role : string } ;
3824
3828
  }
3825
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3829
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3826
3830
  declare namespace shaka.extern {
3827
- type ManifestConfiguration = { availabilityWindowOverride : number , dash : shaka.extern.DashManifestConfiguration , defaultPresentationDelay : number , disableAudio : boolean , disableText : boolean , disableThumbnails : boolean , disableVideo : boolean , hls : shaka.extern.HlsManifestConfiguration , retryParameters : shaka.extern.RetryParameters } ;
3831
+ type ManifestConfiguration = { availabilityWindowOverride : number , dash : shaka.extern.DashManifestConfiguration , defaultPresentationDelay : number , disableAudio : boolean , disableText : boolean , disableThumbnails : boolean , disableVideo : boolean , hls : shaka.extern.HlsManifestConfiguration , retryParameters : shaka.extern.RetryParameters , segmentRelativeVttTiming : boolean } ;
3828
3832
  }
3829
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3833
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3830
3834
  declare namespace shaka.extern {
3831
3835
  type MediaQualityInfo = { audioSamplingRate : number | null , bandwidth : number , channelsCount : number | null , codecs : string , contentType : string , frameRate : number | null , height : number | null , mimeType : string | null , pixelAspectRatio : string | null , width : number | null } ;
3832
3836
  }
3833
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3837
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3834
3838
  declare namespace shaka.extern {
3835
- type OfflineConfiguration = { downloadSizeCallback : (a : number ) => Promise < boolean > , progressCallback : (a : shaka.extern.StoredContent , b : number ) => any , trackSelectionCallback : (a : shaka.extern.TrackList ) => Promise < shaka.extern.TrackList > , usePersistentLicense : boolean } ;
3839
+ type OfflineConfiguration = { downloadSizeCallback : (a : number ) => Promise < boolean > , numberOfParallelDownloads : number , progressCallback : (a : shaka.extern.StoredContent , b : number ) => any , trackSelectionCallback : (a : shaka.extern.TrackList ) => Promise < shaka.extern.TrackList > , usePersistentLicense : boolean } ;
3836
3840
  }
3837
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3841
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3838
3842
  declare namespace shaka.extern {
3839
3843
  type PlayerConfiguration = { abr : shaka.extern.AbrConfiguration , abrFactory : shaka.extern.AbrManager.Factory , cmcd : shaka.extern.CmcdConfiguration , drm : shaka.extern.DrmConfiguration , manifest : shaka.extern.ManifestConfiguration , offline : shaka.extern.OfflineConfiguration , playRangeEnd : number , playRangeStart : number , preferForcedSubs : boolean , preferredAudioChannelCount : number , preferredAudioCodecs : string [] , preferredAudioLanguage : string , preferredDecodingAttributes : string [] , preferredTextLanguage : string , preferredTextRole : string , preferredVariantRole : string , preferredVideoCodecs : string [] , restrictions : shaka.extern.Restrictions , streaming : shaka.extern.StreamingConfiguration , textDisplayFactory : shaka.extern.TextDisplayer.Factory } ;
3840
3844
  }
3841
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3845
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3842
3846
  declare namespace shaka.extern {
3843
3847
  type Restrictions = { maxBandwidth : number , maxFrameRate : number , maxHeight : number , maxPixels : number , maxWidth : number , minBandwidth : number , minFrameRate : number , minHeight : number , minPixels : number , minWidth : number } ;
3844
3848
  }
3845
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3849
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3846
3850
  declare namespace shaka.extern {
3847
3851
  type StateChange = { duration : number , state : string , timestamp : number } ;
3848
3852
  }
3849
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3853
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3850
3854
  declare namespace shaka.extern {
3851
3855
  type Stats = { bufferingTime : number , completionPercent : number , corruptedFrames : number , decodedFrames : number , drmTimeSeconds : number , droppedFrames : number , estimatedBandwidth : number , height : number , licenseTime : number , liveLatency : number , loadLatency : number , manifestTimeSeconds : number , maxSegmentDuration : number , pauseTime : number , playTime : number , stateHistory : shaka.extern.StateChange [] , streamBandwidth : number , switchHistory : shaka.extern.TrackChoice [] , width : number } ;
3852
3856
  }
3853
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3857
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3854
3858
  declare namespace shaka.extern {
3855
- type StreamingConfiguration = { alwaysStreamText : boolean , autoLowLatencyMode : boolean , bufferBehind : number , bufferingGoal : number , dispatchAllEmsgBoxes : boolean , durationBackoff : number , failureCallback : (a : shaka.util.Error ) => any , forceHTTPS : boolean , forceTransmuxTS : boolean , gapDetectionThreshold : number , ignoreTextStreamFailures : boolean , inaccurateManifestTolerance : number , jumpLargeGaps : boolean , lowLatencyMode : boolean , observeQualityChanges : boolean , preferNativeHls : boolean , rebufferingGoal : number , retryParameters : shaka.extern.RetryParameters , safeSeekOffset : number , smallGapLimit : number , stallEnabled : boolean , stallSkip : number , stallThreshold : number , startAtSegmentBoundary : boolean , updateIntervalSeconds : number , useNativeHlsOnSafari : boolean } ;
3859
+ type StreamingConfiguration = { alwaysStreamText : boolean , autoLowLatencyMode : boolean , bufferBehind : number , bufferingGoal : number , dispatchAllEmsgBoxes : boolean , durationBackoff : number , failureCallback : (a : shaka.util.Error ) => any , forceHTTPS : boolean , forceTransmuxTS : boolean , gapDetectionThreshold : number , ignoreTextStreamFailures : boolean , inaccurateManifestTolerance : number , lowLatencyMode : boolean , observeQualityChanges : boolean , preferNativeHls : boolean , rebufferingGoal : number , retryParameters : shaka.extern.RetryParameters , safeSeekOffset : number , stallEnabled : boolean , stallSkip : number , stallThreshold : number , startAtSegmentBoundary : boolean , updateIntervalSeconds : number , useNativeHlsOnSafari : boolean } ;
3856
3860
  }
3857
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3861
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3858
3862
  declare namespace shaka.extern {
3859
3863
  type SupportType = { drm : { [ key: string ]: shaka.extern.DrmSupportType | null } , manifest : { [ key: string ]: boolean } , media : { [ key: string ]: boolean } } ;
3860
3864
  }
3861
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3865
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3862
3866
  declare namespace shaka.extern {
3863
3867
  type Thumbnail = { duration : number , height : number , imageHeight : number , imageWidth : number , positionX : number , positionY : number , startTime : number , uris : string [] , width : number } ;
3864
3868
  }
3865
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3869
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3866
3870
  declare namespace shaka.extern {
3867
3871
  type TimelineRegionInfo = { endTime : number , eventElement : Element | null , id : string , schemeIdUri : string , startTime : number , value : string } ;
3868
3872
  }
3869
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3873
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3870
3874
  declare namespace shaka.extern {
3871
- type Track = { active : boolean , audioBandwidth : number | null , audioCodec : string | null , audioId : number | null , audioRoles : string [] | null , audioSamplingRate : number | null , bandwidth : number , channelsCount : number | null , codecs : string | null , forced : boolean , frameRate : number | null , hdr : string | null , height : number | null , id : number , kind : string | null , label : string | null , language : string , mimeType : string | null , originalAudioId : string | null , originalImageId : string | null , originalTextId : string | null , originalVideoId : string | null , pixelAspectRatio : string | null , primary : boolean , roles : string [] , spatialAudio : boolean , tilesLayout : string | null , type : string , videoBandwidth : number | null , videoCodec : string | null , videoId : number | null , width : number | null } ;
3875
+ type Track = { active : boolean , audioBandwidth : number | null , audioCodec : string | null , audioId : number | null , audioMimeType : string | null , audioRoles : string [] | null , audioSamplingRate : number | null , bandwidth : number , channelsCount : number | null , codecs : string | null , forced : boolean , frameRate : number | null , hdr : string | null , height : number | null , id : number , kind : string | null , label : string | null , language : string , mimeType : string | null , originalAudioId : string | null , originalImageId : string | null , originalTextId : string | null , originalVideoId : string | null , pixelAspectRatio : string | null , primary : boolean , roles : string [] , spatialAudio : boolean , tilesLayout : string | null , type : string , videoBandwidth : number | null , videoCodec : string | null , videoId : number | null , videoMimeType : string | null , width : number | null } ;
3872
3876
  }
3873
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3877
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3874
3878
  declare namespace shaka.extern {
3875
3879
  type TrackChoice = { bandwidth : number | null , fromAdaptation : boolean , id : number , timestamp : number , type : string } ;
3876
3880
  }
3877
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/player.js
3881
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/player.js
3878
3882
  declare namespace shaka.extern {
3879
3883
  type TrackList = shaka.extern.Track [] ;
3880
3884
  }
3881
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/text.js
3885
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
3882
3886
  declare namespace shaka.extern {
3883
3887
  interface Cue {
3884
3888
  /**
@@ -4017,7 +4021,6 @@ declare namespace shaka.extern {
4017
4021
  * Size of the cue box (in percents), where 0 means "auto".
4018
4022
  */
4019
4023
  size : number ;
4020
- spacer : boolean ;
4021
4024
  /**
4022
4025
  * The start time of the cue in seconds, relative to the start of the
4023
4026
  * presentation.
@@ -4050,7 +4053,7 @@ declare namespace shaka.extern {
4050
4053
  writingMode : shaka.text.Cue.writingMode ;
4051
4054
  }
4052
4055
  }
4053
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/text.js
4056
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4054
4057
  declare namespace shaka.extern {
4055
4058
  interface CueRegion {
4056
4059
  /**
@@ -4106,7 +4109,7 @@ declare namespace shaka.extern {
4106
4109
  widthUnits : shaka.text.CueRegion.units ;
4107
4110
  }
4108
4111
  }
4109
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/text.js
4112
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4110
4113
  declare namespace shaka.extern {
4111
4114
  interface TextDisplayer extends shaka.util.IDestroyable {
4112
4115
  /**
@@ -4133,14 +4136,14 @@ declare namespace shaka.extern {
4133
4136
  setTextVisibility (on : boolean ) : any ;
4134
4137
  }
4135
4138
  }
4136
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/text.js
4139
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4137
4140
  declare namespace shaka.extern.TextDisplayer {
4138
4141
  /**
4139
4142
  * A factory for creating a TextDisplayer.
4140
4143
  */
4141
4144
  type Factory = ( ) => shaka.extern.TextDisplayer ;
4142
4145
  }
4143
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/text.js
4146
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4144
4147
  declare namespace shaka.extern {
4145
4148
  /**
4146
4149
  * An interface for plugins that parse text tracks.
@@ -4158,27 +4161,31 @@ declare namespace shaka.extern {
4158
4161
  * @param timeContext The time information that should be used to adjust the times values for each cue.
4159
4162
  */
4160
4163
  parseMedia (data : Uint8Array , timeContext : shaka.extern.TextParser.TimeContext ) : shaka.extern.Cue [] ;
4164
+ /**
4165
+ * Notifies the stream if the manifest is in sequence mode or not.
4166
+ */
4167
+ setSequenceMode (sequenceMode : boolean ) : any ;
4161
4168
  }
4162
4169
  }
4163
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/text.js
4170
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4164
4171
  declare namespace shaka.extern.TextParser {
4165
4172
  /**
4166
4173
  * A collection of time offsets used to adjust text cue times.
4167
4174
  */
4168
- type TimeContext = { periodStart : number , segmentEnd : number , segmentStart : number } ;
4175
+ type TimeContext = { periodStart : number , segmentEnd : number , segmentStart : number , vttOffset : number } ;
4169
4176
  }
4170
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/shaka/text.js
4177
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/shaka/text.js
4171
4178
  declare namespace shaka.extern {
4172
4179
  type TextParserPlugin = ( ) => shaka.extern.TextParser ;
4173
4180
  }
4174
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/tippy.js
4181
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/tippy.js
4175
4182
  declare namespace ಠ_ಠ.clutz {
4176
4183
  /**
4177
4184
  * This is the subset of this method that we use in our demo code.
4178
4185
  */
4179
4186
  function tippy (element : Element , config : object ) : any ;
4180
4187
  }
4181
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/webkitmediakeys.js
4188
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
4182
4189
  declare namespace ಠ_ಠ.clutz {
4183
4190
  class WebKitMediaKeyError {
4184
4191
  private noStructuralTyping_WebKitMediaKeyError : any;
@@ -4192,7 +4199,7 @@ declare namespace ಠ_ಠ.clutz {
4192
4199
  static MEDIA_KEYERR_UNKNOWN : number ;
4193
4200
  }
4194
4201
  }
4195
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/webkitmediakeys.js
4202
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
4196
4203
  declare namespace ಠ_ಠ.clutz {
4197
4204
  interface WebKitMediaKeySession extends EventTarget {
4198
4205
  addEventListener (type : any , listener : any , useCapture : any ) : any ;
@@ -4204,7 +4211,7 @@ declare namespace ಠ_ಠ.clutz {
4204
4211
  update (message : Uint8Array | null ) : any ;
4205
4212
  }
4206
4213
  }
4207
- // Generated from /usr/local/google/home/joeyparrish/hacking/shaka/clean/externs/webkitmediakeys.js
4214
+ // Generated from /home/runner/work/shaka-player/shaka-player/externs/webkitmediakeys.js
4208
4215
  declare namespace ಠ_ಠ.clutz {
4209
4216
  class WebKitMediaKeys {
4210
4217
  private noStructuralTyping_WebKitMediaKeys : any;