rx-player 4.4.1 → 4.5.0-dev.2026012301

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 (3718) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +50 -111
  3. package/VERSION +1 -1
  4. package/package.json +23 -9
  5. package/src/README.md +183 -293
  6. package/src/compat/disable_remote_playback_on_managed_media_source.ts +39 -0
  7. package/src/compat/eme/close_session.ts +3 -3
  8. package/src/compat/eme/custom_media_keys/ie11_media_keys.ts +2 -2
  9. package/src/compat/reset_media_element.ts +50 -0
  10. package/src/core/adaptive/adaptive_representation_selector.ts +3 -3
  11. package/src/core/cmcd/cmcd_data_builder.ts +3 -3
  12. package/src/core/{main/common → entry}/FreezeResolver.ts +7 -7
  13. package/src/core/{main → entry}/README.md +1 -1
  14. package/src/core/{main/worker → entry}/content_preparer.ts +181 -94
  15. package/src/core/{main/common → entry}/content_time_boundaries_observer.ts +16 -13
  16. package/src/core/{main/worker/worker_main.ts → entry/core_entry.ts} +258 -156
  17. package/src/core/{main/worker/worker_text_displayer_interface.ts → entry/core_text_displayer_interface.ts} +34 -31
  18. package/src/core/{main/common → entry}/create_content_time_boundaries_observer.ts +11 -11
  19. package/src/core/{main/common → entry}/get_buffered_data_per_media_buffer.ts +6 -6
  20. package/src/core/{main/common → entry}/get_thumbnail_data.ts +6 -6
  21. package/src/core/entry/index.ts +5 -0
  22. package/src/core/{main/common → entry}/synchronize_sinks_on_observation.ts +2 -2
  23. package/src/core/{main/worker → entry}/track_choice_setter.ts +7 -7
  24. package/src/core/entry/utils.ts +11 -0
  25. package/src/core/fetchers/manifest/manifest_fetcher.ts +11 -8
  26. package/src/core/fetchers/segment/__tests__/task_prioritizer.test.ts +10 -10
  27. package/src/core/fetchers/segment/segment_queue.ts +51 -15
  28. package/src/core/fetchers/segment/task_prioritizer.ts +2 -2
  29. package/src/core/fetchers/thumbnails/thumbnail_fetcher.ts +2 -2
  30. package/src/core/fetchers/utils/schedule_request.ts +2 -2
  31. package/src/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.ts +2 -2
  32. package/src/core/segment_sinks/implementations/text/text_segment_sink.ts +1 -1
  33. package/src/core/segment_sinks/implementations/types.ts +4 -1
  34. package/src/core/segment_sinks/segment_sinks_store.ts +10 -4
  35. package/src/core/stream/adaptation/adaptation_stream.ts +63 -29
  36. package/src/core/stream/orchestrator/stream_orchestrator.ts +25 -15
  37. package/src/core/stream/period/period_stream.ts +7 -5
  38. package/src/core/stream/representation/representation_stream.ts +22 -14
  39. package/src/core/stream/representation/types.ts +5 -0
  40. package/src/core/types.ts +644 -3
  41. package/src/experimental/features/__tests__/local.test.ts +11 -2
  42. package/src/experimental/features/__tests__/metaplaylist.test.ts +11 -2
  43. package/src/experimental/features/__tests__/multi_thread.test.ts +8 -3
  44. package/src/experimental/features/local.ts +7 -1
  45. package/src/experimental/features/metaplaylist.ts +7 -1
  46. package/src/experimental/features/multi_thread.ts +6 -2
  47. package/src/experimental/features/worker/index.ts +5 -0
  48. package/src/experimental/tools/DummyMediaElement/html5.ts +4 -4
  49. package/src/experimental/tools/DummyMediaElement/mse.ts +5 -5
  50. package/src/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.ts +2 -4
  51. package/src/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.ts +13 -11
  52. package/src/experimental/tools/createMetaplaylist/get_duration_from_manifest.ts +2 -2
  53. package/src/features/README.md +5 -0
  54. package/src/features/features_object.ts +1 -1
  55. package/src/features/list/__tests__/dash.test.ts +12 -3
  56. package/src/features/list/__tests__/smooth.test.ts +11 -2
  57. package/src/features/list/dash.ts +7 -1
  58. package/src/features/list/dash_wasm.ts +7 -1
  59. package/src/features/list/media_source_main.ts +7 -1
  60. package/src/features/list/smooth.ts +7 -1
  61. package/src/features/types.ts +23 -4
  62. package/src/importable_worker.ts +175 -0
  63. package/src/initialize_worker.ts +86 -0
  64. package/src/main_thread/README.md +8 -0
  65. package/src/main_thread/api/__tests__/option_utils.test.ts +154 -4
  66. package/src/main_thread/api/__tests__/public_api.test.ts +2 -2
  67. package/src/main_thread/api/option_utils.ts +45 -6
  68. package/src/main_thread/api/public_api.ts +372 -113
  69. package/src/main_thread/core_interface/README.md +22 -0
  70. package/src/main_thread/core_interface/base.ts +36 -0
  71. package/src/main_thread/core_interface/monothread.ts +46 -0
  72. package/src/main_thread/core_interface/multithread.ts +49 -0
  73. package/src/main_thread/core_interface/types.ts +5 -0
  74. package/src/main_thread/decrypt/__tests__/__global__/get_license.test.ts +1 -1
  75. package/src/main_thread/decrypt/__tests__/__global__/media_key_system_access.test.ts +1 -1
  76. package/src/main_thread/decrypt/__tests__/__global__/media_keys.test.ts +7 -7
  77. package/src/main_thread/decrypt/__tests__/__global__/server_certificate.test.ts +5 -5
  78. package/src/main_thread/decrypt/__tests__/find_key_system.test.ts +3 -3
  79. package/src/main_thread/decrypt/content_decryptor.ts +7 -4
  80. package/src/main_thread/decrypt/session_events_listener.ts +7 -7
  81. package/src/main_thread/init/directfile_content_initializer.ts +9 -6
  82. package/src/main_thread/init/media_source_content_initializer.ts +2071 -1153
  83. package/src/main_thread/init/types.ts +4 -1
  84. package/src/main_thread/init/utils/create_core_playback_observer.ts +3 -2
  85. package/src/main_thread/init/utils/get_loaded_reference.ts +3 -3
  86. package/src/main_thread/init/utils/initialize_content_decryption.ts +4 -4
  87. package/src/main_thread/init/utils/main_thread_text_displayer_interface.ts +2 -2
  88. package/src/main_thread/init/utils/rebuffering_controller.ts +16 -10
  89. package/src/main_thread/init/utils/stream_events_emitter/stream_events_emitter.ts +11 -6
  90. package/src/main_thread/init/utils/update_manifest_codec_support.ts +1 -1
  91. package/src/main_thread/render_thumbnail.ts +3 -3
  92. package/src/main_thread/text_displayer/html/html_text_displayer.ts +27 -17
  93. package/src/main_thread/text_displayer/types.ts +3 -1
  94. package/src/main_thread/tracks_store/track_dispatcher.ts +10 -7
  95. package/src/main_thread/tracks_store/tracks_store.ts +5 -5
  96. package/src/main_thread/types.ts +650 -0
  97. package/src/manifest/classes/__tests__/adaptation.test.ts +2 -2
  98. package/src/manifest/classes/__tests__/manifest.test.ts +6 -6
  99. package/src/manifest/classes/__tests__/period.test.ts +160 -173
  100. package/src/manifest/utils.ts +31 -4
  101. package/src/mse/main_media_source_interface.ts +37 -16
  102. package/src/mse/types.ts +19 -5
  103. package/src/mse/utils/end_of_stream.ts +6 -6
  104. package/src/mse/utils/media_source_duration_updater.ts +19 -10
  105. package/src/mse/worker_media_source_interface.ts +66 -46
  106. package/src/parsers/manifest/smooth/create_parser.ts +40 -34
  107. package/src/parsers/manifest/smooth/parse_C_nodes.ts +19 -8
  108. package/src/parsers/manifest/smooth/parse_protection_node.ts +17 -9
  109. package/src/parsers/manifest/smooth/utils/parseBoolean.ts +1 -1
  110. package/src/parsers/manifest/smooth/utils/reduceChildren.ts +10 -7
  111. package/src/playback_observer/{worker_playback_observer.ts → core_playback_observer.ts} +13 -13
  112. package/src/playback_observer/media_element_playback_observer.ts +6 -3
  113. package/src/public_types.ts +25 -5
  114. package/src/tools/TextTrackRenderer/text_track_renderer.ts +5 -2
  115. package/src/transports/dash/integrity_checks.ts +2 -2
  116. package/src/transports/smooth/pipelines.ts +25 -5
  117. package/src/utils/event_emitter.ts +35 -17
  118. package/src/utils/task_canceller.ts +64 -18
  119. package/src/worker_entry_point.ts +8 -6
  120. package/vitest.config.mjs +36 -29
  121. package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.d.ts +0 -4
  122. package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +0 -1
  123. package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.js +0 -6
  124. package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts +0 -4
  125. package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts.map +0 -1
  126. package/dist/commonjs/__GENERATED_CODE/embedded_worker.js +0 -6
  127. package/dist/commonjs/__GENERATED_CODE/index.d.ts +0 -3
  128. package/dist/commonjs/__GENERATED_CODE/index.d.ts.map +0 -1
  129. package/dist/commonjs/__GENERATED_CODE/index.js +0 -7
  130. package/dist/commonjs/compat/add_class_name.d.ts +0 -23
  131. package/dist/commonjs/compat/add_class_name.d.ts.map +0 -1
  132. package/dist/commonjs/compat/add_class_name.js +0 -39
  133. package/dist/commonjs/compat/add_text_track.d.ts +0 -32
  134. package/dist/commonjs/compat/add_text_track.d.ts.map +0 -1
  135. package/dist/commonjs/compat/add_text_track.js +0 -52
  136. package/dist/commonjs/compat/browser_compatibility_types.d.ts +0 -384
  137. package/dist/commonjs/compat/browser_compatibility_types.d.ts.map +0 -1
  138. package/dist/commonjs/compat/browser_compatibility_types.js +0 -47
  139. package/dist/commonjs/compat/browser_version.d.ts +0 -25
  140. package/dist/commonjs/compat/browser_version.d.ts.map +0 -1
  141. package/dist/commonjs/compat/browser_version.js +0 -43
  142. package/dist/commonjs/compat/can_patch_isobmff.d.ts +0 -26
  143. package/dist/commonjs/compat/can_patch_isobmff.d.ts.map +0 -1
  144. package/dist/commonjs/compat/can_patch_isobmff.js +0 -32
  145. package/dist/commonjs/compat/can_preload_before_play.d.ts +0 -11
  146. package/dist/commonjs/compat/can_preload_before_play.d.ts.map +0 -1
  147. package/dist/commonjs/compat/can_preload_before_play.js +0 -23
  148. package/dist/commonjs/compat/can_rely_on_request_media_key_system_access.d.ts +0 -41
  149. package/dist/commonjs/compat/can_rely_on_request_media_key_system_access.d.ts.map +0 -1
  150. package/dist/commonjs/compat/can_rely_on_request_media_key_system_access.js +0 -56
  151. package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.d.ts +0 -38
  152. package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.d.ts.map +0 -1
  153. package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.js +0 -52
  154. package/dist/commonjs/compat/can_reuse_media_keys.d.ts +0 -20
  155. package/dist/commonjs/compat/can_reuse_media_keys.d.ts.map +0 -1
  156. package/dist/commonjs/compat/can_reuse_media_keys.js +0 -33
  157. package/dist/commonjs/compat/change_source_buffer_type.d.ts +0 -49
  158. package/dist/commonjs/compat/change_source_buffer_type.d.ts.map +0 -1
  159. package/dist/commonjs/compat/change_source_buffer_type.js +0 -40
  160. package/dist/commonjs/compat/clear_element_src.d.ts +0 -22
  161. package/dist/commonjs/compat/clear_element_src.d.ts.map +0 -1
  162. package/dist/commonjs/compat/clear_element_src.js +0 -56
  163. package/dist/commonjs/compat/eme/close_session.d.ts +0 -31
  164. package/dist/commonjs/compat/eme/close_session.d.ts.map +0 -1
  165. package/dist/commonjs/compat/eme/close_session.js +0 -169
  166. package/dist/commonjs/compat/eme/constants.d.ts +0 -17
  167. package/dist/commonjs/compat/eme/constants.d.ts.map +0 -1
  168. package/dist/commonjs/compat/eme/constants.js +0 -22
  169. package/dist/commonjs/compat/eme/custom_key_system_access.d.ts +0 -50
  170. package/dist/commonjs/compat/eme/custom_key_system_access.d.ts.map +0 -1
  171. package/dist/commonjs/compat/eme/custom_key_system_access.js +0 -49
  172. package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.d.ts +0 -32
  173. package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.d.ts.map +0 -1
  174. package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.js +0 -181
  175. package/dist/commonjs/compat/eme/custom_media_keys/index.d.ts +0 -7
  176. package/dist/commonjs/compat/eme/custom_media_keys/index.d.ts.map +0 -1
  177. package/dist/commonjs/compat/eme/custom_media_keys/index.js +0 -16
  178. package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +0 -28
  179. package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts.map +0 -1
  180. package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.js +0 -61
  181. package/dist/commonjs/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts +0 -44
  182. package/dist/commonjs/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts.map +0 -1
  183. package/dist/commonjs/compat/eme/custom_media_keys/ms_media_keys_constructor.js +0 -28
  184. package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts +0 -42
  185. package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts.map +0 -1
  186. package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.js +0 -195
  187. package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.d.ts +0 -33
  188. package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.d.ts.map +0 -1
  189. package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.js +0 -233
  190. package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts +0 -23
  191. package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts.map +0 -1
  192. package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.js +0 -30
  193. package/dist/commonjs/compat/eme/eme-api-implementation.d.ts +0 -78
  194. package/dist/commonjs/compat/eme/eme-api-implementation.d.ts.map +0 -1
  195. package/dist/commonjs/compat/eme/eme-api-implementation.js +0 -241
  196. package/dist/commonjs/compat/eme/generate_key_request.d.ts +0 -55
  197. package/dist/commonjs/compat/eme/generate_key_request.d.ts.map +0 -1
  198. package/dist/commonjs/compat/eme/generate_key_request.js +0 -148
  199. package/dist/commonjs/compat/eme/get_init_data.d.ts +0 -60
  200. package/dist/commonjs/compat/eme/get_init_data.d.ts.map +0 -1
  201. package/dist/commonjs/compat/eme/get_init_data.js +0 -113
  202. package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts +0 -24
  203. package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts.map +0 -1
  204. package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.js +0 -36
  205. package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.d.ts +0 -26
  206. package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.d.ts.map +0 -1
  207. package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.js +0 -57
  208. package/dist/commonjs/compat/eme/index.d.ts +0 -26
  209. package/dist/commonjs/compat/eme/index.d.ts.map +0 -1
  210. package/dist/commonjs/compat/eme/index.js +0 -28
  211. package/dist/commonjs/compat/eme/load_session.d.ts +0 -31
  212. package/dist/commonjs/compat/eme/load_session.d.ts.map +0 -1
  213. package/dist/commonjs/compat/eme/load_session.js +0 -102
  214. package/dist/commonjs/compat/eme/set_media_keys.d.ts +0 -10
  215. package/dist/commonjs/compat/eme/set_media_keys.d.ts.map +0 -1
  216. package/dist/commonjs/compat/eme/set_media_keys.js +0 -36
  217. package/dist/commonjs/compat/enable_audio_track.d.ts +0 -12
  218. package/dist/commonjs/compat/enable_audio_track.d.ts.map +0 -1
  219. package/dist/commonjs/compat/enable_audio_track.js +0 -29
  220. package/dist/commonjs/compat/env_detector.d.ts +0 -100
  221. package/dist/commonjs/compat/env_detector.d.ts.map +0 -1
  222. package/dist/commonjs/compat/env_detector.js +0 -189
  223. package/dist/commonjs/compat/event_listeners.d.ts +0 -175
  224. package/dist/commonjs/compat/event_listeners.d.ts.map +0 -1
  225. package/dist/commonjs/compat/event_listeners.js +0 -437
  226. package/dist/commonjs/compat/generate_init_data.d.ts +0 -14
  227. package/dist/commonjs/compat/generate_init_data.d.ts.map +0 -1
  228. package/dist/commonjs/compat/generate_init_data.js +0 -60
  229. package/dist/commonjs/compat/get_start_date.d.ts +0 -32
  230. package/dist/commonjs/compat/get_start_date.d.ts.map +0 -1
  231. package/dist/commonjs/compat/get_start_date.js +0 -47
  232. package/dist/commonjs/compat/has_issues_with_high_media_source_duration.d.ts +0 -22
  233. package/dist/commonjs/compat/has_issues_with_high_media_source_duration.d.ts.map +0 -1
  234. package/dist/commonjs/compat/has_issues_with_high_media_source_duration.js +0 -32
  235. package/dist/commonjs/compat/has_mse_in_worker.d.ts +0 -3
  236. package/dist/commonjs/compat/has_mse_in_worker.d.ts.map +0 -1
  237. package/dist/commonjs/compat/has_mse_in_worker.js +0 -6
  238. package/dist/commonjs/compat/has_webassembly.d.ts +0 -7
  239. package/dist/commonjs/compat/has_webassembly.d.ts.map +0 -1
  240. package/dist/commonjs/compat/has_webassembly.js +0 -8
  241. package/dist/commonjs/compat/has_worker_api.d.ts +0 -10
  242. package/dist/commonjs/compat/has_worker_api.d.ts.map +0 -1
  243. package/dist/commonjs/compat/has_worker_api.js +0 -17
  244. package/dist/commonjs/compat/is_codec_supported.d.ts +0 -28
  245. package/dist/commonjs/compat/is_codec_supported.d.ts.map +0 -1
  246. package/dist/commonjs/compat/is_codec_supported.js +0 -70
  247. package/dist/commonjs/compat/is_seeking_approximate.d.ts +0 -29
  248. package/dist/commonjs/compat/is_seeking_approximate.d.ts.map +0 -1
  249. package/dist/commonjs/compat/is_seeking_approximate.js +0 -36
  250. package/dist/commonjs/compat/is_vtt_cue.d.ts +0 -23
  251. package/dist/commonjs/compat/is_vtt_cue.d.ts.map +0 -1
  252. package/dist/commonjs/compat/is_vtt_cue.js +0 -27
  253. package/dist/commonjs/compat/make_vtt_cue.d.ts +0 -27
  254. package/dist/commonjs/compat/make_vtt_cue.d.ts.map +0 -1
  255. package/dist/commonjs/compat/make_vtt_cue.js +0 -47
  256. package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.d.ts +0 -17
  257. package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.d.ts.map +0 -1
  258. package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.js +0 -25
  259. package/dist/commonjs/compat/on_height_width_change.d.ts +0 -34
  260. package/dist/commonjs/compat/on_height_width_change.d.ts.map +0 -1
  261. package/dist/commonjs/compat/on_height_width_change.js +0 -75
  262. package/dist/commonjs/compat/patch_webkit_source_buffer.d.ts +0 -17
  263. package/dist/commonjs/compat/patch_webkit_source_buffer.d.ts.map +0 -1
  264. package/dist/commonjs/compat/patch_webkit_source_buffer.js +0 -65
  265. package/dist/commonjs/compat/remove_cue.d.ts +0 -23
  266. package/dist/commonjs/compat/remove_cue.d.ts.map +0 -1
  267. package/dist/commonjs/compat/remove_cue.js +0 -66
  268. package/dist/commonjs/compat/should_await_set_media_keys.d.ts +0 -17
  269. package/dist/commonjs/compat/should_await_set_media_keys.d.ts.map +0 -1
  270. package/dist/commonjs/compat/should_await_set_media_keys.js +0 -27
  271. package/dist/commonjs/compat/should_favour_custom_safari_EME.d.ts +0 -24
  272. package/dist/commonjs/compat/should_favour_custom_safari_EME.d.ts.map +0 -1
  273. package/dist/commonjs/compat/should_favour_custom_safari_EME.js +0 -37
  274. package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.d.ts +0 -27
  275. package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.d.ts.map +0 -1
  276. package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.js +0 -35
  277. package/dist/commonjs/compat/should_renew_media_key_system_access.d.ts +0 -22
  278. package/dist/commonjs/compat/should_renew_media_key_system_access.d.ts.map +0 -1
  279. package/dist/commonjs/compat/should_renew_media_key_system_access.js +0 -35
  280. package/dist/commonjs/compat/should_unset_media_keys.d.ts +0 -23
  281. package/dist/commonjs/compat/should_unset_media_keys.d.ts.map +0 -1
  282. package/dist/commonjs/compat/should_unset_media_keys.js +0 -30
  283. package/dist/commonjs/compat/should_validate_metadata.d.ts +0 -23
  284. package/dist/commonjs/compat/should_validate_metadata.d.ts.map +0 -1
  285. package/dist/commonjs/compat/should_validate_metadata.js +0 -30
  286. package/dist/commonjs/compat/should_wait_for_data_before_loaded.d.ts +0 -25
  287. package/dist/commonjs/compat/should_wait_for_data_before_loaded.d.ts.map +0 -1
  288. package/dist/commonjs/compat/should_wait_for_data_before_loaded.js +0 -42
  289. package/dist/commonjs/compat/should_wait_for_have_enough_data.d.ts +0 -14
  290. package/dist/commonjs/compat/should_wait_for_have_enough_data.d.ts.map +0 -1
  291. package/dist/commonjs/compat/should_wait_for_have_enough_data.js +0 -22
  292. package/dist/commonjs/config.d.ts +0 -21
  293. package/dist/commonjs/config.d.ts.map +0 -1
  294. package/dist/commonjs/config.js +0 -73
  295. package/dist/commonjs/core/adaptive/adaptive_representation_selector.d.ts +0 -294
  296. package/dist/commonjs/core/adaptive/adaptive_representation_selector.d.ts.map +0 -1
  297. package/dist/commonjs/core/adaptive/adaptive_representation_selector.js +0 -411
  298. package/dist/commonjs/core/adaptive/buffer_based_chooser.d.ts +0 -90
  299. package/dist/commonjs/core/adaptive/buffer_based_chooser.d.ts.map +0 -1
  300. package/dist/commonjs/core/adaptive/buffer_based_chooser.js +0 -202
  301. package/dist/commonjs/core/adaptive/guess_based_chooser.d.ts +0 -96
  302. package/dist/commonjs/core/adaptive/guess_based_chooser.d.ts.map +0 -1
  303. package/dist/commonjs/core/adaptive/guess_based_chooser.js +0 -272
  304. package/dist/commonjs/core/adaptive/index.d.ts +0 -20
  305. package/dist/commonjs/core/adaptive/index.d.ts.map +0 -1
  306. package/dist/commonjs/core/adaptive/index.js +0 -19
  307. package/dist/commonjs/core/adaptive/network_analyzer.d.ts +0 -74
  308. package/dist/commonjs/core/adaptive/network_analyzer.d.ts.map +0 -1
  309. package/dist/commonjs/core/adaptive/network_analyzer.js +0 -355
  310. package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.d.ts +0 -48
  311. package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.d.ts.map +0 -1
  312. package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.js +0 -72
  313. package/dist/commonjs/core/adaptive/utils/ewma.d.ts +0 -40
  314. package/dist/commonjs/core/adaptive/utils/ewma.d.ts.map +0 -1
  315. package/dist/commonjs/core/adaptive/utils/ewma.js +0 -53
  316. package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.d.ts +0 -26
  317. package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.d.ts.map +0 -1
  318. package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.js +0 -40
  319. package/dist/commonjs/core/adaptive/utils/filter_by_resolution.d.ts +0 -32
  320. package/dist/commonjs/core/adaptive/utils/filter_by_resolution.d.ts.map +0 -1
  321. package/dist/commonjs/core/adaptive/utils/filter_by_resolution.js +0 -51
  322. package/dist/commonjs/core/adaptive/utils/get_buffer_levels.d.ts +0 -25
  323. package/dist/commonjs/core/adaptive/utils/get_buffer_levels.d.ts.map +0 -1
  324. package/dist/commonjs/core/adaptive/utils/get_buffer_levels.js +0 -53
  325. package/dist/commonjs/core/adaptive/utils/last_estimate_storage.d.ts +0 -62
  326. package/dist/commonjs/core/adaptive/utils/last_estimate_storage.d.ts.map +0 -1
  327. package/dist/commonjs/core/adaptive/utils/last_estimate_storage.js +0 -39
  328. package/dist/commonjs/core/adaptive/utils/pending_requests_store.d.ts +0 -111
  329. package/dist/commonjs/core/adaptive/utils/pending_requests_store.d.ts.map +0 -1
  330. package/dist/commonjs/core/adaptive/utils/pending_requests_store.js +0 -79
  331. package/dist/commonjs/core/adaptive/utils/representation_score_calculator.d.ts +0 -105
  332. package/dist/commonjs/core/adaptive/utils/representation_score_calculator.d.ts.map +0 -1
  333. package/dist/commonjs/core/adaptive/utils/representation_score_calculator.js +0 -121
  334. package/dist/commonjs/core/adaptive/utils/select_optimal_representation.d.ts +0 -28
  335. package/dist/commonjs/core/adaptive/utils/select_optimal_representation.d.ts.map +0 -1
  336. package/dist/commonjs/core/adaptive/utils/select_optimal_representation.js +0 -39
  337. package/dist/commonjs/core/cmcd/cmcd_data_builder.d.ts +0 -133
  338. package/dist/commonjs/core/cmcd/cmcd_data_builder.d.ts.map +0 -1
  339. package/dist/commonjs/core/cmcd/cmcd_data_builder.js +0 -368
  340. package/dist/commonjs/core/cmcd/index.d.ts +0 -4
  341. package/dist/commonjs/core/cmcd/index.d.ts.map +0 -1
  342. package/dist/commonjs/core/cmcd/index.js +0 -4
  343. package/dist/commonjs/core/fetchers/cdn_prioritizer.d.ts +0 -108
  344. package/dist/commonjs/core/fetchers/cdn_prioritizer.d.ts.map +0 -1
  345. package/dist/commonjs/core/fetchers/cdn_prioritizer.js +0 -215
  346. package/dist/commonjs/core/fetchers/index.d.ts +0 -25
  347. package/dist/commonjs/core/fetchers/index.d.ts.map +0 -1
  348. package/dist/commonjs/core/fetchers/index.js +0 -26
  349. package/dist/commonjs/core/fetchers/manifest/index.d.ts +0 -20
  350. package/dist/commonjs/core/fetchers/manifest/index.d.ts.map +0 -1
  351. package/dist/commonjs/core/fetchers/manifest/index.js +0 -19
  352. package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.d.ts +0 -236
  353. package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.d.ts.map +0 -1
  354. package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.js +0 -657
  355. package/dist/commonjs/core/fetchers/segment/index.d.ts +0 -22
  356. package/dist/commonjs/core/fetchers/segment/index.d.ts.map +0 -1
  357. package/dist/commonjs/core/fetchers/segment/index.js +0 -19
  358. package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.d.ts +0 -43
  359. package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.d.ts.map +0 -1
  360. package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.js +0 -53
  361. package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.d.ts +0 -40
  362. package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.d.ts.map +0 -1
  363. package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.js +0 -70
  364. package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts +0 -200
  365. package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts.map +0 -1
  366. package/dist/commonjs/core/fetchers/segment/segment_fetcher.js +0 -330
  367. package/dist/commonjs/core/fetchers/segment/segment_queue.d.ts +0 -230
  368. package/dist/commonjs/core/fetchers/segment/segment_queue.d.ts.map +0 -1
  369. package/dist/commonjs/core/fetchers/segment/segment_queue.js +0 -445
  370. package/dist/commonjs/core/fetchers/segment/segment_queue_creator.d.ts +0 -98
  371. package/dist/commonjs/core/fetchers/segment/segment_queue_creator.d.ts.map +0 -1
  372. package/dist/commonjs/core/fetchers/segment/segment_queue_creator.js +0 -77
  373. package/dist/commonjs/core/fetchers/segment/task_prioritizer.d.ts +0 -155
  374. package/dist/commonjs/core/fetchers/segment/task_prioritizer.d.ts.map +0 -1
  375. package/dist/commonjs/core/fetchers/segment/task_prioritizer.js +0 -381
  376. package/dist/commonjs/core/fetchers/thumbnails/index.d.ts +0 -5
  377. package/dist/commonjs/core/fetchers/thumbnails/index.d.ts.map +0 -1
  378. package/dist/commonjs/core/fetchers/thumbnails/index.js +0 -4
  379. package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.d.ts +0 -79
  380. package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.d.ts.map +0 -1
  381. package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.js +0 -259
  382. package/dist/commonjs/core/fetchers/utils/error_selector.d.ts +0 -23
  383. package/dist/commonjs/core/fetchers/utils/error_selector.d.ts.map +0 -1
  384. package/dist/commonjs/core/fetchers/utils/error_selector.js +0 -34
  385. package/dist/commonjs/core/fetchers/utils/schedule_request.d.ts +0 -99
  386. package/dist/commonjs/core/fetchers/utils/schedule_request.d.ts.map +0 -1
  387. package/dist/commonjs/core/fetchers/utils/schedule_request.js +0 -391
  388. package/dist/commonjs/core/main/common/FreezeResolver.d.ts +0 -176
  389. package/dist/commonjs/core/main/common/FreezeResolver.d.ts.map +0 -1
  390. package/dist/commonjs/core/main/common/FreezeResolver.js +0 -455
  391. package/dist/commonjs/core/main/common/content_time_boundaries_observer.d.ts +0 -192
  392. package/dist/commonjs/core/main/common/content_time_boundaries_observer.d.ts.map +0 -1
  393. package/dist/commonjs/core/main/common/content_time_boundaries_observer.js +0 -558
  394. package/dist/commonjs/core/main/common/create_content_time_boundaries_observer.d.ts +0 -28
  395. package/dist/commonjs/core/main/common/create_content_time_boundaries_observer.d.ts.map +0 -1
  396. package/dist/commonjs/core/main/common/create_content_time_boundaries_observer.js +0 -48
  397. package/dist/commonjs/core/main/common/get_buffered_data_per_media_buffer.d.ts +0 -15
  398. package/dist/commonjs/core/main/common/get_buffered_data_per_media_buffer.d.ts.map +0 -1
  399. package/dist/commonjs/core/main/common/get_buffered_data_per_media_buffer.js +0 -37
  400. package/dist/commonjs/core/main/common/get_thumbnail_data.d.ts +0 -13
  401. package/dist/commonjs/core/main/common/get_thumbnail_data.d.ts.map +0 -1
  402. package/dist/commonjs/core/main/common/get_thumbnail_data.js +0 -71
  403. package/dist/commonjs/core/main/common/synchronize_sinks_on_observation.d.ts +0 -11
  404. package/dist/commonjs/core/main/common/synchronize_sinks_on_observation.d.ts.map +0 -1
  405. package/dist/commonjs/core/main/common/synchronize_sinks_on_observation.js +0 -20
  406. package/dist/commonjs/core/main/worker/content_preparer.d.ts +0 -176
  407. package/dist/commonjs/core/main/worker/content_preparer.d.ts.map +0 -1
  408. package/dist/commonjs/core/main/worker/content_preparer.js +0 -416
  409. package/dist/commonjs/core/main/worker/globals.d.ts +0 -14
  410. package/dist/commonjs/core/main/worker/globals.d.ts.map +0 -1
  411. package/dist/commonjs/core/main/worker/globals.js +0 -26
  412. package/dist/commonjs/core/main/worker/index.d.ts +0 -3
  413. package/dist/commonjs/core/main/worker/index.d.ts.map +0 -1
  414. package/dist/commonjs/core/main/worker/index.js +0 -4
  415. package/dist/commonjs/core/main/worker/send_message.d.ts +0 -4
  416. package/dist/commonjs/core/main/worker/send_message.d.ts.map +0 -1
  417. package/dist/commonjs/core/main/worker/send_message.js +0 -23
  418. package/dist/commonjs/core/main/worker/track_choice_setter.d.ts +0 -20
  419. package/dist/commonjs/core/main/worker/track_choice_setter.d.ts.map +0 -1
  420. package/dist/commonjs/core/main/worker/track_choice_setter.js +0 -152
  421. package/dist/commonjs/core/main/worker/worker_main.d.ts +0 -2
  422. package/dist/commonjs/core/main/worker/worker_main.d.ts.map +0 -1
  423. package/dist/commonjs/core/main/worker/worker_main.js +0 -946
  424. package/dist/commonjs/core/main/worker/worker_text_displayer_interface.d.ts +0 -65
  425. package/dist/commonjs/core/main/worker/worker_text_displayer_interface.d.ts.map +0 -1
  426. package/dist/commonjs/core/main/worker/worker_text_displayer_interface.js +0 -126
  427. package/dist/commonjs/core/segment_sinks/garbage_collector.d.ts +0 -44
  428. package/dist/commonjs/core/segment_sinks/garbage_collector.d.ts.map +0 -1
  429. package/dist/commonjs/core/segment_sinks/garbage_collector.js +0 -253
  430. package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts +0 -136
  431. package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts.map +0 -1
  432. package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.js +0 -362
  433. package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.d.ts +0 -18
  434. package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.d.ts.map +0 -1
  435. package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.js +0 -19
  436. package/dist/commonjs/core/segment_sinks/implementations/index.d.ts +0 -21
  437. package/dist/commonjs/core/segment_sinks/implementations/index.d.ts.map +0 -1
  438. package/dist/commonjs/core/segment_sinks/implementations/index.js +0 -35
  439. package/dist/commonjs/core/segment_sinks/implementations/text/index.d.ts +0 -5
  440. package/dist/commonjs/core/segment_sinks/implementations/text/index.d.ts.map +0 -1
  441. package/dist/commonjs/core/segment_sinks/implementations/text/index.js +0 -4
  442. package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_sink.d.ts +0 -101
  443. package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_sink.d.ts.map +0 -1
  444. package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_sink.js +0 -291
  445. package/dist/commonjs/core/segment_sinks/implementations/types.d.ts +0 -308
  446. package/dist/commonjs/core/segment_sinks/implementations/types.d.ts.map +0 -1
  447. package/dist/commonjs/core/segment_sinks/implementations/types.js +0 -117
  448. package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts +0 -30
  449. package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts.map +0 -1
  450. package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.js +0 -67
  451. package/dist/commonjs/core/segment_sinks/index.d.ts +0 -25
  452. package/dist/commonjs/core/segment_sinks/index.d.ts.map +0 -1
  453. package/dist/commonjs/core/segment_sinks/index.js +0 -28
  454. package/dist/commonjs/core/segment_sinks/inventory/buffered_history.d.ts +0 -90
  455. package/dist/commonjs/core/segment_sinks/inventory/buffered_history.d.ts.map +0 -1
  456. package/dist/commonjs/core/segment_sinks/inventory/buffered_history.js +0 -114
  457. package/dist/commonjs/core/segment_sinks/inventory/index.d.ts +0 -24
  458. package/dist/commonjs/core/segment_sinks/inventory/index.d.ts.map +0 -1
  459. package/dist/commonjs/core/segment_sinks/inventory/index.js +0 -23
  460. package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.d.ts +0 -240
  461. package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.d.ts.map +0 -1
  462. package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.js +0 -1124
  463. package/dist/commonjs/core/segment_sinks/inventory/types.d.ts +0 -33
  464. package/dist/commonjs/core/segment_sinks/inventory/types.d.ts.map +0 -1
  465. package/dist/commonjs/core/segment_sinks/inventory/types.js +0 -17
  466. package/dist/commonjs/core/segment_sinks/inventory/utils.d.ts +0 -34
  467. package/dist/commonjs/core/segment_sinks/inventory/utils.d.ts.map +0 -1
  468. package/dist/commonjs/core/segment_sinks/inventory/utils.js +0 -74
  469. package/dist/commonjs/core/segment_sinks/segment_sinks_store.d.ts +0 -198
  470. package/dist/commonjs/core/segment_sinks/segment_sinks_store.d.ts.map +0 -1
  471. package/dist/commonjs/core/segment_sinks/segment_sinks_store.js +0 -363
  472. package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts +0 -34
  473. package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts.map +0 -1
  474. package/dist/commonjs/core/stream/adaptation/adaptation_stream.js +0 -563
  475. package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.d.ts +0 -54
  476. package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.d.ts.map +0 -1
  477. package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.js +0 -147
  478. package/dist/commonjs/core/stream/adaptation/index.d.ts +0 -19
  479. package/dist/commonjs/core/stream/adaptation/index.d.ts.map +0 -1
  480. package/dist/commonjs/core/stream/adaptation/index.js +0 -19
  481. package/dist/commonjs/core/stream/adaptation/types.d.ts +0 -200
  482. package/dist/commonjs/core/stream/adaptation/types.d.ts.map +0 -1
  483. package/dist/commonjs/core/stream/adaptation/types.js +0 -2
  484. package/dist/commonjs/core/stream/index.d.ts +0 -23
  485. package/dist/commonjs/core/stream/index.d.ts.map +0 -1
  486. package/dist/commonjs/core/stream/index.js +0 -19
  487. package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.d.ts +0 -31
  488. package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.d.ts.map +0 -1
  489. package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.js +0 -119
  490. package/dist/commonjs/core/stream/orchestrator/index.d.ts +0 -20
  491. package/dist/commonjs/core/stream/orchestrator/index.d.ts.map +0 -1
  492. package/dist/commonjs/core/stream/orchestrator/index.js +0 -19
  493. package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.d.ts +0 -176
  494. package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.d.ts.map +0 -1
  495. package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.js +0 -676
  496. package/dist/commonjs/core/stream/period/index.d.ts +0 -19
  497. package/dist/commonjs/core/stream/period/index.d.ts.map +0 -1
  498. package/dist/commonjs/core/stream/period/index.js +0 -19
  499. package/dist/commonjs/core/stream/period/period_stream.d.ts +0 -50
  500. package/dist/commonjs/core/stream/period/period_stream.d.ts.map +0 -1
  501. package/dist/commonjs/core/stream/period/period_stream.js +0 -545
  502. package/dist/commonjs/core/stream/period/types.d.ts +0 -120
  503. package/dist/commonjs/core/stream/period/types.d.ts.map +0 -1
  504. package/dist/commonjs/core/stream/period/types.js +0 -2
  505. package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +0 -68
  506. package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.d.ts.map +0 -1
  507. package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.js +0 -167
  508. package/dist/commonjs/core/stream/representation/index.d.ts +0 -19
  509. package/dist/commonjs/core/stream/representation/index.d.ts.map +0 -1
  510. package/dist/commonjs/core/stream/representation/index.js +0 -19
  511. package/dist/commonjs/core/stream/representation/representation_stream.d.ts +0 -54
  512. package/dist/commonjs/core/stream/representation/representation_stream.d.ts.map +0 -1
  513. package/dist/commonjs/core/stream/representation/representation_stream.js +0 -421
  514. package/dist/commonjs/core/stream/representation/types.d.ts +0 -314
  515. package/dist/commonjs/core/stream/representation/types.d.ts.map +0 -1
  516. package/dist/commonjs/core/stream/representation/types.js +0 -2
  517. package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.d.ts +0 -36
  518. package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.d.ts.map +0 -1
  519. package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.js +0 -137
  520. package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.d.ts +0 -54
  521. package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.d.ts.map +0 -1
  522. package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.js +0 -248
  523. package/dist/commonjs/core/stream/representation/utils/get_buffer_status.d.ts +0 -73
  524. package/dist/commonjs/core/stream/representation/utils/get_buffer_status.d.ts.map +0 -1
  525. package/dist/commonjs/core/stream/representation/utils/get_buffer_status.js +0 -228
  526. package/dist/commonjs/core/stream/representation/utils/get_needed_segments.d.ts +0 -92
  527. package/dist/commonjs/core/stream/representation/utils/get_needed_segments.d.ts.map +0 -1
  528. package/dist/commonjs/core/stream/representation/utils/get_needed_segments.js +0 -480
  529. package/dist/commonjs/core/stream/representation/utils/get_segment_priority.d.ts +0 -29
  530. package/dist/commonjs/core/stream/representation/utils/get_segment_priority.d.ts.map +0 -1
  531. package/dist/commonjs/core/stream/representation/utils/get_segment_priority.js +0 -41
  532. package/dist/commonjs/core/stream/representation/utils/push_init_segment.d.ts +0 -42
  533. package/dist/commonjs/core/stream/representation/utils/push_init_segment.d.ts.map +0 -1
  534. package/dist/commonjs/core/stream/representation/utils/push_init_segment.js +0 -86
  535. package/dist/commonjs/core/stream/representation/utils/push_media_segment.d.ts +0 -43
  536. package/dist/commonjs/core/stream/representation/utils/push_media_segment.d.ts.map +0 -1
  537. package/dist/commonjs/core/stream/representation/utils/push_media_segment.js +0 -110
  538. package/dist/commonjs/core/types.d.ts +0 -9
  539. package/dist/commonjs/core/types.d.ts.map +0 -1
  540. package/dist/commonjs/core/types.js +0 -2
  541. package/dist/commonjs/default_config.d.ts +0 -1200
  542. package/dist/commonjs/default_config.d.ts.map +0 -1
  543. package/dist/commonjs/default_config.js +0 -1236
  544. package/dist/commonjs/errors/custom_loader_error.d.ts +0 -36
  545. package/dist/commonjs/errors/custom_loader_error.d.ts.map +0 -1
  546. package/dist/commonjs/errors/custom_loader_error.js +0 -60
  547. package/dist/commonjs/errors/encrypted_media_error.d.ts +0 -72
  548. package/dist/commonjs/errors/encrypted_media_error.d.ts.map +0 -1
  549. package/dist/commonjs/errors/encrypted_media_error.js +0 -76
  550. package/dist/commonjs/errors/error_codes.d.ts +0 -33
  551. package/dist/commonjs/errors/error_codes.d.ts.map +0 -1
  552. package/dist/commonjs/errors/error_codes.js +0 -72
  553. package/dist/commonjs/errors/error_message.d.ts +0 -23
  554. package/dist/commonjs/errors/error_message.d.ts.map +0 -1
  555. package/dist/commonjs/errors/error_message.js +0 -27
  556. package/dist/commonjs/errors/format_error.d.ts +0 -21
  557. package/dist/commonjs/errors/format_error.d.ts.map +0 -1
  558. package/dist/commonjs/errors/format_error.js +0 -33
  559. package/dist/commonjs/errors/index.d.ts +0 -32
  560. package/dist/commonjs/errors/index.d.ts.map +0 -1
  561. package/dist/commonjs/errors/index.js +0 -38
  562. package/dist/commonjs/errors/is_known_error.d.ts +0 -23
  563. package/dist/commonjs/errors/is_known_error.d.ts.map +0 -1
  564. package/dist/commonjs/errors/is_known_error.js +0 -35
  565. package/dist/commonjs/errors/media_error.d.ts +0 -60
  566. package/dist/commonjs/errors/media_error.d.ts.map +0 -1
  567. package/dist/commonjs/errors/media_error.js +0 -74
  568. package/dist/commonjs/errors/network_error.d.ts +0 -59
  569. package/dist/commonjs/errors/network_error.d.ts.map +0 -1
  570. package/dist/commonjs/errors/network_error.js +0 -86
  571. package/dist/commonjs/errors/other_error.d.ts +0 -47
  572. package/dist/commonjs/errors/other_error.d.ts.map +0 -1
  573. package/dist/commonjs/errors/other_error.js +0 -72
  574. package/dist/commonjs/errors/source_buffer_error.d.ts +0 -40
  575. package/dist/commonjs/errors/source_buffer_error.d.ts.map +0 -1
  576. package/dist/commonjs/errors/source_buffer_error.js +0 -63
  577. package/dist/commonjs/errors/worker_initialization_error.d.ts +0 -19
  578. package/dist/commonjs/errors/worker_initialization_error.d.ts.map +0 -1
  579. package/dist/commonjs/errors/worker_initialization_error.js +0 -42
  580. package/dist/commonjs/experimental/features/index.d.ts +0 -19
  581. package/dist/commonjs/experimental/features/index.d.ts.map +0 -1
  582. package/dist/commonjs/experimental/features/index.js +0 -24
  583. package/dist/commonjs/experimental/features/local.d.ts +0 -20
  584. package/dist/commonjs/experimental/features/local.d.ts.map +0 -1
  585. package/dist/commonjs/experimental/features/local.js +0 -25
  586. package/dist/commonjs/experimental/features/metaplaylist.d.ts +0 -20
  587. package/dist/commonjs/experimental/features/metaplaylist.d.ts.map +0 -1
  588. package/dist/commonjs/experimental/features/metaplaylist.js +0 -25
  589. package/dist/commonjs/experimental/features/multi_thread.d.ts +0 -9
  590. package/dist/commonjs/experimental/features/multi_thread.d.ts.map +0 -1
  591. package/dist/commonjs/experimental/features/multi_thread.js +0 -12
  592. package/dist/commonjs/experimental/index.d.ts +0 -3
  593. package/dist/commonjs/experimental/index.d.ts.map +0 -1
  594. package/dist/commonjs/experimental/index.js +0 -5
  595. package/dist/commonjs/experimental/tools/DummyMediaElement/eme.d.ts +0 -225
  596. package/dist/commonjs/experimental/tools/DummyMediaElement/eme.d.ts.map +0 -1
  597. package/dist/commonjs/experimental/tools/DummyMediaElement/eme.js +0 -879
  598. package/dist/commonjs/experimental/tools/DummyMediaElement/html5.d.ts +0 -376
  599. package/dist/commonjs/experimental/tools/DummyMediaElement/html5.d.ts.map +0 -1
  600. package/dist/commonjs/experimental/tools/DummyMediaElement/html5.js +0 -970
  601. package/dist/commonjs/experimental/tools/DummyMediaElement/index.d.ts +0 -3
  602. package/dist/commonjs/experimental/tools/DummyMediaElement/index.d.ts.map +0 -1
  603. package/dist/commonjs/experimental/tools/DummyMediaElement/index.js +0 -4
  604. package/dist/commonjs/experimental/tools/DummyMediaElement/mse.d.ts +0 -217
  605. package/dist/commonjs/experimental/tools/DummyMediaElement/mse.d.ts.map +0 -1
  606. package/dist/commonjs/experimental/tools/DummyMediaElement/mse.js +0 -702
  607. package/dist/commonjs/experimental/tools/DummyMediaElement/utils.d.ts +0 -33
  608. package/dist/commonjs/experimental/tools/DummyMediaElement/utils.d.ts.map +0 -1
  609. package/dist/commonjs/experimental/tools/DummyMediaElement/utils.js +0 -510
  610. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +0 -18
  611. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.d.ts.map +0 -1
  612. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.js +0 -23
  613. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +0 -18
  614. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts.map +0 -1
  615. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.js +0 -23
  616. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.d.ts +0 -19
  617. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.d.ts.map +0 -1
  618. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.js +0 -22
  619. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +0 -27
  620. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts.map +0 -1
  621. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.js +0 -63
  622. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +0 -27
  623. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts.map +0 -1
  624. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.js +0 -74
  625. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +0 -30
  626. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts.map +0 -1
  627. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.js +0 -43
  628. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.d.ts +0 -26
  629. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.d.ts.map +0 -1
  630. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.js +0 -17
  631. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +0 -55
  632. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts.map +0 -1
  633. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +0 -385
  634. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts +0 -25
  635. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts.map +0 -1
  636. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.js +0 -50
  637. package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts +0 -24
  638. package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts.map +0 -1
  639. package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.js +0 -163
  640. package/dist/commonjs/experimental/tools/createMetaplaylist/index.d.ts +0 -31
  641. package/dist/commonjs/experimental/tools/createMetaplaylist/index.d.ts.map +0 -1
  642. package/dist/commonjs/experimental/tools/createMetaplaylist/index.js +0 -53
  643. package/dist/commonjs/experimental/tools/index.d.ts +0 -20
  644. package/dist/commonjs/experimental/tools/index.d.ts.map +0 -1
  645. package/dist/commonjs/experimental/tools/index.js +0 -24
  646. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api.d.ts +0 -73
  647. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api.d.ts.map +0 -1
  648. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api.js +0 -286
  649. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.d.ts +0 -19
  650. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.d.ts.map +0 -1
  651. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.js +0 -19
  652. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.d.ts +0 -19
  653. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.d.ts.map +0 -1
  654. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.js +0 -20
  655. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +0 -21
  656. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts.map +0 -1
  657. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.js +0 -112
  658. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +0 -22
  659. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts.map +0 -1
  660. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.js +0 -117
  661. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts +0 -30
  662. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts.map +0 -1
  663. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +0 -97
  664. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts +0 -24
  665. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts.map +0 -1
  666. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.js +0 -184
  667. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +0 -22
  668. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts.map +0 -1
  669. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.js +0 -52
  670. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +0 -22
  671. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts.map +0 -1
  672. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.js +0 -39
  673. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.d.ts +0 -56
  674. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.d.ts.map +0 -1
  675. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.js +0 -17
  676. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.d.ts +0 -35
  677. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.d.ts.map +0 -1
  678. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.js +0 -104
  679. package/dist/commonjs/features/add_features.d.ts +0 -21
  680. package/dist/commonjs/features/add_features.d.ts.map +0 -1
  681. package/dist/commonjs/features/add_features.js +0 -59
  682. package/dist/commonjs/features/features_object.d.ts +0 -23
  683. package/dist/commonjs/features/features_object.d.ts.map +0 -1
  684. package/dist/commonjs/features/features_object.js +0 -35
  685. package/dist/commonjs/features/index.d.ts +0 -36
  686. package/dist/commonjs/features/index.d.ts.map +0 -1
  687. package/dist/commonjs/features/index.js +0 -36
  688. package/dist/commonjs/features/list/dash.d.ts +0 -24
  689. package/dist/commonjs/features/list/dash.d.ts.map +0 -1
  690. package/dist/commonjs/features/list/dash.js +0 -33
  691. package/dist/commonjs/features/list/dash_wasm.d.ts +0 -24
  692. package/dist/commonjs/features/list/dash_wasm.d.ts.map +0 -1
  693. package/dist/commonjs/features/list/dash_wasm.js +0 -36
  694. package/dist/commonjs/features/list/debug_element.d.ts +0 -9
  695. package/dist/commonjs/features/list/debug_element.d.ts.map +0 -1
  696. package/dist/commonjs/features/list/debug_element.js +0 -12
  697. package/dist/commonjs/features/list/directfile.d.ts +0 -25
  698. package/dist/commonjs/features/list/directfile.d.ts.map +0 -1
  699. package/dist/commonjs/features/list/directfile.js +0 -29
  700. package/dist/commonjs/features/list/eme.d.ts +0 -24
  701. package/dist/commonjs/features/list/eme.d.ts.map +0 -1
  702. package/dist/commonjs/features/list/eme.js +0 -27
  703. package/dist/commonjs/features/list/html_sami_parser.d.ts +0 -24
  704. package/dist/commonjs/features/list/html_sami_parser.d.ts.map +0 -1
  705. package/dist/commonjs/features/list/html_sami_parser.js +0 -29
  706. package/dist/commonjs/features/list/html_srt_parser.d.ts +0 -24
  707. package/dist/commonjs/features/list/html_srt_parser.d.ts.map +0 -1
  708. package/dist/commonjs/features/list/html_srt_parser.js +0 -29
  709. package/dist/commonjs/features/list/html_text_buffer.d.ts +0 -24
  710. package/dist/commonjs/features/list/html_text_buffer.d.ts.map +0 -1
  711. package/dist/commonjs/features/list/html_text_buffer.js +0 -27
  712. package/dist/commonjs/features/list/html_ttml_parser.d.ts +0 -24
  713. package/dist/commonjs/features/list/html_ttml_parser.d.ts.map +0 -1
  714. package/dist/commonjs/features/list/html_ttml_parser.js +0 -29
  715. package/dist/commonjs/features/list/html_vtt_parser.d.ts +0 -24
  716. package/dist/commonjs/features/list/html_vtt_parser.d.ts.map +0 -1
  717. package/dist/commonjs/features/list/html_vtt_parser.js +0 -30
  718. package/dist/commonjs/features/list/index.d.ts +0 -33
  719. package/dist/commonjs/features/list/index.d.ts.map +0 -1
  720. package/dist/commonjs/features/list/index.js +0 -52
  721. package/dist/commonjs/features/list/media_source_main.d.ts +0 -9
  722. package/dist/commonjs/features/list/media_source_main.d.ts.map +0 -1
  723. package/dist/commonjs/features/list/media_source_main.js +0 -12
  724. package/dist/commonjs/features/list/native_sami_parser.d.ts +0 -24
  725. package/dist/commonjs/features/list/native_sami_parser.d.ts.map +0 -1
  726. package/dist/commonjs/features/list/native_sami_parser.js +0 -29
  727. package/dist/commonjs/features/list/native_srt_parser.d.ts +0 -24
  728. package/dist/commonjs/features/list/native_srt_parser.d.ts.map +0 -1
  729. package/dist/commonjs/features/list/native_srt_parser.js +0 -29
  730. package/dist/commonjs/features/list/native_text_buffer.d.ts +0 -24
  731. package/dist/commonjs/features/list/native_text_buffer.d.ts.map +0 -1
  732. package/dist/commonjs/features/list/native_text_buffer.js +0 -27
  733. package/dist/commonjs/features/list/native_ttml_parser.d.ts +0 -24
  734. package/dist/commonjs/features/list/native_ttml_parser.d.ts.map +0 -1
  735. package/dist/commonjs/features/list/native_ttml_parser.js +0 -29
  736. package/dist/commonjs/features/list/native_vtt_parser.d.ts +0 -24
  737. package/dist/commonjs/features/list/native_vtt_parser.d.ts.map +0 -1
  738. package/dist/commonjs/features/list/native_vtt_parser.js +0 -30
  739. package/dist/commonjs/features/list/smooth.d.ts +0 -24
  740. package/dist/commonjs/features/list/smooth.d.ts.map +0 -1
  741. package/dist/commonjs/features/list/smooth.js +0 -31
  742. package/dist/commonjs/features/types.d.ts +0 -146
  743. package/dist/commonjs/features/types.d.ts.map +0 -1
  744. package/dist/commonjs/features/types.js +0 -17
  745. package/dist/commonjs/index.d.ts +0 -18
  746. package/dist/commonjs/index.d.ts.map +0 -1
  747. package/dist/commonjs/index.js +0 -44
  748. package/dist/commonjs/log.d.ts +0 -19
  749. package/dist/commonjs/log.d.ts.map +0 -1
  750. package/dist/commonjs/log.js +0 -21
  751. package/dist/commonjs/main_thread/api/debug/buffer_graph.d.ts +0 -29
  752. package/dist/commonjs/main_thread/api/debug/buffer_graph.d.ts.map +0 -1
  753. package/dist/commonjs/main_thread/api/debug/buffer_graph.js +0 -213
  754. package/dist/commonjs/main_thread/api/debug/buffer_size_graph.d.ts +0 -11
  755. package/dist/commonjs/main_thread/api/debug/buffer_size_graph.d.ts.map +0 -1
  756. package/dist/commonjs/main_thread/api/debug/buffer_size_graph.js +0 -131
  757. package/dist/commonjs/main_thread/api/debug/constants.d.ts +0 -3
  758. package/dist/commonjs/main_thread/api/debug/constants.d.ts.map +0 -1
  759. package/dist/commonjs/main_thread/api/debug/constants.js +0 -5
  760. package/dist/commonjs/main_thread/api/debug/index.d.ts +0 -3
  761. package/dist/commonjs/main_thread/api/debug/index.d.ts.map +0 -1
  762. package/dist/commonjs/main_thread/api/debug/index.js +0 -4
  763. package/dist/commonjs/main_thread/api/debug/modules/general_info.d.ts +0 -4
  764. package/dist/commonjs/main_thread/api/debug/modules/general_info.d.ts.map +0 -1
  765. package/dist/commonjs/main_thread/api/debug/modules/general_info.js +0 -236
  766. package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.d.ts +0 -5
  767. package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.d.ts.map +0 -1
  768. package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.js +0 -194
  769. package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.d.ts +0 -4
  770. package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.d.ts.map +0 -1
  771. package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.js +0 -38
  772. package/dist/commonjs/main_thread/api/debug/render.d.ts +0 -4
  773. package/dist/commonjs/main_thread/api/debug/render.d.ts.map +0 -1
  774. package/dist/commonjs/main_thread/api/debug/render.js +0 -35
  775. package/dist/commonjs/main_thread/api/debug/utils.d.ts +0 -40
  776. package/dist/commonjs/main_thread/api/debug/utils.d.ts.map +0 -1
  777. package/dist/commonjs/main_thread/api/debug/utils.js +0 -85
  778. package/dist/commonjs/main_thread/api/index.d.ts +0 -18
  779. package/dist/commonjs/main_thread/api/index.d.ts.map +0 -1
  780. package/dist/commonjs/main_thread/api/index.js +0 -19
  781. package/dist/commonjs/main_thread/api/option_utils.d.ts +0 -162
  782. package/dist/commonjs/main_thread/api/option_utils.d.ts.map +0 -1
  783. package/dist/commonjs/main_thread/api/option_utils.js +0 -360
  784. package/dist/commonjs/main_thread/api/public_api.d.ts +0 -995
  785. package/dist/commonjs/main_thread/api/public_api.d.ts.map +0 -1
  786. package/dist/commonjs/main_thread/api/public_api.js +0 -2908
  787. package/dist/commonjs/main_thread/api/utils.d.ts +0 -67
  788. package/dist/commonjs/main_thread/api/utils.d.ts.map +0 -1
  789. package/dist/commonjs/main_thread/api/utils.js +0 -186
  790. package/dist/commonjs/main_thread/decrypt/clear_on_stop.d.ts +0 -24
  791. package/dist/commonjs/main_thread/decrypt/clear_on_stop.d.ts.map +0 -1
  792. package/dist/commonjs/main_thread/decrypt/clear_on_stop.js +0 -91
  793. package/dist/commonjs/main_thread/decrypt/content_decryptor.d.ts +0 -237
  794. package/dist/commonjs/main_thread/decrypt/content_decryptor.d.ts.map +0 -1
  795. package/dist/commonjs/main_thread/decrypt/content_decryptor.js +0 -1169
  796. package/dist/commonjs/main_thread/decrypt/create_or_load_session.d.ts +0 -65
  797. package/dist/commonjs/main_thread/decrypt/create_or_load_session.d.ts.map +0 -1
  798. package/dist/commonjs/main_thread/decrypt/create_or_load_session.js +0 -140
  799. package/dist/commonjs/main_thread/decrypt/create_session.d.ts +0 -55
  800. package/dist/commonjs/main_thread/decrypt/create_session.d.ts.map +0 -1
  801. package/dist/commonjs/main_thread/decrypt/create_session.js +0 -217
  802. package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.d.ts +0 -23
  803. package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.d.ts.map +0 -1
  804. package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.js +0 -67
  805. package/dist/commonjs/main_thread/decrypt/find_key_system.d.ts +0 -86
  806. package/dist/commonjs/main_thread/decrypt/find_key_system.d.ts.map +0 -1
  807. package/dist/commonjs/main_thread/decrypt/find_key_system.js +0 -594
  808. package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.d.ts +0 -24
  809. package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.d.ts.map +0 -1
  810. package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.js +0 -35
  811. package/dist/commonjs/main_thread/decrypt/get_media_keys.d.ts +0 -55
  812. package/dist/commonjs/main_thread/decrypt/get_media_keys.d.ts.map +0 -1
  813. package/dist/commonjs/main_thread/decrypt/get_media_keys.js +0 -178
  814. package/dist/commonjs/main_thread/decrypt/index.d.ts +0 -27
  815. package/dist/commonjs/main_thread/decrypt/index.d.ts.map +0 -1
  816. package/dist/commonjs/main_thread/decrypt/index.js +0 -45
  817. package/dist/commonjs/main_thread/decrypt/init_media_keys.d.ts +0 -30
  818. package/dist/commonjs/main_thread/decrypt/init_media_keys.d.ts.map +0 -1
  819. package/dist/commonjs/main_thread/decrypt/init_media_keys.js +0 -88
  820. package/dist/commonjs/main_thread/decrypt/session_events_listener.d.ts +0 -77
  821. package/dist/commonjs/main_thread/decrypt/session_events_listener.d.ts.map +0 -1
  822. package/dist/commonjs/main_thread/decrypt/session_events_listener.js +0 -364
  823. package/dist/commonjs/main_thread/decrypt/set_server_certificate.d.ts +0 -58
  824. package/dist/commonjs/main_thread/decrypt/set_server_certificate.d.ts.map +0 -1
  825. package/dist/commonjs/main_thread/decrypt/set_server_certificate.js +0 -158
  826. package/dist/commonjs/main_thread/decrypt/types.d.ts +0 -380
  827. package/dist/commonjs/main_thread/decrypt/types.d.ts.map +0 -1
  828. package/dist/commonjs/main_thread/decrypt/types.js +0 -58
  829. package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.d.ts +0 -35
  830. package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.d.ts.map +0 -1
  831. package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.js +0 -144
  832. package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.d.ts +0 -54
  833. package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.d.ts.map +0 -1
  834. package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.js +0 -228
  835. package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts +0 -27
  836. package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts.map +0 -1
  837. package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.js +0 -92
  838. package/dist/commonjs/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts +0 -33
  839. package/dist/commonjs/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts.map +0 -1
  840. package/dist/commonjs/main_thread/decrypt/utils/clean_old_stored_persistent_info.js +0 -46
  841. package/dist/commonjs/main_thread/decrypt/utils/get_drm_system_id.d.ts +0 -21
  842. package/dist/commonjs/main_thread/decrypt/utils/get_drm_system_id.d.ts.map +0 -1
  843. package/dist/commonjs/main_thread/decrypt/utils/get_drm_system_id.js +0 -40
  844. package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.d.ts +0 -70
  845. package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.d.ts.map +0 -1
  846. package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.js +0 -137
  847. package/dist/commonjs/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts +0 -14
  848. package/dist/commonjs/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts.map +0 -1
  849. package/dist/commonjs/main_thread/decrypt/utils/is_compatible_codec_supported.js +0 -53
  850. package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.d.ts +0 -25
  851. package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.d.ts.map +0 -1
  852. package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.js +0 -57
  853. package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.d.ts +0 -32
  854. package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.d.ts.map +0 -1
  855. package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.js +0 -95
  856. package/dist/commonjs/main_thread/decrypt/utils/key_session_record.d.ts +0 -105
  857. package/dist/commonjs/main_thread/decrypt/utils/key_session_record.d.ts.map +0 -1
  858. package/dist/commonjs/main_thread/decrypt/utils/key_session_record.js +0 -189
  859. package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.d.ts +0 -214
  860. package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.d.ts.map +0 -1
  861. package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.js +0 -535
  862. package/dist/commonjs/main_thread/decrypt/utils/media_keys_attacher.d.ts +0 -85
  863. package/dist/commonjs/main_thread/decrypt/utils/media_keys_attacher.d.ts.map +0 -1
  864. package/dist/commonjs/main_thread/decrypt/utils/media_keys_attacher.js +0 -286
  865. package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.d.ts +0 -93
  866. package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.d.ts.map +0 -1
  867. package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.js +0 -404
  868. package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.d.ts +0 -45
  869. package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.d.ts.map +0 -1
  870. package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.js +0 -50
  871. package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.d.ts +0 -65
  872. package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.d.ts.map +0 -1
  873. package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.js +0 -123
  874. package/dist/commonjs/main_thread/init/directfile_content_initializer.d.ts +0 -113
  875. package/dist/commonjs/main_thread/init/directfile_content_initializer.d.ts.map +0 -1
  876. package/dist/commonjs/main_thread/init/directfile_content_initializer.js +0 -298
  877. package/dist/commonjs/main_thread/init/index.d.ts +0 -18
  878. package/dist/commonjs/main_thread/init/index.d.ts.map +0 -1
  879. package/dist/commonjs/main_thread/init/index.js +0 -20
  880. package/dist/commonjs/main_thread/init/media_source_content_initializer.d.ts +0 -260
  881. package/dist/commonjs/main_thread/init/media_source_content_initializer.d.ts.map +0 -1
  882. package/dist/commonjs/main_thread/init/media_source_content_initializer.js +0 -1142
  883. package/dist/commonjs/main_thread/init/multi_thread_content_initializer.d.ts +0 -308
  884. package/dist/commonjs/main_thread/init/multi_thread_content_initializer.d.ts.map +0 -1
  885. package/dist/commonjs/main_thread/init/multi_thread_content_initializer.js +0 -1713
  886. package/dist/commonjs/main_thread/init/send_message.d.ts +0 -3
  887. package/dist/commonjs/main_thread/init/send_message.d.ts.map +0 -1
  888. package/dist/commonjs/main_thread/init/send_message.js +0 -13
  889. package/dist/commonjs/main_thread/init/types.d.ts +0 -237
  890. package/dist/commonjs/main_thread/init/types.d.ts.map +0 -1
  891. package/dist/commonjs/main_thread/init/types.js +0 -53
  892. package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.d.ts +0 -96
  893. package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.d.ts.map +0 -1
  894. package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.js +0 -112
  895. package/dist/commonjs/main_thread/init/utils/create_media_source.d.ts +0 -54
  896. package/dist/commonjs/main_thread/init/utils/create_media_source.d.ts.map +0 -1
  897. package/dist/commonjs/main_thread/init/utils/create_media_source.js +0 -143
  898. package/dist/commonjs/main_thread/init/utils/get_initial_time.d.ts +0 -77
  899. package/dist/commonjs/main_thread/init/utils/get_initial_time.d.ts.map +0 -1
  900. package/dist/commonjs/main_thread/init/utils/get_initial_time.js +0 -152
  901. package/dist/commonjs/main_thread/init/utils/get_loaded_reference.d.ts +0 -28
  902. package/dist/commonjs/main_thread/init/utils/get_loaded_reference.d.ts.map +0 -1
  903. package/dist/commonjs/main_thread/init/utils/get_loaded_reference.js +0 -66
  904. package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts +0 -63
  905. package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts.map +0 -1
  906. package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.js +0 -228
  907. package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.d.ts +0 -99
  908. package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.d.ts.map +0 -1
  909. package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.js +0 -121
  910. package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.d.ts +0 -36
  911. package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.d.ts.map +0 -1
  912. package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.js +0 -54
  913. package/dist/commonjs/main_thread/init/utils/rebuffering_controller.d.ts +0 -115
  914. package/dist/commonjs/main_thread/init/utils/rebuffering_controller.d.ts.map +0 -1
  915. package/dist/commonjs/main_thread/init/utils/rebuffering_controller.js +0 -490
  916. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts +0 -40
  917. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts.map +0 -1
  918. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/are_same_stream_events.js +0 -35
  919. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/index.d.ts +0 -19
  920. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/index.d.ts.map +0 -1
  921. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/index.js +0 -19
  922. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +0 -26
  923. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts.map +0 -1
  924. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +0 -129
  925. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts +0 -52
  926. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts.map +0 -1
  927. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.js +0 -228
  928. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.d.ts +0 -42
  929. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.d.ts.map +0 -1
  930. package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.js +0 -17
  931. package/dist/commonjs/main_thread/init/utils/throw_on_media_error.d.ts +0 -25
  932. package/dist/commonjs/main_thread/init/utils/throw_on_media_error.d.ts.map +0 -1
  933. package/dist/commonjs/main_thread/init/utils/throw_on_media_error.js +0 -66
  934. package/dist/commonjs/main_thread/init/utils/update_manifest_codec_support.d.ts +0 -35
  935. package/dist/commonjs/main_thread/init/utils/update_manifest_codec_support.d.ts.map +0 -1
  936. package/dist/commonjs/main_thread/init/utils/update_manifest_codec_support.js +0 -222
  937. package/dist/commonjs/main_thread/render_thumbnail.d.ts +0 -27
  938. package/dist/commonjs/main_thread/render_thumbnail.d.ts.map +0 -1
  939. package/dist/commonjs/main_thread/render_thumbnail.js +0 -266
  940. package/dist/commonjs/main_thread/text_displayer/html/html_parsers.d.ts +0 -20
  941. package/dist/commonjs/main_thread/text_displayer/html/html_parsers.d.ts.map +0 -1
  942. package/dist/commonjs/main_thread/text_displayer/html/html_parsers.js +0 -25
  943. package/dist/commonjs/main_thread/text_displayer/html/html_text_displayer.d.ts +0 -103
  944. package/dist/commonjs/main_thread/text_displayer/html/html_text_displayer.d.ts.map +0 -1
  945. package/dist/commonjs/main_thread/text_displayer/html/html_text_displayer.js +0 -368
  946. package/dist/commonjs/main_thread/text_displayer/html/index.d.ts +0 -3
  947. package/dist/commonjs/main_thread/text_displayer/html/index.d.ts.map +0 -1
  948. package/dist/commonjs/main_thread/text_displayer/html/index.js +0 -4
  949. package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.d.ts +0 -66
  950. package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.d.ts.map +0 -1
  951. package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.js +0 -408
  952. package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.d.ts +0 -16
  953. package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.d.ts.map +0 -1
  954. package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.js +0 -64
  955. package/dist/commonjs/main_thread/text_displayer/html/utils.d.ts +0 -55
  956. package/dist/commonjs/main_thread/text_displayer/html/utils.d.ts.map +0 -1
  957. package/dist/commonjs/main_thread/text_displayer/html/utils.js +0 -141
  958. package/dist/commonjs/main_thread/text_displayer/index.d.ts +0 -3
  959. package/dist/commonjs/main_thread/text_displayer/index.d.ts.map +0 -1
  960. package/dist/commonjs/main_thread/text_displayer/index.js +0 -2
  961. package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.d.ts +0 -15
  962. package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.d.ts.map +0 -1
  963. package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.js +0 -48
  964. package/dist/commonjs/main_thread/text_displayer/native/index.d.ts +0 -3
  965. package/dist/commonjs/main_thread/text_displayer/native/index.d.ts.map +0 -1
  966. package/dist/commonjs/main_thread/text_displayer/native/index.js +0 -4
  967. package/dist/commonjs/main_thread/text_displayer/native/native_parsers.d.ts +0 -16
  968. package/dist/commonjs/main_thread/text_displayer/native/native_parsers.d.ts.map +0 -1
  969. package/dist/commonjs/main_thread/text_displayer/native/native_parsers.js +0 -25
  970. package/dist/commonjs/main_thread/text_displayer/native/native_text_displayer.d.ts +0 -59
  971. package/dist/commonjs/main_thread/text_displayer/native/native_text_displayer.d.ts.map +0 -1
  972. package/dist/commonjs/main_thread/text_displayer/native/native_text_displayer.js +0 -226
  973. package/dist/commonjs/main_thread/text_displayer/types.d.ts +0 -72
  974. package/dist/commonjs/main_thread/text_displayer/types.d.ts.map +0 -1
  975. package/dist/commonjs/main_thread/text_displayer/types.js +0 -2
  976. package/dist/commonjs/main_thread/tracks_store/index.d.ts +0 -21
  977. package/dist/commonjs/main_thread/tracks_store/index.d.ts.map +0 -1
  978. package/dist/commonjs/main_thread/tracks_store/index.js +0 -34
  979. package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.d.ts +0 -208
  980. package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.d.ts.map +0 -1
  981. package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.js +0 -709
  982. package/dist/commonjs/main_thread/tracks_store/track_dispatcher.d.ts +0 -105
  983. package/dist/commonjs/main_thread/tracks_store/track_dispatcher.d.ts.map +0 -1
  984. package/dist/commonjs/main_thread/tracks_store/track_dispatcher.js +0 -176
  985. package/dist/commonjs/main_thread/tracks_store/tracks_store.d.ts +0 -538
  986. package/dist/commonjs/main_thread/tracks_store/tracks_store.d.ts.map +0 -1
  987. package/dist/commonjs/main_thread/tracks_store/tracks_store.js +0 -1497
  988. package/dist/commonjs/main_thread/types.d.ts +0 -6
  989. package/dist/commonjs/main_thread/types.d.ts.map +0 -1
  990. package/dist/commonjs/main_thread/types.js +0 -2
  991. package/dist/commonjs/manifest/classes/adaptation.d.ts +0 -135
  992. package/dist/commonjs/manifest/classes/adaptation.d.ts.map +0 -1
  993. package/dist/commonjs/manifest/classes/adaptation.js +0 -260
  994. package/dist/commonjs/manifest/classes/codec_support_cache.d.ts +0 -45
  995. package/dist/commonjs/manifest/classes/codec_support_cache.d.ts.map +0 -1
  996. package/dist/commonjs/manifest/classes/codec_support_cache.js +0 -84
  997. package/dist/commonjs/manifest/classes/index.d.ts +0 -32
  998. package/dist/commonjs/manifest/classes/index.d.ts.map +0 -1
  999. package/dist/commonjs/manifest/classes/index.js +0 -46
  1000. package/dist/commonjs/manifest/classes/manifest.d.ts +0 -425
  1001. package/dist/commonjs/manifest/classes/manifest.d.ts.map +0 -1
  1002. package/dist/commonjs/manifest/classes/manifest.js +0 -561
  1003. package/dist/commonjs/manifest/classes/period.d.ts +0 -157
  1004. package/dist/commonjs/manifest/classes/period.d.ts.map +0 -1
  1005. package/dist/commonjs/manifest/classes/period.js +0 -283
  1006. package/dist/commonjs/manifest/classes/representation.d.ts +0 -271
  1007. package/dist/commonjs/manifest/classes/representation.d.ts.map +0 -1
  1008. package/dist/commonjs/manifest/classes/representation.js +0 -402
  1009. package/dist/commonjs/manifest/classes/representation_index/index.d.ts +0 -20
  1010. package/dist/commonjs/manifest/classes/representation_index/index.d.ts.map +0 -1
  1011. package/dist/commonjs/manifest/classes/representation_index/index.js +0 -20
  1012. package/dist/commonjs/manifest/classes/representation_index/static.d.ts +0 -117
  1013. package/dist/commonjs/manifest/classes/representation_index/static.d.ts.map +0 -1
  1014. package/dist/commonjs/manifest/classes/representation_index/static.js +0 -164
  1015. package/dist/commonjs/manifest/classes/representation_index/types.d.ts +0 -441
  1016. package/dist/commonjs/manifest/classes/representation_index/types.d.ts.map +0 -1
  1017. package/dist/commonjs/manifest/classes/representation_index/types.js +0 -17
  1018. package/dist/commonjs/manifest/classes/types.d.ts +0 -30
  1019. package/dist/commonjs/manifest/classes/types.d.ts.map +0 -1
  1020. package/dist/commonjs/manifest/classes/types.js +0 -33
  1021. package/dist/commonjs/manifest/classes/update_period_in_place.d.ts +0 -63
  1022. package/dist/commonjs/manifest/classes/update_period_in_place.d.ts.map +0 -1
  1023. package/dist/commonjs/manifest/classes/update_period_in_place.js +0 -237
  1024. package/dist/commonjs/manifest/classes/update_periods.d.ts +0 -51
  1025. package/dist/commonjs/manifest/classes/update_periods.d.ts.map +0 -1
  1026. package/dist/commonjs/manifest/classes/update_periods.js +0 -228
  1027. package/dist/commonjs/manifest/classes/utils.d.ts +0 -47
  1028. package/dist/commonjs/manifest/classes/utils.d.ts.map +0 -1
  1029. package/dist/commonjs/manifest/classes/utils.js +0 -49
  1030. package/dist/commonjs/manifest/index.d.ts +0 -17
  1031. package/dist/commonjs/manifest/index.d.ts.map +0 -1
  1032. package/dist/commonjs/manifest/index.js +0 -21
  1033. package/dist/commonjs/manifest/types.d.ts +0 -466
  1034. package/dist/commonjs/manifest/types.d.ts.map +0 -1
  1035. package/dist/commonjs/manifest/types.js +0 -2
  1036. package/dist/commonjs/manifest/utils.d.ts +0 -184
  1037. package/dist/commonjs/manifest/utils.d.ts.map +0 -1
  1038. package/dist/commonjs/manifest/utils.js +0 -822
  1039. package/dist/commonjs/minimal.d.ts +0 -21
  1040. package/dist/commonjs/minimal.d.ts.map +0 -1
  1041. package/dist/commonjs/minimal.js +0 -30
  1042. package/dist/commonjs/mse/index.d.ts +0 -3
  1043. package/dist/commonjs/mse/index.d.ts.map +0 -1
  1044. package/dist/commonjs/mse/index.js +0 -2
  1045. package/dist/commonjs/mse/main_media_source_interface.d.ts +0 -128
  1046. package/dist/commonjs/mse/main_media_source_interface.d.ts.map +0 -1
  1047. package/dist/commonjs/mse/main_media_source_interface.js +0 -594
  1048. package/dist/commonjs/mse/types.d.ts +0 -289
  1049. package/dist/commonjs/mse/types.d.ts.map +0 -1
  1050. package/dist/commonjs/mse/types.js +0 -2
  1051. package/dist/commonjs/mse/utils/end_of_stream.d.ts +0 -35
  1052. package/dist/commonjs/mse/utils/end_of_stream.d.ts.map +0 -1
  1053. package/dist/commonjs/mse/utils/end_of_stream.js +0 -118
  1054. package/dist/commonjs/mse/utils/media_source_duration_updater.d.ts +0 -60
  1055. package/dist/commonjs/mse/utils/media_source_duration_updater.d.ts.map +0 -1
  1056. package/dist/commonjs/mse/utils/media_source_duration_updater.js +0 -274
  1057. package/dist/commonjs/mse/worker_media_source_interface.d.ts +0 -106
  1058. package/dist/commonjs/mse/worker_media_source_interface.d.ts.map +0 -1
  1059. package/dist/commonjs/mse/worker_media_source_interface.js +0 -370
  1060. package/dist/commonjs/multithread_types.d.ts +0 -915
  1061. package/dist/commonjs/multithread_types.d.ts.map +0 -1
  1062. package/dist/commonjs/multithread_types.js +0 -7
  1063. package/dist/commonjs/parsers/containers/isobmff/constants.d.ts +0 -24
  1064. package/dist/commonjs/parsers/containers/isobmff/constants.d.ts.map +0 -1
  1065. package/dist/commonjs/parsers/containers/isobmff/constants.js +0 -26
  1066. package/dist/commonjs/parsers/containers/isobmff/create_box.d.ts +0 -31
  1067. package/dist/commonjs/parsers/containers/isobmff/create_box.d.ts.map +0 -1
  1068. package/dist/commonjs/parsers/containers/isobmff/create_box.js +0 -93
  1069. package/dist/commonjs/parsers/containers/isobmff/drm/index.d.ts +0 -17
  1070. package/dist/commonjs/parsers/containers/isobmff/drm/index.d.ts.map +0 -1
  1071. package/dist/commonjs/parsers/containers/isobmff/drm/index.js +0 -20
  1072. package/dist/commonjs/parsers/containers/isobmff/drm/playready.d.ts +0 -22
  1073. package/dist/commonjs/parsers/containers/isobmff/drm/playready.d.ts.map +0 -1
  1074. package/dist/commonjs/parsers/containers/isobmff/drm/playready.js +0 -38
  1075. package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.d.ts +0 -30
  1076. package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.d.ts.map +0 -1
  1077. package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.js +0 -89
  1078. package/dist/commonjs/parsers/containers/isobmff/find_complete_box.d.ts +0 -26
  1079. package/dist/commonjs/parsers/containers/isobmff/find_complete_box.d.ts.map +0 -1
  1080. package/dist/commonjs/parsers/containers/isobmff/find_complete_box.js +0 -57
  1081. package/dist/commonjs/parsers/containers/isobmff/get_box.d.ts +0 -107
  1082. package/dist/commonjs/parsers/containers/isobmff/get_box.d.ts.map +0 -1
  1083. package/dist/commonjs/parsers/containers/isobmff/get_box.js +0 -254
  1084. package/dist/commonjs/parsers/containers/isobmff/index.d.ts +0 -26
  1085. package/dist/commonjs/parsers/containers/isobmff/index.d.ts.map +0 -1
  1086. package/dist/commonjs/parsers/containers/isobmff/index.js +0 -47
  1087. package/dist/commonjs/parsers/containers/isobmff/read.d.ts +0 -58
  1088. package/dist/commonjs/parsers/containers/isobmff/read.d.ts.map +0 -1
  1089. package/dist/commonjs/parsers/containers/isobmff/read.js +0 -94
  1090. package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.d.ts +0 -42
  1091. package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.d.ts.map +0 -1
  1092. package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.js +0 -86
  1093. package/dist/commonjs/parsers/containers/isobmff/utils.d.ts +0 -143
  1094. package/dist/commonjs/parsers/containers/isobmff/utils.d.ts.map +0 -1
  1095. package/dist/commonjs/parsers/containers/isobmff/utils.js +0 -608
  1096. package/dist/commonjs/parsers/containers/matroska/index.d.ts +0 -18
  1097. package/dist/commonjs/parsers/containers/matroska/index.d.ts.map +0 -1
  1098. package/dist/commonjs/parsers/containers/matroska/index.js +0 -21
  1099. package/dist/commonjs/parsers/containers/matroska/utils.d.ts +0 -35
  1100. package/dist/commonjs/parsers/containers/matroska/utils.d.ts.map +0 -1
  1101. package/dist/commonjs/parsers/containers/matroska/utils.js +0 -277
  1102. package/dist/commonjs/parsers/images/bif.d.ts +0 -40
  1103. package/dist/commonjs/parsers/images/bif.d.ts.map +0 -1
  1104. package/dist/commonjs/parsers/images/bif.js +0 -103
  1105. package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.d.ts +0 -29
  1106. package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.d.ts.map +0 -1
  1107. package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.js +0 -98
  1108. package/dist/commonjs/parsers/manifest/dash/common/content_protection_parser.d.ts +0 -99
  1109. package/dist/commonjs/parsers/manifest/dash/common/content_protection_parser.d.ts.map +0 -1
  1110. package/dist/commonjs/parsers/manifest/dash/common/content_protection_parser.js +0 -261
  1111. package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts +0 -18
  1112. package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts.map +0 -1
  1113. package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.js +0 -27
  1114. package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +0 -44
  1115. package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts.map +0 -1
  1116. package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.js +0 -85
  1117. package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.d.ts +0 -30
  1118. package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.d.ts.map +0 -1
  1119. package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.js +0 -41
  1120. package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.d.ts +0 -51
  1121. package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.d.ts.map +0 -1
  1122. package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.js +0 -86
  1123. package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +0 -22
  1124. package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts.map +0 -1
  1125. package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.js +0 -30
  1126. package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts +0 -26
  1127. package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts.map +0 -1
  1128. package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.js +0 -36
  1129. package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.d.ts +0 -44
  1130. package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.d.ts.map +0 -1
  1131. package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.js +0 -71
  1132. package/dist/commonjs/parsers/manifest/dash/common/index.d.ts +0 -22
  1133. package/dist/commonjs/parsers/manifest/dash/common/index.d.ts.map +0 -1
  1134. package/dist/commonjs/parsers/manifest/dash/common/index.js +0 -25
  1135. package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts +0 -267
  1136. package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts.map +0 -1
  1137. package/dist/commonjs/parsers/manifest/dash/common/indexes/base.js +0 -289
  1138. package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +0 -33
  1139. package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.d.ts.map +0 -1
  1140. package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.js +0 -47
  1141. package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts +0 -40
  1142. package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts.map +0 -1
  1143. package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.js +0 -112
  1144. package/dist/commonjs/parsers/manifest/dash/common/indexes/index.d.ts +0 -26
  1145. package/dist/commonjs/parsers/manifest/dash/common/indexes/index.d.ts.map +0 -1
  1146. package/dist/commonjs/parsers/manifest/dash/common/indexes/index.js +0 -26
  1147. package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts +0 -209
  1148. package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts.map +0 -1
  1149. package/dist/commonjs/parsers/manifest/dash/common/indexes/list.js +0 -247
  1150. package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts +0 -272
  1151. package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts.map +0 -1
  1152. package/dist/commonjs/parsers/manifest/dash/common/indexes/template.js +0 -453
  1153. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +0 -28
  1154. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts.map +0 -1
  1155. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.js +0 -46
  1156. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts +0 -19
  1157. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts.map +0 -1
  1158. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.js +0 -82
  1159. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts +0 -38
  1160. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts.map +0 -1
  1161. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.js +0 -66
  1162. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts +0 -43
  1163. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts.map +0 -1
  1164. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.js +0 -143
  1165. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/index.d.ts +0 -20
  1166. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/index.d.ts.map +0 -1
  1167. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/index.js +0 -19
  1168. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +0 -37
  1169. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts.map +0 -1
  1170. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.js +0 -90
  1171. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +0 -448
  1172. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts.map +0 -1
  1173. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +0 -702
  1174. package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.d.ts +0 -41
  1175. package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.d.ts.map +0 -1
  1176. package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.js +0 -112
  1177. package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.d.ts +0 -26
  1178. package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.d.ts.map +0 -1
  1179. package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.js +0 -31
  1180. package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts +0 -48
  1181. package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts.map +0 -1
  1182. package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.js +0 -164
  1183. package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts +0 -120
  1184. package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts.map +0 -1
  1185. package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.js +0 -138
  1186. package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +0 -56
  1187. package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.d.ts.map +0 -1
  1188. package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.js +0 -508
  1189. package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.d.ts +0 -24
  1190. package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.d.ts.map +0 -1
  1191. package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.js +0 -34
  1192. package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.d.ts +0 -99
  1193. package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.d.ts.map +0 -1
  1194. package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.js +0 -345
  1195. package/dist/commonjs/parsers/manifest/dash/common/parse_periods.d.ts +0 -71
  1196. package/dist/commonjs/parsers/manifest/dash/common/parse_periods.d.ts.map +0 -1
  1197. package/dist/commonjs/parsers/manifest/dash/common/parse_periods.js +0 -341
  1198. package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.d.ts +0 -87
  1199. package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.d.ts.map +0 -1
  1200. package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.js +0 -131
  1201. package/dist/commonjs/parsers/manifest/dash/common/parse_representations.d.ts +0 -51
  1202. package/dist/commonjs/parsers/manifest/dash/common/parse_representations.d.ts.map +0 -1
  1203. package/dist/commonjs/parsers/manifest/dash/common/parse_representations.js +0 -300
  1204. package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.d.ts +0 -27
  1205. package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.d.ts.map +0 -1
  1206. package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.js +0 -49
  1207. package/dist/commonjs/parsers/manifest/dash/index.d.ts +0 -17
  1208. package/dist/commonjs/parsers/manifest/dash/index.d.ts.map +0 -1
  1209. package/dist/commonjs/parsers/manifest/dash/index.js +0 -23
  1210. package/dist/commonjs/parsers/manifest/dash/js-parser/index.d.ts +0 -18
  1211. package/dist/commonjs/parsers/manifest/dash/js-parser/index.d.ts.map +0 -1
  1212. package/dist/commonjs/parsers/manifest/dash/js-parser/index.js +0 -19
  1213. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts +0 -25
  1214. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts.map +0 -1
  1215. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.js +0 -406
  1216. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts +0 -25
  1217. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts.map +0 -1
  1218. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.js +0 -33
  1219. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts +0 -24
  1220. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts.map +0 -1
  1221. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.js +0 -70
  1222. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts +0 -23
  1223. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts.map +0 -1
  1224. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.js +0 -125
  1225. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts +0 -24
  1226. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts.map +0 -1
  1227. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.js +0 -153
  1228. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts +0 -23
  1229. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts.map +0 -1
  1230. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.js +0 -70
  1231. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts +0 -24
  1232. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts.map +0 -1
  1233. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.js +0 -235
  1234. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts +0 -24
  1235. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts.map +0 -1
  1236. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.js +0 -197
  1237. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts +0 -23
  1238. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts.map +0 -1
  1239. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.js +0 -268
  1240. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts +0 -24
  1241. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts.map +0 -1
  1242. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.js +0 -152
  1243. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts +0 -23
  1244. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts.map +0 -1
  1245. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentList.js +0 -60
  1246. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts +0 -25
  1247. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts.map +0 -1
  1248. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.js +0 -125
  1249. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts +0 -23
  1250. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts.map +0 -1
  1251. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.js +0 -36
  1252. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts +0 -25
  1253. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts.map +0 -1
  1254. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.js +0 -82
  1255. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts +0 -176
  1256. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts.map +0 -1
  1257. package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.js +0 -381
  1258. package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts +0 -25
  1259. package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts.map +0 -1
  1260. package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_xml_string.js +0 -142
  1261. package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts +0 -404
  1262. package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts.map +0 -1
  1263. package/dist/commonjs/parsers/manifest/dash/node_parser_types.js +0 -17
  1264. package/dist/commonjs/parsers/manifest/dash/parsers_types.d.ts +0 -84
  1265. package/dist/commonjs/parsers/manifest/dash/parsers_types.d.ts.map +0 -1
  1266. package/dist/commonjs/parsers/manifest/dash/parsers_types.js +0 -17
  1267. package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.d.ts +0 -20
  1268. package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.d.ts.map +0 -1
  1269. package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.js +0 -19
  1270. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +0 -112
  1271. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts.map +0 -1
  1272. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.js +0 -425
  1273. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts +0 -33
  1274. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts.map +0 -1
  1275. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +0 -276
  1276. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts +0 -25
  1277. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts.map +0 -1
  1278. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.js +0 -33
  1279. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts +0 -25
  1280. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts.map +0 -1
  1281. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.js +0 -44
  1282. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts +0 -24
  1283. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts.map +0 -1
  1284. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.js +0 -61
  1285. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +0 -34
  1286. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts.map +0 -1
  1287. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.js +0 -116
  1288. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts +0 -4
  1289. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts.map +0 -1
  1290. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.js +0 -12
  1291. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts +0 -29
  1292. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts.map +0 -1
  1293. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.js +0 -168
  1294. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +0 -34
  1295. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts.map +0 -1
  1296. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.js +0 -152
  1297. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +0 -33
  1298. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts.map +0 -1
  1299. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +0 -183
  1300. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts +0 -25
  1301. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts.map +0 -1
  1302. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.js +0 -38
  1303. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts +0 -19
  1304. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts.map +0 -1
  1305. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.js +0 -91
  1306. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts +0 -27
  1307. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts.map +0 -1
  1308. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.js +0 -48
  1309. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts +0 -19
  1310. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts.map +0 -1
  1311. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.js +0 -104
  1312. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts +0 -26
  1313. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts.map +0 -1
  1314. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.js +0 -55
  1315. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts +0 -30
  1316. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts.map +0 -1
  1317. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.js +0 -50
  1318. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts +0 -17
  1319. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts.map +0 -1
  1320. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/index.js +0 -20
  1321. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts +0 -28
  1322. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts.map +0 -1
  1323. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.js +0 -53
  1324. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts +0 -39
  1325. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts.map +0 -1
  1326. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/parsers_stack.js +0 -62
  1327. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.d.ts +0 -149
  1328. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.d.ts.map +0 -1
  1329. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.js +0 -17
  1330. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.d.ts +0 -30
  1331. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.d.ts.map +0 -1
  1332. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.js +0 -43
  1333. package/dist/commonjs/parsers/manifest/index.d.ts +0 -17
  1334. package/dist/commonjs/parsers/manifest/index.d.ts.map +0 -1
  1335. package/dist/commonjs/parsers/manifest/index.js +0 -17
  1336. package/dist/commonjs/parsers/manifest/local/index.d.ts +0 -19
  1337. package/dist/commonjs/parsers/manifest/local/index.d.ts.map +0 -1
  1338. package/dist/commonjs/parsers/manifest/local/index.js +0 -19
  1339. package/dist/commonjs/parsers/manifest/local/parse_local_manifest.d.ts +0 -23
  1340. package/dist/commonjs/parsers/manifest/local/parse_local_manifest.d.ts.map +0 -1
  1341. package/dist/commonjs/parsers/manifest/local/parse_local_manifest.js +0 -140
  1342. package/dist/commonjs/parsers/manifest/local/representation_index.d.ts +0 -99
  1343. package/dist/commonjs/parsers/manifest/local/representation_index.d.ts.map +0 -1
  1344. package/dist/commonjs/parsers/manifest/local/representation_index.js +0 -297
  1345. package/dist/commonjs/parsers/manifest/local/types.d.ts +0 -288
  1346. package/dist/commonjs/parsers/manifest/local/types.d.ts.map +0 -1
  1347. package/dist/commonjs/parsers/manifest/local/types.js +0 -17
  1348. package/dist/commonjs/parsers/manifest/metaplaylist/index.d.ts +0 -20
  1349. package/dist/commonjs/parsers/manifest/metaplaylist/index.d.ts.map +0 -1
  1350. package/dist/commonjs/parsers/manifest/metaplaylist/index.js +0 -19
  1351. package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +0 -65
  1352. package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts.map +0 -1
  1353. package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.js +0 -322
  1354. package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts +0 -165
  1355. package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts.map +0 -1
  1356. package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.js +0 -239
  1357. package/dist/commonjs/parsers/manifest/smooth/create_parser.d.ts +0 -34
  1358. package/dist/commonjs/parsers/manifest/smooth/create_parser.d.ts.map +0 -1
  1359. package/dist/commonjs/parsers/manifest/smooth/create_parser.js +0 -544
  1360. package/dist/commonjs/parsers/manifest/smooth/get_codecs.d.ts +0 -27
  1361. package/dist/commonjs/parsers/manifest/smooth/get_codecs.d.ts.map +0 -1
  1362. package/dist/commonjs/parsers/manifest/smooth/get_codecs.js +0 -54
  1363. package/dist/commonjs/parsers/manifest/smooth/index.d.ts +0 -22
  1364. package/dist/commonjs/parsers/manifest/smooth/index.d.ts.map +0 -1
  1365. package/dist/commonjs/parsers/manifest/smooth/index.js +0 -22
  1366. package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.d.ts +0 -27
  1367. package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.d.ts.map +0 -1
  1368. package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.js +0 -63
  1369. package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.d.ts +0 -30
  1370. package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.d.ts.map +0 -1
  1371. package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.js +0 -66
  1372. package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts +0 -242
  1373. package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts.map +0 -1
  1374. package/dist/commonjs/parsers/manifest/smooth/representation_index.js +0 -424
  1375. package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +0 -120
  1376. package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts.map +0 -1
  1377. package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.js +0 -182
  1378. package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.d.ts +0 -39
  1379. package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.d.ts.map +0 -1
  1380. package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.js +0 -66
  1381. package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.d.ts +0 -21
  1382. package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.d.ts.map +0 -1
  1383. package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.js +0 -33
  1384. package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.d.ts +0 -24
  1385. package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.d.ts.map +0 -1
  1386. package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.js +0 -34
  1387. package/dist/commonjs/parsers/manifest/smooth/utils/tokens.d.ts +0 -29
  1388. package/dist/commonjs/parsers/manifest/smooth/utils/tokens.d.ts.map +0 -1
  1389. package/dist/commonjs/parsers/manifest/smooth/utils/tokens.js +0 -37
  1390. package/dist/commonjs/parsers/manifest/types.d.ts +0 -443
  1391. package/dist/commonjs/parsers/manifest/types.d.ts.map +0 -1
  1392. package/dist/commonjs/parsers/manifest/types.js +0 -17
  1393. package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.d.ts +0 -26
  1394. package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.d.ts.map +0 -1
  1395. package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.js +0 -83
  1396. package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.d.ts +0 -26
  1397. package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.d.ts.map +0 -1
  1398. package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.js +0 -76
  1399. package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +0 -28
  1400. package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.d.ts.map +0 -1
  1401. package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.js +0 -69
  1402. package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +0 -30
  1403. package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.d.ts.map +0 -1
  1404. package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.js +0 -71
  1405. package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.d.ts +0 -25
  1406. package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.d.ts.map +0 -1
  1407. package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.js +0 -69
  1408. package/dist/commonjs/parsers/manifest/utils/get_minimum_position.d.ts +0 -22
  1409. package/dist/commonjs/parsers/manifest/utils/get_minimum_position.d.ts.map +0 -1
  1410. package/dist/commonjs/parsers/manifest/utils/get_minimum_position.js +0 -65
  1411. package/dist/commonjs/parsers/manifest/utils/index_helpers.d.ts +0 -89
  1412. package/dist/commonjs/parsers/manifest/utils/index_helpers.d.ts.map +0 -1
  1413. package/dist/commonjs/parsers/manifest/utils/index_helpers.js +0 -154
  1414. package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.d.ts +0 -34
  1415. package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.d.ts.map +0 -1
  1416. package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.js +0 -157
  1417. package/dist/commonjs/parsers/texttracks/index.d.ts +0 -17
  1418. package/dist/commonjs/parsers/texttracks/index.d.ts.map +0 -1
  1419. package/dist/commonjs/parsers/texttracks/index.js +0 -17
  1420. package/dist/commonjs/parsers/texttracks/sami/html.d.ts +0 -32
  1421. package/dist/commonjs/parsers/texttracks/sami/html.d.ts.map +0 -1
  1422. package/dist/commonjs/parsers/texttracks/sami/html.js +0 -220
  1423. package/dist/commonjs/parsers/texttracks/sami/native.d.ts +0 -37
  1424. package/dist/commonjs/parsers/texttracks/sami/native.d.ts.map +0 -1
  1425. package/dist/commonjs/parsers/texttracks/sami/native.js +0 -184
  1426. package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.d.ts +0 -30
  1427. package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.d.ts.map +0 -1
  1428. package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.js +0 -42
  1429. package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.d.ts +0 -23
  1430. package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.d.ts.map +0 -1
  1431. package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.js +0 -50
  1432. package/dist/commonjs/parsers/texttracks/srt/html.d.ts +0 -28
  1433. package/dist/commonjs/parsers/texttracks/srt/html.d.ts.map +0 -1
  1434. package/dist/commonjs/parsers/texttracks/srt/html.js +0 -192
  1435. package/dist/commonjs/parsers/texttracks/srt/native.d.ts +0 -30
  1436. package/dist/commonjs/parsers/texttracks/srt/native.d.ts.map +0 -1
  1437. package/dist/commonjs/parsers/texttracks/srt/native.js +0 -66
  1438. package/dist/commonjs/parsers/texttracks/srt/parse_cue.d.ts +0 -31
  1439. package/dist/commonjs/parsers/texttracks/srt/parse_cue.d.ts.map +0 -1
  1440. package/dist/commonjs/parsers/texttracks/srt/parse_cue.js +0 -75
  1441. package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.d.ts +0 -22
  1442. package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.d.ts.map +0 -1
  1443. package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.js +0 -36
  1444. package/dist/commonjs/parsers/texttracks/ttml/get_parameters.d.ts +0 -33
  1445. package/dist/commonjs/parsers/texttracks/ttml/get_parameters.d.ts.map +0 -1
  1446. package/dist/commonjs/parsers/texttracks/ttml/get_parameters.js +0 -90
  1447. package/dist/commonjs/parsers/texttracks/ttml/get_styling.d.ts +0 -42
  1448. package/dist/commonjs/parsers/texttracks/ttml/get_styling.d.ts.map +0 -1
  1449. package/dist/commonjs/parsers/texttracks/ttml/get_styling.js +0 -136
  1450. package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.d.ts +0 -27
  1451. package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.d.ts.map +0 -1
  1452. package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.js +0 -43
  1453. package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts +0 -49
  1454. package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts.map +0 -1
  1455. package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.js +0 -65
  1456. package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.d.ts +0 -22
  1457. package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.d.ts.map +0 -1
  1458. package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.js +0 -60
  1459. package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.d.ts +0 -22
  1460. package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.d.ts.map +0 -1
  1461. package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.js +0 -59
  1462. package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.d.ts +0 -21
  1463. package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.d.ts.map +0 -1
  1464. package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.js +0 -48
  1465. package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.d.ts +0 -21
  1466. package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.d.ts.map +0 -1
  1467. package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.js +0 -59
  1468. package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.d.ts +0 -21
  1469. package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.d.ts.map +0 -1
  1470. package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.js +0 -138
  1471. package/dist/commonjs/parsers/texttracks/ttml/html/create_element.d.ts +0 -33
  1472. package/dist/commonjs/parsers/texttracks/ttml/html/create_element.d.ts.map +0 -1
  1473. package/dist/commonjs/parsers/texttracks/ttml/html/create_element.js +0 -477
  1474. package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts +0 -27
  1475. package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts.map +0 -1
  1476. package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.js +0 -44
  1477. package/dist/commonjs/parsers/texttracks/ttml/html/index.d.ts +0 -22
  1478. package/dist/commonjs/parsers/texttracks/ttml/html/index.d.ts.map +0 -1
  1479. package/dist/commonjs/parsers/texttracks/ttml/html/index.js +0 -23
  1480. package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.d.ts +0 -27
  1481. package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.d.ts.map +0 -1
  1482. package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.js +0 -43
  1483. package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +0 -36
  1484. package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts.map +0 -1
  1485. package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.js +0 -87
  1486. package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts +0 -22
  1487. package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts.map +0 -1
  1488. package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.js +0 -76
  1489. package/dist/commonjs/parsers/texttracks/ttml/native/index.d.ts +0 -22
  1490. package/dist/commonjs/parsers/texttracks/ttml/native/index.d.ts.map +0 -1
  1491. package/dist/commonjs/parsers/texttracks/ttml/native/index.js +0 -23
  1492. package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.d.ts +0 -25
  1493. package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.d.ts.map +0 -1
  1494. package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.js +0 -200
  1495. package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +0 -24
  1496. package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts.map +0 -1
  1497. package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.js +0 -70
  1498. package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.d.ts +0 -44
  1499. package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.d.ts.map +0 -1
  1500. package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.js +0 -187
  1501. package/dist/commonjs/parsers/texttracks/ttml/regexps.d.ts +0 -29
  1502. package/dist/commonjs/parsers/texttracks/ttml/regexps.d.ts.map +0 -1
  1503. package/dist/commonjs/parsers/texttracks/ttml/regexps.js +0 -49
  1504. package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +0 -50
  1505. package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts.map +0 -1
  1506. package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.js +0 -107
  1507. package/dist/commonjs/parsers/texttracks/ttml/time_parsing.d.ts +0 -31
  1508. package/dist/commonjs/parsers/texttracks/ttml/time_parsing.d.ts.map +0 -1
  1509. package/dist/commonjs/parsers/texttracks/ttml/time_parsing.js +0 -126
  1510. package/dist/commonjs/parsers/texttracks/ttml/xml_utils.d.ts +0 -71
  1511. package/dist/commonjs/parsers/texttracks/ttml/xml_utils.d.ts.map +0 -1
  1512. package/dist/commonjs/parsers/texttracks/ttml/xml_utils.js +0 -186
  1513. package/dist/commonjs/parsers/texttracks/types.d.ts +0 -80
  1514. package/dist/commonjs/parsers/texttracks/types.d.ts.map +0 -1
  1515. package/dist/commonjs/parsers/texttracks/types.js +0 -17
  1516. package/dist/commonjs/parsers/texttracks/webvtt/create_default_style_elements.d.ts +0 -3
  1517. package/dist/commonjs/parsers/texttracks/webvtt/create_default_style_elements.d.ts.map +0 -1
  1518. package/dist/commonjs/parsers/texttracks/webvtt/create_default_style_elements.js +0 -25
  1519. package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.d.ts +0 -25
  1520. package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.d.ts.map +0 -1
  1521. package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.js +0 -47
  1522. package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.d.ts +0 -25
  1523. package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.d.ts.map +0 -1
  1524. package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.js +0 -55
  1525. package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +0 -23
  1526. package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts.map +0 -1
  1527. package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.js +0 -38
  1528. package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.d.ts +0 -22
  1529. package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.d.ts.map +0 -1
  1530. package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.js +0 -172
  1531. package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.d.ts +0 -25
  1532. package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.d.ts.map +0 -1
  1533. package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.js +0 -84
  1534. package/dist/commonjs/parsers/texttracks/webvtt/html/index.d.ts +0 -28
  1535. package/dist/commonjs/parsers/texttracks/webvtt/html/index.d.ts.map +0 -1
  1536. package/dist/commonjs/parsers/texttracks/webvtt/html/index.js +0 -26
  1537. package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts +0 -13
  1538. package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts.map +0 -1
  1539. package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_mp4.js +0 -22
  1540. package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts +0 -33
  1541. package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts.map +0 -1
  1542. package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.js +0 -69
  1543. package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.d.ts +0 -50
  1544. package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.d.ts.map +0 -1
  1545. package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.js +0 -73
  1546. package/dist/commonjs/parsers/texttracks/webvtt/native/index.d.ts +0 -23
  1547. package/dist/commonjs/parsers/texttracks/webvtt/native/index.d.ts.map +0 -1
  1548. package/dist/commonjs/parsers/texttracks/webvtt/native/index.js +0 -26
  1549. package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts +0 -30
  1550. package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts.map +0 -1
  1551. package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.js +0 -94
  1552. package/dist/commonjs/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts +0 -13
  1553. package/dist/commonjs/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts.map +0 -1
  1554. package/dist/commonjs/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.js +0 -24
  1555. package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +0 -24
  1556. package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts.map +0 -1
  1557. package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.js +0 -83
  1558. package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.d.ts +0 -33
  1559. package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.d.ts.map +0 -1
  1560. package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.js +0 -30
  1561. package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.d.ts +0 -40
  1562. package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.d.ts.map +0 -1
  1563. package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.js +0 -104
  1564. package/dist/commonjs/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts +0 -22
  1565. package/dist/commonjs/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts.map +0 -1
  1566. package/dist/commonjs/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.js +0 -154
  1567. package/dist/commonjs/parsers/texttracks/webvtt/parse_style_block.d.ts +0 -28
  1568. package/dist/commonjs/parsers/texttracks/webvtt/parse_style_block.d.ts.map +0 -1
  1569. package/dist/commonjs/parsers/texttracks/webvtt/parse_style_block.js +0 -75
  1570. package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.d.ts +0 -22
  1571. package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.d.ts.map +0 -1
  1572. package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.js +0 -36
  1573. package/dist/commonjs/parsers/texttracks/webvtt/utils.d.ts +0 -58
  1574. package/dist/commonjs/parsers/texttracks/webvtt/utils.d.ts.map +0 -1
  1575. package/dist/commonjs/parsers/texttracks/webvtt/utils.js +0 -121
  1576. package/dist/commonjs/playback_observer/index.d.ts +0 -7
  1577. package/dist/commonjs/playback_observer/index.d.ts.map +0 -1
  1578. package/dist/commonjs/playback_observer/index.js +0 -5
  1579. package/dist/commonjs/playback_observer/media_element_playback_observer.d.ts +0 -285
  1580. package/dist/commonjs/playback_observer/media_element_playback_observer.d.ts.map +0 -1
  1581. package/dist/commonjs/playback_observer/media_element_playback_observer.js +0 -842
  1582. package/dist/commonjs/playback_observer/types.d.ts +0 -226
  1583. package/dist/commonjs/playback_observer/types.d.ts.map +0 -1
  1584. package/dist/commonjs/playback_observer/types.js +0 -2
  1585. package/dist/commonjs/playback_observer/utils/generate_read_only_observer.d.ts +0 -12
  1586. package/dist/commonjs/playback_observer/utils/generate_read_only_observer.d.ts.map +0 -1
  1587. package/dist/commonjs/playback_observer/utils/generate_read_only_observer.js +0 -42
  1588. package/dist/commonjs/playback_observer/utils/observation_position.d.ts +0 -99
  1589. package/dist/commonjs/playback_observer/utils/observation_position.d.ts.map +0 -1
  1590. package/dist/commonjs/playback_observer/utils/observation_position.js +0 -99
  1591. package/dist/commonjs/playback_observer/worker_playback_observer.d.ts +0 -85
  1592. package/dist/commonjs/playback_observer/worker_playback_observer.d.ts.map +0 -1
  1593. package/dist/commonjs/playback_observer/worker_playback_observer.js +0 -47
  1594. package/dist/commonjs/public_types.d.ts +0 -1279
  1595. package/dist/commonjs/public_types.d.ts.map +0 -1
  1596. package/dist/commonjs/public_types.js +0 -6
  1597. package/dist/commonjs/tools/TextTrackRenderer/index.d.ts +0 -24
  1598. package/dist/commonjs/tools/TextTrackRenderer/index.d.ts.map +0 -1
  1599. package/dist/commonjs/tools/TextTrackRenderer/index.js +0 -29
  1600. package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.d.ts +0 -77
  1601. package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.d.ts.map +0 -1
  1602. package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.js +0 -82
  1603. package/dist/commonjs/tools/index.d.ts +0 -20
  1604. package/dist/commonjs/tools/index.d.ts.map +0 -1
  1605. package/dist/commonjs/tools/index.js +0 -23
  1606. package/dist/commonjs/tools/parseBIFThumbnails/index.d.ts +0 -30
  1607. package/dist/commonjs/tools/parseBIFThumbnails/index.d.ts.map +0 -1
  1608. package/dist/commonjs/tools/parseBIFThumbnails/index.js +0 -33
  1609. package/dist/commonjs/tools/string_utils/index.d.ts +0 -17
  1610. package/dist/commonjs/tools/string_utils/index.d.ts.map +0 -1
  1611. package/dist/commonjs/tools/string_utils/index.js +0 -25
  1612. package/dist/commonjs/transports/dash/construct_segment_url.d.ts +0 -19
  1613. package/dist/commonjs/transports/dash/construct_segment_url.d.ts.map +0 -1
  1614. package/dist/commonjs/transports/dash/construct_segment_url.js +0 -28
  1615. package/dist/commonjs/transports/dash/get_events_out_of_emsgs.d.ts +0 -29
  1616. package/dist/commonjs/transports/dash/get_events_out_of_emsgs.d.ts.map +0 -1
  1617. package/dist/commonjs/transports/dash/get_events_out_of_emsgs.js +0 -96
  1618. package/dist/commonjs/transports/dash/index.d.ts +0 -22
  1619. package/dist/commonjs/transports/dash/index.d.ts.map +0 -1
  1620. package/dist/commonjs/transports/dash/index.js +0 -23
  1621. package/dist/commonjs/transports/dash/init_segment_loader.d.ts +0 -29
  1622. package/dist/commonjs/transports/dash/init_segment_loader.d.ts.map +0 -1
  1623. package/dist/commonjs/transports/dash/init_segment_loader.js +0 -135
  1624. package/dist/commonjs/transports/dash/integrity_checks.d.ts +0 -18
  1625. package/dist/commonjs/transports/dash/integrity_checks.d.ts.map +0 -1
  1626. package/dist/commonjs/transports/dash/integrity_checks.js +0 -209
  1627. package/dist/commonjs/transports/dash/load_chunked_segment_data.d.ts +0 -40
  1628. package/dist/commonjs/transports/dash/load_chunked_segment_data.d.ts.map +0 -1
  1629. package/dist/commonjs/transports/dash/load_chunked_segment_data.js +0 -126
  1630. package/dist/commonjs/transports/dash/manifest_parser.d.ts +0 -19
  1631. package/dist/commonjs/transports/dash/manifest_parser.d.ts.map +0 -1
  1632. package/dist/commonjs/transports/dash/manifest_parser.js +0 -298
  1633. package/dist/commonjs/transports/dash/pipelines.d.ts +0 -24
  1634. package/dist/commonjs/transports/dash/pipelines.d.ts.map +0 -1
  1635. package/dist/commonjs/transports/dash/pipelines.js +0 -68
  1636. package/dist/commonjs/transports/dash/segment_loader.d.ts +0 -39
  1637. package/dist/commonjs/transports/dash/segment_loader.d.ts.map +0 -1
  1638. package/dist/commonjs/transports/dash/segment_loader.js +0 -275
  1639. package/dist/commonjs/transports/dash/segment_parser.d.ts +0 -24
  1640. package/dist/commonjs/transports/dash/segment_parser.d.ts.map +0 -1
  1641. package/dist/commonjs/transports/dash/segment_parser.js +0 -160
  1642. package/dist/commonjs/transports/dash/text_loader.d.ts +0 -26
  1643. package/dist/commonjs/transports/dash/text_loader.d.ts.map +0 -1
  1644. package/dist/commonjs/transports/dash/text_loader.js +0 -166
  1645. package/dist/commonjs/transports/dash/text_parser.d.ts +0 -26
  1646. package/dist/commonjs/transports/dash/text_parser.d.ts.map +0 -1
  1647. package/dist/commonjs/transports/dash/text_parser.js +0 -194
  1648. package/dist/commonjs/transports/dash/thumbnails.d.ts +0 -21
  1649. package/dist/commonjs/transports/dash/thumbnails.d.ts.map +0 -1
  1650. package/dist/commonjs/transports/dash/thumbnails.js +0 -127
  1651. package/dist/commonjs/transports/index.d.ts +0 -17
  1652. package/dist/commonjs/transports/index.d.ts.map +0 -1
  1653. package/dist/commonjs/transports/index.js +0 -17
  1654. package/dist/commonjs/transports/local/index.d.ts +0 -18
  1655. package/dist/commonjs/transports/local/index.d.ts.map +0 -1
  1656. package/dist/commonjs/transports/local/index.js +0 -19
  1657. package/dist/commonjs/transports/local/pipelines.d.ts +0 -23
  1658. package/dist/commonjs/transports/local/pipelines.d.ts.map +0 -1
  1659. package/dist/commonjs/transports/local/pipelines.js +0 -81
  1660. package/dist/commonjs/transports/local/segment_loader.d.ts +0 -29
  1661. package/dist/commonjs/transports/local/segment_loader.d.ts.map +0 -1
  1662. package/dist/commonjs/transports/local/segment_loader.js +0 -155
  1663. package/dist/commonjs/transports/local/segment_parser.d.ts +0 -21
  1664. package/dist/commonjs/transports/local/segment_parser.d.ts.map +0 -1
  1665. package/dist/commonjs/transports/local/segment_parser.js +0 -90
  1666. package/dist/commonjs/transports/local/text_parser.d.ts +0 -28
  1667. package/dist/commonjs/transports/local/text_parser.d.ts.map +0 -1
  1668. package/dist/commonjs/transports/local/text_parser.js +0 -165
  1669. package/dist/commonjs/transports/metaplaylist/index.d.ts +0 -22
  1670. package/dist/commonjs/transports/metaplaylist/index.d.ts.map +0 -1
  1671. package/dist/commonjs/transports/metaplaylist/index.js +0 -23
  1672. package/dist/commonjs/transports/metaplaylist/manifest_loader.d.ts +0 -27
  1673. package/dist/commonjs/transports/metaplaylist/manifest_loader.d.ts.map +0 -1
  1674. package/dist/commonjs/transports/metaplaylist/manifest_loader.js +0 -57
  1675. package/dist/commonjs/transports/metaplaylist/pipelines.d.ts +0 -18
  1676. package/dist/commonjs/transports/metaplaylist/pipelines.d.ts.map +0 -1
  1677. package/dist/commonjs/transports/metaplaylist/pipelines.js +0 -268
  1678. package/dist/commonjs/transports/smooth/extract_timings_infos.d.ts +0 -63
  1679. package/dist/commonjs/transports/smooth/extract_timings_infos.d.ts.map +0 -1
  1680. package/dist/commonjs/transports/smooth/extract_timings_infos.js +0 -104
  1681. package/dist/commonjs/transports/smooth/index.d.ts +0 -22
  1682. package/dist/commonjs/transports/smooth/index.d.ts.map +0 -1
  1683. package/dist/commonjs/transports/smooth/index.js +0 -23
  1684. package/dist/commonjs/transports/smooth/is_mp4_embedded_track.d.ts +0 -23
  1685. package/dist/commonjs/transports/smooth/is_mp4_embedded_track.d.ts.map +0 -1
  1686. package/dist/commonjs/transports/smooth/is_mp4_embedded_track.js +0 -27
  1687. package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.d.ts +0 -29
  1688. package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.d.ts.map +0 -1
  1689. package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.js +0 -54
  1690. package/dist/commonjs/transports/smooth/isobmff/create_boxes.d.ts +0 -172
  1691. package/dist/commonjs/transports/smooth/isobmff/create_boxes.d.ts.map +0 -1
  1692. package/dist/commonjs/transports/smooth/isobmff/create_boxes.js +0 -368
  1693. package/dist/commonjs/transports/smooth/isobmff/create_init_segment.d.ts +0 -32
  1694. package/dist/commonjs/transports/smooth/isobmff/create_init_segment.d.ts.map +0 -1
  1695. package/dist/commonjs/transports/smooth/isobmff/create_init_segment.js +0 -66
  1696. package/dist/commonjs/transports/smooth/isobmff/create_traf_box.d.ts +0 -17
  1697. package/dist/commonjs/transports/smooth/isobmff/create_traf_box.d.ts.map +0 -1
  1698. package/dist/commonjs/transports/smooth/isobmff/create_traf_box.js +0 -27
  1699. package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.d.ts +0 -30
  1700. package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.d.ts.map +0 -1
  1701. package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.js +0 -76
  1702. package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.d.ts +0 -28
  1703. package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.d.ts.map +0 -1
  1704. package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.js +0 -46
  1705. package/dist/commonjs/transports/smooth/isobmff/index.d.ts +0 -24
  1706. package/dist/commonjs/transports/smooth/isobmff/index.d.ts.map +0 -1
  1707. package/dist/commonjs/transports/smooth/isobmff/index.js +0 -28
  1708. package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.d.ts +0 -25
  1709. package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.d.ts.map +0 -1
  1710. package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.js +0 -50
  1711. package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.d.ts +0 -25
  1712. package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.d.ts.map +0 -1
  1713. package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.js +0 -34
  1714. package/dist/commonjs/transports/smooth/isobmff/patch_segment.d.ts +0 -24
  1715. package/dist/commonjs/transports/smooth/isobmff/patch_segment.d.ts.map +0 -1
  1716. package/dist/commonjs/transports/smooth/isobmff/patch_segment.js +0 -131
  1717. package/dist/commonjs/transports/smooth/pipelines.d.ts +0 -18
  1718. package/dist/commonjs/transports/smooth/pipelines.d.ts.map +0 -1
  1719. package/dist/commonjs/transports/smooth/pipelines.js +0 -352
  1720. package/dist/commonjs/transports/smooth/segment_loader.d.ts +0 -28
  1721. package/dist/commonjs/transports/smooth/segment_loader.d.ts.map +0 -1
  1722. package/dist/commonjs/transports/smooth/segment_loader.js +0 -299
  1723. package/dist/commonjs/transports/smooth/utils.d.ts +0 -27
  1724. package/dist/commonjs/transports/smooth/utils.d.ts.map +0 -1
  1725. package/dist/commonjs/transports/smooth/utils.js +0 -39
  1726. package/dist/commonjs/transports/types.d.ts +0 -772
  1727. package/dist/commonjs/transports/types.d.ts.map +0 -1
  1728. package/dist/commonjs/transports/types.js +0 -17
  1729. package/dist/commonjs/transports/utils/add_query_string.d.ts +0 -13
  1730. package/dist/commonjs/transports/utils/add_query_string.d.ts.map +0 -1
  1731. package/dist/commonjs/transports/utils/add_query_string.js +0 -54
  1732. package/dist/commonjs/transports/utils/byte_range.d.ts +0 -22
  1733. package/dist/commonjs/transports/utils/byte_range.d.ts.map +0 -1
  1734. package/dist/commonjs/transports/utils/byte_range.js +0 -43
  1735. package/dist/commonjs/transports/utils/call_custom_manifest_loader.d.ts +0 -20
  1736. package/dist/commonjs/transports/utils/call_custom_manifest_loader.d.ts.map +0 -1
  1737. package/dist/commonjs/transports/utils/call_custom_manifest_loader.js +0 -99
  1738. package/dist/commonjs/transports/utils/check_isobmff_integrity.d.ts +0 -24
  1739. package/dist/commonjs/transports/utils/check_isobmff_integrity.d.ts.map +0 -1
  1740. package/dist/commonjs/transports/utils/check_isobmff_integrity.js +0 -49
  1741. package/dist/commonjs/transports/utils/generate_manifest_loader.d.ts +0 -27
  1742. package/dist/commonjs/transports/utils/generate_manifest_loader.d.ts.map +0 -1
  1743. package/dist/commonjs/transports/utils/generate_manifest_loader.js +0 -89
  1744. package/dist/commonjs/transports/utils/get_isobmff_timing_infos.d.ts +0 -30
  1745. package/dist/commonjs/transports/utils/get_isobmff_timing_infos.d.ts.map +0 -1
  1746. package/dist/commonjs/transports/utils/get_isobmff_timing_infos.js +0 -70
  1747. package/dist/commonjs/transports/utils/infer_segment_container.d.ts +0 -30
  1748. package/dist/commonjs/transports/utils/infer_segment_container.d.ts.map +0 -1
  1749. package/dist/commonjs/transports/utils/infer_segment_container.js +0 -45
  1750. package/dist/commonjs/transports/utils/parse_text_track.d.ts +0 -53
  1751. package/dist/commonjs/transports/utils/parse_text_track.d.ts.map +0 -1
  1752. package/dist/commonjs/transports/utils/parse_text_track.js +0 -161
  1753. package/dist/commonjs/utils/are_arrays_of_numbers_equal.d.ts +0 -23
  1754. package/dist/commonjs/utils/are_arrays_of_numbers_equal.d.ts.map +0 -1
  1755. package/dist/commonjs/utils/are_arrays_of_numbers_equal.js +0 -38
  1756. package/dist/commonjs/utils/are_codecs_compatible.d.ts +0 -30
  1757. package/dist/commonjs/utils/are_codecs_compatible.d.ts.map +0 -1
  1758. package/dist/commonjs/utils/are_codecs_compatible.js +0 -76
  1759. package/dist/commonjs/utils/array_find.d.ts +0 -24
  1760. package/dist/commonjs/utils/array_find.d.ts.map +0 -1
  1761. package/dist/commonjs/utils/array_find.js +0 -40
  1762. package/dist/commonjs/utils/array_find_index.d.ts +0 -24
  1763. package/dist/commonjs/utils/array_find_index.d.ts.map +0 -1
  1764. package/dist/commonjs/utils/array_find_index.js +0 -39
  1765. package/dist/commonjs/utils/array_includes.d.ts +0 -54
  1766. package/dist/commonjs/utils/array_includes.d.ts.map +0 -1
  1767. package/dist/commonjs/utils/array_includes.js +0 -80
  1768. package/dist/commonjs/utils/assert.d.ts +0 -75
  1769. package/dist/commonjs/utils/assert.d.ts.map +0 -1
  1770. package/dist/commonjs/utils/assert.js +0 -117
  1771. package/dist/commonjs/utils/base64.d.ts +0 -15
  1772. package/dist/commonjs/utils/base64.d.ts.map +0 -1
  1773. package/dist/commonjs/utils/base64.js +0 -212
  1774. package/dist/commonjs/utils/buffer_source_to_uint8.d.ts +0 -8
  1775. package/dist/commonjs/utils/buffer_source_to_uint8.d.ts.map +0 -1
  1776. package/dist/commonjs/utils/buffer_source_to_uint8.js +0 -18
  1777. package/dist/commonjs/utils/byte_parsing.d.ts +0 -132
  1778. package/dist/commonjs/utils/byte_parsing.d.ts.map +0 -1
  1779. package/dist/commonjs/utils/byte_parsing.js +0 -273
  1780. package/dist/commonjs/utils/cancellable_sleep.d.ts +0 -31
  1781. package/dist/commonjs/utils/cancellable_sleep.d.ts.map +0 -1
  1782. package/dist/commonjs/utils/cancellable_sleep.js +0 -38
  1783. package/dist/commonjs/utils/create_cancellable_promise.d.ts +0 -27
  1784. package/dist/commonjs/utils/create_cancellable_promise.d.ts.map +0 -1
  1785. package/dist/commonjs/utils/create_cancellable_promise.js +0 -55
  1786. package/dist/commonjs/utils/create_uuid.d.ts +0 -9
  1787. package/dist/commonjs/utils/create_uuid.d.ts.map +0 -1
  1788. package/dist/commonjs/utils/create_uuid.js +0 -32
  1789. package/dist/commonjs/utils/deep_merge.d.ts +0 -10
  1790. package/dist/commonjs/utils/deep_merge.d.ts.map +0 -1
  1791. package/dist/commonjs/utils/deep_merge.js +0 -73
  1792. package/dist/commonjs/utils/event_emitter.d.ts +0 -63
  1793. package/dist/commonjs/utils/event_emitter.d.ts.map +0 -1
  1794. package/dist/commonjs/utils/event_emitter.js +0 -110
  1795. package/dist/commonjs/utils/flat_map.d.ts +0 -23
  1796. package/dist/commonjs/utils/flat_map.d.ts.map +0 -1
  1797. package/dist/commonjs/utils/flat_map.js +0 -63
  1798. package/dist/commonjs/utils/get_fuzzed_delay.d.ts +0 -22
  1799. package/dist/commonjs/utils/get_fuzzed_delay.d.ts.map +0 -1
  1800. package/dist/commonjs/utils/get_fuzzed_delay.js +0 -28
  1801. package/dist/commonjs/utils/global_scope.d.ts +0 -10
  1802. package/dist/commonjs/utils/global_scope.d.ts.map +0 -1
  1803. package/dist/commonjs/utils/global_scope.js +0 -22
  1804. package/dist/commonjs/utils/hash_buffer.d.ts +0 -33
  1805. package/dist/commonjs/utils/hash_buffer.d.ts.map +0 -1
  1806. package/dist/commonjs/utils/hash_buffer.js +0 -44
  1807. package/dist/commonjs/utils/id_generator.d.ts +0 -22
  1808. package/dist/commonjs/utils/id_generator.d.ts.map +0 -1
  1809. package/dist/commonjs/utils/id_generator.js +0 -35
  1810. package/dist/commonjs/utils/is_node.d.ts +0 -19
  1811. package/dist/commonjs/utils/is_node.d.ts.map +0 -1
  1812. package/dist/commonjs/utils/is_node.js +0 -21
  1813. package/dist/commonjs/utils/is_non_empty_string.d.ts +0 -21
  1814. package/dist/commonjs/utils/is_non_empty_string.d.ts.map +0 -1
  1815. package/dist/commonjs/utils/is_non_empty_string.js +0 -25
  1816. package/dist/commonjs/utils/is_null_or_undefined.d.ts +0 -25
  1817. package/dist/commonjs/utils/is_null_or_undefined.d.ts.map +0 -1
  1818. package/dist/commonjs/utils/is_null_or_undefined.js +0 -29
  1819. package/dist/commonjs/utils/is_worker.d.ts +0 -6
  1820. package/dist/commonjs/utils/is_worker.d.ts.map +0 -1
  1821. package/dist/commonjs/utils/is_worker.js +0 -7
  1822. package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.d.ts +0 -23
  1823. package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.d.ts.map +0 -1
  1824. package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.js +0 -207
  1825. package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.d.ts +0 -23
  1826. package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.d.ts.map +0 -1
  1827. package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.js +0 -43
  1828. package/dist/commonjs/utils/languages/index.d.ts +0 -21
  1829. package/dist/commonjs/utils/languages/index.d.ts.map +0 -1
  1830. package/dist/commonjs/utils/languages/index.js +0 -22
  1831. package/dist/commonjs/utils/languages/normalize.d.ts +0 -70
  1832. package/dist/commonjs/utils/languages/normalize.d.ts.map +0 -1
  1833. package/dist/commonjs/utils/languages/normalize.js +0 -125
  1834. package/dist/commonjs/utils/logger.d.ts +0 -157
  1835. package/dist/commonjs/utils/logger.d.ts.map +0 -1
  1836. package/dist/commonjs/utils/logger.js +0 -229
  1837. package/dist/commonjs/utils/monotonic_timestamp.d.ts +0 -23
  1838. package/dist/commonjs/utils/monotonic_timestamp.d.ts.map +0 -1
  1839. package/dist/commonjs/utils/monotonic_timestamp.js +0 -40
  1840. package/dist/commonjs/utils/noop.d.ts +0 -24
  1841. package/dist/commonjs/utils/noop.d.ts.map +0 -1
  1842. package/dist/commonjs/utils/noop.js +0 -27
  1843. package/dist/commonjs/utils/object_assign.d.ts +0 -47
  1844. package/dist/commonjs/utils/object_assign.d.ts.map +0 -1
  1845. package/dist/commonjs/utils/object_assign.js +0 -75
  1846. package/dist/commonjs/utils/object_values.d.ts +0 -31
  1847. package/dist/commonjs/utils/object_values.d.ts.map +0 -1
  1848. package/dist/commonjs/utils/object_values.js +0 -27
  1849. package/dist/commonjs/utils/queue_microtask.d.ts +0 -3
  1850. package/dist/commonjs/utils/queue_microtask.d.ts.map +0 -1
  1851. package/dist/commonjs/utils/queue_microtask.js +0 -7
  1852. package/dist/commonjs/utils/ranges.d.ts +0 -214
  1853. package/dist/commonjs/utils/ranges.d.ts.map +0 -1
  1854. package/dist/commonjs/utils/ranges.js +0 -519
  1855. package/dist/commonjs/utils/reference.d.ts +0 -215
  1856. package/dist/commonjs/utils/reference.d.ts.map +0 -1
  1857. package/dist/commonjs/utils/reference.js +0 -333
  1858. package/dist/commonjs/utils/request/fetch.d.ts +0 -81
  1859. package/dist/commonjs/utils/request/fetch.d.ts.map +0 -1
  1860. package/dist/commonjs/utils/request/fetch.js +0 -255
  1861. package/dist/commonjs/utils/request/index.d.ts +0 -25
  1862. package/dist/commonjs/utils/request/index.d.ts.map +0 -1
  1863. package/dist/commonjs/utils/request/index.js +0 -27
  1864. package/dist/commonjs/utils/request/request_error.d.ts +0 -47
  1865. package/dist/commonjs/utils/request/request_error.d.ts.map +0 -1
  1866. package/dist/commonjs/utils/request/request_error.js +0 -89
  1867. package/dist/commonjs/utils/request/xhr.d.ts +0 -100
  1868. package/dist/commonjs/utils/request/xhr.d.ts.map +0 -1
  1869. package/dist/commonjs/utils/request/xhr.js +0 -205
  1870. package/dist/commonjs/utils/retry_promise_with_backoff.d.ts +0 -55
  1871. package/dist/commonjs/utils/retry_promise_with_backoff.d.ts.map +0 -1
  1872. package/dist/commonjs/utils/retry_promise_with_backoff.js +0 -135
  1873. package/dist/commonjs/utils/sleep.d.ts +0 -11
  1874. package/dist/commonjs/utils/sleep.d.ts.map +0 -1
  1875. package/dist/commonjs/utils/sleep.js +0 -17
  1876. package/dist/commonjs/utils/slice_uint8array.d.ts +0 -28
  1877. package/dist/commonjs/utils/slice_uint8array.d.ts.map +0 -1
  1878. package/dist/commonjs/utils/slice_uint8array.js +0 -44
  1879. package/dist/commonjs/utils/sorted_list.d.ts +0 -128
  1880. package/dist/commonjs/utils/sorted_list.d.ts.map +0 -1
  1881. package/dist/commonjs/utils/sorted_list.js +0 -185
  1882. package/dist/commonjs/utils/starts_with.d.ts +0 -27
  1883. package/dist/commonjs/utils/starts_with.d.ts.map +0 -1
  1884. package/dist/commonjs/utils/starts_with.js +0 -38
  1885. package/dist/commonjs/utils/string_parsing.d.ts +0 -89
  1886. package/dist/commonjs/utils/string_parsing.d.ts.map +0 -1
  1887. package/dist/commonjs/utils/string_parsing.js +0 -382
  1888. package/dist/commonjs/utils/sync_or_async.d.ts +0 -71
  1889. package/dist/commonjs/utils/sync_or_async.d.ts.map +0 -1
  1890. package/dist/commonjs/utils/sync_or_async.js +0 -53
  1891. package/dist/commonjs/utils/task_canceller.d.ts +0 -263
  1892. package/dist/commonjs/utils/task_canceller.d.ts.map +0 -1
  1893. package/dist/commonjs/utils/task_canceller.js +0 -344
  1894. package/dist/commonjs/utils/url-utils.d.ts +0 -50
  1895. package/dist/commonjs/utils/url-utils.d.ts.map +0 -1
  1896. package/dist/commonjs/utils/url-utils.js +0 -356
  1897. package/dist/commonjs/utils/warn_once.d.ts +0 -24
  1898. package/dist/commonjs/utils/warn_once.d.ts.map +0 -1
  1899. package/dist/commonjs/utils/warn_once.js +0 -34
  1900. package/dist/commonjs/utils/weak_map_memory.d.ts +0 -71
  1901. package/dist/commonjs/utils/weak_map_memory.d.ts.map +0 -1
  1902. package/dist/commonjs/utils/weak_map_memory.js +0 -87
  1903. package/dist/commonjs/utils/wrapInPromise.d.ts +0 -8
  1904. package/dist/commonjs/utils/wrapInPromise.d.ts.map +0 -1
  1905. package/dist/commonjs/utils/wrapInPromise.js +0 -25
  1906. package/dist/commonjs/utils/xml-parser.d.ts +0 -71
  1907. package/dist/commonjs/utils/xml-parser.d.ts.map +0 -1
  1908. package/dist/commonjs/utils/xml-parser.js +0 -358
  1909. package/dist/commonjs/worker_entry_point.d.ts +0 -6
  1910. package/dist/commonjs/worker_entry_point.d.ts.map +0 -1
  1911. package/dist/commonjs/worker_entry_point.js +0 -8
  1912. package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts +0 -4
  1913. package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +0 -1
  1914. package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.js +0 -3
  1915. package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts +0 -4
  1916. package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts.map +0 -1
  1917. package/dist/es2017/__GENERATED_CODE/embedded_worker.js +0 -3
  1918. package/dist/es2017/__GENERATED_CODE/index.d.ts +0 -3
  1919. package/dist/es2017/__GENERATED_CODE/index.d.ts.map +0 -1
  1920. package/dist/es2017/__GENERATED_CODE/index.js +0 -2
  1921. package/dist/es2017/compat/add_class_name.d.ts +0 -23
  1922. package/dist/es2017/compat/add_class_name.d.ts.map +0 -1
  1923. package/dist/es2017/compat/add_class_name.js +0 -36
  1924. package/dist/es2017/compat/add_text_track.d.ts +0 -32
  1925. package/dist/es2017/compat/add_text_track.d.ts.map +0 -1
  1926. package/dist/es2017/compat/add_text_track.js +0 -49
  1927. package/dist/es2017/compat/browser_compatibility_types.d.ts +0 -384
  1928. package/dist/es2017/compat/browser_compatibility_types.d.ts.map +0 -1
  1929. package/dist/es2017/compat/browser_compatibility_types.js +0 -42
  1930. package/dist/es2017/compat/browser_version.d.ts +0 -25
  1931. package/dist/es2017/compat/browser_version.d.ts.map +0 -1
  1932. package/dist/es2017/compat/browser_version.js +0 -41
  1933. package/dist/es2017/compat/can_patch_isobmff.d.ts +0 -26
  1934. package/dist/es2017/compat/can_patch_isobmff.d.ts.map +0 -1
  1935. package/dist/es2017/compat/can_patch_isobmff.js +0 -29
  1936. package/dist/es2017/compat/can_preload_before_play.d.ts +0 -11
  1937. package/dist/es2017/compat/can_preload_before_play.d.ts.map +0 -1
  1938. package/dist/es2017/compat/can_preload_before_play.js +0 -20
  1939. package/dist/es2017/compat/can_rely_on_request_media_key_system_access.d.ts +0 -41
  1940. package/dist/es2017/compat/can_rely_on_request_media_key_system_access.d.ts.map +0 -1
  1941. package/dist/es2017/compat/can_rely_on_request_media_key_system_access.js +0 -53
  1942. package/dist/es2017/compat/can_rely_on_video_visibility_and_size.d.ts +0 -38
  1943. package/dist/es2017/compat/can_rely_on_video_visibility_and_size.d.ts.map +0 -1
  1944. package/dist/es2017/compat/can_rely_on_video_visibility_and_size.js +0 -49
  1945. package/dist/es2017/compat/can_reuse_media_keys.d.ts +0 -20
  1946. package/dist/es2017/compat/can_reuse_media_keys.d.ts.map +0 -1
  1947. package/dist/es2017/compat/can_reuse_media_keys.js +0 -30
  1948. package/dist/es2017/compat/change_source_buffer_type.d.ts +0 -49
  1949. package/dist/es2017/compat/change_source_buffer_type.d.ts.map +0 -1
  1950. package/dist/es2017/compat/change_source_buffer_type.js +0 -37
  1951. package/dist/es2017/compat/clear_element_src.d.ts +0 -22
  1952. package/dist/es2017/compat/clear_element_src.d.ts.map +0 -1
  1953. package/dist/es2017/compat/clear_element_src.js +0 -53
  1954. package/dist/es2017/compat/eme/close_session.d.ts +0 -31
  1955. package/dist/es2017/compat/eme/close_session.d.ts.map +0 -1
  1956. package/dist/es2017/compat/eme/close_session.js +0 -102
  1957. package/dist/es2017/compat/eme/constants.d.ts +0 -17
  1958. package/dist/es2017/compat/eme/constants.d.ts.map +0 -1
  1959. package/dist/es2017/compat/eme/constants.js +0 -19
  1960. package/dist/es2017/compat/eme/custom_key_system_access.d.ts +0 -50
  1961. package/dist/es2017/compat/eme/custom_key_system_access.d.ts.map +0 -1
  1962. package/dist/es2017/compat/eme/custom_key_system_access.js +0 -40
  1963. package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.d.ts +0 -32
  1964. package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.d.ts.map +0 -1
  1965. package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.js +0 -149
  1966. package/dist/es2017/compat/eme/custom_media_keys/index.d.ts +0 -7
  1967. package/dist/es2017/compat/eme/custom_media_keys/index.d.ts.map +0 -1
  1968. package/dist/es2017/compat/eme/custom_media_keys/index.js +0 -6
  1969. package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +0 -28
  1970. package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts.map +0 -1
  1971. package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.js +0 -58
  1972. package/dist/es2017/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts +0 -44
  1973. package/dist/es2017/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts.map +0 -1
  1974. package/dist/es2017/compat/eme/custom_media_keys/ms_media_keys_constructor.js +0 -26
  1975. package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts +0 -42
  1976. package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts.map +0 -1
  1977. package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.js +0 -166
  1978. package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.d.ts +0 -33
  1979. package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.d.ts.map +0 -1
  1980. package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.js +0 -203
  1981. package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts +0 -23
  1982. package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts.map +0 -1
  1983. package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.js +0 -27
  1984. package/dist/es2017/compat/eme/eme-api-implementation.d.ts +0 -78
  1985. package/dist/es2017/compat/eme/eme-api-implementation.d.ts.map +0 -1
  1986. package/dist/es2017/compat/eme/eme-api-implementation.js +0 -207
  1987. package/dist/es2017/compat/eme/generate_key_request.d.ts +0 -55
  1988. package/dist/es2017/compat/eme/generate_key_request.d.ts.map +0 -1
  1989. package/dist/es2017/compat/eme/generate_key_request.js +0 -144
  1990. package/dist/es2017/compat/eme/get_init_data.d.ts +0 -60
  1991. package/dist/es2017/compat/eme/get_init_data.d.ts.map +0 -1
  1992. package/dist/es2017/compat/eme/get_init_data.js +0 -110
  1993. package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts +0 -24
  1994. package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts.map +0 -1
  1995. package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.js +0 -33
  1996. package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.d.ts +0 -26
  1997. package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.d.ts.map +0 -1
  1998. package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.js +0 -54
  1999. package/dist/es2017/compat/eme/index.d.ts +0 -26
  2000. package/dist/es2017/compat/eme/index.d.ts.map +0 -1
  2001. package/dist/es2017/compat/eme/index.js +0 -22
  2002. package/dist/es2017/compat/eme/load_session.d.ts +0 -31
  2003. package/dist/es2017/compat/eme/load_session.d.ts.map +0 -1
  2004. package/dist/es2017/compat/eme/load_session.js +0 -53
  2005. package/dist/es2017/compat/eme/set_media_keys.d.ts +0 -10
  2006. package/dist/es2017/compat/eme/set_media_keys.d.ts.map +0 -1
  2007. package/dist/es2017/compat/eme/set_media_keys.js +0 -33
  2008. package/dist/es2017/compat/enable_audio_track.d.ts +0 -12
  2009. package/dist/es2017/compat/enable_audio_track.d.ts.map +0 -1
  2010. package/dist/es2017/compat/enable_audio_track.js +0 -26
  2011. package/dist/es2017/compat/env_detector.d.ts +0 -100
  2012. package/dist/es2017/compat/env_detector.d.ts.map +0 -1
  2013. package/dist/es2017/compat/env_detector.js +0 -185
  2014. package/dist/es2017/compat/event_listeners.d.ts +0 -175
  2015. package/dist/es2017/compat/event_listeners.d.ts.map +0 -1
  2016. package/dist/es2017/compat/event_listeners.js +0 -411
  2017. package/dist/es2017/compat/generate_init_data.d.ts +0 -14
  2018. package/dist/es2017/compat/generate_init_data.d.ts.map +0 -1
  2019. package/dist/es2017/compat/generate_init_data.js +0 -56
  2020. package/dist/es2017/compat/get_start_date.d.ts +0 -32
  2021. package/dist/es2017/compat/get_start_date.d.ts.map +0 -1
  2022. package/dist/es2017/compat/get_start_date.js +0 -44
  2023. package/dist/es2017/compat/has_issues_with_high_media_source_duration.d.ts +0 -22
  2024. package/dist/es2017/compat/has_issues_with_high_media_source_duration.d.ts.map +0 -1
  2025. package/dist/es2017/compat/has_issues_with_high_media_source_duration.js +0 -29
  2026. package/dist/es2017/compat/has_mse_in_worker.d.ts +0 -3
  2027. package/dist/es2017/compat/has_mse_in_worker.d.ts.map +0 -1
  2028. package/dist/es2017/compat/has_mse_in_worker.js +0 -4
  2029. package/dist/es2017/compat/has_webassembly.d.ts +0 -7
  2030. package/dist/es2017/compat/has_webassembly.d.ts.map +0 -1
  2031. package/dist/es2017/compat/has_webassembly.js +0 -6
  2032. package/dist/es2017/compat/has_worker_api.d.ts +0 -10
  2033. package/dist/es2017/compat/has_worker_api.d.ts.map +0 -1
  2034. package/dist/es2017/compat/has_worker_api.js +0 -14
  2035. package/dist/es2017/compat/is_codec_supported.d.ts +0 -28
  2036. package/dist/es2017/compat/is_codec_supported.d.ts.map +0 -1
  2037. package/dist/es2017/compat/is_codec_supported.js +0 -67
  2038. package/dist/es2017/compat/is_seeking_approximate.d.ts +0 -29
  2039. package/dist/es2017/compat/is_seeking_approximate.d.ts.map +0 -1
  2040. package/dist/es2017/compat/is_seeking_approximate.js +0 -33
  2041. package/dist/es2017/compat/is_vtt_cue.d.ts +0 -23
  2042. package/dist/es2017/compat/is_vtt_cue.d.ts.map +0 -1
  2043. package/dist/es2017/compat/is_vtt_cue.js +0 -24
  2044. package/dist/es2017/compat/make_vtt_cue.d.ts +0 -27
  2045. package/dist/es2017/compat/make_vtt_cue.d.ts.map +0 -1
  2046. package/dist/es2017/compat/make_vtt_cue.js +0 -44
  2047. package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.d.ts +0 -17
  2048. package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.d.ts.map +0 -1
  2049. package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.js +0 -22
  2050. package/dist/es2017/compat/on_height_width_change.d.ts +0 -34
  2051. package/dist/es2017/compat/on_height_width_change.d.ts.map +0 -1
  2052. package/dist/es2017/compat/on_height_width_change.js +0 -72
  2053. package/dist/es2017/compat/patch_webkit_source_buffer.d.ts +0 -17
  2054. package/dist/es2017/compat/patch_webkit_source_buffer.d.ts.map +0 -1
  2055. package/dist/es2017/compat/patch_webkit_source_buffer.js +0 -61
  2056. package/dist/es2017/compat/remove_cue.d.ts +0 -23
  2057. package/dist/es2017/compat/remove_cue.d.ts.map +0 -1
  2058. package/dist/es2017/compat/remove_cue.js +0 -63
  2059. package/dist/es2017/compat/should_await_set_media_keys.d.ts +0 -17
  2060. package/dist/es2017/compat/should_await_set_media_keys.d.ts.map +0 -1
  2061. package/dist/es2017/compat/should_await_set_media_keys.js +0 -24
  2062. package/dist/es2017/compat/should_favour_custom_safari_EME.d.ts +0 -24
  2063. package/dist/es2017/compat/should_favour_custom_safari_EME.d.ts.map +0 -1
  2064. package/dist/es2017/compat/should_favour_custom_safari_EME.js +0 -34
  2065. package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.d.ts +0 -27
  2066. package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.d.ts.map +0 -1
  2067. package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.js +0 -32
  2068. package/dist/es2017/compat/should_renew_media_key_system_access.d.ts +0 -22
  2069. package/dist/es2017/compat/should_renew_media_key_system_access.d.ts.map +0 -1
  2070. package/dist/es2017/compat/should_renew_media_key_system_access.js +0 -32
  2071. package/dist/es2017/compat/should_unset_media_keys.d.ts +0 -23
  2072. package/dist/es2017/compat/should_unset_media_keys.d.ts.map +0 -1
  2073. package/dist/es2017/compat/should_unset_media_keys.js +0 -27
  2074. package/dist/es2017/compat/should_validate_metadata.d.ts +0 -23
  2075. package/dist/es2017/compat/should_validate_metadata.d.ts.map +0 -1
  2076. package/dist/es2017/compat/should_validate_metadata.js +0 -27
  2077. package/dist/es2017/compat/should_wait_for_data_before_loaded.d.ts +0 -25
  2078. package/dist/es2017/compat/should_wait_for_data_before_loaded.d.ts.map +0 -1
  2079. package/dist/es2017/compat/should_wait_for_data_before_loaded.js +0 -39
  2080. package/dist/es2017/compat/should_wait_for_have_enough_data.d.ts +0 -14
  2081. package/dist/es2017/compat/should_wait_for_have_enough_data.d.ts.map +0 -1
  2082. package/dist/es2017/compat/should_wait_for_have_enough_data.js +0 -19
  2083. package/dist/es2017/config.d.ts +0 -21
  2084. package/dist/es2017/config.d.ts.map +0 -1
  2085. package/dist/es2017/config.js +0 -28
  2086. package/dist/es2017/core/adaptive/adaptive_representation_selector.d.ts +0 -294
  2087. package/dist/es2017/core/adaptive/adaptive_representation_selector.d.ts.map +0 -1
  2088. package/dist/es2017/core/adaptive/adaptive_representation_selector.js +0 -407
  2089. package/dist/es2017/core/adaptive/buffer_based_chooser.d.ts +0 -90
  2090. package/dist/es2017/core/adaptive/buffer_based_chooser.d.ts.map +0 -1
  2091. package/dist/es2017/core/adaptive/buffer_based_chooser.js +0 -198
  2092. package/dist/es2017/core/adaptive/guess_based_chooser.d.ts +0 -96
  2093. package/dist/es2017/core/adaptive/guess_based_chooser.d.ts.map +0 -1
  2094. package/dist/es2017/core/adaptive/guess_based_chooser.js +0 -239
  2095. package/dist/es2017/core/adaptive/index.d.ts +0 -20
  2096. package/dist/es2017/core/adaptive/index.d.ts.map +0 -1
  2097. package/dist/es2017/core/adaptive/index.js +0 -17
  2098. package/dist/es2017/core/adaptive/network_analyzer.d.ts +0 -74
  2099. package/dist/es2017/core/adaptive/network_analyzer.d.ts.map +0 -1
  2100. package/dist/es2017/core/adaptive/network_analyzer.js +0 -347
  2101. package/dist/es2017/core/adaptive/utils/bandwidth_estimator.d.ts +0 -48
  2102. package/dist/es2017/core/adaptive/utils/bandwidth_estimator.d.ts.map +0 -1
  2103. package/dist/es2017/core/adaptive/utils/bandwidth_estimator.js +0 -68
  2104. package/dist/es2017/core/adaptive/utils/ewma.d.ts +0 -40
  2105. package/dist/es2017/core/adaptive/utils/ewma.d.ts.map +0 -1
  2106. package/dist/es2017/core/adaptive/utils/ewma.js +0 -49
  2107. package/dist/es2017/core/adaptive/utils/filter_by_bitrate.d.ts +0 -26
  2108. package/dist/es2017/core/adaptive/utils/filter_by_bitrate.d.ts.map +0 -1
  2109. package/dist/es2017/core/adaptive/utils/filter_by_bitrate.js +0 -37
  2110. package/dist/es2017/core/adaptive/utils/filter_by_resolution.d.ts +0 -32
  2111. package/dist/es2017/core/adaptive/utils/filter_by_resolution.d.ts.map +0 -1
  2112. package/dist/es2017/core/adaptive/utils/filter_by_resolution.js +0 -44
  2113. package/dist/es2017/core/adaptive/utils/get_buffer_levels.d.ts +0 -25
  2114. package/dist/es2017/core/adaptive/utils/get_buffer_levels.d.ts.map +0 -1
  2115. package/dist/es2017/core/adaptive/utils/get_buffer_levels.js +0 -50
  2116. package/dist/es2017/core/adaptive/utils/last_estimate_storage.d.ts +0 -62
  2117. package/dist/es2017/core/adaptive/utils/last_estimate_storage.d.ts.map +0 -1
  2118. package/dist/es2017/core/adaptive/utils/last_estimate_storage.js +0 -35
  2119. package/dist/es2017/core/adaptive/utils/pending_requests_store.d.ts +0 -111
  2120. package/dist/es2017/core/adaptive/utils/pending_requests_store.d.ts.map +0 -1
  2121. package/dist/es2017/core/adaptive/utils/pending_requests_store.js +0 -75
  2122. package/dist/es2017/core/adaptive/utils/representation_score_calculator.d.ts +0 -105
  2123. package/dist/es2017/core/adaptive/utils/representation_score_calculator.d.ts.map +0 -1
  2124. package/dist/es2017/core/adaptive/utils/representation_score_calculator.js +0 -117
  2125. package/dist/es2017/core/adaptive/utils/select_optimal_representation.d.ts +0 -28
  2126. package/dist/es2017/core/adaptive/utils/select_optimal_representation.d.ts.map +0 -1
  2127. package/dist/es2017/core/adaptive/utils/select_optimal_representation.js +0 -36
  2128. package/dist/es2017/core/cmcd/cmcd_data_builder.d.ts +0 -133
  2129. package/dist/es2017/core/cmcd/cmcd_data_builder.d.ts.map +0 -1
  2130. package/dist/es2017/core/cmcd/cmcd_data_builder.js +0 -340
  2131. package/dist/es2017/core/cmcd/index.d.ts +0 -4
  2132. package/dist/es2017/core/cmcd/index.d.ts.map +0 -1
  2133. package/dist/es2017/core/cmcd/index.js +0 -2
  2134. package/dist/es2017/core/fetchers/cdn_prioritizer.d.ts +0 -108
  2135. package/dist/es2017/core/fetchers/cdn_prioritizer.d.ts.map +0 -1
  2136. package/dist/es2017/core/fetchers/cdn_prioritizer.js +0 -154
  2137. package/dist/es2017/core/fetchers/index.d.ts +0 -25
  2138. package/dist/es2017/core/fetchers/index.d.ts.map +0 -1
  2139. package/dist/es2017/core/fetchers/index.js +0 -20
  2140. package/dist/es2017/core/fetchers/manifest/index.d.ts +0 -20
  2141. package/dist/es2017/core/fetchers/manifest/index.d.ts.map +0 -1
  2142. package/dist/es2017/core/fetchers/manifest/index.js +0 -17
  2143. package/dist/es2017/core/fetchers/manifest/manifest_fetcher.d.ts +0 -236
  2144. package/dist/es2017/core/fetchers/manifest/manifest_fetcher.d.ts.map +0 -1
  2145. package/dist/es2017/core/fetchers/manifest/manifest_fetcher.js +0 -538
  2146. package/dist/es2017/core/fetchers/segment/index.d.ts +0 -22
  2147. package/dist/es2017/core/fetchers/segment/index.d.ts.map +0 -1
  2148. package/dist/es2017/core/fetchers/segment/index.js +0 -17
  2149. package/dist/es2017/core/fetchers/segment/initialization_segment_cache.d.ts +0 -43
  2150. package/dist/es2017/core/fetchers/segment/initialization_segment_cache.d.ts.map +0 -1
  2151. package/dist/es2017/core/fetchers/segment/initialization_segment_cache.js +0 -48
  2152. package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.d.ts +0 -40
  2153. package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.d.ts.map +0 -1
  2154. package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.js +0 -67
  2155. package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts +0 -200
  2156. package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts.map +0 -1
  2157. package/dist/es2017/core/fetchers/segment/segment_fetcher.js +0 -302
  2158. package/dist/es2017/core/fetchers/segment/segment_queue.d.ts +0 -230
  2159. package/dist/es2017/core/fetchers/segment/segment_queue.d.ts.map +0 -1
  2160. package/dist/es2017/core/fetchers/segment/segment_queue.js +0 -421
  2161. package/dist/es2017/core/fetchers/segment/segment_queue_creator.d.ts +0 -98
  2162. package/dist/es2017/core/fetchers/segment/segment_queue_creator.d.ts.map +0 -1
  2163. package/dist/es2017/core/fetchers/segment/segment_queue_creator.js +0 -73
  2164. package/dist/es2017/core/fetchers/segment/task_prioritizer.d.ts +0 -155
  2165. package/dist/es2017/core/fetchers/segment/task_prioritizer.d.ts.map +0 -1
  2166. package/dist/es2017/core/fetchers/segment/task_prioritizer.js +0 -328
  2167. package/dist/es2017/core/fetchers/thumbnails/index.d.ts +0 -5
  2168. package/dist/es2017/core/fetchers/thumbnails/index.d.ts.map +0 -1
  2169. package/dist/es2017/core/fetchers/thumbnails/index.js +0 -2
  2170. package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.d.ts +0 -79
  2171. package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.d.ts.map +0 -1
  2172. package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.js +0 -200
  2173. package/dist/es2017/core/fetchers/utils/error_selector.d.ts +0 -23
  2174. package/dist/es2017/core/fetchers/utils/error_selector.d.ts.map +0 -1
  2175. package/dist/es2017/core/fetchers/utils/error_selector.js +0 -31
  2176. package/dist/es2017/core/fetchers/utils/schedule_request.d.ts +0 -99
  2177. package/dist/es2017/core/fetchers/utils/schedule_request.d.ts.map +0 -1
  2178. package/dist/es2017/core/fetchers/utils/schedule_request.js +0 -331
  2179. package/dist/es2017/core/main/common/FreezeResolver.d.ts +0 -176
  2180. package/dist/es2017/core/main/common/FreezeResolver.d.ts.map +0 -1
  2181. package/dist/es2017/core/main/common/FreezeResolver.js +0 -387
  2182. package/dist/es2017/core/main/common/content_time_boundaries_observer.d.ts +0 -192
  2183. package/dist/es2017/core/main/common/content_time_boundaries_observer.d.ts.map +0 -1
  2184. package/dist/es2017/core/main/common/content_time_boundaries_observer.js +0 -473
  2185. package/dist/es2017/core/main/common/create_content_time_boundaries_observer.d.ts +0 -28
  2186. package/dist/es2017/core/main/common/create_content_time_boundaries_observer.d.ts.map +0 -1
  2187. package/dist/es2017/core/main/common/create_content_time_boundaries_observer.js +0 -41
  2188. package/dist/es2017/core/main/common/get_buffered_data_per_media_buffer.d.ts +0 -15
  2189. package/dist/es2017/core/main/common/get_buffered_data_per_media_buffer.d.ts.map +0 -1
  2190. package/dist/es2017/core/main/common/get_buffered_data_per_media_buffer.js +0 -34
  2191. package/dist/es2017/core/main/common/get_thumbnail_data.d.ts +0 -13
  2192. package/dist/es2017/core/main/common/get_thumbnail_data.d.ts.map +0 -1
  2193. package/dist/es2017/core/main/common/get_thumbnail_data.js +0 -27
  2194. package/dist/es2017/core/main/common/synchronize_sinks_on_observation.d.ts +0 -11
  2195. package/dist/es2017/core/main/common/synchronize_sinks_on_observation.d.ts.map +0 -1
  2196. package/dist/es2017/core/main/common/synchronize_sinks_on_observation.js +0 -17
  2197. package/dist/es2017/core/main/worker/content_preparer.d.ts +0 -176
  2198. package/dist/es2017/core/main/worker/content_preparer.d.ts.map +0 -1
  2199. package/dist/es2017/core/main/worker/content_preparer.js +0 -334
  2200. package/dist/es2017/core/main/worker/globals.d.ts +0 -14
  2201. package/dist/es2017/core/main/worker/globals.d.ts.map +0 -1
  2202. package/dist/es2017/core/main/worker/globals.js +0 -18
  2203. package/dist/es2017/core/main/worker/index.d.ts +0 -3
  2204. package/dist/es2017/core/main/worker/index.d.ts.map +0 -1
  2205. package/dist/es2017/core/main/worker/index.js +0 -2
  2206. package/dist/es2017/core/main/worker/send_message.d.ts +0 -4
  2207. package/dist/es2017/core/main/worker/send_message.d.ts.map +0 -1
  2208. package/dist/es2017/core/main/worker/send_message.js +0 -19
  2209. package/dist/es2017/core/main/worker/track_choice_setter.d.ts +0 -20
  2210. package/dist/es2017/core/main/worker/track_choice_setter.d.ts.map +0 -1
  2211. package/dist/es2017/core/main/worker/track_choice_setter.js +0 -126
  2212. package/dist/es2017/core/main/worker/worker_main.d.ts +0 -2
  2213. package/dist/es2017/core/main/worker/worker_main.d.ts.map +0 -1
  2214. package/dist/es2017/core/main/worker/worker_main.js +0 -871
  2215. package/dist/es2017/core/main/worker/worker_text_displayer_interface.d.ts +0 -65
  2216. package/dist/es2017/core/main/worker/worker_text_displayer_interface.d.ts.map +0 -1
  2217. package/dist/es2017/core/main/worker/worker_text_displayer_interface.js +0 -120
  2218. package/dist/es2017/core/segment_sinks/garbage_collector.d.ts +0 -44
  2219. package/dist/es2017/core/segment_sinks/garbage_collector.d.ts.map +0 -1
  2220. package/dist/es2017/core/segment_sinks/garbage_collector.js +0 -148
  2221. package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts +0 -136
  2222. package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts.map +0 -1
  2223. package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.js +0 -269
  2224. package/dist/es2017/core/segment_sinks/implementations/audio_video/index.d.ts +0 -18
  2225. package/dist/es2017/core/segment_sinks/implementations/audio_video/index.d.ts.map +0 -1
  2226. package/dist/es2017/core/segment_sinks/implementations/audio_video/index.js +0 -17
  2227. package/dist/es2017/core/segment_sinks/implementations/index.d.ts +0 -21
  2228. package/dist/es2017/core/segment_sinks/implementations/index.d.ts.map +0 -1
  2229. package/dist/es2017/core/segment_sinks/implementations/index.js +0 -18
  2230. package/dist/es2017/core/segment_sinks/implementations/text/index.d.ts +0 -5
  2231. package/dist/es2017/core/segment_sinks/implementations/text/index.d.ts.map +0 -1
  2232. package/dist/es2017/core/segment_sinks/implementations/text/index.js +0 -2
  2233. package/dist/es2017/core/segment_sinks/implementations/text/text_segment_sink.d.ts +0 -101
  2234. package/dist/es2017/core/segment_sinks/implementations/text/text_segment_sink.d.ts.map +0 -1
  2235. package/dist/es2017/core/segment_sinks/implementations/text/text_segment_sink.js +0 -190
  2236. package/dist/es2017/core/segment_sinks/implementations/types.d.ts +0 -308
  2237. package/dist/es2017/core/segment_sinks/implementations/types.d.ts.map +0 -1
  2238. package/dist/es2017/core/segment_sinks/implementations/types.js +0 -112
  2239. package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts +0 -30
  2240. package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts.map +0 -1
  2241. package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.js +0 -63
  2242. package/dist/es2017/core/segment_sinks/index.d.ts +0 -25
  2243. package/dist/es2017/core/segment_sinks/index.d.ts.map +0 -1
  2244. package/dist/es2017/core/segment_sinks/index.js +0 -21
  2245. package/dist/es2017/core/segment_sinks/inventory/buffered_history.d.ts +0 -90
  2246. package/dist/es2017/core/segment_sinks/inventory/buffered_history.d.ts.map +0 -1
  2247. package/dist/es2017/core/segment_sinks/inventory/buffered_history.js +0 -88
  2248. package/dist/es2017/core/segment_sinks/inventory/index.d.ts +0 -24
  2249. package/dist/es2017/core/segment_sinks/inventory/index.d.ts.map +0 -1
  2250. package/dist/es2017/core/segment_sinks/inventory/index.js +0 -18
  2251. package/dist/es2017/core/segment_sinks/inventory/segment_inventory.d.ts +0 -240
  2252. package/dist/es2017/core/segment_sinks/inventory/segment_inventory.d.ts.map +0 -1
  2253. package/dist/es2017/core/segment_sinks/inventory/segment_inventory.js +0 -1075
  2254. package/dist/es2017/core/segment_sinks/inventory/types.d.ts +0 -33
  2255. package/dist/es2017/core/segment_sinks/inventory/types.d.ts.map +0 -1
  2256. package/dist/es2017/core/segment_sinks/inventory/types.js +0 -16
  2257. package/dist/es2017/core/segment_sinks/inventory/utils.d.ts +0 -34
  2258. package/dist/es2017/core/segment_sinks/inventory/utils.d.ts.map +0 -1
  2259. package/dist/es2017/core/segment_sinks/inventory/utils.js +0 -48
  2260. package/dist/es2017/core/segment_sinks/segment_sinks_store.d.ts +0 -198
  2261. package/dist/es2017/core/segment_sinks/segment_sinks_store.d.ts.map +0 -1
  2262. package/dist/es2017/core/segment_sinks/segment_sinks_store.js +0 -323
  2263. package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts +0 -34
  2264. package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts.map +0 -1
  2265. package/dist/es2017/core/stream/adaptation/adaptation_stream.js +0 -442
  2266. package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.d.ts +0 -54
  2267. package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.d.ts.map +0 -1
  2268. package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.js +0 -112
  2269. package/dist/es2017/core/stream/adaptation/index.d.ts +0 -19
  2270. package/dist/es2017/core/stream/adaptation/index.d.ts.map +0 -1
  2271. package/dist/es2017/core/stream/adaptation/index.js +0 -17
  2272. package/dist/es2017/core/stream/adaptation/types.d.ts +0 -200
  2273. package/dist/es2017/core/stream/adaptation/types.d.ts.map +0 -1
  2274. package/dist/es2017/core/stream/adaptation/types.js +0 -1
  2275. package/dist/es2017/core/stream/index.d.ts +0 -23
  2276. package/dist/es2017/core/stream/index.d.ts.map +0 -1
  2277. package/dist/es2017/core/stream/index.js +0 -17
  2278. package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.d.ts +0 -31
  2279. package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.d.ts.map +0 -1
  2280. package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.js +0 -76
  2281. package/dist/es2017/core/stream/orchestrator/index.d.ts +0 -20
  2282. package/dist/es2017/core/stream/orchestrator/index.d.ts.map +0 -1
  2283. package/dist/es2017/core/stream/orchestrator/index.js +0 -17
  2284. package/dist/es2017/core/stream/orchestrator/stream_orchestrator.d.ts +0 -176
  2285. package/dist/es2017/core/stream/orchestrator/stream_orchestrator.d.ts.map +0 -1
  2286. package/dist/es2017/core/stream/orchestrator/stream_orchestrator.js +0 -550
  2287. package/dist/es2017/core/stream/period/index.d.ts +0 -19
  2288. package/dist/es2017/core/stream/period/index.d.ts.map +0 -1
  2289. package/dist/es2017/core/stream/period/index.js +0 -17
  2290. package/dist/es2017/core/stream/period/period_stream.d.ts +0 -50
  2291. package/dist/es2017/core/stream/period/period_stream.d.ts.map +0 -1
  2292. package/dist/es2017/core/stream/period/period_stream.js +0 -432
  2293. package/dist/es2017/core/stream/period/types.d.ts +0 -120
  2294. package/dist/es2017/core/stream/period/types.d.ts.map +0 -1
  2295. package/dist/es2017/core/stream/period/types.js +0 -1
  2296. package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +0 -68
  2297. package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.d.ts.map +0 -1
  2298. package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.js +0 -130
  2299. package/dist/es2017/core/stream/representation/index.d.ts +0 -19
  2300. package/dist/es2017/core/stream/representation/index.d.ts.map +0 -1
  2301. package/dist/es2017/core/stream/representation/index.js +0 -17
  2302. package/dist/es2017/core/stream/representation/representation_stream.d.ts +0 -54
  2303. package/dist/es2017/core/stream/representation/representation_stream.d.ts.map +0 -1
  2304. package/dist/es2017/core/stream/representation/representation_stream.js +0 -395
  2305. package/dist/es2017/core/stream/representation/types.d.ts +0 -314
  2306. package/dist/es2017/core/stream/representation/types.d.ts.map +0 -1
  2307. package/dist/es2017/core/stream/representation/types.js +0 -1
  2308. package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.d.ts +0 -36
  2309. package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.d.ts.map +0 -1
  2310. package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.js +0 -79
  2311. package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.d.ts +0 -54
  2312. package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.d.ts.map +0 -1
  2313. package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.js +0 -245
  2314. package/dist/es2017/core/stream/representation/utils/get_buffer_status.d.ts +0 -73
  2315. package/dist/es2017/core/stream/representation/utils/get_buffer_status.d.ts.map +0 -1
  2316. package/dist/es2017/core/stream/representation/utils/get_buffer_status.js +0 -198
  2317. package/dist/es2017/core/stream/representation/utils/get_needed_segments.d.ts +0 -92
  2318. package/dist/es2017/core/stream/representation/utils/get_needed_segments.d.ts.map +0 -1
  2319. package/dist/es2017/core/stream/representation/utils/get_needed_segments.js +0 -450
  2320. package/dist/es2017/core/stream/representation/utils/get_segment_priority.d.ts +0 -29
  2321. package/dist/es2017/core/stream/representation/utils/get_segment_priority.d.ts.map +0 -1
  2322. package/dist/es2017/core/stream/representation/utils/get_segment_priority.js +0 -38
  2323. package/dist/es2017/core/stream/representation/utils/push_init_segment.d.ts +0 -42
  2324. package/dist/es2017/core/stream/representation/utils/push_init_segment.d.ts.map +0 -1
  2325. package/dist/es2017/core/stream/representation/utils/push_init_segment.js +0 -36
  2326. package/dist/es2017/core/stream/representation/utils/push_media_segment.d.ts +0 -43
  2327. package/dist/es2017/core/stream/representation/utils/push_media_segment.d.ts.map +0 -1
  2328. package/dist/es2017/core/stream/representation/utils/push_media_segment.js +0 -63
  2329. package/dist/es2017/core/types.d.ts +0 -9
  2330. package/dist/es2017/core/types.d.ts.map +0 -1
  2331. package/dist/es2017/core/types.js +0 -1
  2332. package/dist/es2017/default_config.d.ts +0 -1200
  2333. package/dist/es2017/default_config.d.ts.map +0 -1
  2334. package/dist/es2017/default_config.js +0 -1234
  2335. package/dist/es2017/errors/custom_loader_error.d.ts +0 -36
  2336. package/dist/es2017/errors/custom_loader_error.d.ts.map +0 -1
  2337. package/dist/es2017/errors/custom_loader_error.js +0 -39
  2338. package/dist/es2017/errors/encrypted_media_error.d.ts +0 -72
  2339. package/dist/es2017/errors/encrypted_media_error.d.ts.map +0 -1
  2340. package/dist/es2017/errors/encrypted_media_error.js +0 -55
  2341. package/dist/es2017/errors/error_codes.d.ts +0 -33
  2342. package/dist/es2017/errors/error_codes.d.ts.map +0 -1
  2343. package/dist/es2017/errors/error_codes.js +0 -68
  2344. package/dist/es2017/errors/error_message.d.ts +0 -23
  2345. package/dist/es2017/errors/error_message.d.ts.map +0 -1
  2346. package/dist/es2017/errors/error_message.js +0 -24
  2347. package/dist/es2017/errors/format_error.d.ts +0 -21
  2348. package/dist/es2017/errors/format_error.d.ts.map +0 -1
  2349. package/dist/es2017/errors/format_error.js +0 -29
  2350. package/dist/es2017/errors/index.d.ts +0 -32
  2351. package/dist/es2017/errors/index.d.ts.map +0 -1
  2352. package/dist/es2017/errors/index.js +0 -25
  2353. package/dist/es2017/errors/is_known_error.d.ts +0 -23
  2354. package/dist/es2017/errors/is_known_error.d.ts.map +0 -1
  2355. package/dist/es2017/errors/is_known_error.js +0 -32
  2356. package/dist/es2017/errors/media_error.d.ts +0 -60
  2357. package/dist/es2017/errors/media_error.d.ts.map +0 -1
  2358. package/dist/es2017/errors/media_error.js +0 -53
  2359. package/dist/es2017/errors/network_error.d.ts +0 -59
  2360. package/dist/es2017/errors/network_error.d.ts.map +0 -1
  2361. package/dist/es2017/errors/network_error.js +0 -65
  2362. package/dist/es2017/errors/other_error.d.ts +0 -47
  2363. package/dist/es2017/errors/other_error.d.ts.map +0 -1
  2364. package/dist/es2017/errors/other_error.js +0 -51
  2365. package/dist/es2017/errors/source_buffer_error.d.ts +0 -40
  2366. package/dist/es2017/errors/source_buffer_error.d.ts.map +0 -1
  2367. package/dist/es2017/errors/source_buffer_error.js +0 -42
  2368. package/dist/es2017/errors/worker_initialization_error.d.ts +0 -19
  2369. package/dist/es2017/errors/worker_initialization_error.d.ts.map +0 -1
  2370. package/dist/es2017/errors/worker_initialization_error.js +0 -21
  2371. package/dist/es2017/experimental/features/index.d.ts +0 -19
  2372. package/dist/es2017/experimental/features/index.d.ts.map +0 -1
  2373. package/dist/es2017/experimental/features/index.js +0 -18
  2374. package/dist/es2017/experimental/features/local.d.ts +0 -20
  2375. package/dist/es2017/experimental/features/local.d.ts.map +0 -1
  2376. package/dist/es2017/experimental/features/local.js +0 -23
  2377. package/dist/es2017/experimental/features/metaplaylist.d.ts +0 -20
  2378. package/dist/es2017/experimental/features/metaplaylist.d.ts.map +0 -1
  2379. package/dist/es2017/experimental/features/metaplaylist.js +0 -23
  2380. package/dist/es2017/experimental/features/multi_thread.d.ts +0 -9
  2381. package/dist/es2017/experimental/features/multi_thread.d.ts.map +0 -1
  2382. package/dist/es2017/experimental/features/multi_thread.js +0 -10
  2383. package/dist/es2017/experimental/index.d.ts +0 -3
  2384. package/dist/es2017/experimental/index.d.ts.map +0 -1
  2385. package/dist/es2017/experimental/index.js +0 -2
  2386. package/dist/es2017/experimental/tools/DummyMediaElement/eme.d.ts +0 -225
  2387. package/dist/es2017/experimental/tools/DummyMediaElement/eme.d.ts.map +0 -1
  2388. package/dist/es2017/experimental/tools/DummyMediaElement/eme.js +0 -790
  2389. package/dist/es2017/experimental/tools/DummyMediaElement/html5.d.ts +0 -376
  2390. package/dist/es2017/experimental/tools/DummyMediaElement/html5.d.ts.map +0 -1
  2391. package/dist/es2017/experimental/tools/DummyMediaElement/html5.js +0 -863
  2392. package/dist/es2017/experimental/tools/DummyMediaElement/index.d.ts +0 -3
  2393. package/dist/es2017/experimental/tools/DummyMediaElement/index.d.ts.map +0 -1
  2394. package/dist/es2017/experimental/tools/DummyMediaElement/index.js +0 -2
  2395. package/dist/es2017/experimental/tools/DummyMediaElement/mse.d.ts +0 -217
  2396. package/dist/es2017/experimental/tools/DummyMediaElement/mse.d.ts.map +0 -1
  2397. package/dist/es2017/experimental/tools/DummyMediaElement/mse.js +0 -586
  2398. package/dist/es2017/experimental/tools/DummyMediaElement/utils.d.ts +0 -33
  2399. package/dist/es2017/experimental/tools/DummyMediaElement/utils.d.ts.map +0 -1
  2400. package/dist/es2017/experimental/tools/DummyMediaElement/utils.js +0 -457
  2401. package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +0 -18
  2402. package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.d.ts.map +0 -1
  2403. package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.js +0 -20
  2404. package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +0 -18
  2405. package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts.map +0 -1
  2406. package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.js +0 -20
  2407. package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.d.ts +0 -19
  2408. package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.d.ts.map +0 -1
  2409. package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.js +0 -18
  2410. package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +0 -27
  2411. package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts.map +0 -1
  2412. package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.js +0 -60
  2413. package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +0 -27
  2414. package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts.map +0 -1
  2415. package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.js +0 -71
  2416. package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +0 -30
  2417. package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts.map +0 -1
  2418. package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.js +0 -40
  2419. package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.d.ts +0 -26
  2420. package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.d.ts.map +0 -1
  2421. package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.js +0 -16
  2422. package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +0 -55
  2423. package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts.map +0 -1
  2424. package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +0 -281
  2425. package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts +0 -25
  2426. package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts.map +0 -1
  2427. package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.js +0 -29
  2428. package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts +0 -24
  2429. package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts.map +0 -1
  2430. package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.js +0 -116
  2431. package/dist/es2017/experimental/tools/createMetaplaylist/index.d.ts +0 -31
  2432. package/dist/es2017/experimental/tools/createMetaplaylist/index.d.ts.map +0 -1
  2433. package/dist/es2017/experimental/tools/createMetaplaylist/index.js +0 -51
  2434. package/dist/es2017/experimental/tools/index.d.ts +0 -20
  2435. package/dist/es2017/experimental/tools/index.d.ts.map +0 -1
  2436. package/dist/es2017/experimental/tools/index.js +0 -19
  2437. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api.d.ts +0 -73
  2438. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api.d.ts.map +0 -1
  2439. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api.js +0 -196
  2440. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.d.ts +0 -19
  2441. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.d.ts.map +0 -1
  2442. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.js +0 -17
  2443. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.d.ts +0 -19
  2444. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.d.ts.map +0 -1
  2445. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.js +0 -18
  2446. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +0 -21
  2447. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts.map +0 -1
  2448. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.js +0 -58
  2449. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +0 -22
  2450. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts.map +0 -1
  2451. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.js +0 -66
  2452. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts +0 -30
  2453. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts.map +0 -1
  2454. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +0 -60
  2455. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts +0 -24
  2456. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts.map +0 -1
  2457. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.js +0 -140
  2458. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +0 -22
  2459. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts.map +0 -1
  2460. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.js +0 -49
  2461. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +0 -22
  2462. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts.map +0 -1
  2463. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.js +0 -36
  2464. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.d.ts +0 -56
  2465. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.d.ts.map +0 -1
  2466. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.js +0 -16
  2467. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.d.ts +0 -35
  2468. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.d.ts.map +0 -1
  2469. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.js +0 -82
  2470. package/dist/es2017/features/add_features.d.ts +0 -21
  2471. package/dist/es2017/features/add_features.d.ts.map +0 -1
  2472. package/dist/es2017/features/add_features.js +0 -34
  2473. package/dist/es2017/features/features_object.d.ts +0 -23
  2474. package/dist/es2017/features/features_object.d.ts.map +0 -1
  2475. package/dist/es2017/features/features_object.js +0 -33
  2476. package/dist/es2017/features/index.d.ts +0 -36
  2477. package/dist/es2017/features/index.d.ts.map +0 -1
  2478. package/dist/es2017/features/index.js +0 -33
  2479. package/dist/es2017/features/list/dash.d.ts +0 -24
  2480. package/dist/es2017/features/list/dash.d.ts.map +0 -1
  2481. package/dist/es2017/features/list/dash.js +0 -31
  2482. package/dist/es2017/features/list/dash_wasm.d.ts +0 -24
  2483. package/dist/es2017/features/list/dash_wasm.d.ts.map +0 -1
  2484. package/dist/es2017/features/list/dash_wasm.js +0 -33
  2485. package/dist/es2017/features/list/debug_element.d.ts +0 -9
  2486. package/dist/es2017/features/list/debug_element.d.ts.map +0 -1
  2487. package/dist/es2017/features/list/debug_element.js +0 -10
  2488. package/dist/es2017/features/list/directfile.d.ts +0 -25
  2489. package/dist/es2017/features/list/directfile.d.ts.map +0 -1
  2490. package/dist/es2017/features/list/directfile.js +0 -27
  2491. package/dist/es2017/features/list/eme.d.ts +0 -24
  2492. package/dist/es2017/features/list/eme.d.ts.map +0 -1
  2493. package/dist/es2017/features/list/eme.js +0 -25
  2494. package/dist/es2017/features/list/html_sami_parser.d.ts +0 -24
  2495. package/dist/es2017/features/list/html_sami_parser.d.ts.map +0 -1
  2496. package/dist/es2017/features/list/html_sami_parser.js +0 -27
  2497. package/dist/es2017/features/list/html_srt_parser.d.ts +0 -24
  2498. package/dist/es2017/features/list/html_srt_parser.d.ts.map +0 -1
  2499. package/dist/es2017/features/list/html_srt_parser.js +0 -27
  2500. package/dist/es2017/features/list/html_text_buffer.d.ts +0 -24
  2501. package/dist/es2017/features/list/html_text_buffer.d.ts.map +0 -1
  2502. package/dist/es2017/features/list/html_text_buffer.js +0 -25
  2503. package/dist/es2017/features/list/html_ttml_parser.d.ts +0 -24
  2504. package/dist/es2017/features/list/html_ttml_parser.d.ts.map +0 -1
  2505. package/dist/es2017/features/list/html_ttml_parser.js +0 -27
  2506. package/dist/es2017/features/list/html_vtt_parser.d.ts +0 -24
  2507. package/dist/es2017/features/list/html_vtt_parser.d.ts.map +0 -1
  2508. package/dist/es2017/features/list/html_vtt_parser.js +0 -28
  2509. package/dist/es2017/features/list/index.d.ts +0 -33
  2510. package/dist/es2017/features/list/index.d.ts.map +0 -1
  2511. package/dist/es2017/features/list/index.js +0 -32
  2512. package/dist/es2017/features/list/media_source_main.d.ts +0 -9
  2513. package/dist/es2017/features/list/media_source_main.d.ts.map +0 -1
  2514. package/dist/es2017/features/list/media_source_main.js +0 -10
  2515. package/dist/es2017/features/list/native_sami_parser.d.ts +0 -24
  2516. package/dist/es2017/features/list/native_sami_parser.d.ts.map +0 -1
  2517. package/dist/es2017/features/list/native_sami_parser.js +0 -27
  2518. package/dist/es2017/features/list/native_srt_parser.d.ts +0 -24
  2519. package/dist/es2017/features/list/native_srt_parser.d.ts.map +0 -1
  2520. package/dist/es2017/features/list/native_srt_parser.js +0 -27
  2521. package/dist/es2017/features/list/native_text_buffer.d.ts +0 -24
  2522. package/dist/es2017/features/list/native_text_buffer.d.ts.map +0 -1
  2523. package/dist/es2017/features/list/native_text_buffer.js +0 -25
  2524. package/dist/es2017/features/list/native_ttml_parser.d.ts +0 -24
  2525. package/dist/es2017/features/list/native_ttml_parser.d.ts.map +0 -1
  2526. package/dist/es2017/features/list/native_ttml_parser.js +0 -27
  2527. package/dist/es2017/features/list/native_vtt_parser.d.ts +0 -24
  2528. package/dist/es2017/features/list/native_vtt_parser.d.ts.map +0 -1
  2529. package/dist/es2017/features/list/native_vtt_parser.js +0 -28
  2530. package/dist/es2017/features/list/smooth.d.ts +0 -24
  2531. package/dist/es2017/features/list/smooth.d.ts.map +0 -1
  2532. package/dist/es2017/features/list/smooth.js +0 -29
  2533. package/dist/es2017/features/types.d.ts +0 -146
  2534. package/dist/es2017/features/types.d.ts.map +0 -1
  2535. package/dist/es2017/features/types.js +0 -16
  2536. package/dist/es2017/index.d.ts +0 -18
  2537. package/dist/es2017/index.d.ts.map +0 -1
  2538. package/dist/es2017/index.js +0 -42
  2539. package/dist/es2017/log.d.ts +0 -19
  2540. package/dist/es2017/log.d.ts.map +0 -1
  2541. package/dist/es2017/log.js +0 -19
  2542. package/dist/es2017/main_thread/api/debug/buffer_graph.d.ts +0 -29
  2543. package/dist/es2017/main_thread/api/debug/buffer_graph.d.ts.map +0 -1
  2544. package/dist/es2017/main_thread/api/debug/buffer_graph.js +0 -175
  2545. package/dist/es2017/main_thread/api/debug/buffer_size_graph.d.ts +0 -11
  2546. package/dist/es2017/main_thread/api/debug/buffer_size_graph.d.ts.map +0 -1
  2547. package/dist/es2017/main_thread/api/debug/buffer_size_graph.js +0 -102
  2548. package/dist/es2017/main_thread/api/debug/constants.d.ts +0 -3
  2549. package/dist/es2017/main_thread/api/debug/constants.d.ts.map +0 -1
  2550. package/dist/es2017/main_thread/api/debug/constants.js +0 -2
  2551. package/dist/es2017/main_thread/api/debug/index.d.ts +0 -3
  2552. package/dist/es2017/main_thread/api/debug/index.d.ts.map +0 -1
  2553. package/dist/es2017/main_thread/api/debug/index.js +0 -2
  2554. package/dist/es2017/main_thread/api/debug/modules/general_info.d.ts +0 -4
  2555. package/dist/es2017/main_thread/api/debug/modules/general_info.d.ts.map +0 -1
  2556. package/dist/es2017/main_thread/api/debug/modules/general_info.js +0 -192
  2557. package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.d.ts +0 -5
  2558. package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.d.ts.map +0 -1
  2559. package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.js +0 -169
  2560. package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.d.ts +0 -4
  2561. package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.d.ts.map +0 -1
  2562. package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.js +0 -35
  2563. package/dist/es2017/main_thread/api/debug/render.d.ts +0 -4
  2564. package/dist/es2017/main_thread/api/debug/render.d.ts.map +0 -1
  2565. package/dist/es2017/main_thread/api/debug/render.js +0 -32
  2566. package/dist/es2017/main_thread/api/debug/utils.d.ts +0 -40
  2567. package/dist/es2017/main_thread/api/debug/utils.d.ts.map +0 -1
  2568. package/dist/es2017/main_thread/api/debug/utils.js +0 -54
  2569. package/dist/es2017/main_thread/api/index.d.ts +0 -18
  2570. package/dist/es2017/main_thread/api/index.d.ts.map +0 -1
  2571. package/dist/es2017/main_thread/api/index.js +0 -17
  2572. package/dist/es2017/main_thread/api/option_utils.d.ts +0 -162
  2573. package/dist/es2017/main_thread/api/option_utils.d.ts.map +0 -1
  2574. package/dist/es2017/main_thread/api/option_utils.js +0 -334
  2575. package/dist/es2017/main_thread/api/public_api.d.ts +0 -995
  2576. package/dist/es2017/main_thread/api/public_api.d.ts.map +0 -1
  2577. package/dist/es2017/main_thread/api/public_api.js +0 -2684
  2578. package/dist/es2017/main_thread/api/utils.d.ts +0 -67
  2579. package/dist/es2017/main_thread/api/utils.d.ts.map +0 -1
  2580. package/dist/es2017/main_thread/api/utils.js +0 -179
  2581. package/dist/es2017/main_thread/decrypt/clear_on_stop.d.ts +0 -24
  2582. package/dist/es2017/main_thread/decrypt/clear_on_stop.d.ts.map +0 -1
  2583. package/dist/es2017/main_thread/decrypt/clear_on_stop.js +0 -42
  2584. package/dist/es2017/main_thread/decrypt/content_decryptor.d.ts +0 -237
  2585. package/dist/es2017/main_thread/decrypt/content_decryptor.d.ts.map +0 -1
  2586. package/dist/es2017/main_thread/decrypt/content_decryptor.js +0 -921
  2587. package/dist/es2017/main_thread/decrypt/create_or_load_session.d.ts +0 -65
  2588. package/dist/es2017/main_thread/decrypt/create_or_load_session.d.ts.map +0 -1
  2589. package/dist/es2017/main_thread/decrypt/create_or_load_session.js +0 -88
  2590. package/dist/es2017/main_thread/decrypt/create_session.d.ts +0 -55
  2591. package/dist/es2017/main_thread/decrypt/create_session.d.ts.map +0 -1
  2592. package/dist/es2017/main_thread/decrypt/create_session.js +0 -152
  2593. package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.d.ts +0 -23
  2594. package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.d.ts.map +0 -1
  2595. package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.js +0 -24
  2596. package/dist/es2017/main_thread/decrypt/find_key_system.d.ts +0 -86
  2597. package/dist/es2017/main_thread/decrypt/find_key_system.d.ts.map +0 -1
  2598. package/dist/es2017/main_thread/decrypt/find_key_system.js +0 -446
  2599. package/dist/es2017/main_thread/decrypt/get_key_system_configuration.d.ts +0 -24
  2600. package/dist/es2017/main_thread/decrypt/get_key_system_configuration.d.ts.map +0 -1
  2601. package/dist/es2017/main_thread/decrypt/get_key_system_configuration.js +0 -32
  2602. package/dist/es2017/main_thread/decrypt/get_media_keys.d.ts +0 -55
  2603. package/dist/es2017/main_thread/decrypt/get_media_keys.d.ts.map +0 -1
  2604. package/dist/es2017/main_thread/decrypt/get_media_keys.js +0 -114
  2605. package/dist/es2017/main_thread/decrypt/index.d.ts +0 -27
  2606. package/dist/es2017/main_thread/decrypt/index.d.ts.map +0 -1
  2607. package/dist/es2017/main_thread/decrypt/index.js +0 -26
  2608. package/dist/es2017/main_thread/decrypt/init_media_keys.d.ts +0 -30
  2609. package/dist/es2017/main_thread/decrypt/init_media_keys.d.ts.map +0 -1
  2610. package/dist/es2017/main_thread/decrypt/init_media_keys.js +0 -38
  2611. package/dist/es2017/main_thread/decrypt/session_events_listener.d.ts +0 -77
  2612. package/dist/es2017/main_thread/decrypt/session_events_listener.d.ts.map +0 -1
  2613. package/dist/es2017/main_thread/decrypt/session_events_listener.js +0 -273
  2614. package/dist/es2017/main_thread/decrypt/set_server_certificate.d.ts +0 -58
  2615. package/dist/es2017/main_thread/decrypt/set_server_certificate.d.ts.map +0 -1
  2616. package/dist/es2017/main_thread/decrypt/set_server_certificate.js +0 -96
  2617. package/dist/es2017/main_thread/decrypt/types.d.ts +0 -380
  2618. package/dist/es2017/main_thread/decrypt/types.d.ts.map +0 -1
  2619. package/dist/es2017/main_thread/decrypt/types.js +0 -55
  2620. package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.d.ts +0 -35
  2621. package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.d.ts.map +0 -1
  2622. package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.js +0 -141
  2623. package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.d.ts +0 -54
  2624. package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.d.ts.map +0 -1
  2625. package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.js +0 -180
  2626. package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts +0 -27
  2627. package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts.map +0 -1
  2628. package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.js +0 -42
  2629. package/dist/es2017/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts +0 -33
  2630. package/dist/es2017/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts.map +0 -1
  2631. package/dist/es2017/main_thread/decrypt/utils/clean_old_stored_persistent_info.js +0 -43
  2632. package/dist/es2017/main_thread/decrypt/utils/get_drm_system_id.d.ts +0 -21
  2633. package/dist/es2017/main_thread/decrypt/utils/get_drm_system_id.d.ts.map +0 -1
  2634. package/dist/es2017/main_thread/decrypt/utils/get_drm_system_id.js +0 -37
  2635. package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.d.ts +0 -70
  2636. package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.d.ts.map +0 -1
  2637. package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.js +0 -105
  2638. package/dist/es2017/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts +0 -14
  2639. package/dist/es2017/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts.map +0 -1
  2640. package/dist/es2017/main_thread/decrypt/utils/is_compatible_codec_supported.js +0 -28
  2641. package/dist/es2017/main_thread/decrypt/utils/is_session_usable.d.ts +0 -25
  2642. package/dist/es2017/main_thread/decrypt/utils/is_session_usable.d.ts.map +0 -1
  2643. package/dist/es2017/main_thread/decrypt/utils/is_session_usable.js +0 -54
  2644. package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.d.ts +0 -32
  2645. package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.d.ts.map +0 -1
  2646. package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.js +0 -48
  2647. package/dist/es2017/main_thread/decrypt/utils/key_session_record.d.ts +0 -105
  2648. package/dist/es2017/main_thread/decrypt/utils/key_session_record.d.ts.map +0 -1
  2649. package/dist/es2017/main_thread/decrypt/utils/key_session_record.js +0 -152
  2650. package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.d.ts +0 -214
  2651. package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.d.ts.map +0 -1
  2652. package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.js +0 -382
  2653. package/dist/es2017/main_thread/decrypt/utils/media_keys_attacher.d.ts +0 -85
  2654. package/dist/es2017/main_thread/decrypt/utils/media_keys_attacher.d.ts.map +0 -1
  2655. package/dist/es2017/main_thread/decrypt/utils/media_keys_attacher.js +0 -184
  2656. package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.d.ts +0 -93
  2657. package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.d.ts.map +0 -1
  2658. package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.js +0 -369
  2659. package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.d.ts +0 -45
  2660. package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.d.ts.map +0 -1
  2661. package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.js +0 -46
  2662. package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.d.ts +0 -65
  2663. package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.d.ts.map +0 -1
  2664. package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.js +0 -121
  2665. package/dist/es2017/main_thread/init/directfile_content_initializer.d.ts +0 -113
  2666. package/dist/es2017/main_thread/init/directfile_content_initializer.d.ts.map +0 -1
  2667. package/dist/es2017/main_thread/init/directfile_content_initializer.js +0 -264
  2668. package/dist/es2017/main_thread/init/index.d.ts +0 -18
  2669. package/dist/es2017/main_thread/init/index.d.ts.map +0 -1
  2670. package/dist/es2017/main_thread/init/index.js +0 -16
  2671. package/dist/es2017/main_thread/init/media_source_content_initializer.d.ts +0 -260
  2672. package/dist/es2017/main_thread/init/media_source_content_initializer.d.ts.map +0 -1
  2673. package/dist/es2017/main_thread/init/media_source_content_initializer.js +0 -916
  2674. package/dist/es2017/main_thread/init/multi_thread_content_initializer.d.ts +0 -308
  2675. package/dist/es2017/main_thread/init/multi_thread_content_initializer.d.ts.map +0 -1
  2676. package/dist/es2017/main_thread/init/multi_thread_content_initializer.js +0 -1559
  2677. package/dist/es2017/main_thread/init/send_message.d.ts +0 -3
  2678. package/dist/es2017/main_thread/init/send_message.d.ts.map +0 -1
  2679. package/dist/es2017/main_thread/init/send_message.js +0 -10
  2680. package/dist/es2017/main_thread/init/types.d.ts +0 -237
  2681. package/dist/es2017/main_thread/init/types.d.ts.map +0 -1
  2682. package/dist/es2017/main_thread/init/types.js +0 -29
  2683. package/dist/es2017/main_thread/init/utils/create_core_playback_observer.d.ts +0 -96
  2684. package/dist/es2017/main_thread/init/utils/create_core_playback_observer.d.ts.map +0 -1
  2685. package/dist/es2017/main_thread/init/utils/create_core_playback_observer.js +0 -106
  2686. package/dist/es2017/main_thread/init/utils/create_media_source.d.ts +0 -54
  2687. package/dist/es2017/main_thread/init/utils/create_media_source.d.ts.map +0 -1
  2688. package/dist/es2017/main_thread/init/utils/create_media_source.js +0 -138
  2689. package/dist/es2017/main_thread/init/utils/get_initial_time.d.ts +0 -77
  2690. package/dist/es2017/main_thread/init/utils/get_initial_time.d.ts.map +0 -1
  2691. package/dist/es2017/main_thread/init/utils/get_initial_time.js +0 -149
  2692. package/dist/es2017/main_thread/init/utils/get_loaded_reference.d.ts +0 -28
  2693. package/dist/es2017/main_thread/init/utils/get_loaded_reference.d.ts.map +0 -1
  2694. package/dist/es2017/main_thread/init/utils/get_loaded_reference.js +0 -63
  2695. package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts +0 -63
  2696. package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts.map +0 -1
  2697. package/dist/es2017/main_thread/init/utils/initial_seek_and_play.js +0 -224
  2698. package/dist/es2017/main_thread/init/utils/initialize_content_decryption.d.ts +0 -99
  2699. package/dist/es2017/main_thread/init/utils/initialize_content_decryption.d.ts.map +0 -1
  2700. package/dist/es2017/main_thread/init/utils/initialize_content_decryption.js +0 -118
  2701. package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.d.ts +0 -36
  2702. package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.d.ts.map +0 -1
  2703. package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.js +0 -50
  2704. package/dist/es2017/main_thread/init/utils/rebuffering_controller.d.ts +0 -115
  2705. package/dist/es2017/main_thread/init/utils/rebuffering_controller.d.ts.map +0 -1
  2706. package/dist/es2017/main_thread/init/utils/rebuffering_controller.js +0 -444
  2707. package/dist/es2017/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts +0 -40
  2708. package/dist/es2017/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts.map +0 -1
  2709. package/dist/es2017/main_thread/init/utils/stream_events_emitter/are_same_stream_events.js +0 -33
  2710. package/dist/es2017/main_thread/init/utils/stream_events_emitter/index.d.ts +0 -19
  2711. package/dist/es2017/main_thread/init/utils/stream_events_emitter/index.d.ts.map +0 -1
  2712. package/dist/es2017/main_thread/init/utils/stream_events_emitter/index.js +0 -17
  2713. package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +0 -26
  2714. package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts.map +0 -1
  2715. package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +0 -82
  2716. package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts +0 -52
  2717. package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts.map +0 -1
  2718. package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.js +0 -173
  2719. package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.d.ts +0 -42
  2720. package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.d.ts.map +0 -1
  2721. package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.js +0 -16
  2722. package/dist/es2017/main_thread/init/utils/throw_on_media_error.d.ts +0 -25
  2723. package/dist/es2017/main_thread/init/utils/throw_on_media_error.d.ts.map +0 -1
  2724. package/dist/es2017/main_thread/init/utils/throw_on_media_error.js +0 -63
  2725. package/dist/es2017/main_thread/init/utils/update_manifest_codec_support.d.ts +0 -35
  2726. package/dist/es2017/main_thread/init/utils/update_manifest_codec_support.d.ts.map +0 -1
  2727. package/dist/es2017/main_thread/init/utils/update_manifest_codec_support.js +0 -147
  2728. package/dist/es2017/main_thread/render_thumbnail.d.ts +0 -27
  2729. package/dist/es2017/main_thread/render_thumbnail.d.ts.map +0 -1
  2730. package/dist/es2017/main_thread/render_thumbnail.js +0 -198
  2731. package/dist/es2017/main_thread/text_displayer/html/html_parsers.d.ts +0 -20
  2732. package/dist/es2017/main_thread/text_displayer/html/html_parsers.d.ts.map +0 -1
  2733. package/dist/es2017/main_thread/text_displayer/html/html_parsers.js +0 -22
  2734. package/dist/es2017/main_thread/text_displayer/html/html_text_displayer.d.ts +0 -103
  2735. package/dist/es2017/main_thread/text_displayer/html/html_text_displayer.d.ts.map +0 -1
  2736. package/dist/es2017/main_thread/text_displayer/html/html_text_displayer.js +0 -308
  2737. package/dist/es2017/main_thread/text_displayer/html/index.d.ts +0 -3
  2738. package/dist/es2017/main_thread/text_displayer/html/index.d.ts.map +0 -1
  2739. package/dist/es2017/main_thread/text_displayer/html/index.js +0 -2
  2740. package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.d.ts +0 -66
  2741. package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.d.ts.map +0 -1
  2742. package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.js +0 -356
  2743. package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.d.ts +0 -16
  2744. package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.d.ts.map +0 -1
  2745. package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.js +0 -61
  2746. package/dist/es2017/main_thread/text_displayer/html/utils.d.ts +0 -55
  2747. package/dist/es2017/main_thread/text_displayer/html/utils.d.ts.map +0 -1
  2748. package/dist/es2017/main_thread/text_displayer/html/utils.js +0 -133
  2749. package/dist/es2017/main_thread/text_displayer/index.d.ts +0 -3
  2750. package/dist/es2017/main_thread/text_displayer/index.d.ts.map +0 -1
  2751. package/dist/es2017/main_thread/text_displayer/index.js +0 -1
  2752. package/dist/es2017/main_thread/text_displayer/manual_time_ranges.d.ts +0 -15
  2753. package/dist/es2017/main_thread/text_displayer/manual_time_ranges.d.ts.map +0 -1
  2754. package/dist/es2017/main_thread/text_displayer/manual_time_ranges.js +0 -44
  2755. package/dist/es2017/main_thread/text_displayer/native/index.d.ts +0 -3
  2756. package/dist/es2017/main_thread/text_displayer/native/index.d.ts.map +0 -1
  2757. package/dist/es2017/main_thread/text_displayer/native/index.js +0 -2
  2758. package/dist/es2017/main_thread/text_displayer/native/native_parsers.d.ts +0 -16
  2759. package/dist/es2017/main_thread/text_displayer/native/native_parsers.d.ts.map +0 -1
  2760. package/dist/es2017/main_thread/text_displayer/native/native_parsers.js +0 -22
  2761. package/dist/es2017/main_thread/text_displayer/native/native_text_displayer.d.ts +0 -59
  2762. package/dist/es2017/main_thread/text_displayer/native/native_text_displayer.d.ts.map +0 -1
  2763. package/dist/es2017/main_thread/text_displayer/native/native_text_displayer.js +0 -200
  2764. package/dist/es2017/main_thread/text_displayer/types.d.ts +0 -72
  2765. package/dist/es2017/main_thread/text_displayer/types.d.ts.map +0 -1
  2766. package/dist/es2017/main_thread/text_displayer/types.js +0 -1
  2767. package/dist/es2017/main_thread/tracks_store/index.d.ts +0 -21
  2768. package/dist/es2017/main_thread/tracks_store/index.d.ts.map +0 -1
  2769. package/dist/es2017/main_thread/tracks_store/index.js +0 -18
  2770. package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.d.ts +0 -208
  2771. package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.d.ts.map +0 -1
  2772. package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.js +0 -681
  2773. package/dist/es2017/main_thread/tracks_store/track_dispatcher.d.ts +0 -105
  2774. package/dist/es2017/main_thread/tracks_store/track_dispatcher.d.ts.map +0 -1
  2775. package/dist/es2017/main_thread/tracks_store/track_dispatcher.js +0 -153
  2776. package/dist/es2017/main_thread/tracks_store/tracks_store.d.ts +0 -538
  2777. package/dist/es2017/main_thread/tracks_store/tracks_store.d.ts.map +0 -1
  2778. package/dist/es2017/main_thread/tracks_store/tracks_store.js +0 -1354
  2779. package/dist/es2017/main_thread/types.d.ts +0 -6
  2780. package/dist/es2017/main_thread/types.d.ts.map +0 -1
  2781. package/dist/es2017/main_thread/types.js +0 -1
  2782. package/dist/es2017/manifest/classes/adaptation.d.ts +0 -135
  2783. package/dist/es2017/manifest/classes/adaptation.d.ts.map +0 -1
  2784. package/dist/es2017/manifest/classes/adaptation.js +0 -219
  2785. package/dist/es2017/manifest/classes/codec_support_cache.d.ts +0 -45
  2786. package/dist/es2017/manifest/classes/codec_support_cache.d.ts.map +0 -1
  2787. package/dist/es2017/manifest/classes/codec_support_cache.js +0 -58
  2788. package/dist/es2017/manifest/classes/index.d.ts +0 -32
  2789. package/dist/es2017/manifest/classes/index.d.ts.map +0 -1
  2790. package/dist/es2017/manifest/classes/index.js +0 -24
  2791. package/dist/es2017/manifest/classes/manifest.d.ts +0 -425
  2792. package/dist/es2017/manifest/classes/manifest.d.ts.map +0 -1
  2793. package/dist/es2017/manifest/classes/manifest.js +0 -436
  2794. package/dist/es2017/manifest/classes/period.d.ts +0 -157
  2795. package/dist/es2017/manifest/classes/period.d.ts.map +0 -1
  2796. package/dist/es2017/manifest/classes/period.js +0 -215
  2797. package/dist/es2017/manifest/classes/representation.d.ts +0 -271
  2798. package/dist/es2017/manifest/classes/representation.d.ts.map +0 -1
  2799. package/dist/es2017/manifest/classes/representation.js +0 -366
  2800. package/dist/es2017/manifest/classes/representation_index/index.d.ts +0 -20
  2801. package/dist/es2017/manifest/classes/representation_index/index.d.ts.map +0 -1
  2802. package/dist/es2017/manifest/classes/representation_index/index.js +0 -17
  2803. package/dist/es2017/manifest/classes/representation_index/static.d.ts +0 -117
  2804. package/dist/es2017/manifest/classes/representation_index/static.d.ts.map +0 -1
  2805. package/dist/es2017/manifest/classes/representation_index/static.js +0 -160
  2806. package/dist/es2017/manifest/classes/representation_index/types.d.ts +0 -441
  2807. package/dist/es2017/manifest/classes/representation_index/types.d.ts.map +0 -1
  2808. package/dist/es2017/manifest/classes/representation_index/types.js +0 -16
  2809. package/dist/es2017/manifest/classes/types.d.ts +0 -30
  2810. package/dist/es2017/manifest/classes/types.d.ts.map +0 -1
  2811. package/dist/es2017/manifest/classes/types.js +0 -30
  2812. package/dist/es2017/manifest/classes/update_period_in_place.d.ts +0 -63
  2813. package/dist/es2017/manifest/classes/update_period_in_place.d.ts.map +0 -1
  2814. package/dist/es2017/manifest/classes/update_period_in_place.js +0 -168
  2815. package/dist/es2017/manifest/classes/update_periods.d.ts +0 -51
  2816. package/dist/es2017/manifest/classes/update_periods.d.ts.map +0 -1
  2817. package/dist/es2017/manifest/classes/update_periods.js +0 -193
  2818. package/dist/es2017/manifest/classes/utils.d.ts +0 -47
  2819. package/dist/es2017/manifest/classes/utils.d.ts.map +0 -1
  2820. package/dist/es2017/manifest/classes/utils.js +0 -45
  2821. package/dist/es2017/manifest/index.d.ts +0 -17
  2822. package/dist/es2017/manifest/index.d.ts.map +0 -1
  2823. package/dist/es2017/manifest/index.js +0 -3
  2824. package/dist/es2017/manifest/types.d.ts +0 -466
  2825. package/dist/es2017/manifest/types.d.ts.map +0 -1
  2826. package/dist/es2017/manifest/types.js +0 -1
  2827. package/dist/es2017/manifest/utils.d.ts +0 -184
  2828. package/dist/es2017/manifest/utils.d.ts.map +0 -1
  2829. package/dist/es2017/manifest/utils.js +0 -538
  2830. package/dist/es2017/minimal.d.ts +0 -21
  2831. package/dist/es2017/minimal.d.ts.map +0 -1
  2832. package/dist/es2017/minimal.js +0 -28
  2833. package/dist/es2017/mse/index.d.ts +0 -3
  2834. package/dist/es2017/mse/index.d.ts.map +0 -1
  2835. package/dist/es2017/mse/index.js +0 -1
  2836. package/dist/es2017/mse/main_media_source_interface.d.ts +0 -128
  2837. package/dist/es2017/mse/main_media_source_interface.d.ts.map +0 -1
  2838. package/dist/es2017/mse/main_media_source_interface.js +0 -497
  2839. package/dist/es2017/mse/types.d.ts +0 -289
  2840. package/dist/es2017/mse/types.d.ts.map +0 -1
  2841. package/dist/es2017/mse/types.js +0 -1
  2842. package/dist/es2017/mse/utils/end_of_stream.d.ts +0 -35
  2843. package/dist/es2017/mse/utils/end_of_stream.d.ts.map +0 -1
  2844. package/dist/es2017/mse/utils/end_of_stream.js +0 -92
  2845. package/dist/es2017/mse/utils/media_source_duration_updater.d.ts +0 -60
  2846. package/dist/es2017/mse/utils/media_source_duration_updater.d.ts.map +0 -1
  2847. package/dist/es2017/mse/utils/media_source_duration_updater.js +0 -267
  2848. package/dist/es2017/mse/worker_media_source_interface.d.ts +0 -106
  2849. package/dist/es2017/mse/worker_media_source_interface.d.ts.map +0 -1
  2850. package/dist/es2017/mse/worker_media_source_interface.js +0 -305
  2851. package/dist/es2017/multithread_types.d.ts +0 -915
  2852. package/dist/es2017/multithread_types.d.ts.map +0 -1
  2853. package/dist/es2017/multithread_types.js +0 -6
  2854. package/dist/es2017/parsers/containers/isobmff/constants.d.ts +0 -24
  2855. package/dist/es2017/parsers/containers/isobmff/constants.d.ts.map +0 -1
  2856. package/dist/es2017/parsers/containers/isobmff/constants.js +0 -23
  2857. package/dist/es2017/parsers/containers/isobmff/create_box.d.ts +0 -31
  2858. package/dist/es2017/parsers/containers/isobmff/create_box.d.ts.map +0 -1
  2859. package/dist/es2017/parsers/containers/isobmff/create_box.js +0 -65
  2860. package/dist/es2017/parsers/containers/isobmff/drm/index.d.ts +0 -17
  2861. package/dist/es2017/parsers/containers/isobmff/drm/index.d.ts.map +0 -1
  2862. package/dist/es2017/parsers/containers/isobmff/drm/index.js +0 -16
  2863. package/dist/es2017/parsers/containers/isobmff/drm/playready.d.ts +0 -22
  2864. package/dist/es2017/parsers/containers/isobmff/drm/playready.d.ts.map +0 -1
  2865. package/dist/es2017/parsers/containers/isobmff/drm/playready.js +0 -35
  2866. package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.d.ts +0 -30
  2867. package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.d.ts.map +0 -1
  2868. package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.js +0 -85
  2869. package/dist/es2017/parsers/containers/isobmff/find_complete_box.d.ts +0 -26
  2870. package/dist/es2017/parsers/containers/isobmff/find_complete_box.d.ts.map +0 -1
  2871. package/dist/es2017/parsers/containers/isobmff/find_complete_box.js +0 -54
  2872. package/dist/es2017/parsers/containers/isobmff/get_box.d.ts +0 -107
  2873. package/dist/es2017/parsers/containers/isobmff/get_box.d.ts.map +0 -1
  2874. package/dist/es2017/parsers/containers/isobmff/get_box.js +0 -224
  2875. package/dist/es2017/parsers/containers/isobmff/index.d.ts +0 -26
  2876. package/dist/es2017/parsers/containers/isobmff/index.d.ts.map +0 -1
  2877. package/dist/es2017/parsers/containers/isobmff/index.js +0 -24
  2878. package/dist/es2017/parsers/containers/isobmff/read.d.ts +0 -58
  2879. package/dist/es2017/parsers/containers/isobmff/read.d.ts.map +0 -1
  2880. package/dist/es2017/parsers/containers/isobmff/read.js +0 -87
  2881. package/dist/es2017/parsers/containers/isobmff/take_pssh_out.d.ts +0 -42
  2882. package/dist/es2017/parsers/containers/isobmff/take_pssh_out.d.ts.map +0 -1
  2883. package/dist/es2017/parsers/containers/isobmff/take_pssh_out.js +0 -82
  2884. package/dist/es2017/parsers/containers/isobmff/utils.d.ts +0 -143
  2885. package/dist/es2017/parsers/containers/isobmff/utils.d.ts.map +0 -1
  2886. package/dist/es2017/parsers/containers/isobmff/utils.js +0 -537
  2887. package/dist/es2017/parsers/containers/matroska/index.d.ts +0 -18
  2888. package/dist/es2017/parsers/containers/matroska/index.d.ts.map +0 -1
  2889. package/dist/es2017/parsers/containers/matroska/index.js +0 -16
  2890. package/dist/es2017/parsers/containers/matroska/utils.d.ts +0 -35
  2891. package/dist/es2017/parsers/containers/matroska/utils.d.ts.map +0 -1
  2892. package/dist/es2017/parsers/containers/matroska/utils.js +0 -256
  2893. package/dist/es2017/parsers/images/bif.d.ts +0 -40
  2894. package/dist/es2017/parsers/images/bif.d.ts.map +0 -1
  2895. package/dist/es2017/parsers/images/bif.js +0 -101
  2896. package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.d.ts +0 -29
  2897. package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.d.ts.map +0 -1
  2898. package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.js +0 -44
  2899. package/dist/es2017/parsers/manifest/dash/common/content_protection_parser.d.ts +0 -99
  2900. package/dist/es2017/parsers/manifest/dash/common/content_protection_parser.d.ts.map +0 -1
  2901. package/dist/es2017/parsers/manifest/dash/common/content_protection_parser.js +0 -198
  2902. package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts +0 -18
  2903. package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts.map +0 -1
  2904. package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.js +0 -24
  2905. package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +0 -44
  2906. package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts.map +0 -1
  2907. package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.js +0 -82
  2908. package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.d.ts +0 -30
  2909. package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.d.ts.map +0 -1
  2910. package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.js +0 -38
  2911. package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.d.ts +0 -51
  2912. package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.d.ts.map +0 -1
  2913. package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.js +0 -67
  2914. package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +0 -22
  2915. package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts.map +0 -1
  2916. package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.js +0 -25
  2917. package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts +0 -26
  2918. package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts.map +0 -1
  2919. package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.js +0 -33
  2920. package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.d.ts +0 -44
  2921. package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.d.ts.map +0 -1
  2922. package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.js +0 -68
  2923. package/dist/es2017/parsers/manifest/dash/common/index.d.ts +0 -22
  2924. package/dist/es2017/parsers/manifest/dash/common/index.d.ts.map +0 -1
  2925. package/dist/es2017/parsers/manifest/dash/common/index.js +0 -19
  2926. package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts +0 -267
  2927. package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts.map +0 -1
  2928. package/dist/es2017/parsers/manifest/dash/common/indexes/base.js +0 -285
  2929. package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +0 -33
  2930. package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.d.ts.map +0 -1
  2931. package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.js +0 -44
  2932. package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts +0 -40
  2933. package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts.map +0 -1
  2934. package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.js +0 -109
  2935. package/dist/es2017/parsers/manifest/dash/common/indexes/index.d.ts +0 -26
  2936. package/dist/es2017/parsers/manifest/dash/common/indexes/index.d.ts.map +0 -1
  2937. package/dist/es2017/parsers/manifest/dash/common/indexes/index.js +0 -20
  2938. package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts +0 -209
  2939. package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts.map +0 -1
  2940. package/dist/es2017/parsers/manifest/dash/common/indexes/list.js +0 -227
  2941. package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts +0 -272
  2942. package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts.map +0 -1
  2943. package/dist/es2017/parsers/manifest/dash/common/indexes/template.js +0 -449
  2944. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +0 -28
  2945. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts.map +0 -1
  2946. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.js +0 -43
  2947. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts +0 -19
  2948. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts.map +0 -1
  2949. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.js +0 -79
  2950. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts +0 -38
  2951. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts.map +0 -1
  2952. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.js +0 -63
  2953. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts +0 -43
  2954. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts.map +0 -1
  2955. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.js +0 -140
  2956. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/index.d.ts +0 -20
  2957. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/index.d.ts.map +0 -1
  2958. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/index.js +0 -17
  2959. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +0 -37
  2960. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts.map +0 -1
  2961. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.js +0 -65
  2962. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +0 -448
  2963. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts.map +0 -1
  2964. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +0 -685
  2965. package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.d.ts +0 -41
  2966. package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.d.ts.map +0 -1
  2967. package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.js +0 -107
  2968. package/dist/es2017/parsers/manifest/dash/common/indexes/utils.d.ts +0 -26
  2969. package/dist/es2017/parsers/manifest/dash/common/indexes/utils.d.ts.map +0 -1
  2970. package/dist/es2017/parsers/manifest/dash/common/indexes/utils.js +0 -28
  2971. package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts +0 -48
  2972. package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts.map +0 -1
  2973. package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.js +0 -154
  2974. package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts +0 -120
  2975. package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts.map +0 -1
  2976. package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.js +0 -134
  2977. package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +0 -56
  2978. package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.d.ts.map +0 -1
  2979. package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.js +0 -434
  2980. package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.d.ts +0 -24
  2981. package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.d.ts.map +0 -1
  2982. package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.js +0 -31
  2983. package/dist/es2017/parsers/manifest/dash/common/parse_mpd.d.ts +0 -99
  2984. package/dist/es2017/parsers/manifest/dash/common/parse_mpd.d.ts.map +0 -1
  2985. package/dist/es2017/parsers/manifest/dash/common/parse_mpd.js +0 -291
  2986. package/dist/es2017/parsers/manifest/dash/common/parse_periods.d.ts +0 -71
  2987. package/dist/es2017/parsers/manifest/dash/common/parse_periods.d.ts.map +0 -1
  2988. package/dist/es2017/parsers/manifest/dash/common/parse_periods.js +0 -266
  2989. package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.d.ts +0 -87
  2990. package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.d.ts.map +0 -1
  2991. package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.js +0 -100
  2992. package/dist/es2017/parsers/manifest/dash/common/parse_representations.d.ts +0 -51
  2993. package/dist/es2017/parsers/manifest/dash/common/parse_representations.d.ts.map +0 -1
  2994. package/dist/es2017/parsers/manifest/dash/common/parse_representations.js +0 -236
  2995. package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.d.ts +0 -27
  2996. package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.d.ts.map +0 -1
  2997. package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.js +0 -46
  2998. package/dist/es2017/parsers/manifest/dash/index.d.ts +0 -17
  2999. package/dist/es2017/parsers/manifest/dash/index.d.ts.map +0 -1
  3000. package/dist/es2017/parsers/manifest/dash/index.js +0 -16
  3001. package/dist/es2017/parsers/manifest/dash/js-parser/index.d.ts +0 -18
  3002. package/dist/es2017/parsers/manifest/dash/js-parser/index.d.ts.map +0 -1
  3003. package/dist/es2017/parsers/manifest/dash/js-parser/index.js +0 -17
  3004. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts +0 -25
  3005. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts.map +0 -1
  3006. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.js +0 -365
  3007. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts +0 -25
  3008. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts.map +0 -1
  3009. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.js +0 -30
  3010. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts +0 -24
  3011. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts.map +0 -1
  3012. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.js +0 -45
  3013. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts +0 -23
  3014. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts.map +0 -1
  3015. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.js +0 -84
  3016. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts +0 -24
  3017. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts.map +0 -1
  3018. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.js +0 -101
  3019. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts +0 -23
  3020. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts.map +0 -1
  3021. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.js +0 -45
  3022. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts +0 -24
  3023. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts.map +0 -1
  3024. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.js +0 -194
  3025. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts +0 -24
  3026. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts.map +0 -1
  3027. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.js +0 -156
  3028. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts +0 -23
  3029. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts.map +0 -1
  3030. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.js +0 -227
  3031. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts +0 -24
  3032. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts.map +0 -1
  3033. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.js +0 -111
  3034. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts +0 -23
  3035. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts.map +0 -1
  3036. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentList.js +0 -41
  3037. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts +0 -25
  3038. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts.map +0 -1
  3039. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.js +0 -84
  3040. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts +0 -23
  3041. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts.map +0 -1
  3042. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.js +0 -33
  3043. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts +0 -25
  3044. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts.map +0 -1
  3045. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.js +0 -57
  3046. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts +0 -176
  3047. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts.map +0 -1
  3048. package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.js +0 -309
  3049. package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts +0 -25
  3050. package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts.map +0 -1
  3051. package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_xml_string.js +0 -114
  3052. package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts +0 -404
  3053. package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts.map +0 -1
  3054. package/dist/es2017/parsers/manifest/dash/node_parser_types.js +0 -16
  3055. package/dist/es2017/parsers/manifest/dash/parsers_types.d.ts +0 -84
  3056. package/dist/es2017/parsers/manifest/dash/parsers_types.d.ts.map +0 -1
  3057. package/dist/es2017/parsers/manifest/dash/parsers_types.js +0 -16
  3058. package/dist/es2017/parsers/manifest/dash/wasm-parser/index.d.ts +0 -20
  3059. package/dist/es2017/parsers/manifest/dash/wasm-parser/index.d.ts.map +0 -1
  3060. package/dist/es2017/parsers/manifest/dash/wasm-parser/index.js +0 -17
  3061. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +0 -112
  3062. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts.map +0 -1
  3063. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.js +0 -355
  3064. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts +0 -33
  3065. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts.map +0 -1
  3066. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +0 -272
  3067. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts +0 -25
  3068. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts.map +0 -1
  3069. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.js +0 -30
  3070. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts +0 -25
  3071. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts.map +0 -1
  3072. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.js +0 -41
  3073. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts +0 -24
  3074. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts.map +0 -1
  3075. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.js +0 -58
  3076. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +0 -34
  3077. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts.map +0 -1
  3078. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.js +0 -112
  3079. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts +0 -4
  3080. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts.map +0 -1
  3081. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.js +0 -9
  3082. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts +0 -29
  3083. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts.map +0 -1
  3084. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.js +0 -164
  3085. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +0 -34
  3086. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts.map +0 -1
  3087. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.js +0 -148
  3088. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +0 -33
  3089. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts.map +0 -1
  3090. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +0 -179
  3091. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts +0 -25
  3092. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts.map +0 -1
  3093. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.js +0 -35
  3094. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts +0 -19
  3095. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts.map +0 -1
  3096. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.js +0 -88
  3097. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts +0 -27
  3098. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts.map +0 -1
  3099. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.js +0 -45
  3100. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts +0 -19
  3101. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts.map +0 -1
  3102. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.js +0 -101
  3103. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts +0 -26
  3104. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts.map +0 -1
  3105. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.js +0 -52
  3106. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts +0 -30
  3107. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts.map +0 -1
  3108. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.js +0 -47
  3109. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts +0 -17
  3110. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts.map +0 -1
  3111. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/index.js +0 -16
  3112. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts +0 -28
  3113. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts.map +0 -1
  3114. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.js +0 -50
  3115. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts +0 -39
  3116. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts.map +0 -1
  3117. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/parsers_stack.js +0 -58
  3118. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.d.ts +0 -149
  3119. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.d.ts.map +0 -1
  3120. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.js +0 -16
  3121. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.d.ts +0 -30
  3122. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.d.ts.map +0 -1
  3123. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.js +0 -40
  3124. package/dist/es2017/parsers/manifest/index.d.ts +0 -17
  3125. package/dist/es2017/parsers/manifest/index.d.ts.map +0 -1
  3126. package/dist/es2017/parsers/manifest/index.js +0 -16
  3127. package/dist/es2017/parsers/manifest/local/index.d.ts +0 -19
  3128. package/dist/es2017/parsers/manifest/local/index.d.ts.map +0 -1
  3129. package/dist/es2017/parsers/manifest/local/index.js +0 -17
  3130. package/dist/es2017/parsers/manifest/local/parse_local_manifest.d.ts +0 -23
  3131. package/dist/es2017/parsers/manifest/local/parse_local_manifest.d.ts.map +0 -1
  3132. package/dist/es2017/parsers/manifest/local/parse_local_manifest.js +0 -133
  3133. package/dist/es2017/parsers/manifest/local/representation_index.d.ts +0 -99
  3134. package/dist/es2017/parsers/manifest/local/representation_index.d.ts.map +0 -1
  3135. package/dist/es2017/parsers/manifest/local/representation_index.js +0 -243
  3136. package/dist/es2017/parsers/manifest/local/types.d.ts +0 -288
  3137. package/dist/es2017/parsers/manifest/local/types.d.ts.map +0 -1
  3138. package/dist/es2017/parsers/manifest/local/types.js +0 -16
  3139. package/dist/es2017/parsers/manifest/metaplaylist/index.d.ts +0 -20
  3140. package/dist/es2017/parsers/manifest/metaplaylist/index.d.ts.map +0 -1
  3141. package/dist/es2017/parsers/manifest/metaplaylist/index.js +0 -17
  3142. package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +0 -65
  3143. package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts.map +0 -1
  3144. package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.js +0 -265
  3145. package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts +0 -165
  3146. package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts.map +0 -1
  3147. package/dist/es2017/parsers/manifest/metaplaylist/representation_index.js +0 -234
  3148. package/dist/es2017/parsers/manifest/smooth/create_parser.d.ts +0 -34
  3149. package/dist/es2017/parsers/manifest/smooth/create_parser.d.ts.map +0 -1
  3150. package/dist/es2017/parsers/manifest/smooth/create_parser.js +0 -516
  3151. package/dist/es2017/parsers/manifest/smooth/get_codecs.d.ts +0 -27
  3152. package/dist/es2017/parsers/manifest/smooth/get_codecs.d.ts.map +0 -1
  3153. package/dist/es2017/parsers/manifest/smooth/get_codecs.js +0 -50
  3154. package/dist/es2017/parsers/manifest/smooth/index.d.ts +0 -22
  3155. package/dist/es2017/parsers/manifest/smooth/index.d.ts.map +0 -1
  3156. package/dist/es2017/parsers/manifest/smooth/index.js +0 -19
  3157. package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.d.ts +0 -27
  3158. package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.d.ts.map +0 -1
  3159. package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.js +0 -60
  3160. package/dist/es2017/parsers/manifest/smooth/parse_protection_node.d.ts +0 -30
  3161. package/dist/es2017/parsers/manifest/smooth/parse_protection_node.d.ts.map +0 -1
  3162. package/dist/es2017/parsers/manifest/smooth/parse_protection_node.js +0 -62
  3163. package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts +0 -242
  3164. package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts.map +0 -1
  3165. package/dist/es2017/parsers/manifest/smooth/representation_index.js +0 -420
  3166. package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +0 -120
  3167. package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts.map +0 -1
  3168. package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.js +0 -156
  3169. package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.d.ts +0 -39
  3170. package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.d.ts.map +0 -1
  3171. package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.js +0 -63
  3172. package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.d.ts +0 -21
  3173. package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.d.ts.map +0 -1
  3174. package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.js +0 -30
  3175. package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.d.ts +0 -24
  3176. package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.d.ts.map +0 -1
  3177. package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.js +0 -31
  3178. package/dist/es2017/parsers/manifest/smooth/utils/tokens.d.ts +0 -29
  3179. package/dist/es2017/parsers/manifest/smooth/utils/tokens.d.ts.map +0 -1
  3180. package/dist/es2017/parsers/manifest/smooth/utils/tokens.js +0 -34
  3181. package/dist/es2017/parsers/manifest/types.d.ts +0 -443
  3182. package/dist/es2017/parsers/manifest/types.d.ts.map +0 -1
  3183. package/dist/es2017/parsers/manifest/types.js +0 -16
  3184. package/dist/es2017/parsers/manifest/utils/check_manifest_ids.d.ts +0 -26
  3185. package/dist/es2017/parsers/manifest/utils/check_manifest_ids.d.ts.map +0 -1
  3186. package/dist/es2017/parsers/manifest/utils/check_manifest_ids.js +0 -80
  3187. package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.d.ts +0 -26
  3188. package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.d.ts.map +0 -1
  3189. package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.js +0 -73
  3190. package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +0 -28
  3191. package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.d.ts.map +0 -1
  3192. package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.js +0 -44
  3193. package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +0 -30
  3194. package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.d.ts.map +0 -1
  3195. package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.js +0 -46
  3196. package/dist/es2017/parsers/manifest/utils/get_maximum_positions.d.ts +0 -25
  3197. package/dist/es2017/parsers/manifest/utils/get_maximum_positions.d.ts.map +0 -1
  3198. package/dist/es2017/parsers/manifest/utils/get_maximum_positions.js +0 -66
  3199. package/dist/es2017/parsers/manifest/utils/get_minimum_position.d.ts +0 -22
  3200. package/dist/es2017/parsers/manifest/utils/get_minimum_position.d.ts.map +0 -1
  3201. package/dist/es2017/parsers/manifest/utils/get_minimum_position.js +0 -62
  3202. package/dist/es2017/parsers/manifest/utils/index_helpers.d.ts +0 -89
  3203. package/dist/es2017/parsers/manifest/utils/index_helpers.d.ts.map +0 -1
  3204. package/dist/es2017/parsers/manifest/utils/index_helpers.js +0 -146
  3205. package/dist/es2017/parsers/manifest/utils/update_segment_timeline.d.ts +0 -34
  3206. package/dist/es2017/parsers/manifest/utils/update_segment_timeline.d.ts.map +0 -1
  3207. package/dist/es2017/parsers/manifest/utils/update_segment_timeline.js +0 -129
  3208. package/dist/es2017/parsers/texttracks/index.d.ts +0 -17
  3209. package/dist/es2017/parsers/texttracks/index.d.ts.map +0 -1
  3210. package/dist/es2017/parsers/texttracks/index.js +0 -16
  3211. package/dist/es2017/parsers/texttracks/sami/html.d.ts +0 -32
  3212. package/dist/es2017/parsers/texttracks/sami/html.d.ts.map +0 -1
  3213. package/dist/es2017/parsers/texttracks/sami/html.js +0 -201
  3214. package/dist/es2017/parsers/texttracks/sami/native.d.ts +0 -37
  3215. package/dist/es2017/parsers/texttracks/sami/native.d.ts.map +0 -1
  3216. package/dist/es2017/parsers/texttracks/sami/native.js +0 -165
  3217. package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.d.ts +0 -30
  3218. package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.d.ts.map +0 -1
  3219. package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.js +0 -39
  3220. package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.d.ts +0 -23
  3221. package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.d.ts.map +0 -1
  3222. package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.js +0 -47
  3223. package/dist/es2017/parsers/texttracks/srt/html.d.ts +0 -28
  3224. package/dist/es2017/parsers/texttracks/srt/html.d.ts.map +0 -1
  3225. package/dist/es2017/parsers/texttracks/srt/html.js +0 -167
  3226. package/dist/es2017/parsers/texttracks/srt/native.d.ts +0 -30
  3227. package/dist/es2017/parsers/texttracks/srt/native.d.ts.map +0 -1
  3228. package/dist/es2017/parsers/texttracks/srt/native.js +0 -63
  3229. package/dist/es2017/parsers/texttracks/srt/parse_cue.d.ts +0 -31
  3230. package/dist/es2017/parsers/texttracks/srt/parse_cue.d.ts.map +0 -1
  3231. package/dist/es2017/parsers/texttracks/srt/parse_cue.js +0 -55
  3232. package/dist/es2017/parsers/texttracks/srt/parse_timestamp.d.ts +0 -22
  3233. package/dist/es2017/parsers/texttracks/srt/parse_timestamp.d.ts.map +0 -1
  3234. package/dist/es2017/parsers/texttracks/srt/parse_timestamp.js +0 -33
  3235. package/dist/es2017/parsers/texttracks/ttml/get_parameters.d.ts +0 -33
  3236. package/dist/es2017/parsers/texttracks/ttml/get_parameters.d.ts.map +0 -1
  3237. package/dist/es2017/parsers/texttracks/ttml/get_parameters.js +0 -87
  3238. package/dist/es2017/parsers/texttracks/ttml/get_styling.d.ts +0 -42
  3239. package/dist/es2017/parsers/texttracks/ttml/get_styling.d.ts.map +0 -1
  3240. package/dist/es2017/parsers/texttracks/ttml/get_styling.js +0 -127
  3241. package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.d.ts +0 -27
  3242. package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.d.ts.map +0 -1
  3243. package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.js +0 -40
  3244. package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts +0 -49
  3245. package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts.map +0 -1
  3246. package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.js +0 -61
  3247. package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.d.ts +0 -22
  3248. package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.d.ts.map +0 -1
  3249. package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.js +0 -57
  3250. package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.d.ts +0 -22
  3251. package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.d.ts.map +0 -1
  3252. package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.js +0 -56
  3253. package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.d.ts +0 -21
  3254. package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.d.ts.map +0 -1
  3255. package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.js +0 -45
  3256. package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.d.ts +0 -21
  3257. package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.d.ts.map +0 -1
  3258. package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.js +0 -56
  3259. package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.d.ts +0 -21
  3260. package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.d.ts.map +0 -1
  3261. package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.js +0 -135
  3262. package/dist/es2017/parsers/texttracks/ttml/html/create_element.d.ts +0 -33
  3263. package/dist/es2017/parsers/texttracks/ttml/html/create_element.d.ts.map +0 -1
  3264. package/dist/es2017/parsers/texttracks/ttml/html/create_element.js +0 -448
  3265. package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts +0 -27
  3266. package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts.map +0 -1
  3267. package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.js +0 -41
  3268. package/dist/es2017/parsers/texttracks/ttml/html/index.d.ts +0 -22
  3269. package/dist/es2017/parsers/texttracks/ttml/html/index.d.ts.map +0 -1
  3270. package/dist/es2017/parsers/texttracks/ttml/html/index.js +0 -21
  3271. package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.d.ts +0 -27
  3272. package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.d.ts.map +0 -1
  3273. package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.js +0 -40
  3274. package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +0 -36
  3275. package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts.map +0 -1
  3276. package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.js +0 -62
  3277. package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts +0 -22
  3278. package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts.map +0 -1
  3279. package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.js +0 -73
  3280. package/dist/es2017/parsers/texttracks/ttml/native/index.d.ts +0 -22
  3281. package/dist/es2017/parsers/texttracks/ttml/native/index.d.ts.map +0 -1
  3282. package/dist/es2017/parsers/texttracks/ttml/native/index.js +0 -21
  3283. package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.d.ts +0 -25
  3284. package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.d.ts.map +0 -1
  3285. package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.js +0 -197
  3286. package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +0 -24
  3287. package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts.map +0 -1
  3288. package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.js +0 -45
  3289. package/dist/es2017/parsers/texttracks/ttml/parse_ttml.d.ts +0 -44
  3290. package/dist/es2017/parsers/texttracks/ttml/parse_ttml.d.ts.map +0 -1
  3291. package/dist/es2017/parsers/texttracks/ttml/parse_ttml.js +0 -156
  3292. package/dist/es2017/parsers/texttracks/ttml/regexps.d.ts +0 -29
  3293. package/dist/es2017/parsers/texttracks/ttml/regexps.d.ts.map +0 -1
  3294. package/dist/es2017/parsers/texttracks/ttml/regexps.js +0 -35
  3295. package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +0 -50
  3296. package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts.map +0 -1
  3297. package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.js +0 -79
  3298. package/dist/es2017/parsers/texttracks/ttml/time_parsing.d.ts +0 -31
  3299. package/dist/es2017/parsers/texttracks/ttml/time_parsing.d.ts.map +0 -1
  3300. package/dist/es2017/parsers/texttracks/ttml/time_parsing.js +0 -124
  3301. package/dist/es2017/parsers/texttracks/ttml/xml_utils.d.ts +0 -71
  3302. package/dist/es2017/parsers/texttracks/ttml/xml_utils.d.ts.map +0 -1
  3303. package/dist/es2017/parsers/texttracks/ttml/xml_utils.js +0 -150
  3304. package/dist/es2017/parsers/texttracks/types.d.ts +0 -80
  3305. package/dist/es2017/parsers/texttracks/types.d.ts.map +0 -1
  3306. package/dist/es2017/parsers/texttracks/types.js +0 -16
  3307. package/dist/es2017/parsers/texttracks/webvtt/create_default_style_elements.d.ts +0 -3
  3308. package/dist/es2017/parsers/texttracks/webvtt/create_default_style_elements.d.ts.map +0 -1
  3309. package/dist/es2017/parsers/texttracks/webvtt/create_default_style_elements.js +0 -22
  3310. package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.d.ts +0 -25
  3311. package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.d.ts.map +0 -1
  3312. package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.js +0 -44
  3313. package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.d.ts +0 -25
  3314. package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.d.ts.map +0 -1
  3315. package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.js +0 -52
  3316. package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +0 -23
  3317. package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts.map +0 -1
  3318. package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.js +0 -35
  3319. package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.d.ts +0 -22
  3320. package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.d.ts.map +0 -1
  3321. package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.js +0 -166
  3322. package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.d.ts +0 -25
  3323. package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.d.ts.map +0 -1
  3324. package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.js +0 -81
  3325. package/dist/es2017/parsers/texttracks/webvtt/html/index.d.ts +0 -28
  3326. package/dist/es2017/parsers/texttracks/webvtt/html/index.d.ts.map +0 -1
  3327. package/dist/es2017/parsers/texttracks/webvtt/html/index.js +0 -26
  3328. package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts +0 -13
  3329. package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts.map +0 -1
  3330. package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_mp4.js +0 -18
  3331. package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts +0 -33
  3332. package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts.map +0 -1
  3333. package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.js +0 -66
  3334. package/dist/es2017/parsers/texttracks/webvtt/html/to_html.d.ts +0 -50
  3335. package/dist/es2017/parsers/texttracks/webvtt/html/to_html.d.ts.map +0 -1
  3336. package/dist/es2017/parsers/texttracks/webvtt/html/to_html.js +0 -70
  3337. package/dist/es2017/parsers/texttracks/webvtt/native/index.d.ts +0 -23
  3338. package/dist/es2017/parsers/texttracks/webvtt/native/index.d.ts.map +0 -1
  3339. package/dist/es2017/parsers/texttracks/webvtt/native/index.js +0 -22
  3340. package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts +0 -30
  3341. package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts.map +0 -1
  3342. package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.js +0 -69
  3343. package/dist/es2017/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts +0 -13
  3344. package/dist/es2017/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts.map +0 -1
  3345. package/dist/es2017/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.js +0 -20
  3346. package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +0 -24
  3347. package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts.map +0 -1
  3348. package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.js +0 -80
  3349. package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.d.ts +0 -33
  3350. package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.d.ts.map +0 -1
  3351. package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.js +0 -27
  3352. package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.d.ts +0 -40
  3353. package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.d.ts.map +0 -1
  3354. package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.js +0 -100
  3355. package/dist/es2017/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts +0 -22
  3356. package/dist/es2017/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts.map +0 -1
  3357. package/dist/es2017/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.js +0 -129
  3358. package/dist/es2017/parsers/texttracks/webvtt/parse_style_block.d.ts +0 -28
  3359. package/dist/es2017/parsers/texttracks/webvtt/parse_style_block.d.ts.map +0 -1
  3360. package/dist/es2017/parsers/texttracks/webvtt/parse_style_block.js +0 -66
  3361. package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.d.ts +0 -22
  3362. package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.d.ts.map +0 -1
  3363. package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.js +0 -33
  3364. package/dist/es2017/parsers/texttracks/webvtt/utils.d.ts +0 -58
  3365. package/dist/es2017/parsers/texttracks/webvtt/utils.d.ts.map +0 -1
  3366. package/dist/es2017/parsers/texttracks/webvtt/utils.js +0 -114
  3367. package/dist/es2017/playback_observer/index.d.ts +0 -7
  3368. package/dist/es2017/playback_observer/index.d.ts.map +0 -1
  3369. package/dist/es2017/playback_observer/index.js +0 -2
  3370. package/dist/es2017/playback_observer/media_element_playback_observer.d.ts +0 -285
  3371. package/dist/es2017/playback_observer/media_element_playback_observer.d.ts.map +0 -1
  3372. package/dist/es2017/playback_observer/media_element_playback_observer.js +0 -832
  3373. package/dist/es2017/playback_observer/types.d.ts +0 -226
  3374. package/dist/es2017/playback_observer/types.d.ts.map +0 -1
  3375. package/dist/es2017/playback_observer/types.js +0 -1
  3376. package/dist/es2017/playback_observer/utils/generate_read_only_observer.d.ts +0 -12
  3377. package/dist/es2017/playback_observer/utils/generate_read_only_observer.d.ts.map +0 -1
  3378. package/dist/es2017/playback_observer/utils/generate_read_only_observer.js +0 -39
  3379. package/dist/es2017/playback_observer/utils/observation_position.d.ts +0 -99
  3380. package/dist/es2017/playback_observer/utils/observation_position.d.ts.map +0 -1
  3381. package/dist/es2017/playback_observer/utils/observation_position.js +0 -95
  3382. package/dist/es2017/playback_observer/worker_playback_observer.d.ts +0 -85
  3383. package/dist/es2017/playback_observer/worker_playback_observer.d.ts.map +0 -1
  3384. package/dist/es2017/playback_observer/worker_playback_observer.js +0 -43
  3385. package/dist/es2017/public_types.d.ts +0 -1279
  3386. package/dist/es2017/public_types.d.ts.map +0 -1
  3387. package/dist/es2017/public_types.js +0 -5
  3388. package/dist/es2017/tools/TextTrackRenderer/index.d.ts +0 -24
  3389. package/dist/es2017/tools/TextTrackRenderer/index.d.ts.map +0 -1
  3390. package/dist/es2017/tools/TextTrackRenderer/index.js +0 -22
  3391. package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.d.ts +0 -77
  3392. package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.d.ts.map +0 -1
  3393. package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.js +0 -77
  3394. package/dist/es2017/tools/index.d.ts +0 -20
  3395. package/dist/es2017/tools/index.d.ts.map +0 -1
  3396. package/dist/es2017/tools/index.js +0 -20
  3397. package/dist/es2017/tools/parseBIFThumbnails/index.d.ts +0 -30
  3398. package/dist/es2017/tools/parseBIFThumbnails/index.d.ts.map +0 -1
  3399. package/dist/es2017/tools/parseBIFThumbnails/index.js +0 -30
  3400. package/dist/es2017/tools/string_utils/index.d.ts +0 -17
  3401. package/dist/es2017/tools/string_utils/index.d.ts.map +0 -1
  3402. package/dist/es2017/tools/string_utils/index.js +0 -16
  3403. package/dist/es2017/transports/dash/construct_segment_url.d.ts +0 -19
  3404. package/dist/es2017/transports/dash/construct_segment_url.d.ts.map +0 -1
  3405. package/dist/es2017/transports/dash/construct_segment_url.js +0 -25
  3406. package/dist/es2017/transports/dash/get_events_out_of_emsgs.d.ts +0 -29
  3407. package/dist/es2017/transports/dash/get_events_out_of_emsgs.d.ts.map +0 -1
  3408. package/dist/es2017/transports/dash/get_events_out_of_emsgs.js +0 -93
  3409. package/dist/es2017/transports/dash/index.d.ts +0 -22
  3410. package/dist/es2017/transports/dash/index.d.ts.map +0 -1
  3411. package/dist/es2017/transports/dash/index.js +0 -21
  3412. package/dist/es2017/transports/dash/init_segment_loader.d.ts +0 -29
  3413. package/dist/es2017/transports/dash/init_segment_loader.d.ts.map +0 -1
  3414. package/dist/es2017/transports/dash/init_segment_loader.js +0 -104
  3415. package/dist/es2017/transports/dash/integrity_checks.d.ts +0 -18
  3416. package/dist/es2017/transports/dash/integrity_checks.d.ts.map +0 -1
  3417. package/dist/es2017/transports/dash/integrity_checks.js +0 -150
  3418. package/dist/es2017/transports/dash/load_chunked_segment_data.d.ts +0 -40
  3419. package/dist/es2017/transports/dash/load_chunked_segment_data.d.ts.map +0 -1
  3420. package/dist/es2017/transports/dash/load_chunked_segment_data.js +0 -77
  3421. package/dist/es2017/transports/dash/manifest_parser.d.ts +0 -19
  3422. package/dist/es2017/transports/dash/manifest_parser.d.ts.map +0 -1
  3423. package/dist/es2017/transports/dash/manifest_parser.js +0 -295
  3424. package/dist/es2017/transports/dash/pipelines.d.ts +0 -24
  3425. package/dist/es2017/transports/dash/pipelines.d.ts.map +0 -1
  3426. package/dist/es2017/transports/dash/pipelines.js +0 -65
  3427. package/dist/es2017/transports/dash/segment_loader.d.ts +0 -39
  3428. package/dist/es2017/transports/dash/segment_loader.d.ts.map +0 -1
  3429. package/dist/es2017/transports/dash/segment_loader.js +0 -214
  3430. package/dist/es2017/transports/dash/segment_parser.d.ts +0 -24
  3431. package/dist/es2017/transports/dash/segment_parser.d.ts.map +0 -1
  3432. package/dist/es2017/transports/dash/segment_parser.js +0 -156
  3433. package/dist/es2017/transports/dash/text_loader.d.ts +0 -26
  3434. package/dist/es2017/transports/dash/text_loader.d.ts.map +0 -1
  3435. package/dist/es2017/transports/dash/text_loader.js +0 -106
  3436. package/dist/es2017/transports/dash/text_parser.d.ts +0 -26
  3437. package/dist/es2017/transports/dash/text_parser.d.ts.map +0 -1
  3438. package/dist/es2017/transports/dash/text_parser.js +0 -190
  3439. package/dist/es2017/transports/dash/thumbnails.d.ts +0 -21
  3440. package/dist/es2017/transports/dash/thumbnails.d.ts.map +0 -1
  3441. package/dist/es2017/transports/dash/thumbnails.js +0 -72
  3442. package/dist/es2017/transports/index.d.ts +0 -17
  3443. package/dist/es2017/transports/index.d.ts.map +0 -1
  3444. package/dist/es2017/transports/index.js +0 -16
  3445. package/dist/es2017/transports/local/index.d.ts +0 -18
  3446. package/dist/es2017/transports/local/index.d.ts.map +0 -1
  3447. package/dist/es2017/transports/local/index.js +0 -17
  3448. package/dist/es2017/transports/local/pipelines.d.ts +0 -23
  3449. package/dist/es2017/transports/local/pipelines.d.ts.map +0 -1
  3450. package/dist/es2017/transports/local/pipelines.js +0 -76
  3451. package/dist/es2017/transports/local/segment_loader.d.ts +0 -29
  3452. package/dist/es2017/transports/local/segment_loader.d.ts.map +0 -1
  3453. package/dist/es2017/transports/local/segment_loader.js +0 -152
  3454. package/dist/es2017/transports/local/segment_parser.d.ts +0 -21
  3455. package/dist/es2017/transports/local/segment_parser.d.ts.map +0 -1
  3456. package/dist/es2017/transports/local/segment_parser.js +0 -87
  3457. package/dist/es2017/transports/local/text_parser.d.ts +0 -28
  3458. package/dist/es2017/transports/local/text_parser.d.ts.map +0 -1
  3459. package/dist/es2017/transports/local/text_parser.js +0 -162
  3460. package/dist/es2017/transports/metaplaylist/index.d.ts +0 -22
  3461. package/dist/es2017/transports/metaplaylist/index.d.ts.map +0 -1
  3462. package/dist/es2017/transports/metaplaylist/index.js +0 -21
  3463. package/dist/es2017/transports/metaplaylist/manifest_loader.d.ts +0 -27
  3464. package/dist/es2017/transports/metaplaylist/manifest_loader.d.ts.map +0 -1
  3465. package/dist/es2017/transports/metaplaylist/manifest_loader.js +0 -53
  3466. package/dist/es2017/transports/metaplaylist/pipelines.d.ts +0 -18
  3467. package/dist/es2017/transports/metaplaylist/pipelines.d.ts.map +0 -1
  3468. package/dist/es2017/transports/metaplaylist/pipelines.js +0 -250
  3469. package/dist/es2017/transports/smooth/extract_timings_infos.d.ts +0 -63
  3470. package/dist/es2017/transports/smooth/extract_timings_infos.d.ts.map +0 -1
  3471. package/dist/es2017/transports/smooth/extract_timings_infos.js +0 -79
  3472. package/dist/es2017/transports/smooth/index.d.ts +0 -22
  3473. package/dist/es2017/transports/smooth/index.d.ts.map +0 -1
  3474. package/dist/es2017/transports/smooth/index.js +0 -21
  3475. package/dist/es2017/transports/smooth/is_mp4_embedded_track.d.ts +0 -23
  3476. package/dist/es2017/transports/smooth/is_mp4_embedded_track.d.ts.map +0 -1
  3477. package/dist/es2017/transports/smooth/is_mp4_embedded_track.js +0 -24
  3478. package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.d.ts +0 -29
  3479. package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.d.ts.map +0 -1
  3480. package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.js +0 -51
  3481. package/dist/es2017/transports/smooth/isobmff/create_boxes.d.ts +0 -172
  3482. package/dist/es2017/transports/smooth/isobmff/create_boxes.d.ts.map +0 -1
  3483. package/dist/es2017/transports/smooth/isobmff/create_boxes.js +0 -319
  3484. package/dist/es2017/transports/smooth/isobmff/create_init_segment.d.ts +0 -32
  3485. package/dist/es2017/transports/smooth/isobmff/create_init_segment.d.ts.map +0 -1
  3486. package/dist/es2017/transports/smooth/isobmff/create_init_segment.js +0 -63
  3487. package/dist/es2017/transports/smooth/isobmff/create_traf_box.d.ts +0 -17
  3488. package/dist/es2017/transports/smooth/isobmff/create_traf_box.d.ts.map +0 -1
  3489. package/dist/es2017/transports/smooth/isobmff/create_traf_box.js +0 -24
  3490. package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.d.ts +0 -30
  3491. package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.d.ts.map +0 -1
  3492. package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.js +0 -57
  3493. package/dist/es2017/transports/smooth/isobmff/get_aaces_header.d.ts +0 -28
  3494. package/dist/es2017/transports/smooth/isobmff/get_aaces_header.d.ts.map +0 -1
  3495. package/dist/es2017/transports/smooth/isobmff/get_aaces_header.js +0 -43
  3496. package/dist/es2017/transports/smooth/isobmff/index.d.ts +0 -24
  3497. package/dist/es2017/transports/smooth/isobmff/index.d.ts.map +0 -1
  3498. package/dist/es2017/transports/smooth/isobmff/index.js +0 -21
  3499. package/dist/es2017/transports/smooth/isobmff/parse_tfrf.d.ts +0 -25
  3500. package/dist/es2017/transports/smooth/isobmff/parse_tfrf.d.ts.map +0 -1
  3501. package/dist/es2017/transports/smooth/isobmff/parse_tfrf.js +0 -47
  3502. package/dist/es2017/transports/smooth/isobmff/parse_tfxd.d.ts +0 -25
  3503. package/dist/es2017/transports/smooth/isobmff/parse_tfxd.d.ts.map +0 -1
  3504. package/dist/es2017/transports/smooth/isobmff/parse_tfxd.js +0 -31
  3505. package/dist/es2017/transports/smooth/isobmff/patch_segment.d.ts +0 -24
  3506. package/dist/es2017/transports/smooth/isobmff/patch_segment.d.ts.map +0 -1
  3507. package/dist/es2017/transports/smooth/isobmff/patch_segment.js +0 -128
  3508. package/dist/es2017/transports/smooth/pipelines.d.ts +0 -18
  3509. package/dist/es2017/transports/smooth/pipelines.d.ts.map +0 -1
  3510. package/dist/es2017/transports/smooth/pipelines.js +0 -336
  3511. package/dist/es2017/transports/smooth/segment_loader.d.ts +0 -28
  3512. package/dist/es2017/transports/smooth/segment_loader.d.ts.map +0 -1
  3513. package/dist/es2017/transports/smooth/segment_loader.js +0 -238
  3514. package/dist/es2017/transports/smooth/utils.d.ts +0 -27
  3515. package/dist/es2017/transports/smooth/utils.d.ts.map +0 -1
  3516. package/dist/es2017/transports/smooth/utils.js +0 -36
  3517. package/dist/es2017/transports/types.d.ts +0 -772
  3518. package/dist/es2017/transports/types.d.ts.map +0 -1
  3519. package/dist/es2017/transports/types.js +0 -16
  3520. package/dist/es2017/transports/utils/add_query_string.d.ts +0 -13
  3521. package/dist/es2017/transports/utils/add_query_string.d.ts.map +0 -1
  3522. package/dist/es2017/transports/utils/add_query_string.js +0 -51
  3523. package/dist/es2017/transports/utils/byte_range.d.ts +0 -22
  3524. package/dist/es2017/transports/utils/byte_range.d.ts.map +0 -1
  3525. package/dist/es2017/transports/utils/byte_range.js +0 -23
  3526. package/dist/es2017/transports/utils/call_custom_manifest_loader.d.ts +0 -20
  3527. package/dist/es2017/transports/utils/call_custom_manifest_loader.d.ts.map +0 -1
  3528. package/dist/es2017/transports/utils/call_custom_manifest_loader.js +0 -96
  3529. package/dist/es2017/transports/utils/check_isobmff_integrity.d.ts +0 -24
  3530. package/dist/es2017/transports/utils/check_isobmff_integrity.d.ts.map +0 -1
  3531. package/dist/es2017/transports/utils/check_isobmff_integrity.js +0 -46
  3532. package/dist/es2017/transports/utils/generate_manifest_loader.d.ts +0 -27
  3533. package/dist/es2017/transports/utils/generate_manifest_loader.d.ts.map +0 -1
  3534. package/dist/es2017/transports/utils/generate_manifest_loader.js +0 -85
  3535. package/dist/es2017/transports/utils/get_isobmff_timing_infos.d.ts +0 -30
  3536. package/dist/es2017/transports/utils/get_isobmff_timing_infos.d.ts.map +0 -1
  3537. package/dist/es2017/transports/utils/get_isobmff_timing_infos.js +0 -67
  3538. package/dist/es2017/transports/utils/infer_segment_container.d.ts +0 -30
  3539. package/dist/es2017/transports/utils/infer_segment_container.d.ts.map +0 -1
  3540. package/dist/es2017/transports/utils/infer_segment_container.js +0 -42
  3541. package/dist/es2017/transports/utils/parse_text_track.d.ts +0 -53
  3542. package/dist/es2017/transports/utils/parse_text_track.d.ts.map +0 -1
  3543. package/dist/es2017/transports/utils/parse_text_track.js +0 -154
  3544. package/dist/es2017/utils/are_arrays_of_numbers_equal.d.ts +0 -23
  3545. package/dist/es2017/utils/are_arrays_of_numbers_equal.d.ts.map +0 -1
  3546. package/dist/es2017/utils/are_arrays_of_numbers_equal.js +0 -35
  3547. package/dist/es2017/utils/are_codecs_compatible.d.ts +0 -30
  3548. package/dist/es2017/utils/are_codecs_compatible.d.ts.map +0 -1
  3549. package/dist/es2017/utils/are_codecs_compatible.js +0 -57
  3550. package/dist/es2017/utils/array_find.d.ts +0 -24
  3551. package/dist/es2017/utils/array_find.d.ts.map +0 -1
  3552. package/dist/es2017/utils/array_find.js +0 -37
  3553. package/dist/es2017/utils/array_find_index.d.ts +0 -24
  3554. package/dist/es2017/utils/array_find_index.d.ts.map +0 -1
  3555. package/dist/es2017/utils/array_find_index.js +0 -36
  3556. package/dist/es2017/utils/array_includes.d.ts +0 -54
  3557. package/dist/es2017/utils/array_includes.d.ts.map +0 -1
  3558. package/dist/es2017/utils/array_includes.js +0 -75
  3559. package/dist/es2017/utils/assert.d.ts +0 -75
  3560. package/dist/es2017/utils/assert.d.ts.map +0 -1
  3561. package/dist/es2017/utils/assert.js +0 -91
  3562. package/dist/es2017/utils/base64.d.ts +0 -15
  3563. package/dist/es2017/utils/base64.d.ts.map +0 -1
  3564. package/dist/es2017/utils/base64.js +0 -208
  3565. package/dist/es2017/utils/buffer_source_to_uint8.d.ts +0 -8
  3566. package/dist/es2017/utils/buffer_source_to_uint8.d.ts.map +0 -1
  3567. package/dist/es2017/utils/buffer_source_to_uint8.js +0 -15
  3568. package/dist/es2017/utils/byte_parsing.d.ts +0 -132
  3569. package/dist/es2017/utils/byte_parsing.d.ts.map +0 -1
  3570. package/dist/es2017/utils/byte_parsing.js +0 -252
  3571. package/dist/es2017/utils/cancellable_sleep.d.ts +0 -31
  3572. package/dist/es2017/utils/cancellable_sleep.d.ts.map +0 -1
  3573. package/dist/es2017/utils/cancellable_sleep.js +0 -35
  3574. package/dist/es2017/utils/create_cancellable_promise.d.ts +0 -27
  3575. package/dist/es2017/utils/create_cancellable_promise.d.ts.map +0 -1
  3576. package/dist/es2017/utils/create_cancellable_promise.js +0 -52
  3577. package/dist/es2017/utils/create_uuid.d.ts +0 -9
  3578. package/dist/es2017/utils/create_uuid.d.ts.map +0 -1
  3579. package/dist/es2017/utils/create_uuid.js +0 -29
  3580. package/dist/es2017/utils/deep_merge.d.ts +0 -10
  3581. package/dist/es2017/utils/deep_merge.d.ts.map +0 -1
  3582. package/dist/es2017/utils/deep_merge.js +0 -40
  3583. package/dist/es2017/utils/event_emitter.d.ts +0 -63
  3584. package/dist/es2017/utils/event_emitter.d.ts.map +0 -1
  3585. package/dist/es2017/utils/event_emitter.js +0 -105
  3586. package/dist/es2017/utils/flat_map.d.ts +0 -23
  3587. package/dist/es2017/utils/flat_map.d.ts.map +0 -1
  3588. package/dist/es2017/utils/flat_map.js +0 -35
  3589. package/dist/es2017/utils/get_fuzzed_delay.d.ts +0 -22
  3590. package/dist/es2017/utils/get_fuzzed_delay.d.ts.map +0 -1
  3591. package/dist/es2017/utils/get_fuzzed_delay.js +0 -25
  3592. package/dist/es2017/utils/global_scope.d.ts +0 -10
  3593. package/dist/es2017/utils/global_scope.d.ts.map +0 -1
  3594. package/dist/es2017/utils/global_scope.js +0 -20
  3595. package/dist/es2017/utils/hash_buffer.d.ts +0 -33
  3596. package/dist/es2017/utils/hash_buffer.d.ts.map +0 -1
  3597. package/dist/es2017/utils/hash_buffer.js +0 -41
  3598. package/dist/es2017/utils/id_generator.d.ts +0 -22
  3599. package/dist/es2017/utils/id_generator.d.ts.map +0 -1
  3600. package/dist/es2017/utils/id_generator.js +0 -32
  3601. package/dist/es2017/utils/is_node.d.ts +0 -19
  3602. package/dist/es2017/utils/is_node.d.ts.map +0 -1
  3603. package/dist/es2017/utils/is_node.js +0 -19
  3604. package/dist/es2017/utils/is_non_empty_string.d.ts +0 -21
  3605. package/dist/es2017/utils/is_non_empty_string.d.ts.map +0 -1
  3606. package/dist/es2017/utils/is_non_empty_string.js +0 -22
  3607. package/dist/es2017/utils/is_null_or_undefined.d.ts +0 -25
  3608. package/dist/es2017/utils/is_null_or_undefined.d.ts.map +0 -1
  3609. package/dist/es2017/utils/is_null_or_undefined.js +0 -26
  3610. package/dist/es2017/utils/is_worker.d.ts +0 -6
  3611. package/dist/es2017/utils/is_worker.d.ts.map +0 -1
  3612. package/dist/es2017/utils/is_worker.js +0 -5
  3613. package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.d.ts +0 -23
  3614. package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.d.ts.map +0 -1
  3615. package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.js +0 -205
  3616. package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.d.ts +0 -23
  3617. package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.d.ts.map +0 -1
  3618. package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.js +0 -41
  3619. package/dist/es2017/utils/languages/index.d.ts +0 -21
  3620. package/dist/es2017/utils/languages/index.d.ts.map +0 -1
  3621. package/dist/es2017/utils/languages/index.js +0 -18
  3622. package/dist/es2017/utils/languages/normalize.d.ts +0 -70
  3623. package/dist/es2017/utils/languages/normalize.d.ts.map +0 -1
  3624. package/dist/es2017/utils/languages/normalize.js +0 -122
  3625. package/dist/es2017/utils/logger.d.ts +0 -157
  3626. package/dist/es2017/utils/logger.d.ts.map +0 -1
  3627. package/dist/es2017/utils/logger.js +0 -166
  3628. package/dist/es2017/utils/monotonic_timestamp.d.ts +0 -23
  3629. package/dist/es2017/utils/monotonic_timestamp.d.ts.map +0 -1
  3630. package/dist/es2017/utils/monotonic_timestamp.js +0 -36
  3631. package/dist/es2017/utils/noop.d.ts +0 -24
  3632. package/dist/es2017/utils/noop.d.ts.map +0 -1
  3633. package/dist/es2017/utils/noop.js +0 -24
  3634. package/dist/es2017/utils/object_assign.d.ts +0 -47
  3635. package/dist/es2017/utils/object_assign.d.ts.map +0 -1
  3636. package/dist/es2017/utils/object_assign.js +0 -47
  3637. package/dist/es2017/utils/object_values.d.ts +0 -31
  3638. package/dist/es2017/utils/object_values.d.ts.map +0 -1
  3639. package/dist/es2017/utils/object_values.js +0 -25
  3640. package/dist/es2017/utils/queue_microtask.d.ts +0 -3
  3641. package/dist/es2017/utils/queue_microtask.d.ts.map +0 -1
  3642. package/dist/es2017/utils/queue_microtask.js +0 -5
  3643. package/dist/es2017/utils/ranges.d.ts +0 -214
  3644. package/dist/es2017/utils/ranges.d.ts.map +0 -1
  3645. package/dist/es2017/utils/ranges.js +0 -495
  3646. package/dist/es2017/utils/reference.d.ts +0 -215
  3647. package/dist/es2017/utils/reference.d.ts.map +0 -1
  3648. package/dist/es2017/utils/reference.js +0 -282
  3649. package/dist/es2017/utils/request/fetch.d.ts +0 -81
  3650. package/dist/es2017/utils/request/fetch.d.ts.map +0 -1
  3651. package/dist/es2017/utils/request/fetch.js +0 -206
  3652. package/dist/es2017/utils/request/index.d.ts +0 -25
  3653. package/dist/es2017/utils/request/index.d.ts.map +0 -1
  3654. package/dist/es2017/utils/request/index.js +0 -20
  3655. package/dist/es2017/utils/request/request_error.d.ts +0 -47
  3656. package/dist/es2017/utils/request/request_error.d.ts.map +0 -1
  3657. package/dist/es2017/utils/request/request_error.js +0 -66
  3658. package/dist/es2017/utils/request/xhr.d.ts +0 -100
  3659. package/dist/es2017/utils/request/xhr.d.ts.map +0 -1
  3660. package/dist/es2017/utils/request/xhr.js +0 -202
  3661. package/dist/es2017/utils/retry_promise_with_backoff.d.ts +0 -55
  3662. package/dist/es2017/utils/retry_promise_with_backoff.d.ts.map +0 -1
  3663. package/dist/es2017/utils/retry_promise_with_backoff.js +0 -81
  3664. package/dist/es2017/utils/sleep.d.ts +0 -11
  3665. package/dist/es2017/utils/sleep.d.ts.map +0 -1
  3666. package/dist/es2017/utils/sleep.js +0 -14
  3667. package/dist/es2017/utils/slice_uint8array.d.ts +0 -28
  3668. package/dist/es2017/utils/slice_uint8array.d.ts.map +0 -1
  3669. package/dist/es2017/utils/slice_uint8array.js +0 -42
  3670. package/dist/es2017/utils/sorted_list.d.ts +0 -128
  3671. package/dist/es2017/utils/sorted_list.d.ts.map +0 -1
  3672. package/dist/es2017/utils/sorted_list.js +0 -177
  3673. package/dist/es2017/utils/starts_with.d.ts +0 -27
  3674. package/dist/es2017/utils/starts_with.d.ts.map +0 -1
  3675. package/dist/es2017/utils/starts_with.js +0 -35
  3676. package/dist/es2017/utils/string_parsing.d.ts +0 -89
  3677. package/dist/es2017/utils/string_parsing.d.ts.map +0 -1
  3678. package/dist/es2017/utils/string_parsing.js +0 -370
  3679. package/dist/es2017/utils/sync_or_async.d.ts +0 -71
  3680. package/dist/es2017/utils/sync_or_async.d.ts.map +0 -1
  3681. package/dist/es2017/utils/sync_or_async.js +0 -51
  3682. package/dist/es2017/utils/task_canceller.d.ts +0 -263
  3683. package/dist/es2017/utils/task_canceller.d.ts.map +0 -1
  3684. package/dist/es2017/utils/task_canceller.js +0 -298
  3685. package/dist/es2017/utils/url-utils.d.ts +0 -50
  3686. package/dist/es2017/utils/url-utils.d.ts.map +0 -1
  3687. package/dist/es2017/utils/url-utils.js +0 -323
  3688. package/dist/es2017/utils/warn_once.d.ts +0 -24
  3689. package/dist/es2017/utils/warn_once.d.ts.map +0 -1
  3690. package/dist/es2017/utils/warn_once.js +0 -31
  3691. package/dist/es2017/utils/weak_map_memory.d.ts +0 -71
  3692. package/dist/es2017/utils/weak_map_memory.d.ts.map +0 -1
  3693. package/dist/es2017/utils/weak_map_memory.js +0 -83
  3694. package/dist/es2017/utils/wrapInPromise.d.ts +0 -8
  3695. package/dist/es2017/utils/wrapInPromise.d.ts.map +0 -1
  3696. package/dist/es2017/utils/wrapInPromise.js +0 -22
  3697. package/dist/es2017/utils/xml-parser.d.ts +0 -71
  3698. package/dist/es2017/utils/xml-parser.d.ts.map +0 -1
  3699. package/dist/es2017/utils/xml-parser.js +0 -324
  3700. package/dist/es2017/worker_entry_point.d.ts +0 -6
  3701. package/dist/es2017/worker_entry_point.d.ts.map +0 -1
  3702. package/dist/es2017/worker_entry_point.js +0 -6
  3703. package/dist/mpd-parser.wasm +0 -0
  3704. package/dist/rx-player.d.ts +0 -1
  3705. package/dist/rx-player.js +0 -42741
  3706. package/dist/rx-player.min.d.ts +0 -1
  3707. package/dist/rx-player.min.js +0 -23
  3708. package/dist/worker.js +0 -9
  3709. package/src/__GENERATED_CODE/embedded_dash_wasm.ts +0 -3
  3710. package/src/__GENERATED_CODE/embedded_worker.ts +0 -3
  3711. package/src/__GENERATED_CODE/index.ts +0 -2
  3712. package/src/core/main/worker/globals.ts +0 -38
  3713. package/src/core/main/worker/index.ts +0 -2
  3714. package/src/core/main/worker/send_message.ts +0 -28
  3715. package/src/main_thread/init/multi_thread_content_initializer.ts +0 -2330
  3716. package/src/main_thread/init/send_message.ts +0 -15
  3717. package/src/main_thread/init/utils/create_media_source.ts +0 -169
  3718. package/src/multithread_types.ts +0 -1095
@@ -1,2684 +0,0 @@
1
- /**
2
- * Copyright 2015 CANAL+ Group
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");publicapi
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import canRelyOnVideoVisibilityAndSize from "../../compat/can_rely_on_video_visibility_and_size";
17
- import { getPictureOnPictureStateRef, getVideoVisibilityRef, getElementResolutionRef, getScreenResolutionRef, } from "../../compat/event_listeners";
18
- import getStartDate from "../../compat/get_start_date";
19
- import hasMseInWorker from "../../compat/has_mse_in_worker";
20
- import hasWorkerApi from "../../compat/has_worker_api";
21
- import config from "../../config";
22
- import { ErrorCodes, ErrorTypes, formatError, MediaError } from "../../errors";
23
- import WorkerInitializationError from "../../errors/worker_initialization_error";
24
- import features, { addFeatures } from "../../features";
25
- import log from "../../log";
26
- import { getLivePosition, getMaximumSafePosition, getMinimumSafePosition, createRepresentationFilterFromFnString, getPeriodForTime, toVideoRepresentation, toAudioRepresentation, } from "../../manifest";
27
- import MediaElementPlaybackObserver from "../../playback_observer/media_element_playback_observer";
28
- import arrayFind from "../../utils/array_find";
29
- import arrayIncludes from "../../utils/array_includes";
30
- import assert, { assertUnreachable } from "../../utils/assert";
31
- import EventEmitter from "../../utils/event_emitter";
32
- import globalScope from "../../utils/global_scope";
33
- import idGenerator from "../../utils/id_generator";
34
- import isNullOrUndefined from "../../utils/is_null_or_undefined";
35
- import getMonotonicTimeStamp from "../../utils/monotonic_timestamp";
36
- import objectAssign from "../../utils/object_assign";
37
- import { getLeftSizeOfBufferedTimeRange } from "../../utils/ranges";
38
- import SharedReference, { createMappedReference } from "../../utils/reference";
39
- import TaskCanceller from "../../utils/task_canceller";
40
- import { clearOnStop, disposeDecryptionResources, getKeySystemConfiguration, } from "../decrypt";
41
- import renderThumbnail from "../render_thumbnail";
42
- import TracksStore from "../tracks_store";
43
- import { checkReloadOptions, parseConstructorOptions, parseLoadVideoOptions, } from "./option_utils";
44
- import { constructPlayerStateReference, emitPlayPauseEvents, emitSeekEvents, isLoadedState, } from "./utils";
45
- /* eslint-disable @typescript-eslint/naming-convention */
46
- // Enable debug mode as soon as `RX_PLAYER_DEBUG_MODE__` is set to `true`:
47
- const globals = globalScope;
48
- let isDebugModeEnabled = typeof globals.__RX_PLAYER_DEBUG_MODE__ === "boolean" &&
49
- globals.__RX_PLAYER_DEBUG_MODE__;
50
- try {
51
- Object.defineProperty(globals, "__RX_PLAYER_DEBUG_MODE__", {
52
- get() {
53
- return isDebugModeEnabled;
54
- },
55
- set(val) {
56
- isDebugModeEnabled = val;
57
- if (val) {
58
- Player.LogLevel = "DEBUG";
59
- Player.LogFormat = "full";
60
- }
61
- },
62
- });
63
- }
64
- catch (_err) {
65
- // Ignore, maybe we're in some jsdom thing, maybe the current target does not
66
- // authorize setting globals that way etc.
67
- }
68
- if (isDebugModeEnabled) {
69
- log.setLevel("DEBUG", "full");
70
- }
71
- else if (0 /* __ENVIRONMENT__.CURRENT_ENV */ === 1 /* __ENVIRONMENT__.DEV */) {
72
- log.setLevel("NONE" /* __LOGGER_LEVEL__.CURRENT_LEVEL */, "standard");
73
- }
74
- const generateContentId = idGenerator();
75
- /**
76
- * Options of a `loadVideo` call which are for now not supported when running
77
- * in a "multithread" mode.
78
- *
79
- * TODO support those?
80
- */
81
- const MULTI_THREAD_UNSUPPORTED_LOAD_VIDEO_OPTIONS = [
82
- "manifestLoader",
83
- "segmentLoader",
84
- ];
85
- /**
86
- * @class Player
87
- * @extends EventEmitter
88
- */
89
- class Player extends EventEmitter {
90
- /** All possible Error types emitted by the RxPlayer. */
91
- static get ErrorTypes() {
92
- return ErrorTypes;
93
- }
94
- /** All possible Error codes emitted by the RxPlayer. */
95
- static get ErrorCodes() {
96
- return ErrorCodes;
97
- }
98
- /**
99
- * Current log level.
100
- * Update current log level.
101
- * Should be either (by verbosity ascending):
102
- * - "NONE"
103
- * - "ERROR"
104
- * - "WARNING"
105
- * - "INFO"
106
- * - "DEBUG"
107
- * Any other value will be translated to "NONE".
108
- */
109
- static get LogLevel() {
110
- return log.getLevel();
111
- }
112
- static set LogLevel(logLevel) {
113
- log.setLevel(logLevel, log.getFormat());
114
- }
115
- /**
116
- * Current log format.
117
- * Should be either (by verbosity ascending):
118
- * - "standard": Regular log messages.
119
- * - "full": More verbose format, including a timestamp and a namespace.
120
- * Any other value will be translated to "standard".
121
- */
122
- static get LogFormat() {
123
- return log.getFormat();
124
- }
125
- static set LogFormat(format) {
126
- log.setLevel(log.getLevel(), format);
127
- }
128
- /**
129
- * Add feature(s) to the RxPlayer.
130
- * @param {Array.<Object>} featureList - Features wanted.
131
- */
132
- static addFeatures(featureList) {
133
- addFeatures(featureList);
134
- }
135
- /**
136
- * Register the video element to the set of elements currently in use.
137
- * @param videoElement the video element to register.
138
- * @throws Error - Throws if the element is already used by another player instance.
139
- */
140
- static _priv_registerVideoElement(videoElement) {
141
- if (Player._priv_currentlyUsedVideoElements.has(videoElement)) {
142
- const errorMessage = "The video element is already attached to another RxPlayer instance." +
143
- "\nMake sure to dispose the previous instance with player.dispose() before creating" +
144
- " a new player instance attaching that video element.";
145
- // eslint-disable-next-line no-console
146
- console.warn(errorMessage);
147
- /*
148
- * TODO: for next major version 5.0: this need to throw an error instead of just logging
149
- * this was not done for minor version as it could be considerated a breaking change.
150
- *
151
- * throw new Error(errorMessage);
152
- */
153
- }
154
- Player._priv_currentlyUsedVideoElements.add(videoElement);
155
- }
156
- /**
157
- * Deregister the video element of the set of elements currently in use.
158
- * @param videoElement the video element to deregister.
159
- */
160
- static _priv_deregisterVideoElement(videoElement) {
161
- if (Player._priv_currentlyUsedVideoElements.has(videoElement)) {
162
- Player._priv_currentlyUsedVideoElements.delete(videoElement);
163
- }
164
- }
165
- /**
166
- * @constructor
167
- * @param {Object} options
168
- */
169
- constructor(options = {}) {
170
- super();
171
- const { baseBandwidth, videoResolutionLimit, maxBufferAhead, maxBufferBehind, throttleVideoBitrateWhenHidden, videoElement, wantedBufferAhead, maxVideoBufferSize, } = parseConstructorOptions(options);
172
- // Workaround to support Firefox autoplay on FF 42.
173
- // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
174
- videoElement.preload = "auto";
175
- this.version = /* PLAYER_VERSION */ "4.4.1";
176
- this.log = log;
177
- this.state = "STOPPED";
178
- this.videoElement = videoElement;
179
- Player._priv_registerVideoElement(this.videoElement);
180
- const destroyCanceller = new TaskCanceller();
181
- this._destroyCanceller = destroyCanceller;
182
- this._priv_pictureInPictureRef = getPictureOnPictureStateRef(videoElement, destroyCanceller.signal);
183
- this._priv_speed = new SharedReference(videoElement.playbackRate, this._destroyCanceller.signal);
184
- this._priv_preferTrickModeTracks = false;
185
- this._priv_contentLock = new SharedReference(false, this._destroyCanceller.signal);
186
- this._priv_bufferOptions = {
187
- wantedBufferAhead: new SharedReference(wantedBufferAhead, this._destroyCanceller.signal),
188
- maxBufferAhead: new SharedReference(maxBufferAhead, this._destroyCanceller.signal),
189
- maxBufferBehind: new SharedReference(maxBufferBehind, this._destroyCanceller.signal),
190
- maxVideoBufferSize: new SharedReference(maxVideoBufferSize, this._destroyCanceller.signal),
191
- };
192
- this._priv_bitrateInfos = {
193
- lastBitrates: { audio: baseBandwidth, video: baseBandwidth },
194
- };
195
- this._priv_throttleVideoBitrateWhenHidden = throttleVideoBitrateWhenHidden;
196
- this._priv_videoResolutionLimit = videoResolutionLimit;
197
- this._priv_currentError = null;
198
- this._priv_contentInfos = null;
199
- this._priv_contentEventsMemory = {};
200
- this._priv_reloadingMetadata = {};
201
- this._priv_lastAutoPlay = false;
202
- this._priv_worker = null;
203
- const onVolumeChange = () => {
204
- this.trigger("volumeChange", {
205
- volume: videoElement.volume,
206
- muted: videoElement.muted,
207
- });
208
- };
209
- videoElement.addEventListener("volumechange", onVolumeChange);
210
- destroyCanceller.signal.register(() => {
211
- videoElement.removeEventListener("volumechange", onVolumeChange);
212
- });
213
- }
214
- /**
215
- * TODO returns promise?
216
- * @param {Object} workerSettings
217
- */
218
- attachWorker(workerSettings) {
219
- return new Promise((res, rej) => {
220
- var _a;
221
- if (!hasWorkerApi()) {
222
- log.warn("API", "Cannot rely on a WebWorker: Worker API unavailable");
223
- return rej(new WorkerInitializationError("INCOMPATIBLE_ERROR", "Worker unavailable"));
224
- }
225
- // check if the user already attach worker before
226
- // terminate the previous worker to release the resources
227
- if (this._priv_worker !== null) {
228
- if (this.state !== "STOPPED") {
229
- log.warn("API", "Cannot attach a new worker while a content is playing, please stop the player first.");
230
- return rej(new WorkerInitializationError("SETUP_ERROR", "Cannot attach a new worker while a content is playing"));
231
- }
232
- else {
233
- this._priv_worker.terminate();
234
- }
235
- }
236
- if (typeof workerSettings.workerUrl === "string") {
237
- this._priv_worker = new Worker(workerSettings.workerUrl);
238
- }
239
- else {
240
- const blobUrl = URL.createObjectURL(workerSettings.workerUrl);
241
- this._priv_worker = new Worker(blobUrl);
242
- URL.revokeObjectURL(blobUrl);
243
- }
244
- this._priv_worker.onerror = (evt) => {
245
- if (this._priv_worker !== null) {
246
- this._priv_worker.terminate();
247
- this._priv_worker = null;
248
- }
249
- log.error("API", "Unexpected worker error", evt.error instanceof Error ? evt.error : undefined);
250
- rej(new WorkerInitializationError("UNKNOWN_ERROR", 'Unexpected Worker "error" event'));
251
- };
252
- const handleInitMessages = (msg) => {
253
- const msgData = msg.data;
254
- if (msgData.type === "init-error" /* WorkerMessageType.InitError */) {
255
- log.warn("API", "Processing InitError worker message: detaching worker");
256
- if (this._priv_worker !== null) {
257
- this._priv_worker.removeEventListener("message", handleInitMessages);
258
- this._priv_worker.terminate();
259
- this._priv_worker = null;
260
- }
261
- rej(new WorkerInitializationError("SETUP_ERROR", "Worker parser initialization failed: " + msgData.value.errorMessage));
262
- }
263
- else if (msgData.type === "init-success" /* WorkerMessageType.InitSuccess */) {
264
- log.info("API", "InitSuccess received from worker.");
265
- if (this._priv_worker !== null) {
266
- this._priv_worker.removeEventListener("message", handleInitMessages);
267
- }
268
- res();
269
- }
270
- };
271
- this._priv_worker.addEventListener("message", handleInitMessages);
272
- log.debug("M-->C", "Sending message", { name: "init" /* MainThreadMessageType.Init */ });
273
- this._priv_worker.postMessage({
274
- type: "init" /* MainThreadMessageType.Init */,
275
- value: {
276
- dashWasmUrl: workerSettings.dashWasmUrl,
277
- logLevel: log.getLevel(),
278
- logFormat: log.getFormat(),
279
- sendBackLogs: isDebugModeEnabled,
280
- date: Date.now(),
281
- timestamp: getMonotonicTimeStamp(),
282
- hasVideo: ((_a = this.videoElement) === null || _a === void 0 ? void 0 : _a.nodeName.toLowerCase()) === "video",
283
- },
284
- });
285
- log.addEventListener("onLogLevelChange", (logInfo) => {
286
- if (this._priv_worker === null) {
287
- return;
288
- }
289
- log.debug("M-->C", "Sending message", {
290
- name: "log-level-update" /* MainThreadMessageType.LogLevelUpdate */,
291
- });
292
- this._priv_worker.postMessage({
293
- type: "log-level-update" /* MainThreadMessageType.LogLevelUpdate */,
294
- value: {
295
- logLevel: logInfo.level,
296
- logFormat: logInfo.format,
297
- sendBackLogs: isDebugModeEnabled,
298
- },
299
- });
300
- }, this._destroyCanceller.signal);
301
- const sendConfigUpdates = (updates) => {
302
- if (this._priv_worker === null) {
303
- return;
304
- }
305
- log.debug("M-->C", "Sending message:", {
306
- name: "config-update" /* MainThreadMessageType.ConfigUpdate */,
307
- });
308
- this._priv_worker.postMessage({
309
- type: "config-update" /* MainThreadMessageType.ConfigUpdate */,
310
- value: updates,
311
- });
312
- };
313
- if (config.updated) {
314
- sendConfigUpdates(config.getCurrent());
315
- }
316
- config.addEventListener("update", sendConfigUpdates, this._destroyCanceller.signal);
317
- });
318
- }
319
- /**
320
- * Returns information on which "mode" the RxPlayer is running for the current
321
- * content (e.g. main logic running in a WebWorker or not, are we in
322
- * directfile mode...).
323
- *
324
- * Returns `null` if no content is loaded.
325
- * @returns {Object|null}
326
- */
327
- getCurrentModeInformation() {
328
- if (this._priv_contentInfos === null) {
329
- return null;
330
- }
331
- return {
332
- isDirectFile: this._priv_contentInfos.isDirectFile,
333
- useWorker: this._priv_contentInfos.useWorker,
334
- };
335
- }
336
- /**
337
- * Register a new callback for a player event event.
338
- *
339
- * @param {string} evt - The event to register a callback to
340
- * @param {Function} fn - The callback to call as that event is triggered.
341
- * The callback will take as argument the eventual payload of the event
342
- * (single argument).
343
- */
344
- addEventListener(evt, fn) {
345
- // The EventEmitter's `addEventListener` method takes an optional third
346
- // argument that we do not want to expose in the public API.
347
- // We thus overwrite that function to remove any possible usage of that
348
- // third argument.
349
- return super.addEventListener(evt, fn);
350
- }
351
- /**
352
- * Stop the playback for the current content.
353
- */
354
- stop() {
355
- if (this._priv_contentInfos !== null) {
356
- this._priv_contentInfos.currentContentCanceller.cancel();
357
- }
358
- this._priv_cleanUpCurrentContentState();
359
- if (this.state !== "STOPPED" /* PLAYER_STATES.STOPPED */) {
360
- this._priv_setPlayerState("STOPPED" /* PLAYER_STATES.STOPPED */);
361
- }
362
- }
363
- /**
364
- * Free the resources used by the player.
365
- * /!\ The player cannot be "used" anymore after this method has been called.
366
- */
367
- dispose() {
368
- // free resources linked to the loaded content
369
- this.stop();
370
- if (this.videoElement !== null) {
371
- Player._priv_deregisterVideoElement(this.videoElement);
372
- // free resources used for decryption management
373
- disposeDecryptionResources(this.videoElement).catch((err) => {
374
- const message = err instanceof Error ? err.message : "Unknown error";
375
- log.error("API", "Could not dispose decryption resources: " + message);
376
- });
377
- }
378
- // free resources linked to the Player instance
379
- this._destroyCanceller.cancel();
380
- this._priv_reloadingMetadata = {};
381
- // un-attach video element
382
- this.videoElement = null;
383
- if (this._priv_worker !== null) {
384
- this._priv_worker.terminate();
385
- this._priv_worker = null;
386
- }
387
- }
388
- /**
389
- * Load a new video.
390
- * @param {Object} opts
391
- */
392
- loadVideo(opts) {
393
- const options = parseLoadVideoOptions(opts);
394
- log.info("API", "Calling loadvideo", {
395
- url: options.url,
396
- transport: options.transport,
397
- });
398
- this._priv_reloadingMetadata = { options };
399
- this._priv_initializeContentPlayback(options);
400
- this._priv_lastAutoPlay = options.autoPlay;
401
- }
402
- /**
403
- * Reload the last loaded content.
404
- * @param {Object} reloadOpts
405
- */
406
- reload(reloadOpts) {
407
- var _a, _b, _c;
408
- const { options, manifest, reloadPosition, reloadInPause } = this._priv_reloadingMetadata;
409
- if (options === undefined) {
410
- throw new Error("API: Can't reload without having previously loaded a content.");
411
- }
412
- checkReloadOptions(reloadOpts);
413
- let startAt;
414
- if (((_a = reloadOpts === null || reloadOpts === void 0 ? void 0 : reloadOpts.reloadAt) === null || _a === void 0 ? void 0 : _a.position) !== undefined) {
415
- startAt = { position: reloadOpts.reloadAt.position };
416
- }
417
- else if (((_b = reloadOpts === null || reloadOpts === void 0 ? void 0 : reloadOpts.reloadAt) === null || _b === void 0 ? void 0 : _b.relative) !== undefined) {
418
- if (reloadPosition === undefined) {
419
- throw new Error("Can't reload to a relative position when previous content was not loaded.");
420
- }
421
- else {
422
- startAt = { position: reloadOpts.reloadAt.relative + reloadPosition };
423
- }
424
- }
425
- else if (reloadPosition !== undefined) {
426
- startAt = { position: reloadPosition };
427
- }
428
- let autoPlay;
429
- if ((reloadOpts === null || reloadOpts === void 0 ? void 0 : reloadOpts.autoPlay) !== undefined) {
430
- autoPlay = reloadOpts.autoPlay;
431
- }
432
- else if (reloadInPause !== undefined) {
433
- autoPlay = !reloadInPause;
434
- }
435
- let keySystems;
436
- if ((reloadOpts === null || reloadOpts === void 0 ? void 0 : reloadOpts.keySystems) !== undefined) {
437
- keySystems = reloadOpts.keySystems;
438
- }
439
- else if (((_c = this._priv_reloadingMetadata.options) === null || _c === void 0 ? void 0 : _c.keySystems) !== undefined) {
440
- keySystems = this._priv_reloadingMetadata.options.keySystems;
441
- }
442
- const newOptions = Object.assign(Object.assign({}, options), { initialManifest: manifest });
443
- if (startAt !== undefined) {
444
- newOptions.startAt = startAt;
445
- }
446
- if (autoPlay !== undefined) {
447
- newOptions.autoPlay = autoPlay;
448
- }
449
- if (keySystems !== undefined) {
450
- newOptions.keySystems = keySystems;
451
- }
452
- this._priv_initializeContentPlayback(newOptions);
453
- }
454
- createDebugElement(element) {
455
- if (features.createDebugElement === null) {
456
- throw new Error("Feature `DEBUG_ELEMENT` not added to the RxPlayer");
457
- }
458
- const canceller = new TaskCanceller();
459
- features.createDebugElement(element, this, canceller.signal);
460
- return {
461
- dispose() {
462
- canceller.cancel();
463
- },
464
- };
465
- }
466
- /**
467
- * Returns an array decribing the various thumbnail tracks that can be
468
- * encountered at the wanted time or Period.
469
- * @param {Object} arg
470
- * @param {number|undefined} [arg.time] - The position to check for thumbnail
471
- * tracks, in seconds.
472
- * @param {string|undefined} [arg.periodId] - The Period to check for
473
- * thumbnail tracks.
474
- * If not set and if `arg.time` is also not set, the current Period will be
475
- * considered.
476
- * @returns {Array.<Object>}
477
- */
478
- getAvailableThumbnailTracks({ time, periodId, } = {}) {
479
- if (this._priv_contentInfos === null || this._priv_contentInfos.manifest === null) {
480
- return [];
481
- }
482
- const { manifest } = this._priv_contentInfos;
483
- let period;
484
- if (time !== undefined) {
485
- period = getPeriodForTime(this._priv_contentInfos.manifest, time);
486
- if (period === undefined || period.thumbnailTracks.length === 0) {
487
- return [];
488
- }
489
- }
490
- else if (periodId !== undefined) {
491
- period = arrayFind(manifest.periods, (p) => p.id === periodId);
492
- if (period === undefined) {
493
- log.error("API", "getAvailableThumbnailTracks: periodId not found", { periodId });
494
- return [];
495
- }
496
- }
497
- else {
498
- const { currentPeriod } = this._priv_contentInfos;
499
- if (currentPeriod === null) {
500
- return [];
501
- }
502
- period = currentPeriod;
503
- }
504
- return period.thumbnailTracks.map((t) => {
505
- return {
506
- id: t.id,
507
- width: Math.floor(t.width / t.horizontalTiles),
508
- height: Math.floor(t.height / t.verticalTiles),
509
- mimeType: t.mimeType,
510
- };
511
- });
512
- }
513
- /**
514
- * Render inside the given `container` the thumbnail corresponding to the
515
- * given time.
516
- *
517
- * If no thumbnail is available at that time or if the RxPlayer does not succeed
518
- * to load or render it, reject the corresponding Promise and remove the
519
- * potential previous thumbnail from the container.
520
- *
521
- * If a new `renderThumbnail` call is made with the same `container` before it
522
- * had time to finish, the Promise is also rejected but the previous thumbnail
523
- * potentially found in the container is untouched.
524
- *
525
- * @param {Object|undefined} options
526
- * @returns {Promise}
527
- */
528
- async renderThumbnail(options) {
529
- if (isNullOrUndefined(options.time)) {
530
- throw new Error("You have to provide a `time` property to `renderThumbnail`, indicating the wanted thumbnail time in seconds.");
531
- }
532
- if (isNullOrUndefined(options.container)) {
533
- throw new Error("You have to provide a `container` property to `renderThumbnail`, specifying the HTML Element in which the thumbnail should be inserted.");
534
- }
535
- return renderThumbnail(this._priv_contentInfos, options);
536
- }
537
- /**
538
- * From given options, initialize content playback.
539
- * @param {Object} options
540
- */
541
- _priv_initializeContentPlayback(options) {
542
- var _a, _b, _c, _d, _f, _g;
543
- const { autoPlay, cmcd, defaultAudioTrackSwitchingMode, enableFastSwitching, initialManifest, keySystems, lowLatencyMode, minimumManifestUpdateInterval, requestConfig, onCodecSwitch, startAt, transport, checkMediaSegmentIntegrity, checkManifestIntegrity, manifestLoader, referenceDateTime, segmentLoader, serverSyncInfos, mode, experimentalOptions, __priv_manifestUpdateUrl, __priv_patchLastSegmentInSidx, url, onAudioTracksNotPlayable, onVideoTracksNotPlayable, } = options;
544
- // Perform multiple checks on the given options
545
- if (this.videoElement === null) {
546
- throw new Error("the attached video element is disposed");
547
- }
548
- const isDirectFile = transport === "directfile";
549
- /** Emit to stop the current content. */
550
- const currentContentCanceller = new TaskCanceller();
551
- const videoElement = this.videoElement;
552
- let initializer;
553
- let useWorker = false;
554
- let mediaElementTracksStore = null;
555
- if (!isDirectFile) {
556
- /** Interface used to load and refresh the Manifest. */
557
- const manifestRequestSettings = {
558
- lowLatencyMode,
559
- maxRetry: (_a = requestConfig.manifest) === null || _a === void 0 ? void 0 : _a.maxRetry,
560
- requestTimeout: (_b = requestConfig.manifest) === null || _b === void 0 ? void 0 : _b.timeout,
561
- connectionTimeout: (_c = requestConfig.manifest) === null || _c === void 0 ? void 0 : _c.connectionTimeout,
562
- minimumManifestUpdateInterval,
563
- initialManifest,
564
- };
565
- const relyOnVideoVisibilityAndSize = canRelyOnVideoVisibilityAndSize();
566
- const throttlers = {
567
- throttleBitrate: {},
568
- limitResolution: {},
569
- };
570
- if (this._priv_throttleVideoBitrateWhenHidden) {
571
- if (!relyOnVideoVisibilityAndSize) {
572
- log.warn("API", "Can't apply throttleVideoBitrateWhenHidden because " +
573
- "browser can't be trusted for visibility.");
574
- }
575
- else {
576
- throttlers.throttleBitrate = {
577
- video: createMappedReference(getVideoVisibilityRef(this._priv_pictureInPictureRef, currentContentCanceller.signal), (isActive) => (isActive ? Infinity : 0), currentContentCanceller.signal),
578
- };
579
- }
580
- }
581
- if (this._priv_videoResolutionLimit === "videoElement") {
582
- if (!relyOnVideoVisibilityAndSize) {
583
- log.warn("API", "Can't apply videoResolutionLimit because browser can't be " +
584
- "trusted for video size.");
585
- }
586
- else {
587
- throttlers.limitResolution = {
588
- video: getElementResolutionRef(videoElement, this._priv_pictureInPictureRef, currentContentCanceller.signal),
589
- };
590
- }
591
- }
592
- else if (this._priv_videoResolutionLimit === "screen") {
593
- throttlers.limitResolution = {
594
- video: getScreenResolutionRef(currentContentCanceller.signal),
595
- };
596
- }
597
- /** Options used by the adaptive logic. */
598
- const adaptiveOptions = {
599
- initialBitrates: this._priv_bitrateInfos.lastBitrates,
600
- lowLatencyMode,
601
- throttlers,
602
- };
603
- /** Options used by the TextTrack SegmentSink. */
604
- const textTrackOptions = options.textTrackMode === "native"
605
- ? { textTrackMode: "native" }
606
- : {
607
- textTrackMode: "html",
608
- textTrackElement: options.textTrackElement,
609
- };
610
- const bufferOptions = objectAssign({ enableFastSwitching, onCodecSwitch }, this._priv_bufferOptions);
611
- const segmentRequestOptions = {
612
- lowLatencyMode,
613
- maxRetry: (_d = requestConfig.segment) === null || _d === void 0 ? void 0 : _d.maxRetry,
614
- requestTimeout: (_f = requestConfig.segment) === null || _f === void 0 ? void 0 : _f.timeout,
615
- connectionTimeout: (_g = requestConfig.segment) === null || _g === void 0 ? void 0 : _g.connectionTimeout,
616
- };
617
- const canRunInMultiThread = features.multithread !== null &&
618
- this._priv_worker !== null &&
619
- this.videoElement.FORCED_MEDIA_SOURCE === undefined &&
620
- transport === "dash" &&
621
- MULTI_THREAD_UNSUPPORTED_LOAD_VIDEO_OPTIONS.every((option) => isNullOrUndefined(options[option])) &&
622
- typeof options.representationFilter !== "function";
623
- if (mode === "main" || (mode === "auto" && !canRunInMultiThread)) {
624
- if (features.mainThreadMediaSourceInit === null) {
625
- throw new Error("Cannot load video, neither in a WebWorker nor with the " +
626
- "`MEDIA_SOURCE_MAIN` feature");
627
- }
628
- const transportFn = features.transports[transport];
629
- if (typeof transportFn !== "function") {
630
- // Stop previous content and reset its state
631
- this.stop();
632
- this._priv_currentError = null;
633
- throw new Error(`transport "${transport}" not supported`);
634
- }
635
- const representationFilter = typeof options.representationFilter === "string"
636
- ? createRepresentationFilterFromFnString(options.representationFilter)
637
- : options.representationFilter;
638
- log.info("API", "Initializing MediaSource mode in the main thread");
639
- const transportPipelines = transportFn({
640
- lowLatencyMode,
641
- checkMediaSegmentIntegrity,
642
- checkManifestIntegrity,
643
- manifestLoader,
644
- referenceDateTime,
645
- representationFilter,
646
- segmentLoader,
647
- serverSyncInfos,
648
- __priv_manifestUpdateUrl,
649
- __priv_patchLastSegmentInSidx,
650
- });
651
- initializer = new features.mainThreadMediaSourceInit({
652
- adaptiveOptions,
653
- autoPlay,
654
- bufferOptions,
655
- cmcd,
656
- enableRepresentationAvoidance: experimentalOptions.enableRepresentationAvoidance,
657
- keySystems,
658
- lowLatencyMode,
659
- transport: transportPipelines,
660
- manifestRequestSettings,
661
- segmentRequestOptions,
662
- speed: this._priv_speed,
663
- startAt,
664
- textTrackOptions,
665
- url,
666
- });
667
- }
668
- else {
669
- if (features.multithread === null) {
670
- throw new Error("Cannot load video in multithread mode: `MULTI_THREAD` " +
671
- "feature not imported.");
672
- }
673
- else if (this._priv_worker === null) {
674
- throw new Error("Cannot load video in multithread mode: `attachWorker` " +
675
- "method not called.");
676
- }
677
- assert(typeof options.representationFilter !== "function");
678
- useWorker = true;
679
- log.info("API", "Initializing MediaSource mode in a WebWorker");
680
- const transportOptions = {
681
- lowLatencyMode,
682
- checkMediaSegmentIntegrity,
683
- checkManifestIntegrity,
684
- referenceDateTime,
685
- serverSyncInfos,
686
- manifestLoader: undefined,
687
- segmentLoader: undefined,
688
- representationFilter: options.representationFilter,
689
- __priv_manifestUpdateUrl,
690
- __priv_patchLastSegmentInSidx,
691
- };
692
- initializer = new features.multithread.init({
693
- adaptiveOptions,
694
- autoPlay,
695
- bufferOptions,
696
- cmcd,
697
- enableRepresentationAvoidance: experimentalOptions.enableRepresentationAvoidance,
698
- keySystems,
699
- lowLatencyMode,
700
- transportOptions,
701
- manifestRequestSettings,
702
- segmentRequestOptions,
703
- speed: this._priv_speed,
704
- startAt,
705
- textTrackOptions,
706
- worker: this._priv_worker,
707
- url,
708
- useMseInWorker: hasMseInWorker,
709
- });
710
- }
711
- }
712
- else {
713
- if (features.directfile === null) {
714
- this.stop();
715
- this._priv_currentError = null;
716
- throw new Error("DirectFile feature not activated in your build.");
717
- }
718
- else if (isNullOrUndefined(url)) {
719
- throw new Error("No URL for a DirectFile content");
720
- }
721
- log.info("API", "Initializing DirectFile mode in the main thread");
722
- mediaElementTracksStore = this._priv_initializeMediaElementTracksStore(currentContentCanceller.signal);
723
- if (currentContentCanceller.isUsed()) {
724
- return;
725
- }
726
- initializer = new features.directfile.initDirectFile({
727
- autoPlay,
728
- keySystems,
729
- speed: this._priv_speed,
730
- startAt,
731
- url,
732
- });
733
- }
734
- /** Global "playback observer" which will emit playback conditions */
735
- const playbackObserver = new MediaElementPlaybackObserver({
736
- withMediaSource: !isDirectFile,
737
- lowLatencyMode,
738
- });
739
- /*
740
- * We want to block seeking operations until we know the media element is
741
- * ready for it.
742
- */
743
- playbackObserver.blockSeeking();
744
- currentContentCanceller.signal.register(() => {
745
- playbackObserver.stop();
746
- });
747
- /** Future `this._priv_contentInfos` related to this content. */
748
- const contentInfos = {
749
- contentId: generateContentId(),
750
- originalUrl: url,
751
- playbackObserver,
752
- currentContentCanceller,
753
- defaultAudioTrackSwitchingMode,
754
- initializer,
755
- isDirectFile,
756
- manifest: null,
757
- currentPeriod: null,
758
- activeAdaptations: null,
759
- activeRepresentations: null,
760
- tracksStore: null,
761
- mediaElementTracksStore,
762
- useWorker,
763
- segmentSinkMetricsCallback: null,
764
- fetchThumbnailDataCallback: null,
765
- thumbnailRequestsInfo: {
766
- pendingRequests: new WeakMap(),
767
- lastResponse: null,
768
- },
769
- onAudioTracksNotPlayable,
770
- onVideoTracksNotPlayable,
771
- };
772
- // Bind events
773
- initializer.addEventListener("error", (error) => {
774
- this._priv_onFatalError(error, contentInfos);
775
- });
776
- initializer.addEventListener("warning", (error) => {
777
- const formattedError = formatError(error, {
778
- defaultCode: "NONE",
779
- defaultReason: "An unknown error happened.",
780
- });
781
- log.warn("API", "Sending warning:", formattedError);
782
- this.trigger("warning", formattedError);
783
- });
784
- initializer.addEventListener("reloadingMediaSource", (payload) => {
785
- if (contentInfos.tracksStore !== null) {
786
- contentInfos.tracksStore.resetPeriodObjects();
787
- }
788
- if (this._priv_contentInfos !== null) {
789
- this._priv_contentInfos.segmentSinkMetricsCallback = null;
790
- }
791
- this._priv_lastAutoPlay = payload.autoPlay;
792
- });
793
- initializer.addEventListener("inbandEvents", (inbandEvents) => this.trigger("inbandEvents", inbandEvents));
794
- initializer.addEventListener("streamEvent", (streamEvent) => this.trigger("streamEvent", streamEvent));
795
- initializer.addEventListener("streamEventSkip", (streamEventSkip) => this.trigger("streamEventSkip", streamEventSkip));
796
- initializer.addEventListener("activePeriodChanged", (periodInfo) => this._priv_onActivePeriodChanged(contentInfos, periodInfo));
797
- initializer.addEventListener("periodStreamReady", (periodReadyInfo) => this._priv_onPeriodStreamReady(contentInfos, periodReadyInfo));
798
- initializer.addEventListener("periodStreamCleared", (periodClearedInfo) => this._priv_onPeriodStreamCleared(contentInfos, periodClearedInfo));
799
- initializer.addEventListener("representationChange", (representationInfo) => this._priv_onRepresentationChange(contentInfos, representationInfo));
800
- initializer.addEventListener("adaptationChange", (adaptationInfo) => this._priv_onAdaptationChange(contentInfos, adaptationInfo));
801
- initializer.addEventListener("bitrateEstimateChange", (bitrateEstimateInfo) => this._priv_onBitrateEstimateChange(bitrateEstimateInfo));
802
- initializer.addEventListener("manifestReady", (manifest) => this._priv_onManifestReady(contentInfos, manifest));
803
- initializer.addEventListener("manifestUpdate", (updates) => this._priv_onManifestUpdate(contentInfos, updates));
804
- initializer.addEventListener("codecSupportUpdate", () => this._priv_onCodecSupportUpdate(contentInfos));
805
- initializer.addEventListener("decipherabilityUpdate", (updates) => this._priv_onDecipherabilityUpdate(contentInfos, updates));
806
- initializer.addEventListener("loaded", (evt) => {
807
- if (this._priv_contentInfos !== null) {
808
- this._priv_contentInfos.segmentSinkMetricsCallback = evt.getSegmentSinkMetrics;
809
- this._priv_contentInfos.fetchThumbnailDataCallback = evt.getThumbnailData;
810
- }
811
- });
812
- // Now, that most events are linked, prepare the next content.
813
- initializer.prepare();
814
- // Now that the content is prepared, stop previous content and reset state
815
- // This is done after content preparation as `stop` could technically have
816
- // a long and synchronous blocking time.
817
- // Note that this call is done **synchronously** after all events linking.
818
- // This is **VERY** important so:
819
- // - the `STOPPED` state is switched to synchronously after loading a new
820
- // content.
821
- // - we can avoid involontarily catching events linked to the previous
822
- // content.
823
- this.stop();
824
- playbackObserver.attachMediaElement(videoElement);
825
- // Update the RxPlayer's state at the right events
826
- const playerStateRef = constructPlayerStateReference(initializer, videoElement, playbackObserver, isDirectFile, currentContentCanceller.signal);
827
- currentContentCanceller.signal.register(() => {
828
- initializer.dispose();
829
- });
830
- /**
831
- * Function updating `this._priv_reloadingMetadata` in function of the
832
- * current state and playback conditions.
833
- * To call when either might change.
834
- * @param {string} state - The player state we're about to switch to.
835
- */
836
- const updateReloadingMetadata = (state) => {
837
- switch (state) {
838
- case "STOPPED":
839
- case "RELOADING":
840
- case "LOADING":
841
- break; // keep previous metadata
842
- case "ENDED":
843
- this._priv_reloadingMetadata.reloadInPause = true;
844
- this._priv_reloadingMetadata.reloadPosition = playbackObserver
845
- .getReference()
846
- .getValue()
847
- .position.getPolled();
848
- break;
849
- default: {
850
- const o = playbackObserver.getReference().getValue();
851
- this._priv_reloadingMetadata.reloadInPause = o.paused;
852
- this._priv_reloadingMetadata.reloadPosition = o.position.getWanted();
853
- break;
854
- }
855
- }
856
- };
857
- /**
858
- * `TaskCanceller` allowing to stop emitting `"play"` and `"pause"`
859
- * events.
860
- * `null` when such events are not emitted currently.
861
- */
862
- let playPauseEventsCanceller = null;
863
- /**
864
- * Callback emitting `"play"` and `"pause`" events once the content is
865
- * loaded, starting from the state indicated in argument.
866
- * @param {boolean} willAutoPlay - If `false`, we're currently paused.
867
- */
868
- const triggerPlayPauseEventsWhenReady = (willAutoPlay) => {
869
- if (playPauseEventsCanceller !== null) {
870
- playPauseEventsCanceller.cancel(); // cancel previous logic
871
- playPauseEventsCanceller = null;
872
- }
873
- playerStateRef.onUpdate((val, stopListeningToStateUpdates) => {
874
- if (!isLoadedState(val)) {
875
- return; // content not loaded yet: no event
876
- }
877
- stopListeningToStateUpdates();
878
- if (playPauseEventsCanceller !== null) {
879
- playPauseEventsCanceller.cancel();
880
- }
881
- playPauseEventsCanceller = new TaskCanceller();
882
- playPauseEventsCanceller.linkToSignal(currentContentCanceller.signal);
883
- if (willAutoPlay !== !videoElement.paused) {
884
- // paused status is not at the expected value on load: emit event
885
- if (videoElement.paused) {
886
- this.trigger("pause", null);
887
- }
888
- else {
889
- this.trigger("play", null);
890
- }
891
- }
892
- emitPlayPauseEvents(videoElement, () => this.trigger("play", null), () => this.trigger("pause", null), currentContentCanceller.signal);
893
- }, {
894
- emitCurrentValue: false,
895
- clearSignal: currentContentCanceller.signal,
896
- });
897
- };
898
- triggerPlayPauseEventsWhenReady(autoPlay);
899
- initializer.addEventListener("reloadingMediaSource", (payload) => {
900
- triggerPlayPauseEventsWhenReady(payload.autoPlay);
901
- });
902
- this._priv_currentError = null;
903
- this._priv_contentInfos = contentInfos;
904
- /**
905
- * `TaskCanceller` allowing to stop emitting `"seeking"` and `"seeked"`
906
- * events.
907
- * `null` when such events are not emitted currently.
908
- */
909
- let seekEventsCanceller = null;
910
- // React to player state change
911
- playerStateRef.onUpdate((newState) => {
912
- updateReloadingMetadata(newState);
913
- this._priv_setPlayerState(newState);
914
- if (currentContentCanceller.isUsed()) {
915
- return;
916
- }
917
- if (seekEventsCanceller !== null) {
918
- if (!isLoadedState(this.state)) {
919
- seekEventsCanceller.cancel();
920
- seekEventsCanceller = null;
921
- }
922
- }
923
- else if (isLoadedState(this.state)) {
924
- seekEventsCanceller = new TaskCanceller();
925
- seekEventsCanceller.linkToSignal(currentContentCanceller.signal);
926
- emitSeekEvents(playbackObserver, () => this.trigger("seeking", null), () => this.trigger("seeked", null), seekEventsCanceller.signal);
927
- }
928
- }, { emitCurrentValue: true, clearSignal: currentContentCanceller.signal });
929
- // React to playback conditions change
930
- playbackObserver.listen((observation) => {
931
- updateReloadingMetadata(this.state);
932
- this._priv_triggerPositionUpdate(contentInfos, observation);
933
- }, { clearSignal: currentContentCanceller.signal });
934
- currentContentCanceller.signal.register(() => {
935
- initializer.removeEventListener();
936
- });
937
- // initialize the content only when the lock is inactive
938
- this._priv_contentLock.onUpdate((isLocked, stopListeningToLock) => {
939
- if (!isLocked) {
940
- stopListeningToLock();
941
- // start playback!
942
- initializer.start(videoElement, playbackObserver);
943
- }
944
- }, { emitCurrentValue: true, clearSignal: currentContentCanceller.signal });
945
- }
946
- /**
947
- * Returns fatal error if one for the current content.
948
- * null otherwise.
949
- * @returns {Object|null} - The current Error (`null` when no error).
950
- */
951
- getError() {
952
- return this._priv_currentError;
953
- }
954
- /**
955
- * Returns the media DOM element used by the player.
956
- * You should not its HTML5 API directly and use the player's method instead,
957
- * to ensure a well-behaved player.
958
- * @returns {HTMLMediaElement|null} - The HTMLMediaElement used (`null` when
959
- * disposed)
960
- */
961
- // eslint-disable-next-line @typescript-eslint/no-restricted-types
962
- getVideoElement() {
963
- // eslint-disable-next-line @typescript-eslint/no-restricted-types
964
- return this.videoElement;
965
- }
966
- /**
967
- * Returns the player's current state.
968
- * @returns {string} - The current Player's state
969
- */
970
- getPlayerState() {
971
- return this.state;
972
- }
973
- /**
974
- * Returns true if a content is loaded.
975
- * @returns {Boolean} - `true` if a content is loaded, `false` otherwise.
976
- */
977
- isContentLoaded() {
978
- return !arrayIncludes(["LOADING", "RELOADING", "STOPPED"], this.state);
979
- }
980
- /**
981
- * Returns true if the player is buffering.
982
- * @returns {Boolean} - `true` if the player is buffering, `false` otherwise.
983
- */
984
- isBuffering() {
985
- return arrayIncludes(["BUFFERING", "SEEKING", "LOADING", "RELOADING"], this.state);
986
- }
987
- /**
988
- * Returns the play/pause status of the player :
989
- * - when `LOADING` or `RELOADING`, returns the scheduled play/pause condition
990
- * for when loading is over,
991
- * - in other states, returns the `<video>` element .paused value,
992
- * - if the player is disposed, returns `true`.
993
- * @returns {Boolean} - `true` if the player is paused or will be after loading,
994
- * `false` otherwise.
995
- */
996
- isPaused() {
997
- if (this.videoElement !== null) {
998
- if (arrayIncludes(["LOADING", "RELOADING"], this.state)) {
999
- return !this._priv_lastAutoPlay;
1000
- }
1001
- else {
1002
- return this.videoElement.paused;
1003
- }
1004
- }
1005
- return true;
1006
- }
1007
- /**
1008
- * Returns true if both:
1009
- * - a content is loaded
1010
- * - the content loaded is a live content
1011
- * @returns {Boolean} - `true` if we're playing a live content, `false` otherwise.
1012
- */
1013
- isLive() {
1014
- if (this._priv_contentInfos === null) {
1015
- return false;
1016
- }
1017
- const { isDirectFile, manifest } = this._priv_contentInfos;
1018
- if (isDirectFile || manifest === null) {
1019
- return false;
1020
- }
1021
- return manifest.isLive;
1022
- }
1023
- /**
1024
- * Returns `true` if trickmode playback is active (usually through the usage
1025
- * of the `setPlaybackRate` method), which means that the RxPlayer selects
1026
- * "trickmode" video tracks in priority.
1027
- * @returns {Boolean}
1028
- */
1029
- areTrickModeTracksEnabled() {
1030
- return this._priv_preferTrickModeTracks;
1031
- }
1032
- /**
1033
- * Returns the URL(s) of the currently considered Manifest, or of the content for
1034
- * directfile content.
1035
- * @returns {Array.<string>|undefined} - Current URL. `undefined` if not known
1036
- * or no URL yet.
1037
- */
1038
- getContentUrls() {
1039
- if (this._priv_contentInfos === null) {
1040
- return undefined;
1041
- }
1042
- const { isDirectFile, manifest, originalUrl } = this._priv_contentInfos;
1043
- if (isDirectFile) {
1044
- return originalUrl === undefined ? undefined : [originalUrl];
1045
- }
1046
- if (manifest !== null) {
1047
- return manifest.uris;
1048
- }
1049
- return undefined;
1050
- }
1051
- /**
1052
- * Update URL of the content currently being played (e.g. DASH's MPD).
1053
- * @param {Array.<string>|undefined} urls - URLs to reach that content /
1054
- * Manifest from the most prioritized URL to the least prioritized URL.
1055
- * @param {Object|undefined} [params]
1056
- * @param {boolean} params.refresh - If `true` the resource in question
1057
- * (e.g. DASH's MPD) will be refreshed immediately.
1058
- */
1059
- updateContentUrls(urls, params) {
1060
- if (this._priv_contentInfos === null) {
1061
- throw new Error("No content loaded");
1062
- }
1063
- const refreshNow = (params === null || params === void 0 ? void 0 : params.refresh) === true;
1064
- this._priv_contentInfos.initializer.updateContentUrls(urls, refreshNow);
1065
- }
1066
- /**
1067
- * Returns the video duration, in seconds.
1068
- * NaN if no video is playing.
1069
- * @returns {Number}
1070
- */
1071
- getMediaDuration() {
1072
- if (this.videoElement === null) {
1073
- throw new Error("Disposed player");
1074
- }
1075
- return this.videoElement.duration;
1076
- }
1077
- /**
1078
- * Returns in seconds the difference between:
1079
- * - the end of the current contiguous loaded range.
1080
- * - the current time
1081
- * @returns {Number}
1082
- */
1083
- getCurrentBufferGap() {
1084
- if (this.videoElement === null) {
1085
- throw new Error("Disposed player");
1086
- }
1087
- const videoElement = this.videoElement;
1088
- const bufferGap = getLeftSizeOfBufferedTimeRange(videoElement.buffered, videoElement.currentTime);
1089
- if (bufferGap === Infinity) {
1090
- return 0;
1091
- }
1092
- return bufferGap;
1093
- }
1094
- /**
1095
- * Get the current position, in s, in wall-clock time.
1096
- * That is:
1097
- * - for live content, get a timestamp, in s, of the current played content.
1098
- * - for static content, returns the position from beginning in s.
1099
- *
1100
- * If you do not know if you want to use this method or getPosition:
1101
- * - If what you want is to display the current time to the user, use this
1102
- * one.
1103
- * - If what you want is to interact with the player's API or perform other
1104
- * actions (like statistics) with the real player data, use getPosition.
1105
- *
1106
- * @returns {Number}
1107
- */
1108
- getWallClockTime() {
1109
- if (this.videoElement === null) {
1110
- throw new Error("Disposed player");
1111
- }
1112
- if (this._priv_contentInfos === null) {
1113
- return this.videoElement.currentTime;
1114
- }
1115
- const wallClockOffset = this.getWallClockOffset();
1116
- const currentTime = this.videoElement.currentTime;
1117
- return currentTime + wallClockOffset;
1118
- }
1119
- /**
1120
- * Get value allowing to convert the media position, as returned by
1121
- * `getPosition` to a "wall-clock time", as returned by `getWallClockTime`, by
1122
- * additioning the first two:
1123
- * ```js
1124
- * player.getPosition() + player.getWallClockOffset() === player.getWallClockTime();
1125
- * ```
1126
- *
1127
- * As most of the RxPlayer API relies on the media position as returned by
1128
- * `getPosition`, you may want to use this method to simplify conversion if
1129
- * what you have right now is a wall-clock time. For example:
1130
- *
1131
- * ```js
1132
- * const wallClockTime = player.getWallClockTime();
1133
- *
1134
- * // This one is expressed as a media position
1135
- * const maximumPosition = player.getMaximumPosition();
1136
- *
1137
- * // convert wall-clock time to a media position
1138
- * const currentPosition = wallClockTime - player.getWallClockOffset();
1139
- *
1140
- * console.log(
1141
- * "delay from maximum position, in seconds",
1142
- * maximumPosition - currentPosition
1143
- * );
1144
- * ```
1145
- *
1146
- * Note that there's nothing guaranteeing that this offset won't evolve over
1147
- * time for a given content. You should call this method every time you need
1148
- * to perform the conversion.
1149
- * @returns {number}
1150
- */
1151
- getWallClockOffset() {
1152
- var _a;
1153
- if (this.videoElement === null) {
1154
- return 0;
1155
- }
1156
- if (this._priv_contentInfos === null) {
1157
- return 0;
1158
- }
1159
- const { isDirectFile, manifest } = this._priv_contentInfos;
1160
- if (isDirectFile) {
1161
- const startDate = getStartDate(this.videoElement);
1162
- return startDate !== null && startDate !== void 0 ? startDate : 0;
1163
- }
1164
- if (manifest !== null) {
1165
- return (_a = manifest.availabilityStartTime) !== null && _a !== void 0 ? _a : 0;
1166
- }
1167
- return 0;
1168
- }
1169
- /**
1170
- * Get the current position, in seconds, of the video element.
1171
- *
1172
- * If you do not know if you want to use this method or getWallClockTime:
1173
- * - If what you want is to display the current time to the user, use
1174
- * getWallClockTime.
1175
- * - If what you want is to interact with the player's API or perform other
1176
- * actions (like statistics) with the real player data, use this one.
1177
- *
1178
- * @returns {Number}
1179
- */
1180
- getPosition() {
1181
- if (this.videoElement === null) {
1182
- throw new Error("Disposed player");
1183
- }
1184
- return this.videoElement.currentTime;
1185
- }
1186
- /**
1187
- * Returns the last stored content position, in seconds.
1188
- *
1189
- * @returns {number|undefined}
1190
- */
1191
- getLastStoredContentPosition() {
1192
- return this._priv_reloadingMetadata.reloadPosition;
1193
- }
1194
- /**
1195
- * Returns the current playback rate at which the video plays.
1196
- * @returns {Number}
1197
- */
1198
- getPlaybackRate() {
1199
- return this._priv_speed.getValue();
1200
- }
1201
- /**
1202
- * Update the playback rate of the video.
1203
- *
1204
- * This method's effect is persisted from content to content, and can be
1205
- * called even when no content is playing (it will still have an effect for
1206
- * the next contents).
1207
- *
1208
- * If you want to reverse effects provoked by `setPlaybackRate` before playing
1209
- * another content, you will have to call `setPlaybackRate` first with the
1210
- * default settings you want to set.
1211
- *
1212
- * As an example, to reset the speed to "normal" (x1) speed and to disable
1213
- * trickMode video tracks (which may have been enabled by a previous
1214
- * `setPlaybackRate` call), you can call:
1215
- * ```js
1216
- * player.setPlaybackRate(1, { preferTrickModeTracks: false });
1217
- * ```
1218
- *
1219
- * --
1220
- *
1221
- * This method can be used to switch to or exit from "trickMode" video tracks,
1222
- * which are tracks specifically defined to mimic the visual aspect of a VCR's
1223
- * fast forward/rewind feature, by only displaying a few video frames during
1224
- * playback.
1225
- *
1226
- * This behavior is configurable through the second argument, by adding a
1227
- * property named `preferTrickModeTracks` to that object.
1228
- *
1229
- * You can set that value to `true` to switch to trickMode video tracks when
1230
- * available, and set it to `false` when you want to disable that logic.
1231
- * Note that like any configuration given to `setPlaybackRate`, this setting
1232
- * is persisted through all future contents played by the player.
1233
- *
1234
- * If you want to stop enabling trickMode tracks, you will have to call
1235
- * `setPlaybackRate` again with `preferTrickModeTracks` set to `false`.
1236
- *
1237
- * You can know at any moment whether this behavior is enabled by calling
1238
- * the `areTrickModeTracksEnabled` method. This will only means that the
1239
- * RxPlayer will select in priority trickmode video tracks, not that the
1240
- * currently chosen video tracks is a trickmode track (for example, some
1241
- * contents may have no trickmode tracks available).
1242
- *
1243
- * If you want to know about the latter instead, you can call `getVideoTrack`
1244
- * and/or listen to `videoTrackChange` events. The track returned may have an
1245
- * `isTrickModeTrack` property set to `true`, indicating that it is a
1246
- * trickmode track.
1247
- *
1248
- * Note that switching to or getting out of a trickmode video track may
1249
- * lead to the player being a brief instant in a `"RELOADING"` state (notified
1250
- * through `playerStateChange` events and the `getLoadedContentState` method).
1251
- * When in that state, a black screen may be displayed and multiple RxPlayer
1252
- * APIs will not be usable.
1253
- *
1254
- * @param {Number} rate
1255
- * @param {Object} opts
1256
- */
1257
- setPlaybackRate(rate, opts) {
1258
- var _a;
1259
- if (rate !== this._priv_speed.getValue()) {
1260
- this._priv_speed.setValue(rate);
1261
- }
1262
- const preferTrickModeTracks = opts === null || opts === void 0 ? void 0 : opts.preferTrickModeTracks;
1263
- if (typeof preferTrickModeTracks !== "boolean") {
1264
- return;
1265
- }
1266
- this._priv_preferTrickModeTracks = preferTrickModeTracks;
1267
- const tracksStore = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.tracksStore;
1268
- if (!isNullOrUndefined(tracksStore)) {
1269
- if (preferTrickModeTracks && !tracksStore.isTrickModeEnabled()) {
1270
- tracksStore.enableVideoTrickModeTracks();
1271
- }
1272
- else if (!preferTrickModeTracks && tracksStore.isTrickModeEnabled()) {
1273
- tracksStore.disableVideoTrickModeTracks();
1274
- }
1275
- }
1276
- }
1277
- /**
1278
- * Returns video Representation currently considered for the current Period.
1279
- *
1280
- * Returns `null` if no video track is playing for the current Period.
1281
- *
1282
- * Returns `undefined` either when are not currently playing any Period or
1283
- * when we don't know which Representation is playing.
1284
- * @returns {Object|null|undefined}
1285
- */
1286
- getVideoRepresentation() {
1287
- const representations = this.__priv_getCurrentRepresentations();
1288
- if (representations === null) {
1289
- return undefined;
1290
- }
1291
- return isNullOrUndefined(representations.video)
1292
- ? representations.video
1293
- : toVideoRepresentation(representations.video);
1294
- }
1295
- /**
1296
- * Returns audio Representation currently considered for the current Period.
1297
- *
1298
- * Returns `null` if no audio track is playing for the current Period.
1299
- *
1300
- * Returns `undefined` either when are not currently playing any Period or
1301
- * when we don't know which Representation is playing.
1302
- * @returns {Object|null|undefined}
1303
- */
1304
- getAudioRepresentation() {
1305
- const representations = this.__priv_getCurrentRepresentations();
1306
- if (representations === null) {
1307
- return undefined;
1308
- }
1309
- return isNullOrUndefined(representations.audio)
1310
- ? representations.video
1311
- : toAudioRepresentation(representations.audio);
1312
- }
1313
- /**
1314
- * Play/Resume the current video.
1315
- * @returns {Promise}
1316
- */
1317
- play() {
1318
- if (this.videoElement === null) {
1319
- throw new Error("Disposed player");
1320
- }
1321
- const playPromise = this.videoElement.play();
1322
- if (isNullOrUndefined(playPromise) || typeof playPromise.catch !== "function") {
1323
- return Promise.resolve();
1324
- }
1325
- return playPromise.catch((error) => {
1326
- if (error.name === "NotAllowedError") {
1327
- const warning = new MediaError("MEDIA_ERR_PLAY_NOT_ALLOWED", error.toString());
1328
- this.trigger("warning", warning);
1329
- }
1330
- throw error;
1331
- });
1332
- }
1333
- /**
1334
- * Pause the current video.
1335
- */
1336
- pause() {
1337
- if (this.videoElement === null) {
1338
- throw new Error("Disposed player");
1339
- }
1340
- this.videoElement.pause();
1341
- }
1342
- /**
1343
- * Seek to a given absolute position.
1344
- * @param {Number|Object} time
1345
- * @returns {Number} - The time the player has seek to
1346
- */
1347
- seekTo(time) {
1348
- var _a;
1349
- if (this.videoElement === null) {
1350
- throw new Error("Disposed player");
1351
- }
1352
- if (this._priv_contentInfos === null) {
1353
- throw new Error("player: no content loaded");
1354
- }
1355
- const { isDirectFile, manifest } = this._priv_contentInfos;
1356
- let positionWanted;
1357
- if (typeof time === "number") {
1358
- positionWanted = time;
1359
- }
1360
- else if (typeof time === "object") {
1361
- const timeObj = time;
1362
- const currentTs = this.videoElement.currentTime;
1363
- if (!isNullOrUndefined(timeObj.relative)) {
1364
- positionWanted = currentTs + timeObj.relative;
1365
- }
1366
- else if (!isNullOrUndefined(timeObj.position)) {
1367
- positionWanted = timeObj.position;
1368
- }
1369
- else if (!isNullOrUndefined(timeObj.wallClockTime)) {
1370
- if (manifest !== null) {
1371
- positionWanted = timeObj.wallClockTime - ((_a = manifest.availabilityStartTime) !== null && _a !== void 0 ? _a : 0);
1372
- }
1373
- else if (!isDirectFile) {
1374
- throw new Error("Cannot seek: wallClockTime asked but Manifest not yet loaded.");
1375
- }
1376
- else if (this.videoElement !== null) {
1377
- const startDate = getStartDate(this.videoElement);
1378
- if (startDate !== undefined) {
1379
- positionWanted = timeObj.wallClockTime - startDate;
1380
- }
1381
- }
1382
- if (positionWanted === undefined) {
1383
- positionWanted = timeObj.wallClockTime;
1384
- }
1385
- }
1386
- else {
1387
- throw new Error("invalid time object. You must set one of the " +
1388
- 'following properties: "relative", "position" or ' +
1389
- '"wallClockTime"');
1390
- }
1391
- }
1392
- if (positionWanted === undefined) {
1393
- throw new Error("invalid time given");
1394
- }
1395
- log.info("API", "API seekTo", { positionWanted });
1396
- this._priv_contentInfos.playbackObserver.setCurrentTime(positionWanted, false);
1397
- return positionWanted;
1398
- }
1399
- /**
1400
- * Returns the current player's audio volume on the media element.
1401
- * From 0 (no audio) to 1 (maximum volume).
1402
- * @returns {Number}
1403
- */
1404
- getVolume() {
1405
- if (this.videoElement === null) {
1406
- throw new Error("Disposed player");
1407
- }
1408
- return this.videoElement.volume;
1409
- }
1410
- /**
1411
- * Set the player's audio volume. From 0 (no volume) to 1 (maximum volume).
1412
- * @param {Number} volume
1413
- */
1414
- setVolume(volume) {
1415
- if (this.videoElement === null) {
1416
- throw new Error("Disposed player");
1417
- }
1418
- const videoElement = this.videoElement;
1419
- if (volume !== videoElement.volume) {
1420
- videoElement.volume = volume;
1421
- }
1422
- }
1423
- /**
1424
- * Returns `true` if audio is currently muted.
1425
- * @returns {Boolean}
1426
- */
1427
- isMute() {
1428
- var _a;
1429
- return ((_a = this.videoElement) === null || _a === void 0 ? void 0 : _a.muted) === true;
1430
- }
1431
- /**
1432
- * Mute audio.
1433
- */
1434
- mute() {
1435
- if (this.videoElement === null) {
1436
- throw new Error("Disposed player");
1437
- }
1438
- if (!this.videoElement.muted) {
1439
- this.videoElement.muted = true;
1440
- }
1441
- }
1442
- /**
1443
- * Unmute audio.
1444
- */
1445
- unMute() {
1446
- if (this.videoElement === null) {
1447
- throw new Error("Disposed player");
1448
- }
1449
- if (this.videoElement.muted) {
1450
- this.videoElement.muted = false;
1451
- }
1452
- }
1453
- /**
1454
- * Set the max buffer size for the buffer behind the current position.
1455
- * Every buffer data before will be removed.
1456
- * @param {Number} depthInSeconds
1457
- */
1458
- setMaxBufferBehind(depthInSeconds) {
1459
- this._priv_bufferOptions.maxBufferBehind.setValue(depthInSeconds);
1460
- }
1461
- /**
1462
- * Set the max buffer size for the buffer behind the current position.
1463
- * Every buffer data before will be removed.
1464
- * @param {Number} depthInSeconds
1465
- */
1466
- setMaxBufferAhead(depthInSeconds) {
1467
- this._priv_bufferOptions.maxBufferAhead.setValue(depthInSeconds);
1468
- }
1469
- /**
1470
- * Set the max buffer size for the buffer ahead of the current position.
1471
- * The player will stop downloading chunks when this size is reached.
1472
- * @param {Number} sizeInSeconds
1473
- */
1474
- setWantedBufferAhead(sizeInSeconds) {
1475
- this._priv_bufferOptions.wantedBufferAhead.setValue(sizeInSeconds);
1476
- }
1477
- /**
1478
- * Set the max buffer size the buffer should take in memory
1479
- * The player . will stop downloading chunks when this size is reached.
1480
- * @param {Number} sizeInKBytes
1481
- */
1482
- setMaxVideoBufferSize(sizeInKBytes) {
1483
- this._priv_bufferOptions.maxVideoBufferSize.setValue(sizeInKBytes);
1484
- }
1485
- /**
1486
- * Returns the max buffer size for the buffer behind the current position.
1487
- * @returns {Number}
1488
- */
1489
- getMaxBufferBehind() {
1490
- return this._priv_bufferOptions.maxBufferBehind.getValue();
1491
- }
1492
- /**
1493
- * Returns the max buffer size for the buffer behind the current position.
1494
- * @returns {Number}
1495
- */
1496
- getMaxBufferAhead() {
1497
- return this._priv_bufferOptions.maxBufferAhead.getValue();
1498
- }
1499
- /**
1500
- * Returns the max buffer size for the buffer ahead of the current position.
1501
- * @returns {Number}
1502
- */
1503
- getWantedBufferAhead() {
1504
- return this._priv_bufferOptions.wantedBufferAhead.getValue();
1505
- }
1506
- /**
1507
- * Returns the max buffer memory size for the buffer in kilobytes
1508
- * @returns {Number}
1509
- */
1510
- getMaxVideoBufferSize() {
1511
- return this._priv_bufferOptions.maxVideoBufferSize.getValue();
1512
- }
1513
- getCurrentPeriod() {
1514
- var _a;
1515
- const currentPeriod = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.currentPeriod;
1516
- if (isNullOrUndefined(currentPeriod)) {
1517
- return null;
1518
- }
1519
- return {
1520
- id: currentPeriod.id,
1521
- start: currentPeriod.start,
1522
- end: currentPeriod.end,
1523
- };
1524
- }
1525
- /**
1526
- * Returns both the name of the key system (e.g. `"com.widevine.alpha"`) and
1527
- * the `MediaKeySystemConfiguration` currently associated to the
1528
- * HTMLMediaElement linked to the RxPlayer.
1529
- *
1530
- * Returns `null` if no such capabilities is associated or if unknown.
1531
- * @returns {Object|null}
1532
- */
1533
- getKeySystemConfiguration() {
1534
- if (this.videoElement === null) {
1535
- throw new Error("Disposed player");
1536
- }
1537
- const values = getKeySystemConfiguration(this.videoElement);
1538
- if (values === null) {
1539
- return null;
1540
- }
1541
- return { keySystem: values[0], configuration: values[1] };
1542
- }
1543
- /**
1544
- * Returns the list of available Periods for which the current audio, video or
1545
- * text track can now be changed.
1546
- * @returns {Array.<Object>}
1547
- */
1548
- getAvailablePeriods() {
1549
- if (this._priv_contentInfos === null) {
1550
- return [];
1551
- }
1552
- const { isDirectFile, tracksStore } = this._priv_contentInfos;
1553
- if (isDirectFile) {
1554
- return [];
1555
- }
1556
- if (tracksStore === null) {
1557
- return [];
1558
- }
1559
- return tracksStore.getAvailablePeriods().slice();
1560
- }
1561
- /**
1562
- * Returns every available audio tracks for a given Period - or the current
1563
- * one if no `periodId` is given.
1564
- * @param {string|Object|undefined} [arg]
1565
- * @returns {Array.<Object>}
1566
- */
1567
- getAvailableAudioTracks(arg) {
1568
- var _a, _b;
1569
- if (this._priv_contentInfos === null) {
1570
- return [];
1571
- }
1572
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1573
- if (isDirectFile) {
1574
- return (_a = mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.getAvailableAudioTracks()) !== null && _a !== void 0 ? _a : [];
1575
- }
1576
- let periodId;
1577
- let filterPlayableRepresentations = true;
1578
- if (typeof arg === "string") {
1579
- periodId = arg;
1580
- }
1581
- else {
1582
- periodId = arg === null || arg === void 0 ? void 0 : arg.periodId;
1583
- filterPlayableRepresentations = (_b = arg === null || arg === void 0 ? void 0 : arg.filterPlayableRepresentations) !== null && _b !== void 0 ? _b : true;
1584
- }
1585
- return this._priv_callTracksStoreGetterSetter(periodId, [], (tcm, periodRef) => { var _a; return (_a = tcm.getAvailableAudioTracks(periodRef, filterPlayableRepresentations)) !== null && _a !== void 0 ? _a : []; });
1586
- }
1587
- /**
1588
- * Returns every available text tracks for a given Period - or the current
1589
- * one if no `periodId` is given.
1590
- * @param {string|undefined} [periodId]
1591
- * @returns {Array.<Object>}
1592
- */
1593
- getAvailableTextTracks(periodId) {
1594
- var _a;
1595
- if (this._priv_contentInfos === null) {
1596
- return [];
1597
- }
1598
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1599
- if (isDirectFile) {
1600
- return (_a = mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.getAvailableTextTracks()) !== null && _a !== void 0 ? _a : [];
1601
- }
1602
- return this._priv_callTracksStoreGetterSetter(periodId, [], (tcm, periodRef) => { var _a; return (_a = tcm.getAvailableTextTracks(periodRef)) !== null && _a !== void 0 ? _a : []; });
1603
- }
1604
- /**
1605
- * Returns every available video tracks for the current Period.
1606
- * @param {string|Object|undefined} [arg]
1607
- * @returns {Array.<Object>}
1608
- */
1609
- getAvailableVideoTracks(arg) {
1610
- var _a, _b;
1611
- if (this._priv_contentInfos === null) {
1612
- return [];
1613
- }
1614
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1615
- if (isDirectFile) {
1616
- return (_a = mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.getAvailableVideoTracks()) !== null && _a !== void 0 ? _a : [];
1617
- }
1618
- let periodId;
1619
- let filterPlayableRepresentations = true;
1620
- if (typeof arg === "string") {
1621
- periodId = arg;
1622
- }
1623
- else {
1624
- periodId = arg === null || arg === void 0 ? void 0 : arg.periodId;
1625
- filterPlayableRepresentations = (_b = arg === null || arg === void 0 ? void 0 : arg.filterPlayableRepresentations) !== null && _b !== void 0 ? _b : true;
1626
- }
1627
- return this._priv_callTracksStoreGetterSetter(periodId, [], (tcm, periodRef) => { var _a; return (_a = tcm.getAvailableVideoTracks(periodRef, filterPlayableRepresentations)) !== null && _a !== void 0 ? _a : []; });
1628
- }
1629
- /**
1630
- * Returns currently chosen audio language for the current Period.
1631
- * @param {string|Object|undefined} [arg]
1632
- * @returns {Object|null|undefined}
1633
- */
1634
- getAudioTrack(arg) {
1635
- var _a;
1636
- if (this._priv_contentInfos === null) {
1637
- return undefined;
1638
- }
1639
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1640
- if (isDirectFile) {
1641
- if (mediaElementTracksStore === null) {
1642
- return undefined;
1643
- }
1644
- return mediaElementTracksStore.getChosenAudioTrack();
1645
- }
1646
- let periodId;
1647
- let filterPlayableRepresentations = true;
1648
- if (typeof arg === "string") {
1649
- periodId = arg;
1650
- }
1651
- else {
1652
- periodId = arg === null || arg === void 0 ? void 0 : arg.periodId;
1653
- filterPlayableRepresentations = (_a = arg === null || arg === void 0 ? void 0 : arg.filterPlayableRepresentations) !== null && _a !== void 0 ? _a : true;
1654
- }
1655
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.getChosenAudioTrack(periodRef, filterPlayableRepresentations));
1656
- }
1657
- /**
1658
- * Returns currently chosen subtitle for the current Period.
1659
- * @param {string|undefined} [periodId]
1660
- * @returns {Object|null|undefined}
1661
- */
1662
- getTextTrack(periodId) {
1663
- if (this._priv_contentInfos === null) {
1664
- return undefined;
1665
- }
1666
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1667
- if (isDirectFile) {
1668
- if (mediaElementTracksStore === null) {
1669
- return undefined;
1670
- }
1671
- return mediaElementTracksStore.getChosenTextTrack();
1672
- }
1673
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.getChosenTextTrack(periodRef));
1674
- }
1675
- /**
1676
- * Returns currently chosen video track for the current Period.
1677
- * @param {string|Object|undefined} [arg]
1678
- * @returns {Object|null|undefined}
1679
- */
1680
- getVideoTrack(arg) {
1681
- var _a;
1682
- if (this._priv_contentInfos === null) {
1683
- return undefined;
1684
- }
1685
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1686
- if (isDirectFile) {
1687
- if (mediaElementTracksStore === null) {
1688
- return undefined;
1689
- }
1690
- return mediaElementTracksStore.getChosenVideoTrack();
1691
- }
1692
- let periodId;
1693
- let filterPlayableRepresentations = true;
1694
- if (typeof arg === "string") {
1695
- periodId = arg;
1696
- }
1697
- else {
1698
- periodId = arg === null || arg === void 0 ? void 0 : arg.periodId;
1699
- filterPlayableRepresentations = (_a = arg === null || arg === void 0 ? void 0 : arg.filterPlayableRepresentations) !== null && _a !== void 0 ? _a : true;
1700
- }
1701
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.getChosenVideoTrack(periodRef, filterPlayableRepresentations));
1702
- }
1703
- /**
1704
- * Update the audio language for the current Period.
1705
- * @param {string | object} arg
1706
- * @throws Error - the current content has no TracksStore.
1707
- * @throws Error - the given id is linked to no audio track.
1708
- */
1709
- setAudioTrack(arg) {
1710
- var _a;
1711
- if (this._priv_contentInfos === null) {
1712
- throw new Error("No content loaded");
1713
- }
1714
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1715
- if (isDirectFile) {
1716
- try {
1717
- const audioId = typeof arg === "string" ? arg : arg.trackId;
1718
- mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.setAudioTrackById(audioId);
1719
- return;
1720
- }
1721
- catch (_e) {
1722
- throw new Error("player: unknown audio track");
1723
- }
1724
- }
1725
- let periodId;
1726
- let trackId;
1727
- let switchingMode;
1728
- let lockedRepresentations = null;
1729
- let relativeResumingPosition;
1730
- if (typeof arg === "string") {
1731
- trackId = arg;
1732
- }
1733
- else {
1734
- trackId = arg.trackId;
1735
- periodId = arg.periodId;
1736
- switchingMode = arg.switchingMode;
1737
- lockedRepresentations = (_a = arg.lockedRepresentations) !== null && _a !== void 0 ? _a : null;
1738
- relativeResumingPosition = arg.relativeResumingPosition;
1739
- }
1740
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.setAudioTrack({
1741
- periodRef,
1742
- trackId,
1743
- switchingMode,
1744
- lockedRepresentations,
1745
- relativeResumingPosition,
1746
- }));
1747
- }
1748
- /**
1749
- * Update the text language for the current Period.
1750
- * @param {string | Object} arg
1751
- * @throws Error - the current content has no TracksStore.
1752
- * @throws Error - the given id is linked to no text track.
1753
- */
1754
- setTextTrack(arg) {
1755
- if (this._priv_contentInfos === null) {
1756
- throw new Error("No content loaded");
1757
- }
1758
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1759
- if (isDirectFile) {
1760
- try {
1761
- const textId = typeof arg === "string" ? arg : arg.trackId;
1762
- mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.setTextTrackById(textId);
1763
- return;
1764
- }
1765
- catch (_e) {
1766
- throw new Error("player: unknown text track");
1767
- }
1768
- }
1769
- let periodId;
1770
- let trackId;
1771
- if (typeof arg === "string") {
1772
- trackId = arg;
1773
- }
1774
- else {
1775
- trackId = arg.trackId;
1776
- periodId = arg.periodId;
1777
- }
1778
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.setTextTrack(periodRef, trackId));
1779
- }
1780
- /**
1781
- * Disable subtitles for the current content.
1782
- * @param {string|undefined} [periodId]
1783
- */
1784
- disableTextTrack(periodId) {
1785
- if (this._priv_contentInfos === null) {
1786
- return;
1787
- }
1788
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1789
- if (isDirectFile) {
1790
- mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.disableTextTrack();
1791
- return;
1792
- }
1793
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.disableTrack(periodRef, "text"));
1794
- }
1795
- /**
1796
- * Update the video track for the current Period.
1797
- * @param {string | Object} arg
1798
- * @throws Error - the current content has no TracksStore.
1799
- * @throws Error - the given id is linked to no video track.
1800
- */
1801
- setVideoTrack(arg) {
1802
- var _a;
1803
- if (this._priv_contentInfos === null) {
1804
- throw new Error("No content loaded");
1805
- }
1806
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1807
- if (isDirectFile) {
1808
- try {
1809
- const videoId = typeof arg === "string" ? arg : arg.trackId;
1810
- mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.setVideoTrackById(videoId);
1811
- return;
1812
- }
1813
- catch (_e) {
1814
- throw new Error("player: unknown video track");
1815
- }
1816
- }
1817
- let periodId;
1818
- let trackId;
1819
- let switchingMode;
1820
- let lockedRepresentations = null;
1821
- let relativeResumingPosition;
1822
- if (typeof arg === "string") {
1823
- trackId = arg;
1824
- }
1825
- else {
1826
- trackId = arg.trackId;
1827
- periodId = arg.periodId;
1828
- switchingMode = arg.switchingMode;
1829
- lockedRepresentations = (_a = arg.lockedRepresentations) !== null && _a !== void 0 ? _a : null;
1830
- relativeResumingPosition = arg.relativeResumingPosition;
1831
- }
1832
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.setVideoTrack({
1833
- periodRef,
1834
- trackId,
1835
- switchingMode,
1836
- lockedRepresentations,
1837
- relativeResumingPosition,
1838
- }));
1839
- }
1840
- /**
1841
- * Disable video track for the current content.
1842
- * @param {string|undefined} [periodId]
1843
- */
1844
- disableVideoTrack(periodId) {
1845
- if (this._priv_contentInfos === null) {
1846
- return;
1847
- }
1848
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1849
- if (isDirectFile && mediaElementTracksStore !== null) {
1850
- return mediaElementTracksStore.disableVideoTrack();
1851
- }
1852
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.disableTrack(periodRef, "video"));
1853
- }
1854
- lockVideoRepresentations(arg) {
1855
- if (this._priv_contentInfos === null) {
1856
- throw new Error("No content loaded");
1857
- }
1858
- const { isDirectFile } = this._priv_contentInfos;
1859
- if (isDirectFile) {
1860
- throw new Error("Cannot lock video Representations in directfile mode.");
1861
- }
1862
- let repsId;
1863
- let periodId;
1864
- let switchingMode;
1865
- if (Array.isArray(arg)) {
1866
- repsId = arg;
1867
- periodId = undefined;
1868
- }
1869
- else {
1870
- repsId = arg.representations;
1871
- periodId = arg.periodId;
1872
- switchingMode = arg.switchingMode;
1873
- }
1874
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.lockVideoRepresentations(periodRef, {
1875
- representations: repsId,
1876
- switchingMode,
1877
- }));
1878
- }
1879
- /**
1880
- * Disable audio track for the current content.
1881
- * @param {string|undefined} [periodId]
1882
- */
1883
- disableAudioTrack(periodId) {
1884
- if (this._priv_contentInfos === null) {
1885
- return;
1886
- }
1887
- const { isDirectFile, mediaElementTracksStore } = this._priv_contentInfos;
1888
- if (isDirectFile && mediaElementTracksStore !== null) {
1889
- return mediaElementTracksStore.disableAudioTrack();
1890
- }
1891
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.disableTrack(periodRef, "audio"));
1892
- }
1893
- lockAudioRepresentations(arg) {
1894
- if (this._priv_contentInfos === null) {
1895
- throw new Error("No content loaded");
1896
- }
1897
- const { isDirectFile } = this._priv_contentInfos;
1898
- if (isDirectFile) {
1899
- throw new Error("Cannot lock audio Representations in directfile mode.");
1900
- }
1901
- let repsId;
1902
- let periodId;
1903
- let switchingMode;
1904
- if (Array.isArray(arg)) {
1905
- repsId = arg;
1906
- periodId = undefined;
1907
- }
1908
- else {
1909
- repsId = arg.representations;
1910
- periodId = arg.periodId;
1911
- switchingMode = arg.switchingMode;
1912
- }
1913
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.lockAudioRepresentations(periodRef, {
1914
- representations: repsId,
1915
- switchingMode,
1916
- }));
1917
- }
1918
- getLockedVideoRepresentations(periodId) {
1919
- if (this._priv_contentInfos === null) {
1920
- return null;
1921
- }
1922
- const { isDirectFile } = this._priv_contentInfos;
1923
- if (isDirectFile) {
1924
- return null;
1925
- }
1926
- return this._priv_callTracksStoreGetterSetter(periodId, null, (tcm, periodRef) => tcm.getLockedVideoRepresentations(periodRef));
1927
- }
1928
- getLockedAudioRepresentations(periodId) {
1929
- if (this._priv_contentInfos === null) {
1930
- return null;
1931
- }
1932
- const { isDirectFile } = this._priv_contentInfos;
1933
- if (isDirectFile) {
1934
- return null;
1935
- }
1936
- return this._priv_callTracksStoreGetterSetter(periodId, null, (tcm, periodRef) => tcm.getLockedAudioRepresentations(periodRef));
1937
- }
1938
- unlockVideoRepresentations(periodId) {
1939
- if (this._priv_contentInfos === null) {
1940
- return;
1941
- }
1942
- const { isDirectFile } = this._priv_contentInfos;
1943
- if (isDirectFile) {
1944
- return;
1945
- }
1946
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.unlockVideoRepresentations(periodRef));
1947
- }
1948
- unlockAudioRepresentations(periodId) {
1949
- if (this._priv_contentInfos === null) {
1950
- return;
1951
- }
1952
- const { isDirectFile } = this._priv_contentInfos;
1953
- if (isDirectFile) {
1954
- return;
1955
- }
1956
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, (tcm, periodRef) => tcm.unlockAudioRepresentations(periodRef));
1957
- }
1958
- /**
1959
- * Get minimum seek-able position.
1960
- * @returns {number}
1961
- */
1962
- getMinimumPosition() {
1963
- if (this._priv_contentInfos === null) {
1964
- return null;
1965
- }
1966
- if (this._priv_contentInfos.isDirectFile) {
1967
- return 0;
1968
- }
1969
- const { manifest } = this._priv_contentInfos;
1970
- if (manifest !== null) {
1971
- return getMinimumSafePosition(manifest);
1972
- }
1973
- return null;
1974
- }
1975
- /**
1976
- * Returns the current position for live contents.
1977
- *
1978
- * Returns `null` if no content is loaded or if the current loaded content is
1979
- * not considered as a live content.
1980
- * Returns `undefined` if that live position is currently unknown.
1981
- * @returns {number}
1982
- */
1983
- getLivePosition() {
1984
- if (this._priv_contentInfos === null) {
1985
- return null;
1986
- }
1987
- const { isDirectFile, manifest } = this._priv_contentInfos;
1988
- if (isDirectFile) {
1989
- return undefined;
1990
- }
1991
- if ((manifest === null || manifest === void 0 ? void 0 : manifest.isLive) !== true) {
1992
- return null;
1993
- }
1994
- return getLivePosition(manifest);
1995
- }
1996
- /**
1997
- * Get maximum seek-able position.
1998
- * @returns {number}
1999
- */
2000
- getMaximumPosition() {
2001
- if (this._priv_contentInfos === null) {
2002
- return null;
2003
- }
2004
- const { isDirectFile, manifest } = this._priv_contentInfos;
2005
- if (isDirectFile) {
2006
- if (this.videoElement === null) {
2007
- throw new Error("Disposed player");
2008
- }
2009
- return this.videoElement.duration;
2010
- }
2011
- if (manifest !== null) {
2012
- if (!manifest.isDynamic && this.videoElement !== null) {
2013
- return this.videoElement.duration;
2014
- }
2015
- return getMaximumSafePosition(manifest);
2016
- }
2017
- return null;
2018
- }
2019
- // ---- Undocumented Private methods. ----
2020
- //
2021
- // Those methods are just here either to allow some tools relying on the
2022
- // RxPlayer instance to work or to improve the RxPlayer's demo.
2023
- //
2024
- // They should not be used by any external code.
2025
- /**
2026
- * Used for the display of segmentSink metrics for the debug element
2027
- * @param fn
2028
- * @param cancellationSignal
2029
- * @returns
2030
- */
2031
- async __priv_getSegmentSinkMetrics() {
2032
- var _a, _b;
2033
- return (_b = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.segmentSinkMetricsCallback) === null || _b === void 0 ? void 0 : _b.call(_a);
2034
- }
2035
- /**
2036
- * /!\ For tools use only! Do not touch!
2037
- *
2038
- * Returns manifest/playlist object.
2039
- * null if the player is STOPPED.
2040
- * @returns {Manifest|null} - The current Manifest (`null` when not known).
2041
- */
2042
- // TODO remove the need for that public method
2043
- __priv_getManifest() {
2044
- if (this._priv_contentInfos === null) {
2045
- return null;
2046
- }
2047
- return this._priv_contentInfos.manifest;
2048
- }
2049
- // TODO remove the need for that public method
2050
- __priv_getCurrentAdaptation() {
2051
- if (this._priv_contentInfos === null) {
2052
- return null;
2053
- }
2054
- const { currentPeriod, activeAdaptations } = this._priv_contentInfos;
2055
- if (currentPeriod === null ||
2056
- activeAdaptations === null ||
2057
- isNullOrUndefined(activeAdaptations[currentPeriod.id])) {
2058
- return null;
2059
- }
2060
- return activeAdaptations[currentPeriod.id];
2061
- }
2062
- // TODO remove the need for that public method
2063
- __priv_getCurrentRepresentations() {
2064
- if (this._priv_contentInfos === null) {
2065
- return null;
2066
- }
2067
- const { currentPeriod, activeRepresentations } = this._priv_contentInfos;
2068
- if (currentPeriod === null ||
2069
- activeRepresentations === null ||
2070
- isNullOrUndefined(activeRepresentations[currentPeriod.id])) {
2071
- return null;
2072
- }
2073
- return activeRepresentations[currentPeriod.id];
2074
- }
2075
- // ---- Private methods ----
2076
- /**
2077
- * Reset all state properties relative to a playing content.
2078
- */
2079
- _priv_cleanUpCurrentContentState() {
2080
- var _a, _b, _c, _d;
2081
- log.debug("API", "Locking `contentLock` to clean-up the current content.");
2082
- // lock playback of new contents while cleaning up is pending
2083
- this._priv_contentLock.setValue(true);
2084
- (_b = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.tracksStore) === null || _b === void 0 ? void 0 : _b.dispose();
2085
- (_d = (_c = this._priv_contentInfos) === null || _c === void 0 ? void 0 : _c.mediaElementTracksStore) === null || _d === void 0 ? void 0 : _d.dispose();
2086
- this._priv_contentInfos = null;
2087
- this._priv_contentEventsMemory = {};
2088
- // DRM-related clean-up
2089
- const freeUpContentLock = () => {
2090
- if (this.videoElement !== null) {
2091
- // If not disposed
2092
- log.debug("API", "Unlocking `contentLock`. Next content can begin.");
2093
- this._priv_contentLock.setValue(false);
2094
- }
2095
- };
2096
- if (!isNullOrUndefined(this.videoElement)) {
2097
- clearOnStop(this.videoElement).then(() => {
2098
- log.debug("API", "DRM session cleaned-up with success!");
2099
- freeUpContentLock();
2100
- }, (err) => {
2101
- log.error("API", "An error arised when trying to clean-up the DRM session:" +
2102
- (err instanceof Error ? err.toString() : "Unknown Error"));
2103
- freeUpContentLock();
2104
- });
2105
- }
2106
- else {
2107
- freeUpContentLock();
2108
- }
2109
- }
2110
- /**
2111
- * Triggered when the Manifest has been loaded for the current content.
2112
- * Initialize various private properties and emit initial event.
2113
- * @param {Object} contentInfos
2114
- * @param {Object} manifest
2115
- */
2116
- _priv_onManifestReady(contentInfos, manifest) {
2117
- var _a;
2118
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2119
- return; // Event for another content
2120
- }
2121
- contentInfos.manifest = manifest;
2122
- if (manifest.manifestFormat === 0 /* ManifestMetadataFormat.Class */) {
2123
- this._priv_reloadingMetadata.manifest = manifest;
2124
- }
2125
- const tracksStore = new TracksStore({
2126
- preferTrickModeTracks: this._priv_preferTrickModeTracks,
2127
- defaultAudioTrackSwitchingMode: contentInfos.defaultAudioTrackSwitchingMode,
2128
- onTracksNotPlayableForType: {
2129
- audio: contentInfos.onAudioTracksNotPlayable,
2130
- video: contentInfos.onVideoTracksNotPlayable,
2131
- text: "continue",
2132
- },
2133
- });
2134
- contentInfos.tracksStore = tracksStore;
2135
- tracksStore.addEventListener("newAvailablePeriods", (p) => {
2136
- this.trigger("newAvailablePeriods", p);
2137
- });
2138
- tracksStore.addEventListener("brokenRepresentationsLock", (e) => {
2139
- this.trigger("brokenRepresentationsLock", e);
2140
- });
2141
- tracksStore.addEventListener("trackUpdate", (e) => {
2142
- var _a, _b;
2143
- this.trigger("trackUpdate", e);
2144
- const currentPeriod = (_b = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.currentPeriod) !== null && _b !== void 0 ? _b : undefined;
2145
- if (e.reason === "no-playable-representation" &&
2146
- e.period.id === (currentPeriod === null || currentPeriod === void 0 ? void 0 : currentPeriod.id)) {
2147
- this._priv_onAvailableTracksMayHaveChanged(e.trackType);
2148
- }
2149
- });
2150
- tracksStore.addEventListener("warning", (err) => {
2151
- this.trigger("warning", err);
2152
- });
2153
- tracksStore.addEventListener("error", (err) => {
2154
- this._priv_onFatalError(err, contentInfos);
2155
- });
2156
- tracksStore.addEventListener("noPlayableTrack", (noPlayableTrackEvent) => {
2157
- this.trigger("noPlayableTrack", noPlayableTrackEvent);
2158
- });
2159
- tracksStore.onManifestUpdate(manifest);
2160
- }
2161
- /**
2162
- * Triggered when the Manifest has been updated for the current content.
2163
- * Initialize various private properties and emit initial event.
2164
- * @param {Object} contentInfos
2165
- * @param {Object} updates
2166
- */
2167
- _priv_onManifestUpdate(contentInfos, updates) {
2168
- var _a, _b, _c;
2169
- if (this._priv_contentInfos === null || this._priv_contentInfos.manifest === null) {
2170
- return;
2171
- }
2172
- // Update the tracks chosen if it changed
2173
- if (!isNullOrUndefined(contentInfos === null || contentInfos === void 0 ? void 0 : contentInfos.tracksStore)) {
2174
- contentInfos.tracksStore.onManifestUpdate(this._priv_contentInfos.manifest);
2175
- }
2176
- const currentPeriod = (_b = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.currentPeriod) !== null && _b !== void 0 ? _b : undefined;
2177
- const currTracksStore = (_c = this._priv_contentInfos) === null || _c === void 0 ? void 0 : _c.tracksStore;
2178
- if (currentPeriod === undefined || isNullOrUndefined(currTracksStore)) {
2179
- return;
2180
- }
2181
- for (const update of updates.updatedPeriods) {
2182
- if (update.period.id === currentPeriod.id) {
2183
- if (update.result.addedAdaptations.length > 0 ||
2184
- update.result.removedAdaptations.length > 0) {
2185
- // We might have new (or less) tracks, send events just to be sure
2186
- const periodRef = currTracksStore.getPeriodObjectFromPeriod(currentPeriod);
2187
- if (periodRef === undefined) {
2188
- return;
2189
- }
2190
- this._priv_onAvailableTracksMayHaveChanged("audio");
2191
- this._priv_onAvailableTracksMayHaveChanged("text");
2192
- this._priv_onAvailableTracksMayHaveChanged("video");
2193
- }
2194
- }
2195
- }
2196
- }
2197
- /**
2198
- * Triggered each times the support for a codec has changed in the manifest.
2199
- * When triggered, the track store may need to consider selecting a new track.
2200
- *
2201
- * @param {Object} contentInfos
2202
- */
2203
- _priv_onCodecSupportUpdate(contentInfos) {
2204
- const tStore = contentInfos === null || contentInfos === void 0 ? void 0 : contentInfos.tracksStore;
2205
- if (isNullOrUndefined(tStore)) {
2206
- return;
2207
- }
2208
- tStore.onManifestCodecSupportUpdate();
2209
- }
2210
- _priv_onDecipherabilityUpdate(contentInfos, elts) {
2211
- if (contentInfos === null || contentInfos.manifest === null) {
2212
- return;
2213
- }
2214
- if (!isNullOrUndefined(contentInfos === null || contentInfos === void 0 ? void 0 : contentInfos.tracksStore)) {
2215
- contentInfos.tracksStore.onDecipherabilityUpdates();
2216
- }
2217
- /**
2218
- * Array of tuples only including once the Period/Track combination, and
2219
- * only when it concerns the currently-selected track.
2220
- */
2221
- const periodsAndTrackTypes = elts.reduce((acc, elt) => {
2222
- var _a, _b, _c;
2223
- const isFound = arrayFind(acc, (x) => x[0].id === elt.period.id && x[1] === elt.adaptation.type) !== undefined;
2224
- if (!isFound) {
2225
- // Only consider the currently-selected tracks.
2226
- // NOTE: Maybe there's room for optimizations? Unclear.
2227
- const tStore = contentInfos.tracksStore;
2228
- if (tStore === null) {
2229
- return acc;
2230
- }
2231
- let isCurrent = false;
2232
- const periodRef = tStore.getPeriodObjectFromPeriod(elt.period);
2233
- if (periodRef === undefined) {
2234
- return acc;
2235
- }
2236
- switch (elt.adaptation.type) {
2237
- case "audio":
2238
- isCurrent =
2239
- ((_a = tStore.getChosenAudioTrack(periodRef, false)) === null || _a === void 0 ? void 0 : _a.id) === elt.adaptation.id;
2240
- break;
2241
- case "video":
2242
- isCurrent =
2243
- ((_b = tStore.getChosenVideoTrack(periodRef, false)) === null || _b === void 0 ? void 0 : _b.id) === elt.adaptation.id;
2244
- break;
2245
- case "text":
2246
- isCurrent = ((_c = tStore.getChosenTextTrack(periodRef)) === null || _c === void 0 ? void 0 : _c.id) === elt.adaptation.id;
2247
- break;
2248
- }
2249
- if (isCurrent) {
2250
- acc.push([elt.period, elt.adaptation.type]);
2251
- }
2252
- }
2253
- return acc;
2254
- }, []);
2255
- for (const [period, trackType] of periodsAndTrackTypes) {
2256
- this._priv_triggerEventIfNotStopped("representationListUpdate", {
2257
- period: { start: period.start, end: period.end, id: period.id },
2258
- trackType,
2259
- reason: "decipherability-update",
2260
- }, contentInfos.currentContentCanceller.signal);
2261
- }
2262
- }
2263
- /**
2264
- * Triggered each times the current Period Changed.
2265
- * Store and emit initial state for the Period.
2266
- *
2267
- * @param {Object} contentInfos
2268
- * @param {Object} periodInfo
2269
- */
2270
- _priv_onActivePeriodChanged(contentInfos, { period }) {
2271
- var _a, _b, _c, _d, _f, _g;
2272
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2273
- return; // Event for another content
2274
- }
2275
- contentInfos.currentPeriod = period;
2276
- const cancelSignal = contentInfos.currentContentCanceller.signal;
2277
- if (this._priv_contentEventsMemory.periodChange !== period) {
2278
- this._priv_contentEventsMemory.periodChange = period;
2279
- this._priv_triggerEventIfNotStopped("periodChange", { start: period.start, end: period.end, id: period.id }, cancelSignal);
2280
- }
2281
- this._priv_triggerEventIfNotStopped("availableAudioTracksChange", this.getAvailableAudioTracks(), cancelSignal);
2282
- this._priv_triggerEventIfNotStopped("availableTextTracksChange", this.getAvailableTextTracks(), cancelSignal);
2283
- this._priv_triggerEventIfNotStopped("availableVideoTracksChange", this.getAvailableVideoTracks(), cancelSignal);
2284
- const tracksStore = (_b = this._priv_contentInfos) === null || _b === void 0 ? void 0 : _b.tracksStore;
2285
- // Emit initial events for the Period
2286
- if (!isNullOrUndefined(tracksStore)) {
2287
- const periodRef = tracksStore.getPeriodObjectFromPeriod(period);
2288
- if (periodRef !== undefined) {
2289
- const audioTrack = tracksStore.getChosenAudioTrack(periodRef, true);
2290
- this._priv_triggerEventIfNotStopped("audioTrackChange", audioTrack, cancelSignal);
2291
- const textTrack = tracksStore.getChosenTextTrack(periodRef);
2292
- this._priv_triggerEventIfNotStopped("textTrackChange", textTrack, cancelSignal);
2293
- const videoTrack = tracksStore.getChosenVideoTrack(periodRef, true);
2294
- this._priv_triggerEventIfNotStopped("videoTrackChange", videoTrack, cancelSignal);
2295
- }
2296
- }
2297
- else {
2298
- this._priv_triggerEventIfNotStopped("audioTrackChange", null, cancelSignal);
2299
- this._priv_triggerEventIfNotStopped("textTrackChange", null, cancelSignal);
2300
- this._priv_triggerEventIfNotStopped("videoTrackChange", null, cancelSignal);
2301
- }
2302
- const audioRepresentation = (_d = (_c = this.__priv_getCurrentRepresentations()) === null || _c === void 0 ? void 0 : _c.audio) !== null && _d !== void 0 ? _d : null;
2303
- this._priv_triggerEventIfNotStopped("audioRepresentationChange", isNullOrUndefined(audioRepresentation)
2304
- ? audioRepresentation
2305
- : toVideoRepresentation(audioRepresentation), cancelSignal);
2306
- const videoRepresentation = (_g = (_f = this.__priv_getCurrentRepresentations()) === null || _f === void 0 ? void 0 : _f.video) !== null && _g !== void 0 ? _g : null;
2307
- this._priv_triggerEventIfNotStopped("videoRepresentationChange", isNullOrUndefined(videoRepresentation)
2308
- ? videoRepresentation
2309
- : toVideoRepresentation(videoRepresentation), cancelSignal);
2310
- }
2311
- /**
2312
- * Triggered each times a new "PeriodStream" is ready.
2313
- * Choose the right Adaptation for the Period and emit it.
2314
- * @param {Object} contentInfos
2315
- * @param {Object} value
2316
- */
2317
- _priv_onPeriodStreamReady(contentInfos, value) {
2318
- var _a;
2319
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2320
- return; // Event for another content
2321
- }
2322
- const { type, period, adaptationRef } = value;
2323
- const tracksStore = contentInfos.tracksStore;
2324
- switch (type) {
2325
- case "video":
2326
- case "audio":
2327
- case "text":
2328
- if (isNullOrUndefined(tracksStore)) {
2329
- log.error("API", `TracksStore not instanciated for a new ${type} period`);
2330
- adaptationRef.setValue(null);
2331
- }
2332
- else {
2333
- tracksStore.addTrackReference(type, period, adaptationRef);
2334
- }
2335
- break;
2336
- default:
2337
- assertUnreachable(type);
2338
- }
2339
- }
2340
- /**
2341
- * Triggered each times we "remove" a PeriodStream.
2342
- * @param {Object} contentInfos
2343
- * @param {Object} value
2344
- */
2345
- _priv_onPeriodStreamCleared(contentInfos, value) {
2346
- var _a;
2347
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2348
- return; // Event for another content
2349
- }
2350
- const { type, periodId } = value;
2351
- const tracksStore = contentInfos.tracksStore;
2352
- // Clean-up track choices from TracksStore
2353
- switch (type) {
2354
- case "audio":
2355
- case "text":
2356
- case "video":
2357
- if (!isNullOrUndefined(tracksStore)) {
2358
- tracksStore.removeTrackReference(type, periodId);
2359
- }
2360
- break;
2361
- }
2362
- // Clean-up stored Representation and Adaptation information
2363
- const { activeAdaptations, activeRepresentations } = contentInfos;
2364
- if (!isNullOrUndefined(activeAdaptations) &&
2365
- !isNullOrUndefined(activeAdaptations[periodId])) {
2366
- const activePeriodAdaptations = activeAdaptations[periodId];
2367
- delete activePeriodAdaptations[type];
2368
- if (Object.keys(activePeriodAdaptations).length === 0) {
2369
- delete activeAdaptations[periodId];
2370
- }
2371
- }
2372
- if (!isNullOrUndefined(activeRepresentations) &&
2373
- !isNullOrUndefined(activeRepresentations[periodId])) {
2374
- const activePeriodRepresentations = activeRepresentations[periodId];
2375
- delete activePeriodRepresentations[type];
2376
- if (Object.keys(activePeriodRepresentations).length === 0) {
2377
- delete activeRepresentations[periodId];
2378
- }
2379
- }
2380
- }
2381
- /**
2382
- * Triggered each times a new Adaptation is considered for the current
2383
- * content.
2384
- * Store given Adaptation and emit it if from the current Period.
2385
- * @param {Object} contentInfos
2386
- * @param {Object} value
2387
- */
2388
- _priv_onAdaptationChange(contentInfos, { type, adaptation, period, }) {
2389
- var _a;
2390
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2391
- return; // Event for another content
2392
- }
2393
- // lazily create contentInfos.activeAdaptations
2394
- if (contentInfos.activeAdaptations === null) {
2395
- contentInfos.activeAdaptations = {};
2396
- }
2397
- const { activeAdaptations, currentPeriod } = contentInfos;
2398
- const activePeriodAdaptations = activeAdaptations[period.id];
2399
- if (isNullOrUndefined(activePeriodAdaptations)) {
2400
- activeAdaptations[period.id] = { [type]: adaptation };
2401
- }
2402
- else {
2403
- activePeriodAdaptations[type] = adaptation;
2404
- }
2405
- const { tracksStore } = contentInfos;
2406
- const cancelSignal = contentInfos.currentContentCanceller.signal;
2407
- if (tracksStore !== null &&
2408
- currentPeriod !== null &&
2409
- !isNullOrUndefined(period) &&
2410
- period.id === currentPeriod.id) {
2411
- const periodRef = tracksStore.getPeriodObjectFromPeriod(period);
2412
- if (periodRef === undefined) {
2413
- return;
2414
- }
2415
- switch (type) {
2416
- case "audio": {
2417
- const audioTrack = tracksStore.getChosenAudioTrack(periodRef, true);
2418
- this._priv_triggerEventIfNotStopped("audioTrackChange", audioTrack, cancelSignal);
2419
- break;
2420
- }
2421
- case "text": {
2422
- const textTrack = tracksStore.getChosenTextTrack(periodRef);
2423
- this._priv_triggerEventIfNotStopped("textTrackChange", textTrack, cancelSignal);
2424
- break;
2425
- }
2426
- case "video": {
2427
- const videoTrack = tracksStore.getChosenVideoTrack(periodRef, true);
2428
- this._priv_triggerEventIfNotStopped("videoTrackChange", videoTrack, cancelSignal);
2429
- break;
2430
- }
2431
- }
2432
- }
2433
- }
2434
- /**
2435
- * Triggered each times a new Representation is considered during playback.
2436
- *
2437
- * Store given Representation and emit it if from the current Period.
2438
- *
2439
- * @param {Object} contentInfos
2440
- * @param {Object} obj
2441
- */
2442
- _priv_onRepresentationChange(contentInfos, { type, period, representation, }) {
2443
- var _a;
2444
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2445
- return; // Event for another content
2446
- }
2447
- // lazily create contentInfos.activeRepresentations
2448
- if (contentInfos.activeRepresentations === null) {
2449
- contentInfos.activeRepresentations = {};
2450
- }
2451
- const { activeRepresentations, currentPeriod } = contentInfos;
2452
- const activePeriodRepresentations = activeRepresentations[period.id];
2453
- if (isNullOrUndefined(activePeriodRepresentations)) {
2454
- activeRepresentations[period.id] = { [type]: representation };
2455
- }
2456
- else {
2457
- activePeriodRepresentations[type] = representation;
2458
- }
2459
- if (!isNullOrUndefined(period) &&
2460
- currentPeriod !== null &&
2461
- currentPeriod.id === period.id) {
2462
- const cancelSignal = this._priv_contentInfos.currentContentCanceller.signal;
2463
- if (type === "video") {
2464
- this._priv_triggerEventIfNotStopped("videoRepresentationChange", isNullOrUndefined(representation)
2465
- ? representation
2466
- : toVideoRepresentation(representation), cancelSignal);
2467
- }
2468
- else if (type === "audio") {
2469
- this._priv_triggerEventIfNotStopped("audioRepresentationChange", isNullOrUndefined(representation)
2470
- ? representation
2471
- : toAudioRepresentation(representation), cancelSignal);
2472
- }
2473
- }
2474
- }
2475
- /**
2476
- * Triggered each time a bitrate estimate is calculated.
2477
- *
2478
- * Emit it.
2479
- *
2480
- * @param {Object} value
2481
- */
2482
- _priv_onBitrateEstimateChange({ type, bitrate, }) {
2483
- if (bitrate !== undefined) {
2484
- this._priv_bitrateInfos.lastBitrates[type] = bitrate;
2485
- }
2486
- this.trigger(
2487
- // !!! undocumented API :O !!!
2488
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2489
- "__priv_bitrateEstimateChange",
2490
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2491
- { type, bitrate });
2492
- }
2493
- /**
2494
- * Triggered each time the player state updates.
2495
- *
2496
- * Trigger the right Player Event.
2497
- *
2498
- * @param {string} newState
2499
- */
2500
- _priv_setPlayerState(newState) {
2501
- if (this.state !== newState) {
2502
- this.state = newState;
2503
- log.info("API", "playerStateChange event", { newState });
2504
- this.trigger("playerStateChange", newState);
2505
- }
2506
- }
2507
- /**
2508
- * Triggered each time a playback observation.
2509
- *
2510
- * Trigger the right Player Event
2511
- *
2512
- * @param {Object} contentInfos
2513
- * @param {Object} observation
2514
- */
2515
- _priv_triggerPositionUpdate(contentInfos, observation) {
2516
- var _a, _b;
2517
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2518
- return; // Event for another content
2519
- }
2520
- const { isDirectFile, manifest } = contentInfos;
2521
- if ((!isDirectFile && manifest === null) || isNullOrUndefined(observation)) {
2522
- return;
2523
- }
2524
- const maximumPosition = manifest !== null ? getMaximumSafePosition(manifest) : undefined;
2525
- const positionData = {
2526
- position: observation.position.getPolled(),
2527
- duration: observation.duration,
2528
- playbackRate: observation.playbackRate,
2529
- maximumPosition,
2530
- // TODO bufferGap may be undefined
2531
- bufferGap: observation.bufferGap === undefined || !isFinite(observation.bufferGap)
2532
- ? 0
2533
- : observation.bufferGap,
2534
- };
2535
- if (manifest !== null && manifest.isLive && observation.position.getPolled() > 0) {
2536
- const ast = (_b = manifest.availabilityStartTime) !== null && _b !== void 0 ? _b : 0;
2537
- positionData.wallClockTime = observation.position.getPolled() + ast;
2538
- const livePosition = getLivePosition(manifest);
2539
- if (livePosition !== undefined) {
2540
- positionData.liveGap = livePosition - observation.position.getPolled();
2541
- }
2542
- }
2543
- else if (isDirectFile && this.videoElement !== null) {
2544
- const startDate = getStartDate(this.videoElement);
2545
- if (startDate !== undefined) {
2546
- positionData.wallClockTime = startDate + observation.position.getPolled();
2547
- }
2548
- }
2549
- this.trigger("positionUpdate", positionData);
2550
- }
2551
- /**
2552
- * @param {string} evt
2553
- * @param {*} arg
2554
- * @param {Object} currentContentCancelSignal
2555
- */
2556
- _priv_triggerEventIfNotStopped(evt, arg, currentContentCancelSignal) {
2557
- if (!currentContentCancelSignal.isCancelled()) {
2558
- this.trigger(evt, arg);
2559
- }
2560
- }
2561
- /**
2562
- * @param {Object} cancelSignal
2563
- * @returns {Object}
2564
- */
2565
- _priv_initializeMediaElementTracksStore(cancelSignal) {
2566
- var _a, _b, _c;
2567
- assert(features.directfile !== null, "Initializing `MediaElementTracksStore` without Directfile feature");
2568
- assert(this.videoElement !== null, "Initializing `MediaElementTracksStore` on a disposed RxPlayer");
2569
- const mediaElementTracksStore = new features.directfile.mediaElementTracksStore(this.videoElement);
2570
- this._priv_triggerEventIfNotStopped("availableAudioTracksChange", mediaElementTracksStore.getAvailableAudioTracks(), cancelSignal);
2571
- this._priv_triggerEventIfNotStopped("availableVideoTracksChange", mediaElementTracksStore.getAvailableVideoTracks(), cancelSignal);
2572
- this._priv_triggerEventIfNotStopped("availableTextTracksChange", mediaElementTracksStore.getAvailableTextTracks(), cancelSignal);
2573
- this._priv_triggerEventIfNotStopped("audioTrackChange", (_a = mediaElementTracksStore.getChosenAudioTrack()) !== null && _a !== void 0 ? _a : null, cancelSignal);
2574
- this._priv_triggerEventIfNotStopped("textTrackChange", (_b = mediaElementTracksStore.getChosenTextTrack()) !== null && _b !== void 0 ? _b : null, cancelSignal);
2575
- this._priv_triggerEventIfNotStopped("videoTrackChange", (_c = mediaElementTracksStore.getChosenVideoTrack()) !== null && _c !== void 0 ? _c : null, cancelSignal);
2576
- mediaElementTracksStore.addEventListener("availableVideoTracksChange", (val) => this.trigger("availableVideoTracksChange", val));
2577
- mediaElementTracksStore.addEventListener("availableAudioTracksChange", (val) => this.trigger("availableAudioTracksChange", val));
2578
- mediaElementTracksStore.addEventListener("availableTextTracksChange", (val) => this.trigger("availableTextTracksChange", val));
2579
- mediaElementTracksStore.addEventListener("audioTrackChange", (val) => this.trigger("audioTrackChange", val));
2580
- mediaElementTracksStore.addEventListener("videoTrackChange", (val) => this.trigger("videoTrackChange", val));
2581
- mediaElementTracksStore.addEventListener("textTrackChange", (val) => this.trigger("textTrackChange", val));
2582
- return mediaElementTracksStore;
2583
- }
2584
- _priv_callTracksStoreGetterSetter(periodId, defaultValue, cb) {
2585
- var _a, _b;
2586
- if (this._priv_contentInfos === null ||
2587
- this._priv_contentInfos.tracksStore === null) {
2588
- log.warn("API", "Trying to call track API too soon");
2589
- return defaultValue;
2590
- }
2591
- const { tracksStore } = this._priv_contentInfos;
2592
- const currentPeriod = (_b = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.currentPeriod) !== null && _b !== void 0 ? _b : undefined;
2593
- const wantedPeriodId = periodId !== null && periodId !== void 0 ? periodId : currentPeriod === null || currentPeriod === void 0 ? void 0 : currentPeriod.id;
2594
- if (wantedPeriodId === undefined) {
2595
- return defaultValue;
2596
- }
2597
- const periodRef = wantedPeriodId === (currentPeriod === null || currentPeriod === void 0 ? void 0 : currentPeriod.id)
2598
- ? tracksStore.getPeriodObjectFromPeriod(currentPeriod)
2599
- : tracksStore.getPeriodObjectFromId(wantedPeriodId);
2600
- if (periodRef === undefined) {
2601
- return defaultValue;
2602
- }
2603
- return cb(tracksStore, periodRef);
2604
- }
2605
- /**
2606
- * Method to call when some event lead to a high for possibility that the
2607
- * available tracks for the given type have changed.
2608
- * Send the corresponding `available*Tracks` change event with the last
2609
- * available tracks.
2610
- *
2611
- * @param {string} trackType
2612
- * @param {Object|undefined} [oPeriodRef] - optional period object used by the
2613
- * `tracksStore` API, allows to optimize the method by bypassing this step.
2614
- */
2615
- _priv_onAvailableTracksMayHaveChanged(trackType, oPeriodRef) {
2616
- const contentInfos = this._priv_contentInfos;
2617
- if (contentInfos === null) {
2618
- return;
2619
- }
2620
- const { currentPeriod, tracksStore, currentContentCanceller } = contentInfos;
2621
- const cancelSignal = currentContentCanceller.signal;
2622
- if (isNullOrUndefined(currentPeriod) || tracksStore === null) {
2623
- return;
2624
- }
2625
- const periodRef = oPeriodRef !== null && oPeriodRef !== void 0 ? oPeriodRef : tracksStore.getPeriodObjectFromPeriod(currentPeriod);
2626
- if (periodRef === undefined) {
2627
- return;
2628
- }
2629
- switch (trackType) {
2630
- case "video": {
2631
- const videoTracks = tracksStore.getAvailableVideoTracks(periodRef, true);
2632
- this._priv_triggerEventIfNotStopped("availableVideoTracksChange", videoTracks !== null && videoTracks !== void 0 ? videoTracks : [], cancelSignal);
2633
- break;
2634
- }
2635
- case "audio": {
2636
- const audioTracks = tracksStore.getAvailableAudioTracks(periodRef, true);
2637
- this._priv_triggerEventIfNotStopped("availableAudioTracksChange", audioTracks !== null && audioTracks !== void 0 ? audioTracks : [], cancelSignal);
2638
- break;
2639
- }
2640
- case "text": {
2641
- const textTracks = tracksStore.getAvailableTextTracks(periodRef);
2642
- this._priv_triggerEventIfNotStopped("availableTextTracksChange", textTracks !== null && textTracks !== void 0 ? textTracks : [], cancelSignal);
2643
- break;
2644
- }
2645
- default:
2646
- assertUnreachable(trackType);
2647
- }
2648
- }
2649
- /**
2650
- * Method to call when a fatal error lead to the stopping of the current
2651
- * content.
2652
- *
2653
- * @param {*} err - The error encountered.
2654
- * @param {Object} contentInfos - The `IPublicApiContentInfos` object linked
2655
- * to the content for which the error was received.
2656
- */
2657
- _priv_onFatalError(err, contentInfos) {
2658
- const formattedError = formatError(err, {
2659
- defaultCode: "NONE",
2660
- defaultReason: "An unknown error stopped content playback.",
2661
- });
2662
- formattedError.fatal = true;
2663
- contentInfos.currentContentCanceller.cancel();
2664
- this._priv_cleanUpCurrentContentState();
2665
- this._priv_currentError = formattedError;
2666
- log.error("API", "The player stopped because of an error", formattedError);
2667
- this._priv_setPlayerState("STOPPED" /* PLAYER_STATES.STOPPED */);
2668
- // TODO This condition is here because the eventual callback called when the
2669
- // player state is updated can launch a new content, thus the error will not
2670
- // be here anymore, in which case triggering the "error" event is unwanted.
2671
- // This is very ugly though, and we should probable have a better solution
2672
- if (this._priv_currentError === formattedError) {
2673
- this.trigger("error", formattedError);
2674
- }
2675
- }
2676
- }
2677
- /**
2678
- * Store all video elements currently in use by an RxPlayer instance.
2679
- * This is used to check that a video element is not shared between multiple instances.
2680
- * Use of a WeakSet ensure the object is garbage collected if it's not used anymore.
2681
- */
2682
- Player._priv_currentlyUsedVideoElements = new WeakSet();
2683
- Player.version = /* PLAYER_VERSION */ "4.4.1";
2684
- export default Player;