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,2908 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright 2015 CANAL+ Group
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");publicapi
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- var __extends = (this && this.__extends) || (function () {
18
- var extendStatics = function (d, b) {
19
- extendStatics = Object.setPrototypeOf ||
20
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
21
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
22
- return extendStatics(d, b);
23
- };
24
- return function (d, b) {
25
- if (typeof b !== "function" && b !== null)
26
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
27
- extendStatics(d, b);
28
- function __() { this.constructor = d; }
29
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30
- };
31
- })();
32
- var __assign = (this && this.__assign) || function () {
33
- __assign = Object.assign || function(t) {
34
- for (var s, i = 1, n = arguments.length; i < n; i++) {
35
- s = arguments[i];
36
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
37
- t[p] = s[p];
38
- }
39
- return t;
40
- };
41
- return __assign.apply(this, arguments);
42
- };
43
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
44
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
45
- return new (P || (P = Promise))(function (resolve, reject) {
46
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
47
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
48
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
49
- step((generator = generator.apply(thisArg, _arguments || [])).next());
50
- });
51
- };
52
- var __generator = (this && this.__generator) || function (thisArg, body) {
53
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
54
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
55
- function verb(n) { return function (v) { return step([n, v]); }; }
56
- function step(op) {
57
- if (f) throw new TypeError("Generator is already executing.");
58
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
59
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
60
- if (y = 0, t) op = [op[0] & 2, t.value];
61
- switch (op[0]) {
62
- case 0: case 1: t = op; break;
63
- case 4: _.label++; return { value: op[1], done: false };
64
- case 5: _.label++; y = op[1]; op = [0]; continue;
65
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
66
- default:
67
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
68
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
69
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
70
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
71
- if (t[2]) _.ops.pop();
72
- _.trys.pop(); continue;
73
- }
74
- op = body.call(thisArg, _);
75
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
76
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
77
- }
78
- };
79
- var __values = (this && this.__values) || function(o) {
80
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
81
- if (m) return m.call(o);
82
- if (o && typeof o.length === "number") return {
83
- next: function () {
84
- if (o && i >= o.length) o = void 0;
85
- return { value: o && o[i++], done: !o };
86
- }
87
- };
88
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
89
- };
90
- var __read = (this && this.__read) || function (o, n) {
91
- var m = typeof Symbol === "function" && o[Symbol.iterator];
92
- if (!m) return o;
93
- var i = m.call(o), r, ar = [], e;
94
- try {
95
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
96
- }
97
- catch (error) { e = { error: error }; }
98
- finally {
99
- try {
100
- if (r && !r.done && (m = i["return"])) m.call(i);
101
- }
102
- finally { if (e) throw e.error; }
103
- }
104
- return ar;
105
- };
106
- Object.defineProperty(exports, "__esModule", { value: true });
107
- var can_rely_on_video_visibility_and_size_1 = require("../../compat/can_rely_on_video_visibility_and_size");
108
- var event_listeners_1 = require("../../compat/event_listeners");
109
- var get_start_date_1 = require("../../compat/get_start_date");
110
- var has_mse_in_worker_1 = require("../../compat/has_mse_in_worker");
111
- var has_worker_api_1 = require("../../compat/has_worker_api");
112
- var config_1 = require("../../config");
113
- var errors_1 = require("../../errors");
114
- var worker_initialization_error_1 = require("../../errors/worker_initialization_error");
115
- var features_1 = require("../../features");
116
- var log_1 = require("../../log");
117
- var manifest_1 = require("../../manifest");
118
- var media_element_playback_observer_1 = require("../../playback_observer/media_element_playback_observer");
119
- var array_find_1 = require("../../utils/array_find");
120
- var array_includes_1 = require("../../utils/array_includes");
121
- var assert_1 = require("../../utils/assert");
122
- var event_emitter_1 = require("../../utils/event_emitter");
123
- var global_scope_1 = require("../../utils/global_scope");
124
- var id_generator_1 = require("../../utils/id_generator");
125
- var is_null_or_undefined_1 = require("../../utils/is_null_or_undefined");
126
- var monotonic_timestamp_1 = require("../../utils/monotonic_timestamp");
127
- var object_assign_1 = require("../../utils/object_assign");
128
- var ranges_1 = require("../../utils/ranges");
129
- var reference_1 = require("../../utils/reference");
130
- var task_canceller_1 = require("../../utils/task_canceller");
131
- var decrypt_1 = require("../decrypt");
132
- var render_thumbnail_1 = require("../render_thumbnail");
133
- var tracks_store_1 = require("../tracks_store");
134
- var option_utils_1 = require("./option_utils");
135
- var utils_1 = require("./utils");
136
- /* eslint-disable @typescript-eslint/naming-convention */
137
- // Enable debug mode as soon as `RX_PLAYER_DEBUG_MODE__` is set to `true`:
138
- var globals = global_scope_1.default;
139
- var isDebugModeEnabled = typeof globals.__RX_PLAYER_DEBUG_MODE__ === "boolean" &&
140
- globals.__RX_PLAYER_DEBUG_MODE__;
141
- try {
142
- Object.defineProperty(globals, "__RX_PLAYER_DEBUG_MODE__", {
143
- get: function () {
144
- return isDebugModeEnabled;
145
- },
146
- set: function (val) {
147
- isDebugModeEnabled = val;
148
- if (val) {
149
- Player.LogLevel = "DEBUG";
150
- Player.LogFormat = "full";
151
- }
152
- },
153
- });
154
- }
155
- catch (_err) {
156
- // Ignore, maybe we're in some jsdom thing, maybe the current target does not
157
- // authorize setting globals that way etc.
158
- }
159
- if (isDebugModeEnabled) {
160
- log_1.default.setLevel("DEBUG", "full");
161
- }
162
- else if (0 /* __ENVIRONMENT__.CURRENT_ENV */ === 1 /* __ENVIRONMENT__.DEV */) {
163
- log_1.default.setLevel("NONE" /* __LOGGER_LEVEL__.CURRENT_LEVEL */, "standard");
164
- }
165
- var generateContentId = (0, id_generator_1.default)();
166
- /**
167
- * Options of a `loadVideo` call which are for now not supported when running
168
- * in a "multithread" mode.
169
- *
170
- * TODO support those?
171
- */
172
- var MULTI_THREAD_UNSUPPORTED_LOAD_VIDEO_OPTIONS = [
173
- "manifestLoader",
174
- "segmentLoader",
175
- ];
176
- /**
177
- * @class Player
178
- * @extends EventEmitter
179
- */
180
- var Player = /** @class */ (function (_super) {
181
- __extends(Player, _super);
182
- /**
183
- * @constructor
184
- * @param {Object} options
185
- */
186
- function Player(options) {
187
- if (options === void 0) { options = {}; }
188
- var _this = _super.call(this) || this;
189
- var _a = (0, option_utils_1.parseConstructorOptions)(options), baseBandwidth = _a.baseBandwidth, videoResolutionLimit = _a.videoResolutionLimit, maxBufferAhead = _a.maxBufferAhead, maxBufferBehind = _a.maxBufferBehind, throttleVideoBitrateWhenHidden = _a.throttleVideoBitrateWhenHidden, videoElement = _a.videoElement, wantedBufferAhead = _a.wantedBufferAhead, maxVideoBufferSize = _a.maxVideoBufferSize;
190
- // Workaround to support Firefox autoplay on FF 42.
191
- // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
192
- videoElement.preload = "auto";
193
- _this.version = /* PLAYER_VERSION */ "4.4.1";
194
- _this.log = log_1.default;
195
- _this.state = "STOPPED";
196
- _this.videoElement = videoElement;
197
- Player._priv_registerVideoElement(_this.videoElement);
198
- var destroyCanceller = new task_canceller_1.default();
199
- _this._destroyCanceller = destroyCanceller;
200
- _this._priv_pictureInPictureRef = (0, event_listeners_1.getPictureOnPictureStateRef)(videoElement, destroyCanceller.signal);
201
- _this._priv_speed = new reference_1.default(videoElement.playbackRate, _this._destroyCanceller.signal);
202
- _this._priv_preferTrickModeTracks = false;
203
- _this._priv_contentLock = new reference_1.default(false, _this._destroyCanceller.signal);
204
- _this._priv_bufferOptions = {
205
- wantedBufferAhead: new reference_1.default(wantedBufferAhead, _this._destroyCanceller.signal),
206
- maxBufferAhead: new reference_1.default(maxBufferAhead, _this._destroyCanceller.signal),
207
- maxBufferBehind: new reference_1.default(maxBufferBehind, _this._destroyCanceller.signal),
208
- maxVideoBufferSize: new reference_1.default(maxVideoBufferSize, _this._destroyCanceller.signal),
209
- };
210
- _this._priv_bitrateInfos = {
211
- lastBitrates: { audio: baseBandwidth, video: baseBandwidth },
212
- };
213
- _this._priv_throttleVideoBitrateWhenHidden = throttleVideoBitrateWhenHidden;
214
- _this._priv_videoResolutionLimit = videoResolutionLimit;
215
- _this._priv_currentError = null;
216
- _this._priv_contentInfos = null;
217
- _this._priv_contentEventsMemory = {};
218
- _this._priv_reloadingMetadata = {};
219
- _this._priv_lastAutoPlay = false;
220
- _this._priv_worker = null;
221
- var onVolumeChange = function () {
222
- _this.trigger("volumeChange", {
223
- volume: videoElement.volume,
224
- muted: videoElement.muted,
225
- });
226
- };
227
- videoElement.addEventListener("volumechange", onVolumeChange);
228
- destroyCanceller.signal.register(function () {
229
- videoElement.removeEventListener("volumechange", onVolumeChange);
230
- });
231
- return _this;
232
- }
233
- Object.defineProperty(Player, "ErrorTypes", {
234
- /** All possible Error types emitted by the RxPlayer. */
235
- get: function () {
236
- return errors_1.ErrorTypes;
237
- },
238
- enumerable: false,
239
- configurable: true
240
- });
241
- Object.defineProperty(Player, "ErrorCodes", {
242
- /** All possible Error codes emitted by the RxPlayer. */
243
- get: function () {
244
- return errors_1.ErrorCodes;
245
- },
246
- enumerable: false,
247
- configurable: true
248
- });
249
- Object.defineProperty(Player, "LogLevel", {
250
- /**
251
- * Current log level.
252
- * Update current log level.
253
- * Should be either (by verbosity ascending):
254
- * - "NONE"
255
- * - "ERROR"
256
- * - "WARNING"
257
- * - "INFO"
258
- * - "DEBUG"
259
- * Any other value will be translated to "NONE".
260
- */
261
- get: function () {
262
- return log_1.default.getLevel();
263
- },
264
- set: function (logLevel) {
265
- log_1.default.setLevel(logLevel, log_1.default.getFormat());
266
- },
267
- enumerable: false,
268
- configurable: true
269
- });
270
- Object.defineProperty(Player, "LogFormat", {
271
- /**
272
- * Current log format.
273
- * Should be either (by verbosity ascending):
274
- * - "standard": Regular log messages.
275
- * - "full": More verbose format, including a timestamp and a namespace.
276
- * Any other value will be translated to "standard".
277
- */
278
- get: function () {
279
- return log_1.default.getFormat();
280
- },
281
- set: function (format) {
282
- log_1.default.setLevel(log_1.default.getLevel(), format);
283
- },
284
- enumerable: false,
285
- configurable: true
286
- });
287
- /**
288
- * Add feature(s) to the RxPlayer.
289
- * @param {Array.<Object>} featureList - Features wanted.
290
- */
291
- Player.addFeatures = function (featureList) {
292
- (0, features_1.addFeatures)(featureList);
293
- };
294
- /**
295
- * Register the video element to the set of elements currently in use.
296
- * @param videoElement the video element to register.
297
- * @throws Error - Throws if the element is already used by another player instance.
298
- */
299
- Player._priv_registerVideoElement = function (videoElement) {
300
- if (Player._priv_currentlyUsedVideoElements.has(videoElement)) {
301
- var errorMessage = "The video element is already attached to another RxPlayer instance." +
302
- "\nMake sure to dispose the previous instance with player.dispose() before creating" +
303
- " a new player instance attaching that video element.";
304
- // eslint-disable-next-line no-console
305
- console.warn(errorMessage);
306
- /*
307
- * TODO: for next major version 5.0: this need to throw an error instead of just logging
308
- * this was not done for minor version as it could be considerated a breaking change.
309
- *
310
- * throw new Error(errorMessage);
311
- */
312
- }
313
- Player._priv_currentlyUsedVideoElements.add(videoElement);
314
- };
315
- /**
316
- * Deregister the video element of the set of elements currently in use.
317
- * @param videoElement the video element to deregister.
318
- */
319
- Player._priv_deregisterVideoElement = function (videoElement) {
320
- if (Player._priv_currentlyUsedVideoElements.has(videoElement)) {
321
- Player._priv_currentlyUsedVideoElements.delete(videoElement);
322
- }
323
- };
324
- /**
325
- * TODO returns promise?
326
- * @param {Object} workerSettings
327
- */
328
- Player.prototype.attachWorker = function (workerSettings) {
329
- var _this = this;
330
- return new Promise(function (res, rej) {
331
- var _a;
332
- if (!(0, has_worker_api_1.default)()) {
333
- log_1.default.warn("API", "Cannot rely on a WebWorker: Worker API unavailable");
334
- return rej(new worker_initialization_error_1.default("INCOMPATIBLE_ERROR", "Worker unavailable"));
335
- }
336
- // check if the user already attach worker before
337
- // terminate the previous worker to release the resources
338
- if (_this._priv_worker !== null) {
339
- if (_this.state !== "STOPPED") {
340
- log_1.default.warn("API", "Cannot attach a new worker while a content is playing, please stop the player first.");
341
- return rej(new worker_initialization_error_1.default("SETUP_ERROR", "Cannot attach a new worker while a content is playing"));
342
- }
343
- else {
344
- _this._priv_worker.terminate();
345
- }
346
- }
347
- if (typeof workerSettings.workerUrl === "string") {
348
- _this._priv_worker = new Worker(workerSettings.workerUrl);
349
- }
350
- else {
351
- var blobUrl = URL.createObjectURL(workerSettings.workerUrl);
352
- _this._priv_worker = new Worker(blobUrl);
353
- URL.revokeObjectURL(blobUrl);
354
- }
355
- _this._priv_worker.onerror = function (evt) {
356
- if (_this._priv_worker !== null) {
357
- _this._priv_worker.terminate();
358
- _this._priv_worker = null;
359
- }
360
- log_1.default.error("API", "Unexpected worker error", evt.error instanceof Error ? evt.error : undefined);
361
- rej(new worker_initialization_error_1.default("UNKNOWN_ERROR", 'Unexpected Worker "error" event'));
362
- };
363
- var handleInitMessages = function (msg) {
364
- var msgData = msg.data;
365
- if (msgData.type === "init-error" /* WorkerMessageType.InitError */) {
366
- log_1.default.warn("API", "Processing InitError worker message: detaching worker");
367
- if (_this._priv_worker !== null) {
368
- _this._priv_worker.removeEventListener("message", handleInitMessages);
369
- _this._priv_worker.terminate();
370
- _this._priv_worker = null;
371
- }
372
- rej(new worker_initialization_error_1.default("SETUP_ERROR", "Worker parser initialization failed: " + msgData.value.errorMessage));
373
- }
374
- else if (msgData.type === "init-success" /* WorkerMessageType.InitSuccess */) {
375
- log_1.default.info("API", "InitSuccess received from worker.");
376
- if (_this._priv_worker !== null) {
377
- _this._priv_worker.removeEventListener("message", handleInitMessages);
378
- }
379
- res();
380
- }
381
- };
382
- _this._priv_worker.addEventListener("message", handleInitMessages);
383
- log_1.default.debug("M-->C", "Sending message", { name: "init" /* MainThreadMessageType.Init */ });
384
- _this._priv_worker.postMessage({
385
- type: "init" /* MainThreadMessageType.Init */,
386
- value: {
387
- dashWasmUrl: workerSettings.dashWasmUrl,
388
- logLevel: log_1.default.getLevel(),
389
- logFormat: log_1.default.getFormat(),
390
- sendBackLogs: isDebugModeEnabled,
391
- date: Date.now(),
392
- timestamp: (0, monotonic_timestamp_1.default)(),
393
- hasVideo: ((_a = _this.videoElement) === null || _a === void 0 ? void 0 : _a.nodeName.toLowerCase()) === "video",
394
- },
395
- });
396
- log_1.default.addEventListener("onLogLevelChange", function (logInfo) {
397
- if (_this._priv_worker === null) {
398
- return;
399
- }
400
- log_1.default.debug("M-->C", "Sending message", {
401
- name: "log-level-update" /* MainThreadMessageType.LogLevelUpdate */,
402
- });
403
- _this._priv_worker.postMessage({
404
- type: "log-level-update" /* MainThreadMessageType.LogLevelUpdate */,
405
- value: {
406
- logLevel: logInfo.level,
407
- logFormat: logInfo.format,
408
- sendBackLogs: isDebugModeEnabled,
409
- },
410
- });
411
- }, _this._destroyCanceller.signal);
412
- var sendConfigUpdates = function (updates) {
413
- if (_this._priv_worker === null) {
414
- return;
415
- }
416
- log_1.default.debug("M-->C", "Sending message:", {
417
- name: "config-update" /* MainThreadMessageType.ConfigUpdate */,
418
- });
419
- _this._priv_worker.postMessage({
420
- type: "config-update" /* MainThreadMessageType.ConfigUpdate */,
421
- value: updates,
422
- });
423
- };
424
- if (config_1.default.updated) {
425
- sendConfigUpdates(config_1.default.getCurrent());
426
- }
427
- config_1.default.addEventListener("update", sendConfigUpdates, _this._destroyCanceller.signal);
428
- });
429
- };
430
- /**
431
- * Returns information on which "mode" the RxPlayer is running for the current
432
- * content (e.g. main logic running in a WebWorker or not, are we in
433
- * directfile mode...).
434
- *
435
- * Returns `null` if no content is loaded.
436
- * @returns {Object|null}
437
- */
438
- Player.prototype.getCurrentModeInformation = function () {
439
- if (this._priv_contentInfos === null) {
440
- return null;
441
- }
442
- return {
443
- isDirectFile: this._priv_contentInfos.isDirectFile,
444
- useWorker: this._priv_contentInfos.useWorker,
445
- };
446
- };
447
- /**
448
- * Register a new callback for a player event event.
449
- *
450
- * @param {string} evt - The event to register a callback to
451
- * @param {Function} fn - The callback to call as that event is triggered.
452
- * The callback will take as argument the eventual payload of the event
453
- * (single argument).
454
- */
455
- Player.prototype.addEventListener = function (evt, fn) {
456
- // The EventEmitter's `addEventListener` method takes an optional third
457
- // argument that we do not want to expose in the public API.
458
- // We thus overwrite that function to remove any possible usage of that
459
- // third argument.
460
- return _super.prototype.addEventListener.call(this, evt, fn);
461
- };
462
- /**
463
- * Stop the playback for the current content.
464
- */
465
- Player.prototype.stop = function () {
466
- if (this._priv_contentInfos !== null) {
467
- this._priv_contentInfos.currentContentCanceller.cancel();
468
- }
469
- this._priv_cleanUpCurrentContentState();
470
- if (this.state !== "STOPPED" /* PLAYER_STATES.STOPPED */) {
471
- this._priv_setPlayerState("STOPPED" /* PLAYER_STATES.STOPPED */);
472
- }
473
- };
474
- /**
475
- * Free the resources used by the player.
476
- * /!\ The player cannot be "used" anymore after this method has been called.
477
- */
478
- Player.prototype.dispose = function () {
479
- // free resources linked to the loaded content
480
- this.stop();
481
- if (this.videoElement !== null) {
482
- Player._priv_deregisterVideoElement(this.videoElement);
483
- // free resources used for decryption management
484
- (0, decrypt_1.disposeDecryptionResources)(this.videoElement).catch(function (err) {
485
- var message = err instanceof Error ? err.message : "Unknown error";
486
- log_1.default.error("API", "Could not dispose decryption resources: " + message);
487
- });
488
- }
489
- // free resources linked to the Player instance
490
- this._destroyCanceller.cancel();
491
- this._priv_reloadingMetadata = {};
492
- // un-attach video element
493
- this.videoElement = null;
494
- if (this._priv_worker !== null) {
495
- this._priv_worker.terminate();
496
- this._priv_worker = null;
497
- }
498
- };
499
- /**
500
- * Load a new video.
501
- * @param {Object} opts
502
- */
503
- Player.prototype.loadVideo = function (opts) {
504
- var options = (0, option_utils_1.parseLoadVideoOptions)(opts);
505
- log_1.default.info("API", "Calling loadvideo", {
506
- url: options.url,
507
- transport: options.transport,
508
- });
509
- this._priv_reloadingMetadata = { options: options };
510
- this._priv_initializeContentPlayback(options);
511
- this._priv_lastAutoPlay = options.autoPlay;
512
- };
513
- /**
514
- * Reload the last loaded content.
515
- * @param {Object} reloadOpts
516
- */
517
- Player.prototype.reload = function (reloadOpts) {
518
- var _a, _b, _c;
519
- var _d = this._priv_reloadingMetadata, options = _d.options, manifest = _d.manifest, reloadPosition = _d.reloadPosition, reloadInPause = _d.reloadInPause;
520
- if (options === undefined) {
521
- throw new Error("API: Can't reload without having previously loaded a content.");
522
- }
523
- (0, option_utils_1.checkReloadOptions)(reloadOpts);
524
- var startAt;
525
- if (((_a = reloadOpts === null || reloadOpts === void 0 ? void 0 : reloadOpts.reloadAt) === null || _a === void 0 ? void 0 : _a.position) !== undefined) {
526
- startAt = { position: reloadOpts.reloadAt.position };
527
- }
528
- else if (((_b = reloadOpts === null || reloadOpts === void 0 ? void 0 : reloadOpts.reloadAt) === null || _b === void 0 ? void 0 : _b.relative) !== undefined) {
529
- if (reloadPosition === undefined) {
530
- throw new Error("Can't reload to a relative position when previous content was not loaded.");
531
- }
532
- else {
533
- startAt = { position: reloadOpts.reloadAt.relative + reloadPosition };
534
- }
535
- }
536
- else if (reloadPosition !== undefined) {
537
- startAt = { position: reloadPosition };
538
- }
539
- var autoPlay;
540
- if ((reloadOpts === null || reloadOpts === void 0 ? void 0 : reloadOpts.autoPlay) !== undefined) {
541
- autoPlay = reloadOpts.autoPlay;
542
- }
543
- else if (reloadInPause !== undefined) {
544
- autoPlay = !reloadInPause;
545
- }
546
- var keySystems;
547
- if ((reloadOpts === null || reloadOpts === void 0 ? void 0 : reloadOpts.keySystems) !== undefined) {
548
- keySystems = reloadOpts.keySystems;
549
- }
550
- else if (((_c = this._priv_reloadingMetadata.options) === null || _c === void 0 ? void 0 : _c.keySystems) !== undefined) {
551
- keySystems = this._priv_reloadingMetadata.options.keySystems;
552
- }
553
- var newOptions = __assign(__assign({}, options), { initialManifest: manifest });
554
- if (startAt !== undefined) {
555
- newOptions.startAt = startAt;
556
- }
557
- if (autoPlay !== undefined) {
558
- newOptions.autoPlay = autoPlay;
559
- }
560
- if (keySystems !== undefined) {
561
- newOptions.keySystems = keySystems;
562
- }
563
- this._priv_initializeContentPlayback(newOptions);
564
- };
565
- Player.prototype.createDebugElement = function (element) {
566
- if (features_1.default.createDebugElement === null) {
567
- throw new Error("Feature `DEBUG_ELEMENT` not added to the RxPlayer");
568
- }
569
- var canceller = new task_canceller_1.default();
570
- features_1.default.createDebugElement(element, this, canceller.signal);
571
- return {
572
- dispose: function () {
573
- canceller.cancel();
574
- },
575
- };
576
- };
577
- /**
578
- * Returns an array decribing the various thumbnail tracks that can be
579
- * encountered at the wanted time or Period.
580
- * @param {Object} arg
581
- * @param {number|undefined} [arg.time] - The position to check for thumbnail
582
- * tracks, in seconds.
583
- * @param {string|undefined} [arg.periodId] - The Period to check for
584
- * thumbnail tracks.
585
- * If not set and if `arg.time` is also not set, the current Period will be
586
- * considered.
587
- * @returns {Array.<Object>}
588
- */
589
- Player.prototype.getAvailableThumbnailTracks = function (_a) {
590
- var _b = _a === void 0 ? {} : _a, time = _b.time, periodId = _b.periodId;
591
- if (this._priv_contentInfos === null || this._priv_contentInfos.manifest === null) {
592
- return [];
593
- }
594
- var manifest = this._priv_contentInfos.manifest;
595
- var period;
596
- if (time !== undefined) {
597
- period = (0, manifest_1.getPeriodForTime)(this._priv_contentInfos.manifest, time);
598
- if (period === undefined || period.thumbnailTracks.length === 0) {
599
- return [];
600
- }
601
- }
602
- else if (periodId !== undefined) {
603
- period = (0, array_find_1.default)(manifest.periods, function (p) { return p.id === periodId; });
604
- if (period === undefined) {
605
- log_1.default.error("API", "getAvailableThumbnailTracks: periodId not found", { periodId: periodId });
606
- return [];
607
- }
608
- }
609
- else {
610
- var currentPeriod = this._priv_contentInfos.currentPeriod;
611
- if (currentPeriod === null) {
612
- return [];
613
- }
614
- period = currentPeriod;
615
- }
616
- return period.thumbnailTracks.map(function (t) {
617
- return {
618
- id: t.id,
619
- width: Math.floor(t.width / t.horizontalTiles),
620
- height: Math.floor(t.height / t.verticalTiles),
621
- mimeType: t.mimeType,
622
- };
623
- });
624
- };
625
- /**
626
- * Render inside the given `container` the thumbnail corresponding to the
627
- * given time.
628
- *
629
- * If no thumbnail is available at that time or if the RxPlayer does not succeed
630
- * to load or render it, reject the corresponding Promise and remove the
631
- * potential previous thumbnail from the container.
632
- *
633
- * If a new `renderThumbnail` call is made with the same `container` before it
634
- * had time to finish, the Promise is also rejected but the previous thumbnail
635
- * potentially found in the container is untouched.
636
- *
637
- * @param {Object|undefined} options
638
- * @returns {Promise}
639
- */
640
- Player.prototype.renderThumbnail = function (options) {
641
- return __awaiter(this, void 0, void 0, function () {
642
- return __generator(this, function (_a) {
643
- if ((0, is_null_or_undefined_1.default)(options.time)) {
644
- throw new Error("You have to provide a `time` property to `renderThumbnail`, indicating the wanted thumbnail time in seconds.");
645
- }
646
- if ((0, is_null_or_undefined_1.default)(options.container)) {
647
- throw new Error("You have to provide a `container` property to `renderThumbnail`, specifying the HTML Element in which the thumbnail should be inserted.");
648
- }
649
- return [2 /*return*/, (0, render_thumbnail_1.default)(this._priv_contentInfos, options)];
650
- });
651
- });
652
- };
653
- /**
654
- * From given options, initialize content playback.
655
- * @param {Object} options
656
- */
657
- Player.prototype._priv_initializeContentPlayback = function (options) {
658
- var _this = this;
659
- var _a, _b, _c, _d, _f, _g;
660
- var autoPlay = options.autoPlay, cmcd = options.cmcd, defaultAudioTrackSwitchingMode = options.defaultAudioTrackSwitchingMode, enableFastSwitching = options.enableFastSwitching, initialManifest = options.initialManifest, keySystems = options.keySystems, lowLatencyMode = options.lowLatencyMode, minimumManifestUpdateInterval = options.minimumManifestUpdateInterval, requestConfig = options.requestConfig, onCodecSwitch = options.onCodecSwitch, startAt = options.startAt, transport = options.transport, checkMediaSegmentIntegrity = options.checkMediaSegmentIntegrity, checkManifestIntegrity = options.checkManifestIntegrity, manifestLoader = options.manifestLoader, referenceDateTime = options.referenceDateTime, segmentLoader = options.segmentLoader, serverSyncInfos = options.serverSyncInfos, mode = options.mode, experimentalOptions = options.experimentalOptions, __priv_manifestUpdateUrl = options.__priv_manifestUpdateUrl, __priv_patchLastSegmentInSidx = options.__priv_patchLastSegmentInSidx, url = options.url, onAudioTracksNotPlayable = options.onAudioTracksNotPlayable, onVideoTracksNotPlayable = options.onVideoTracksNotPlayable;
661
- // Perform multiple checks on the given options
662
- if (this.videoElement === null) {
663
- throw new Error("the attached video element is disposed");
664
- }
665
- var isDirectFile = transport === "directfile";
666
- /** Emit to stop the current content. */
667
- var currentContentCanceller = new task_canceller_1.default();
668
- var videoElement = this.videoElement;
669
- var initializer;
670
- var useWorker = false;
671
- var mediaElementTracksStore = null;
672
- if (!isDirectFile) {
673
- /** Interface used to load and refresh the Manifest. */
674
- var manifestRequestSettings = {
675
- lowLatencyMode: lowLatencyMode,
676
- maxRetry: (_a = requestConfig.manifest) === null || _a === void 0 ? void 0 : _a.maxRetry,
677
- requestTimeout: (_b = requestConfig.manifest) === null || _b === void 0 ? void 0 : _b.timeout,
678
- connectionTimeout: (_c = requestConfig.manifest) === null || _c === void 0 ? void 0 : _c.connectionTimeout,
679
- minimumManifestUpdateInterval: minimumManifestUpdateInterval,
680
- initialManifest: initialManifest,
681
- };
682
- var relyOnVideoVisibilityAndSize = (0, can_rely_on_video_visibility_and_size_1.default)();
683
- var throttlers = {
684
- throttleBitrate: {},
685
- limitResolution: {},
686
- };
687
- if (this._priv_throttleVideoBitrateWhenHidden) {
688
- if (!relyOnVideoVisibilityAndSize) {
689
- log_1.default.warn("API", "Can't apply throttleVideoBitrateWhenHidden because " +
690
- "browser can't be trusted for visibility.");
691
- }
692
- else {
693
- throttlers.throttleBitrate = {
694
- video: (0, reference_1.createMappedReference)((0, event_listeners_1.getVideoVisibilityRef)(this._priv_pictureInPictureRef, currentContentCanceller.signal), function (isActive) { return (isActive ? Infinity : 0); }, currentContentCanceller.signal),
695
- };
696
- }
697
- }
698
- if (this._priv_videoResolutionLimit === "videoElement") {
699
- if (!relyOnVideoVisibilityAndSize) {
700
- log_1.default.warn("API", "Can't apply videoResolutionLimit because browser can't be " +
701
- "trusted for video size.");
702
- }
703
- else {
704
- throttlers.limitResolution = {
705
- video: (0, event_listeners_1.getElementResolutionRef)(videoElement, this._priv_pictureInPictureRef, currentContentCanceller.signal),
706
- };
707
- }
708
- }
709
- else if (this._priv_videoResolutionLimit === "screen") {
710
- throttlers.limitResolution = {
711
- video: (0, event_listeners_1.getScreenResolutionRef)(currentContentCanceller.signal),
712
- };
713
- }
714
- /** Options used by the adaptive logic. */
715
- var adaptiveOptions = {
716
- initialBitrates: this._priv_bitrateInfos.lastBitrates,
717
- lowLatencyMode: lowLatencyMode,
718
- throttlers: throttlers,
719
- };
720
- /** Options used by the TextTrack SegmentSink. */
721
- var textTrackOptions = options.textTrackMode === "native"
722
- ? { textTrackMode: "native" }
723
- : {
724
- textTrackMode: "html",
725
- textTrackElement: options.textTrackElement,
726
- };
727
- var bufferOptions = (0, object_assign_1.default)({ enableFastSwitching: enableFastSwitching, onCodecSwitch: onCodecSwitch }, this._priv_bufferOptions);
728
- var segmentRequestOptions = {
729
- lowLatencyMode: lowLatencyMode,
730
- maxRetry: (_d = requestConfig.segment) === null || _d === void 0 ? void 0 : _d.maxRetry,
731
- requestTimeout: (_f = requestConfig.segment) === null || _f === void 0 ? void 0 : _f.timeout,
732
- connectionTimeout: (_g = requestConfig.segment) === null || _g === void 0 ? void 0 : _g.connectionTimeout,
733
- };
734
- var canRunInMultiThread = features_1.default.multithread !== null &&
735
- this._priv_worker !== null &&
736
- this.videoElement.FORCED_MEDIA_SOURCE === undefined &&
737
- transport === "dash" &&
738
- MULTI_THREAD_UNSUPPORTED_LOAD_VIDEO_OPTIONS.every(function (option) {
739
- return (0, is_null_or_undefined_1.default)(options[option]);
740
- }) &&
741
- typeof options.representationFilter !== "function";
742
- if (mode === "main" || (mode === "auto" && !canRunInMultiThread)) {
743
- if (features_1.default.mainThreadMediaSourceInit === null) {
744
- throw new Error("Cannot load video, neither in a WebWorker nor with the " +
745
- "`MEDIA_SOURCE_MAIN` feature");
746
- }
747
- var transportFn = features_1.default.transports[transport];
748
- if (typeof transportFn !== "function") {
749
- // Stop previous content and reset its state
750
- this.stop();
751
- this._priv_currentError = null;
752
- throw new Error("transport \"".concat(transport, "\" not supported"));
753
- }
754
- var representationFilter = typeof options.representationFilter === "string"
755
- ? (0, manifest_1.createRepresentationFilterFromFnString)(options.representationFilter)
756
- : options.representationFilter;
757
- log_1.default.info("API", "Initializing MediaSource mode in the main thread");
758
- var transportPipelines = transportFn({
759
- lowLatencyMode: lowLatencyMode,
760
- checkMediaSegmentIntegrity: checkMediaSegmentIntegrity,
761
- checkManifestIntegrity: checkManifestIntegrity,
762
- manifestLoader: manifestLoader,
763
- referenceDateTime: referenceDateTime,
764
- representationFilter: representationFilter,
765
- segmentLoader: segmentLoader,
766
- serverSyncInfos: serverSyncInfos,
767
- __priv_manifestUpdateUrl: __priv_manifestUpdateUrl,
768
- __priv_patchLastSegmentInSidx: __priv_patchLastSegmentInSidx,
769
- });
770
- initializer = new features_1.default.mainThreadMediaSourceInit({
771
- adaptiveOptions: adaptiveOptions,
772
- autoPlay: autoPlay,
773
- bufferOptions: bufferOptions,
774
- cmcd: cmcd,
775
- enableRepresentationAvoidance: experimentalOptions.enableRepresentationAvoidance,
776
- keySystems: keySystems,
777
- lowLatencyMode: lowLatencyMode,
778
- transport: transportPipelines,
779
- manifestRequestSettings: manifestRequestSettings,
780
- segmentRequestOptions: segmentRequestOptions,
781
- speed: this._priv_speed,
782
- startAt: startAt,
783
- textTrackOptions: textTrackOptions,
784
- url: url,
785
- });
786
- }
787
- else {
788
- if (features_1.default.multithread === null) {
789
- throw new Error("Cannot load video in multithread mode: `MULTI_THREAD` " +
790
- "feature not imported.");
791
- }
792
- else if (this._priv_worker === null) {
793
- throw new Error("Cannot load video in multithread mode: `attachWorker` " +
794
- "method not called.");
795
- }
796
- (0, assert_1.default)(typeof options.representationFilter !== "function");
797
- useWorker = true;
798
- log_1.default.info("API", "Initializing MediaSource mode in a WebWorker");
799
- var transportOptions = {
800
- lowLatencyMode: lowLatencyMode,
801
- checkMediaSegmentIntegrity: checkMediaSegmentIntegrity,
802
- checkManifestIntegrity: checkManifestIntegrity,
803
- referenceDateTime: referenceDateTime,
804
- serverSyncInfos: serverSyncInfos,
805
- manifestLoader: undefined,
806
- segmentLoader: undefined,
807
- representationFilter: options.representationFilter,
808
- __priv_manifestUpdateUrl: __priv_manifestUpdateUrl,
809
- __priv_patchLastSegmentInSidx: __priv_patchLastSegmentInSidx,
810
- };
811
- initializer = new features_1.default.multithread.init({
812
- adaptiveOptions: adaptiveOptions,
813
- autoPlay: autoPlay,
814
- bufferOptions: bufferOptions,
815
- cmcd: cmcd,
816
- enableRepresentationAvoidance: experimentalOptions.enableRepresentationAvoidance,
817
- keySystems: keySystems,
818
- lowLatencyMode: lowLatencyMode,
819
- transportOptions: transportOptions,
820
- manifestRequestSettings: manifestRequestSettings,
821
- segmentRequestOptions: segmentRequestOptions,
822
- speed: this._priv_speed,
823
- startAt: startAt,
824
- textTrackOptions: textTrackOptions,
825
- worker: this._priv_worker,
826
- url: url,
827
- useMseInWorker: has_mse_in_worker_1.default,
828
- });
829
- }
830
- }
831
- else {
832
- if (features_1.default.directfile === null) {
833
- this.stop();
834
- this._priv_currentError = null;
835
- throw new Error("DirectFile feature not activated in your build.");
836
- }
837
- else if ((0, is_null_or_undefined_1.default)(url)) {
838
- throw new Error("No URL for a DirectFile content");
839
- }
840
- log_1.default.info("API", "Initializing DirectFile mode in the main thread");
841
- mediaElementTracksStore = this._priv_initializeMediaElementTracksStore(currentContentCanceller.signal);
842
- if (currentContentCanceller.isUsed()) {
843
- return;
844
- }
845
- initializer = new features_1.default.directfile.initDirectFile({
846
- autoPlay: autoPlay,
847
- keySystems: keySystems,
848
- speed: this._priv_speed,
849
- startAt: startAt,
850
- url: url,
851
- });
852
- }
853
- /** Global "playback observer" which will emit playback conditions */
854
- var playbackObserver = new media_element_playback_observer_1.default({
855
- withMediaSource: !isDirectFile,
856
- lowLatencyMode: lowLatencyMode,
857
- });
858
- /*
859
- * We want to block seeking operations until we know the media element is
860
- * ready for it.
861
- */
862
- playbackObserver.blockSeeking();
863
- currentContentCanceller.signal.register(function () {
864
- playbackObserver.stop();
865
- });
866
- /** Future `this._priv_contentInfos` related to this content. */
867
- var contentInfos = {
868
- contentId: generateContentId(),
869
- originalUrl: url,
870
- playbackObserver: playbackObserver,
871
- currentContentCanceller: currentContentCanceller,
872
- defaultAudioTrackSwitchingMode: defaultAudioTrackSwitchingMode,
873
- initializer: initializer,
874
- isDirectFile: isDirectFile,
875
- manifest: null,
876
- currentPeriod: null,
877
- activeAdaptations: null,
878
- activeRepresentations: null,
879
- tracksStore: null,
880
- mediaElementTracksStore: mediaElementTracksStore,
881
- useWorker: useWorker,
882
- segmentSinkMetricsCallback: null,
883
- fetchThumbnailDataCallback: null,
884
- thumbnailRequestsInfo: {
885
- pendingRequests: new WeakMap(),
886
- lastResponse: null,
887
- },
888
- onAudioTracksNotPlayable: onAudioTracksNotPlayable,
889
- onVideoTracksNotPlayable: onVideoTracksNotPlayable,
890
- };
891
- // Bind events
892
- initializer.addEventListener("error", function (error) {
893
- _this._priv_onFatalError(error, contentInfos);
894
- });
895
- initializer.addEventListener("warning", function (error) {
896
- var formattedError = (0, errors_1.formatError)(error, {
897
- defaultCode: "NONE",
898
- defaultReason: "An unknown error happened.",
899
- });
900
- log_1.default.warn("API", "Sending warning:", formattedError);
901
- _this.trigger("warning", formattedError);
902
- });
903
- initializer.addEventListener("reloadingMediaSource", function (payload) {
904
- if (contentInfos.tracksStore !== null) {
905
- contentInfos.tracksStore.resetPeriodObjects();
906
- }
907
- if (_this._priv_contentInfos !== null) {
908
- _this._priv_contentInfos.segmentSinkMetricsCallback = null;
909
- }
910
- _this._priv_lastAutoPlay = payload.autoPlay;
911
- });
912
- initializer.addEventListener("inbandEvents", function (inbandEvents) {
913
- return _this.trigger("inbandEvents", inbandEvents);
914
- });
915
- initializer.addEventListener("streamEvent", function (streamEvent) {
916
- return _this.trigger("streamEvent", streamEvent);
917
- });
918
- initializer.addEventListener("streamEventSkip", function (streamEventSkip) {
919
- return _this.trigger("streamEventSkip", streamEventSkip);
920
- });
921
- initializer.addEventListener("activePeriodChanged", function (periodInfo) {
922
- return _this._priv_onActivePeriodChanged(contentInfos, periodInfo);
923
- });
924
- initializer.addEventListener("periodStreamReady", function (periodReadyInfo) {
925
- return _this._priv_onPeriodStreamReady(contentInfos, periodReadyInfo);
926
- });
927
- initializer.addEventListener("periodStreamCleared", function (periodClearedInfo) {
928
- return _this._priv_onPeriodStreamCleared(contentInfos, periodClearedInfo);
929
- });
930
- initializer.addEventListener("representationChange", function (representationInfo) {
931
- return _this._priv_onRepresentationChange(contentInfos, representationInfo);
932
- });
933
- initializer.addEventListener("adaptationChange", function (adaptationInfo) {
934
- return _this._priv_onAdaptationChange(contentInfos, adaptationInfo);
935
- });
936
- initializer.addEventListener("bitrateEstimateChange", function (bitrateEstimateInfo) {
937
- return _this._priv_onBitrateEstimateChange(bitrateEstimateInfo);
938
- });
939
- initializer.addEventListener("manifestReady", function (manifest) {
940
- return _this._priv_onManifestReady(contentInfos, manifest);
941
- });
942
- initializer.addEventListener("manifestUpdate", function (updates) {
943
- return _this._priv_onManifestUpdate(contentInfos, updates);
944
- });
945
- initializer.addEventListener("codecSupportUpdate", function () {
946
- return _this._priv_onCodecSupportUpdate(contentInfos);
947
- });
948
- initializer.addEventListener("decipherabilityUpdate", function (updates) {
949
- return _this._priv_onDecipherabilityUpdate(contentInfos, updates);
950
- });
951
- initializer.addEventListener("loaded", function (evt) {
952
- if (_this._priv_contentInfos !== null) {
953
- _this._priv_contentInfos.segmentSinkMetricsCallback = evt.getSegmentSinkMetrics;
954
- _this._priv_contentInfos.fetchThumbnailDataCallback = evt.getThumbnailData;
955
- }
956
- });
957
- // Now, that most events are linked, prepare the next content.
958
- initializer.prepare();
959
- // Now that the content is prepared, stop previous content and reset state
960
- // This is done after content preparation as `stop` could technically have
961
- // a long and synchronous blocking time.
962
- // Note that this call is done **synchronously** after all events linking.
963
- // This is **VERY** important so:
964
- // - the `STOPPED` state is switched to synchronously after loading a new
965
- // content.
966
- // - we can avoid involontarily catching events linked to the previous
967
- // content.
968
- this.stop();
969
- playbackObserver.attachMediaElement(videoElement);
970
- // Update the RxPlayer's state at the right events
971
- var playerStateRef = (0, utils_1.constructPlayerStateReference)(initializer, videoElement, playbackObserver, isDirectFile, currentContentCanceller.signal);
972
- currentContentCanceller.signal.register(function () {
973
- initializer.dispose();
974
- });
975
- /**
976
- * Function updating `this._priv_reloadingMetadata` in function of the
977
- * current state and playback conditions.
978
- * To call when either might change.
979
- * @param {string} state - The player state we're about to switch to.
980
- */
981
- var updateReloadingMetadata = function (state) {
982
- switch (state) {
983
- case "STOPPED":
984
- case "RELOADING":
985
- case "LOADING":
986
- break; // keep previous metadata
987
- case "ENDED":
988
- _this._priv_reloadingMetadata.reloadInPause = true;
989
- _this._priv_reloadingMetadata.reloadPosition = playbackObserver
990
- .getReference()
991
- .getValue()
992
- .position.getPolled();
993
- break;
994
- default: {
995
- var o = playbackObserver.getReference().getValue();
996
- _this._priv_reloadingMetadata.reloadInPause = o.paused;
997
- _this._priv_reloadingMetadata.reloadPosition = o.position.getWanted();
998
- break;
999
- }
1000
- }
1001
- };
1002
- /**
1003
- * `TaskCanceller` allowing to stop emitting `"play"` and `"pause"`
1004
- * events.
1005
- * `null` when such events are not emitted currently.
1006
- */
1007
- var playPauseEventsCanceller = null;
1008
- /**
1009
- * Callback emitting `"play"` and `"pause`" events once the content is
1010
- * loaded, starting from the state indicated in argument.
1011
- * @param {boolean} willAutoPlay - If `false`, we're currently paused.
1012
- */
1013
- var triggerPlayPauseEventsWhenReady = function (willAutoPlay) {
1014
- if (playPauseEventsCanceller !== null) {
1015
- playPauseEventsCanceller.cancel(); // cancel previous logic
1016
- playPauseEventsCanceller = null;
1017
- }
1018
- playerStateRef.onUpdate(function (val, stopListeningToStateUpdates) {
1019
- if (!(0, utils_1.isLoadedState)(val)) {
1020
- return; // content not loaded yet: no event
1021
- }
1022
- stopListeningToStateUpdates();
1023
- if (playPauseEventsCanceller !== null) {
1024
- playPauseEventsCanceller.cancel();
1025
- }
1026
- playPauseEventsCanceller = new task_canceller_1.default();
1027
- playPauseEventsCanceller.linkToSignal(currentContentCanceller.signal);
1028
- if (willAutoPlay !== !videoElement.paused) {
1029
- // paused status is not at the expected value on load: emit event
1030
- if (videoElement.paused) {
1031
- _this.trigger("pause", null);
1032
- }
1033
- else {
1034
- _this.trigger("play", null);
1035
- }
1036
- }
1037
- (0, utils_1.emitPlayPauseEvents)(videoElement, function () { return _this.trigger("play", null); }, function () { return _this.trigger("pause", null); }, currentContentCanceller.signal);
1038
- }, {
1039
- emitCurrentValue: false,
1040
- clearSignal: currentContentCanceller.signal,
1041
- });
1042
- };
1043
- triggerPlayPauseEventsWhenReady(autoPlay);
1044
- initializer.addEventListener("reloadingMediaSource", function (payload) {
1045
- triggerPlayPauseEventsWhenReady(payload.autoPlay);
1046
- });
1047
- this._priv_currentError = null;
1048
- this._priv_contentInfos = contentInfos;
1049
- /**
1050
- * `TaskCanceller` allowing to stop emitting `"seeking"` and `"seeked"`
1051
- * events.
1052
- * `null` when such events are not emitted currently.
1053
- */
1054
- var seekEventsCanceller = null;
1055
- // React to player state change
1056
- playerStateRef.onUpdate(function (newState) {
1057
- updateReloadingMetadata(newState);
1058
- _this._priv_setPlayerState(newState);
1059
- if (currentContentCanceller.isUsed()) {
1060
- return;
1061
- }
1062
- if (seekEventsCanceller !== null) {
1063
- if (!(0, utils_1.isLoadedState)(_this.state)) {
1064
- seekEventsCanceller.cancel();
1065
- seekEventsCanceller = null;
1066
- }
1067
- }
1068
- else if ((0, utils_1.isLoadedState)(_this.state)) {
1069
- seekEventsCanceller = new task_canceller_1.default();
1070
- seekEventsCanceller.linkToSignal(currentContentCanceller.signal);
1071
- (0, utils_1.emitSeekEvents)(playbackObserver, function () { return _this.trigger("seeking", null); }, function () { return _this.trigger("seeked", null); }, seekEventsCanceller.signal);
1072
- }
1073
- }, { emitCurrentValue: true, clearSignal: currentContentCanceller.signal });
1074
- // React to playback conditions change
1075
- playbackObserver.listen(function (observation) {
1076
- updateReloadingMetadata(_this.state);
1077
- _this._priv_triggerPositionUpdate(contentInfos, observation);
1078
- }, { clearSignal: currentContentCanceller.signal });
1079
- currentContentCanceller.signal.register(function () {
1080
- initializer.removeEventListener();
1081
- });
1082
- // initialize the content only when the lock is inactive
1083
- this._priv_contentLock.onUpdate(function (isLocked, stopListeningToLock) {
1084
- if (!isLocked) {
1085
- stopListeningToLock();
1086
- // start playback!
1087
- initializer.start(videoElement, playbackObserver);
1088
- }
1089
- }, { emitCurrentValue: true, clearSignal: currentContentCanceller.signal });
1090
- };
1091
- /**
1092
- * Returns fatal error if one for the current content.
1093
- * null otherwise.
1094
- * @returns {Object|null} - The current Error (`null` when no error).
1095
- */
1096
- Player.prototype.getError = function () {
1097
- return this._priv_currentError;
1098
- };
1099
- /**
1100
- * Returns the media DOM element used by the player.
1101
- * You should not its HTML5 API directly and use the player's method instead,
1102
- * to ensure a well-behaved player.
1103
- * @returns {HTMLMediaElement|null} - The HTMLMediaElement used (`null` when
1104
- * disposed)
1105
- */
1106
- // eslint-disable-next-line @typescript-eslint/no-restricted-types
1107
- Player.prototype.getVideoElement = function () {
1108
- // eslint-disable-next-line @typescript-eslint/no-restricted-types
1109
- return this.videoElement;
1110
- };
1111
- /**
1112
- * Returns the player's current state.
1113
- * @returns {string} - The current Player's state
1114
- */
1115
- Player.prototype.getPlayerState = function () {
1116
- return this.state;
1117
- };
1118
- /**
1119
- * Returns true if a content is loaded.
1120
- * @returns {Boolean} - `true` if a content is loaded, `false` otherwise.
1121
- */
1122
- Player.prototype.isContentLoaded = function () {
1123
- return !(0, array_includes_1.default)(["LOADING", "RELOADING", "STOPPED"], this.state);
1124
- };
1125
- /**
1126
- * Returns true if the player is buffering.
1127
- * @returns {Boolean} - `true` if the player is buffering, `false` otherwise.
1128
- */
1129
- Player.prototype.isBuffering = function () {
1130
- return (0, array_includes_1.default)(["BUFFERING", "SEEKING", "LOADING", "RELOADING"], this.state);
1131
- };
1132
- /**
1133
- * Returns the play/pause status of the player :
1134
- * - when `LOADING` or `RELOADING`, returns the scheduled play/pause condition
1135
- * for when loading is over,
1136
- * - in other states, returns the `<video>` element .paused value,
1137
- * - if the player is disposed, returns `true`.
1138
- * @returns {Boolean} - `true` if the player is paused or will be after loading,
1139
- * `false` otherwise.
1140
- */
1141
- Player.prototype.isPaused = function () {
1142
- if (this.videoElement !== null) {
1143
- if ((0, array_includes_1.default)(["LOADING", "RELOADING"], this.state)) {
1144
- return !this._priv_lastAutoPlay;
1145
- }
1146
- else {
1147
- return this.videoElement.paused;
1148
- }
1149
- }
1150
- return true;
1151
- };
1152
- /**
1153
- * Returns true if both:
1154
- * - a content is loaded
1155
- * - the content loaded is a live content
1156
- * @returns {Boolean} - `true` if we're playing a live content, `false` otherwise.
1157
- */
1158
- Player.prototype.isLive = function () {
1159
- if (this._priv_contentInfos === null) {
1160
- return false;
1161
- }
1162
- var _a = this._priv_contentInfos, isDirectFile = _a.isDirectFile, manifest = _a.manifest;
1163
- if (isDirectFile || manifest === null) {
1164
- return false;
1165
- }
1166
- return manifest.isLive;
1167
- };
1168
- /**
1169
- * Returns `true` if trickmode playback is active (usually through the usage
1170
- * of the `setPlaybackRate` method), which means that the RxPlayer selects
1171
- * "trickmode" video tracks in priority.
1172
- * @returns {Boolean}
1173
- */
1174
- Player.prototype.areTrickModeTracksEnabled = function () {
1175
- return this._priv_preferTrickModeTracks;
1176
- };
1177
- /**
1178
- * Returns the URL(s) of the currently considered Manifest, or of the content for
1179
- * directfile content.
1180
- * @returns {Array.<string>|undefined} - Current URL. `undefined` if not known
1181
- * or no URL yet.
1182
- */
1183
- Player.prototype.getContentUrls = function () {
1184
- if (this._priv_contentInfos === null) {
1185
- return undefined;
1186
- }
1187
- var _a = this._priv_contentInfos, isDirectFile = _a.isDirectFile, manifest = _a.manifest, originalUrl = _a.originalUrl;
1188
- if (isDirectFile) {
1189
- return originalUrl === undefined ? undefined : [originalUrl];
1190
- }
1191
- if (manifest !== null) {
1192
- return manifest.uris;
1193
- }
1194
- return undefined;
1195
- };
1196
- /**
1197
- * Update URL of the content currently being played (e.g. DASH's MPD).
1198
- * @param {Array.<string>|undefined} urls - URLs to reach that content /
1199
- * Manifest from the most prioritized URL to the least prioritized URL.
1200
- * @param {Object|undefined} [params]
1201
- * @param {boolean} params.refresh - If `true` the resource in question
1202
- * (e.g. DASH's MPD) will be refreshed immediately.
1203
- */
1204
- Player.prototype.updateContentUrls = function (urls, params) {
1205
- if (this._priv_contentInfos === null) {
1206
- throw new Error("No content loaded");
1207
- }
1208
- var refreshNow = (params === null || params === void 0 ? void 0 : params.refresh) === true;
1209
- this._priv_contentInfos.initializer.updateContentUrls(urls, refreshNow);
1210
- };
1211
- /**
1212
- * Returns the video duration, in seconds.
1213
- * NaN if no video is playing.
1214
- * @returns {Number}
1215
- */
1216
- Player.prototype.getMediaDuration = function () {
1217
- if (this.videoElement === null) {
1218
- throw new Error("Disposed player");
1219
- }
1220
- return this.videoElement.duration;
1221
- };
1222
- /**
1223
- * Returns in seconds the difference between:
1224
- * - the end of the current contiguous loaded range.
1225
- * - the current time
1226
- * @returns {Number}
1227
- */
1228
- Player.prototype.getCurrentBufferGap = function () {
1229
- if (this.videoElement === null) {
1230
- throw new Error("Disposed player");
1231
- }
1232
- var videoElement = this.videoElement;
1233
- var bufferGap = (0, ranges_1.getLeftSizeOfBufferedTimeRange)(videoElement.buffered, videoElement.currentTime);
1234
- if (bufferGap === Infinity) {
1235
- return 0;
1236
- }
1237
- return bufferGap;
1238
- };
1239
- /**
1240
- * Get the current position, in s, in wall-clock time.
1241
- * That is:
1242
- * - for live content, get a timestamp, in s, of the current played content.
1243
- * - for static content, returns the position from beginning in s.
1244
- *
1245
- * If you do not know if you want to use this method or getPosition:
1246
- * - If what you want is to display the current time to the user, use this
1247
- * one.
1248
- * - If what you want is to interact with the player's API or perform other
1249
- * actions (like statistics) with the real player data, use getPosition.
1250
- *
1251
- * @returns {Number}
1252
- */
1253
- Player.prototype.getWallClockTime = function () {
1254
- if (this.videoElement === null) {
1255
- throw new Error("Disposed player");
1256
- }
1257
- if (this._priv_contentInfos === null) {
1258
- return this.videoElement.currentTime;
1259
- }
1260
- var wallClockOffset = this.getWallClockOffset();
1261
- var currentTime = this.videoElement.currentTime;
1262
- return currentTime + wallClockOffset;
1263
- };
1264
- /**
1265
- * Get value allowing to convert the media position, as returned by
1266
- * `getPosition` to a "wall-clock time", as returned by `getWallClockTime`, by
1267
- * additioning the first two:
1268
- * ```js
1269
- * player.getPosition() + player.getWallClockOffset() === player.getWallClockTime();
1270
- * ```
1271
- *
1272
- * As most of the RxPlayer API relies on the media position as returned by
1273
- * `getPosition`, you may want to use this method to simplify conversion if
1274
- * what you have right now is a wall-clock time. For example:
1275
- *
1276
- * ```js
1277
- * const wallClockTime = player.getWallClockTime();
1278
- *
1279
- * // This one is expressed as a media position
1280
- * const maximumPosition = player.getMaximumPosition();
1281
- *
1282
- * // convert wall-clock time to a media position
1283
- * const currentPosition = wallClockTime - player.getWallClockOffset();
1284
- *
1285
- * console.log(
1286
- * "delay from maximum position, in seconds",
1287
- * maximumPosition - currentPosition
1288
- * );
1289
- * ```
1290
- *
1291
- * Note that there's nothing guaranteeing that this offset won't evolve over
1292
- * time for a given content. You should call this method every time you need
1293
- * to perform the conversion.
1294
- * @returns {number}
1295
- */
1296
- Player.prototype.getWallClockOffset = function () {
1297
- var _a;
1298
- if (this.videoElement === null) {
1299
- return 0;
1300
- }
1301
- if (this._priv_contentInfos === null) {
1302
- return 0;
1303
- }
1304
- var _b = this._priv_contentInfos, isDirectFile = _b.isDirectFile, manifest = _b.manifest;
1305
- if (isDirectFile) {
1306
- var startDate = (0, get_start_date_1.default)(this.videoElement);
1307
- return startDate !== null && startDate !== void 0 ? startDate : 0;
1308
- }
1309
- if (manifest !== null) {
1310
- return (_a = manifest.availabilityStartTime) !== null && _a !== void 0 ? _a : 0;
1311
- }
1312
- return 0;
1313
- };
1314
- /**
1315
- * Get the current position, in seconds, of the video element.
1316
- *
1317
- * If you do not know if you want to use this method or getWallClockTime:
1318
- * - If what you want is to display the current time to the user, use
1319
- * getWallClockTime.
1320
- * - If what you want is to interact with the player's API or perform other
1321
- * actions (like statistics) with the real player data, use this one.
1322
- *
1323
- * @returns {Number}
1324
- */
1325
- Player.prototype.getPosition = function () {
1326
- if (this.videoElement === null) {
1327
- throw new Error("Disposed player");
1328
- }
1329
- return this.videoElement.currentTime;
1330
- };
1331
- /**
1332
- * Returns the last stored content position, in seconds.
1333
- *
1334
- * @returns {number|undefined}
1335
- */
1336
- Player.prototype.getLastStoredContentPosition = function () {
1337
- return this._priv_reloadingMetadata.reloadPosition;
1338
- };
1339
- /**
1340
- * Returns the current playback rate at which the video plays.
1341
- * @returns {Number}
1342
- */
1343
- Player.prototype.getPlaybackRate = function () {
1344
- return this._priv_speed.getValue();
1345
- };
1346
- /**
1347
- * Update the playback rate of the video.
1348
- *
1349
- * This method's effect is persisted from content to content, and can be
1350
- * called even when no content is playing (it will still have an effect for
1351
- * the next contents).
1352
- *
1353
- * If you want to reverse effects provoked by `setPlaybackRate` before playing
1354
- * another content, you will have to call `setPlaybackRate` first with the
1355
- * default settings you want to set.
1356
- *
1357
- * As an example, to reset the speed to "normal" (x1) speed and to disable
1358
- * trickMode video tracks (which may have been enabled by a previous
1359
- * `setPlaybackRate` call), you can call:
1360
- * ```js
1361
- * player.setPlaybackRate(1, { preferTrickModeTracks: false });
1362
- * ```
1363
- *
1364
- * --
1365
- *
1366
- * This method can be used to switch to or exit from "trickMode" video tracks,
1367
- * which are tracks specifically defined to mimic the visual aspect of a VCR's
1368
- * fast forward/rewind feature, by only displaying a few video frames during
1369
- * playback.
1370
- *
1371
- * This behavior is configurable through the second argument, by adding a
1372
- * property named `preferTrickModeTracks` to that object.
1373
- *
1374
- * You can set that value to `true` to switch to trickMode video tracks when
1375
- * available, and set it to `false` when you want to disable that logic.
1376
- * Note that like any configuration given to `setPlaybackRate`, this setting
1377
- * is persisted through all future contents played by the player.
1378
- *
1379
- * If you want to stop enabling trickMode tracks, you will have to call
1380
- * `setPlaybackRate` again with `preferTrickModeTracks` set to `false`.
1381
- *
1382
- * You can know at any moment whether this behavior is enabled by calling
1383
- * the `areTrickModeTracksEnabled` method. This will only means that the
1384
- * RxPlayer will select in priority trickmode video tracks, not that the
1385
- * currently chosen video tracks is a trickmode track (for example, some
1386
- * contents may have no trickmode tracks available).
1387
- *
1388
- * If you want to know about the latter instead, you can call `getVideoTrack`
1389
- * and/or listen to `videoTrackChange` events. The track returned may have an
1390
- * `isTrickModeTrack` property set to `true`, indicating that it is a
1391
- * trickmode track.
1392
- *
1393
- * Note that switching to or getting out of a trickmode video track may
1394
- * lead to the player being a brief instant in a `"RELOADING"` state (notified
1395
- * through `playerStateChange` events and the `getLoadedContentState` method).
1396
- * When in that state, a black screen may be displayed and multiple RxPlayer
1397
- * APIs will not be usable.
1398
- *
1399
- * @param {Number} rate
1400
- * @param {Object} opts
1401
- */
1402
- Player.prototype.setPlaybackRate = function (rate, opts) {
1403
- var _a;
1404
- if (rate !== this._priv_speed.getValue()) {
1405
- this._priv_speed.setValue(rate);
1406
- }
1407
- var preferTrickModeTracks = opts === null || opts === void 0 ? void 0 : opts.preferTrickModeTracks;
1408
- if (typeof preferTrickModeTracks !== "boolean") {
1409
- return;
1410
- }
1411
- this._priv_preferTrickModeTracks = preferTrickModeTracks;
1412
- var tracksStore = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.tracksStore;
1413
- if (!(0, is_null_or_undefined_1.default)(tracksStore)) {
1414
- if (preferTrickModeTracks && !tracksStore.isTrickModeEnabled()) {
1415
- tracksStore.enableVideoTrickModeTracks();
1416
- }
1417
- else if (!preferTrickModeTracks && tracksStore.isTrickModeEnabled()) {
1418
- tracksStore.disableVideoTrickModeTracks();
1419
- }
1420
- }
1421
- };
1422
- /**
1423
- * Returns video Representation currently considered for the current Period.
1424
- *
1425
- * Returns `null` if no video track is playing for the current Period.
1426
- *
1427
- * Returns `undefined` either when are not currently playing any Period or
1428
- * when we don't know which Representation is playing.
1429
- * @returns {Object|null|undefined}
1430
- */
1431
- Player.prototype.getVideoRepresentation = function () {
1432
- var representations = this.__priv_getCurrentRepresentations();
1433
- if (representations === null) {
1434
- return undefined;
1435
- }
1436
- return (0, is_null_or_undefined_1.default)(representations.video)
1437
- ? representations.video
1438
- : (0, manifest_1.toVideoRepresentation)(representations.video);
1439
- };
1440
- /**
1441
- * Returns audio Representation currently considered for the current Period.
1442
- *
1443
- * Returns `null` if no audio track is playing for the current Period.
1444
- *
1445
- * Returns `undefined` either when are not currently playing any Period or
1446
- * when we don't know which Representation is playing.
1447
- * @returns {Object|null|undefined}
1448
- */
1449
- Player.prototype.getAudioRepresentation = function () {
1450
- var representations = this.__priv_getCurrentRepresentations();
1451
- if (representations === null) {
1452
- return undefined;
1453
- }
1454
- return (0, is_null_or_undefined_1.default)(representations.audio)
1455
- ? representations.video
1456
- : (0, manifest_1.toAudioRepresentation)(representations.audio);
1457
- };
1458
- /**
1459
- * Play/Resume the current video.
1460
- * @returns {Promise}
1461
- */
1462
- Player.prototype.play = function () {
1463
- var _this = this;
1464
- if (this.videoElement === null) {
1465
- throw new Error("Disposed player");
1466
- }
1467
- var playPromise = this.videoElement.play();
1468
- if ((0, is_null_or_undefined_1.default)(playPromise) || typeof playPromise.catch !== "function") {
1469
- return Promise.resolve();
1470
- }
1471
- return playPromise.catch(function (error) {
1472
- if (error.name === "NotAllowedError") {
1473
- var warning = new errors_1.MediaError("MEDIA_ERR_PLAY_NOT_ALLOWED", error.toString());
1474
- _this.trigger("warning", warning);
1475
- }
1476
- throw error;
1477
- });
1478
- };
1479
- /**
1480
- * Pause the current video.
1481
- */
1482
- Player.prototype.pause = function () {
1483
- if (this.videoElement === null) {
1484
- throw new Error("Disposed player");
1485
- }
1486
- this.videoElement.pause();
1487
- };
1488
- /**
1489
- * Seek to a given absolute position.
1490
- * @param {Number|Object} time
1491
- * @returns {Number} - The time the player has seek to
1492
- */
1493
- Player.prototype.seekTo = function (time) {
1494
- var _a;
1495
- if (this.videoElement === null) {
1496
- throw new Error("Disposed player");
1497
- }
1498
- if (this._priv_contentInfos === null) {
1499
- throw new Error("player: no content loaded");
1500
- }
1501
- var _b = this._priv_contentInfos, isDirectFile = _b.isDirectFile, manifest = _b.manifest;
1502
- var positionWanted;
1503
- if (typeof time === "number") {
1504
- positionWanted = time;
1505
- }
1506
- else if (typeof time === "object") {
1507
- var timeObj = time;
1508
- var currentTs = this.videoElement.currentTime;
1509
- if (!(0, is_null_or_undefined_1.default)(timeObj.relative)) {
1510
- positionWanted = currentTs + timeObj.relative;
1511
- }
1512
- else if (!(0, is_null_or_undefined_1.default)(timeObj.position)) {
1513
- positionWanted = timeObj.position;
1514
- }
1515
- else if (!(0, is_null_or_undefined_1.default)(timeObj.wallClockTime)) {
1516
- if (manifest !== null) {
1517
- positionWanted = timeObj.wallClockTime - ((_a = manifest.availabilityStartTime) !== null && _a !== void 0 ? _a : 0);
1518
- }
1519
- else if (!isDirectFile) {
1520
- throw new Error("Cannot seek: wallClockTime asked but Manifest not yet loaded.");
1521
- }
1522
- else if (this.videoElement !== null) {
1523
- var startDate = (0, get_start_date_1.default)(this.videoElement);
1524
- if (startDate !== undefined) {
1525
- positionWanted = timeObj.wallClockTime - startDate;
1526
- }
1527
- }
1528
- if (positionWanted === undefined) {
1529
- positionWanted = timeObj.wallClockTime;
1530
- }
1531
- }
1532
- else {
1533
- throw new Error("invalid time object. You must set one of the " +
1534
- 'following properties: "relative", "position" or ' +
1535
- '"wallClockTime"');
1536
- }
1537
- }
1538
- if (positionWanted === undefined) {
1539
- throw new Error("invalid time given");
1540
- }
1541
- log_1.default.info("API", "API seekTo", { positionWanted: positionWanted });
1542
- this._priv_contentInfos.playbackObserver.setCurrentTime(positionWanted, false);
1543
- return positionWanted;
1544
- };
1545
- /**
1546
- * Returns the current player's audio volume on the media element.
1547
- * From 0 (no audio) to 1 (maximum volume).
1548
- * @returns {Number}
1549
- */
1550
- Player.prototype.getVolume = function () {
1551
- if (this.videoElement === null) {
1552
- throw new Error("Disposed player");
1553
- }
1554
- return this.videoElement.volume;
1555
- };
1556
- /**
1557
- * Set the player's audio volume. From 0 (no volume) to 1 (maximum volume).
1558
- * @param {Number} volume
1559
- */
1560
- Player.prototype.setVolume = function (volume) {
1561
- if (this.videoElement === null) {
1562
- throw new Error("Disposed player");
1563
- }
1564
- var videoElement = this.videoElement;
1565
- if (volume !== videoElement.volume) {
1566
- videoElement.volume = volume;
1567
- }
1568
- };
1569
- /**
1570
- * Returns `true` if audio is currently muted.
1571
- * @returns {Boolean}
1572
- */
1573
- Player.prototype.isMute = function () {
1574
- var _a;
1575
- return ((_a = this.videoElement) === null || _a === void 0 ? void 0 : _a.muted) === true;
1576
- };
1577
- /**
1578
- * Mute audio.
1579
- */
1580
- Player.prototype.mute = function () {
1581
- if (this.videoElement === null) {
1582
- throw new Error("Disposed player");
1583
- }
1584
- if (!this.videoElement.muted) {
1585
- this.videoElement.muted = true;
1586
- }
1587
- };
1588
- /**
1589
- * Unmute audio.
1590
- */
1591
- Player.prototype.unMute = function () {
1592
- if (this.videoElement === null) {
1593
- throw new Error("Disposed player");
1594
- }
1595
- if (this.videoElement.muted) {
1596
- this.videoElement.muted = false;
1597
- }
1598
- };
1599
- /**
1600
- * Set the max buffer size for the buffer behind the current position.
1601
- * Every buffer data before will be removed.
1602
- * @param {Number} depthInSeconds
1603
- */
1604
- Player.prototype.setMaxBufferBehind = function (depthInSeconds) {
1605
- this._priv_bufferOptions.maxBufferBehind.setValue(depthInSeconds);
1606
- };
1607
- /**
1608
- * Set the max buffer size for the buffer behind the current position.
1609
- * Every buffer data before will be removed.
1610
- * @param {Number} depthInSeconds
1611
- */
1612
- Player.prototype.setMaxBufferAhead = function (depthInSeconds) {
1613
- this._priv_bufferOptions.maxBufferAhead.setValue(depthInSeconds);
1614
- };
1615
- /**
1616
- * Set the max buffer size for the buffer ahead of the current position.
1617
- * The player will stop downloading chunks when this size is reached.
1618
- * @param {Number} sizeInSeconds
1619
- */
1620
- Player.prototype.setWantedBufferAhead = function (sizeInSeconds) {
1621
- this._priv_bufferOptions.wantedBufferAhead.setValue(sizeInSeconds);
1622
- };
1623
- /**
1624
- * Set the max buffer size the buffer should take in memory
1625
- * The player . will stop downloading chunks when this size is reached.
1626
- * @param {Number} sizeInKBytes
1627
- */
1628
- Player.prototype.setMaxVideoBufferSize = function (sizeInKBytes) {
1629
- this._priv_bufferOptions.maxVideoBufferSize.setValue(sizeInKBytes);
1630
- };
1631
- /**
1632
- * Returns the max buffer size for the buffer behind the current position.
1633
- * @returns {Number}
1634
- */
1635
- Player.prototype.getMaxBufferBehind = function () {
1636
- return this._priv_bufferOptions.maxBufferBehind.getValue();
1637
- };
1638
- /**
1639
- * Returns the max buffer size for the buffer behind the current position.
1640
- * @returns {Number}
1641
- */
1642
- Player.prototype.getMaxBufferAhead = function () {
1643
- return this._priv_bufferOptions.maxBufferAhead.getValue();
1644
- };
1645
- /**
1646
- * Returns the max buffer size for the buffer ahead of the current position.
1647
- * @returns {Number}
1648
- */
1649
- Player.prototype.getWantedBufferAhead = function () {
1650
- return this._priv_bufferOptions.wantedBufferAhead.getValue();
1651
- };
1652
- /**
1653
- * Returns the max buffer memory size for the buffer in kilobytes
1654
- * @returns {Number}
1655
- */
1656
- Player.prototype.getMaxVideoBufferSize = function () {
1657
- return this._priv_bufferOptions.maxVideoBufferSize.getValue();
1658
- };
1659
- Player.prototype.getCurrentPeriod = function () {
1660
- var _a;
1661
- var currentPeriod = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.currentPeriod;
1662
- if ((0, is_null_or_undefined_1.default)(currentPeriod)) {
1663
- return null;
1664
- }
1665
- return {
1666
- id: currentPeriod.id,
1667
- start: currentPeriod.start,
1668
- end: currentPeriod.end,
1669
- };
1670
- };
1671
- /**
1672
- * Returns both the name of the key system (e.g. `"com.widevine.alpha"`) and
1673
- * the `MediaKeySystemConfiguration` currently associated to the
1674
- * HTMLMediaElement linked to the RxPlayer.
1675
- *
1676
- * Returns `null` if no such capabilities is associated or if unknown.
1677
- * @returns {Object|null}
1678
- */
1679
- Player.prototype.getKeySystemConfiguration = function () {
1680
- if (this.videoElement === null) {
1681
- throw new Error("Disposed player");
1682
- }
1683
- var values = (0, decrypt_1.getKeySystemConfiguration)(this.videoElement);
1684
- if (values === null) {
1685
- return null;
1686
- }
1687
- return { keySystem: values[0], configuration: values[1] };
1688
- };
1689
- /**
1690
- * Returns the list of available Periods for which the current audio, video or
1691
- * text track can now be changed.
1692
- * @returns {Array.<Object>}
1693
- */
1694
- Player.prototype.getAvailablePeriods = function () {
1695
- if (this._priv_contentInfos === null) {
1696
- return [];
1697
- }
1698
- var _a = this._priv_contentInfos, isDirectFile = _a.isDirectFile, tracksStore = _a.tracksStore;
1699
- if (isDirectFile) {
1700
- return [];
1701
- }
1702
- if (tracksStore === null) {
1703
- return [];
1704
- }
1705
- return tracksStore.getAvailablePeriods().slice();
1706
- };
1707
- /**
1708
- * Returns every available audio tracks for a given Period - or the current
1709
- * one if no `periodId` is given.
1710
- * @param {string|Object|undefined} [arg]
1711
- * @returns {Array.<Object>}
1712
- */
1713
- Player.prototype.getAvailableAudioTracks = function (arg) {
1714
- var _a, _b;
1715
- if (this._priv_contentInfos === null) {
1716
- return [];
1717
- }
1718
- var _c = this._priv_contentInfos, isDirectFile = _c.isDirectFile, mediaElementTracksStore = _c.mediaElementTracksStore;
1719
- if (isDirectFile) {
1720
- return (_a = mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.getAvailableAudioTracks()) !== null && _a !== void 0 ? _a : [];
1721
- }
1722
- var periodId;
1723
- var filterPlayableRepresentations = true;
1724
- if (typeof arg === "string") {
1725
- periodId = arg;
1726
- }
1727
- else {
1728
- periodId = arg === null || arg === void 0 ? void 0 : arg.periodId;
1729
- filterPlayableRepresentations = (_b = arg === null || arg === void 0 ? void 0 : arg.filterPlayableRepresentations) !== null && _b !== void 0 ? _b : true;
1730
- }
1731
- return this._priv_callTracksStoreGetterSetter(periodId, [], function (tcm, periodRef) { var _a; return (_a = tcm.getAvailableAudioTracks(periodRef, filterPlayableRepresentations)) !== null && _a !== void 0 ? _a : []; });
1732
- };
1733
- /**
1734
- * Returns every available text tracks for a given Period - or the current
1735
- * one if no `periodId` is given.
1736
- * @param {string|undefined} [periodId]
1737
- * @returns {Array.<Object>}
1738
- */
1739
- Player.prototype.getAvailableTextTracks = function (periodId) {
1740
- var _a;
1741
- if (this._priv_contentInfos === null) {
1742
- return [];
1743
- }
1744
- var _b = this._priv_contentInfos, isDirectFile = _b.isDirectFile, mediaElementTracksStore = _b.mediaElementTracksStore;
1745
- if (isDirectFile) {
1746
- return (_a = mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.getAvailableTextTracks()) !== null && _a !== void 0 ? _a : [];
1747
- }
1748
- return this._priv_callTracksStoreGetterSetter(periodId, [], function (tcm, periodRef) { var _a; return (_a = tcm.getAvailableTextTracks(periodRef)) !== null && _a !== void 0 ? _a : []; });
1749
- };
1750
- /**
1751
- * Returns every available video tracks for the current Period.
1752
- * @param {string|Object|undefined} [arg]
1753
- * @returns {Array.<Object>}
1754
- */
1755
- Player.prototype.getAvailableVideoTracks = function (arg) {
1756
- var _a, _b;
1757
- if (this._priv_contentInfos === null) {
1758
- return [];
1759
- }
1760
- var _c = this._priv_contentInfos, isDirectFile = _c.isDirectFile, mediaElementTracksStore = _c.mediaElementTracksStore;
1761
- if (isDirectFile) {
1762
- return (_a = mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.getAvailableVideoTracks()) !== null && _a !== void 0 ? _a : [];
1763
- }
1764
- var periodId;
1765
- var filterPlayableRepresentations = true;
1766
- if (typeof arg === "string") {
1767
- periodId = arg;
1768
- }
1769
- else {
1770
- periodId = arg === null || arg === void 0 ? void 0 : arg.periodId;
1771
- filterPlayableRepresentations = (_b = arg === null || arg === void 0 ? void 0 : arg.filterPlayableRepresentations) !== null && _b !== void 0 ? _b : true;
1772
- }
1773
- return this._priv_callTracksStoreGetterSetter(periodId, [], function (tcm, periodRef) { var _a; return (_a = tcm.getAvailableVideoTracks(periodRef, filterPlayableRepresentations)) !== null && _a !== void 0 ? _a : []; });
1774
- };
1775
- /**
1776
- * Returns currently chosen audio language for the current Period.
1777
- * @param {string|Object|undefined} [arg]
1778
- * @returns {Object|null|undefined}
1779
- */
1780
- Player.prototype.getAudioTrack = function (arg) {
1781
- var _a;
1782
- if (this._priv_contentInfos === null) {
1783
- return undefined;
1784
- }
1785
- var _b = this._priv_contentInfos, isDirectFile = _b.isDirectFile, mediaElementTracksStore = _b.mediaElementTracksStore;
1786
- if (isDirectFile) {
1787
- if (mediaElementTracksStore === null) {
1788
- return undefined;
1789
- }
1790
- return mediaElementTracksStore.getChosenAudioTrack();
1791
- }
1792
- var periodId;
1793
- var filterPlayableRepresentations = true;
1794
- if (typeof arg === "string") {
1795
- periodId = arg;
1796
- }
1797
- else {
1798
- periodId = arg === null || arg === void 0 ? void 0 : arg.periodId;
1799
- filterPlayableRepresentations = (_a = arg === null || arg === void 0 ? void 0 : arg.filterPlayableRepresentations) !== null && _a !== void 0 ? _a : true;
1800
- }
1801
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
1802
- return tcm.getChosenAudioTrack(periodRef, filterPlayableRepresentations);
1803
- });
1804
- };
1805
- /**
1806
- * Returns currently chosen subtitle for the current Period.
1807
- * @param {string|undefined} [periodId]
1808
- * @returns {Object|null|undefined}
1809
- */
1810
- Player.prototype.getTextTrack = function (periodId) {
1811
- if (this._priv_contentInfos === null) {
1812
- return undefined;
1813
- }
1814
- var _a = this._priv_contentInfos, isDirectFile = _a.isDirectFile, mediaElementTracksStore = _a.mediaElementTracksStore;
1815
- if (isDirectFile) {
1816
- if (mediaElementTracksStore === null) {
1817
- return undefined;
1818
- }
1819
- return mediaElementTracksStore.getChosenTextTrack();
1820
- }
1821
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
1822
- return tcm.getChosenTextTrack(periodRef);
1823
- });
1824
- };
1825
- /**
1826
- * Returns currently chosen video track for the current Period.
1827
- * @param {string|Object|undefined} [arg]
1828
- * @returns {Object|null|undefined}
1829
- */
1830
- Player.prototype.getVideoTrack = function (arg) {
1831
- var _a;
1832
- if (this._priv_contentInfos === null) {
1833
- return undefined;
1834
- }
1835
- var _b = this._priv_contentInfos, isDirectFile = _b.isDirectFile, mediaElementTracksStore = _b.mediaElementTracksStore;
1836
- if (isDirectFile) {
1837
- if (mediaElementTracksStore === null) {
1838
- return undefined;
1839
- }
1840
- return mediaElementTracksStore.getChosenVideoTrack();
1841
- }
1842
- var periodId;
1843
- var filterPlayableRepresentations = true;
1844
- if (typeof arg === "string") {
1845
- periodId = arg;
1846
- }
1847
- else {
1848
- periodId = arg === null || arg === void 0 ? void 0 : arg.periodId;
1849
- filterPlayableRepresentations = (_a = arg === null || arg === void 0 ? void 0 : arg.filterPlayableRepresentations) !== null && _a !== void 0 ? _a : true;
1850
- }
1851
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
1852
- return tcm.getChosenVideoTrack(periodRef, filterPlayableRepresentations);
1853
- });
1854
- };
1855
- /**
1856
- * Update the audio language for the current Period.
1857
- * @param {string | object} arg
1858
- * @throws Error - the current content has no TracksStore.
1859
- * @throws Error - the given id is linked to no audio track.
1860
- */
1861
- Player.prototype.setAudioTrack = function (arg) {
1862
- var _a;
1863
- if (this._priv_contentInfos === null) {
1864
- throw new Error("No content loaded");
1865
- }
1866
- var _b = this._priv_contentInfos, isDirectFile = _b.isDirectFile, mediaElementTracksStore = _b.mediaElementTracksStore;
1867
- if (isDirectFile) {
1868
- try {
1869
- var audioId = typeof arg === "string" ? arg : arg.trackId;
1870
- mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.setAudioTrackById(audioId);
1871
- return;
1872
- }
1873
- catch (_e) {
1874
- throw new Error("player: unknown audio track");
1875
- }
1876
- }
1877
- var periodId;
1878
- var trackId;
1879
- var switchingMode;
1880
- var lockedRepresentations = null;
1881
- var relativeResumingPosition;
1882
- if (typeof arg === "string") {
1883
- trackId = arg;
1884
- }
1885
- else {
1886
- trackId = arg.trackId;
1887
- periodId = arg.periodId;
1888
- switchingMode = arg.switchingMode;
1889
- lockedRepresentations = (_a = arg.lockedRepresentations) !== null && _a !== void 0 ? _a : null;
1890
- relativeResumingPosition = arg.relativeResumingPosition;
1891
- }
1892
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
1893
- return tcm.setAudioTrack({
1894
- periodRef: periodRef,
1895
- trackId: trackId,
1896
- switchingMode: switchingMode,
1897
- lockedRepresentations: lockedRepresentations,
1898
- relativeResumingPosition: relativeResumingPosition,
1899
- });
1900
- });
1901
- };
1902
- /**
1903
- * Update the text language for the current Period.
1904
- * @param {string | Object} arg
1905
- * @throws Error - the current content has no TracksStore.
1906
- * @throws Error - the given id is linked to no text track.
1907
- */
1908
- Player.prototype.setTextTrack = function (arg) {
1909
- if (this._priv_contentInfos === null) {
1910
- throw new Error("No content loaded");
1911
- }
1912
- var _a = this._priv_contentInfos, isDirectFile = _a.isDirectFile, mediaElementTracksStore = _a.mediaElementTracksStore;
1913
- if (isDirectFile) {
1914
- try {
1915
- var textId = typeof arg === "string" ? arg : arg.trackId;
1916
- mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.setTextTrackById(textId);
1917
- return;
1918
- }
1919
- catch (_e) {
1920
- throw new Error("player: unknown text track");
1921
- }
1922
- }
1923
- var periodId;
1924
- var trackId;
1925
- if (typeof arg === "string") {
1926
- trackId = arg;
1927
- }
1928
- else {
1929
- trackId = arg.trackId;
1930
- periodId = arg.periodId;
1931
- }
1932
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
1933
- return tcm.setTextTrack(periodRef, trackId);
1934
- });
1935
- };
1936
- /**
1937
- * Disable subtitles for the current content.
1938
- * @param {string|undefined} [periodId]
1939
- */
1940
- Player.prototype.disableTextTrack = function (periodId) {
1941
- if (this._priv_contentInfos === null) {
1942
- return;
1943
- }
1944
- var _a = this._priv_contentInfos, isDirectFile = _a.isDirectFile, mediaElementTracksStore = _a.mediaElementTracksStore;
1945
- if (isDirectFile) {
1946
- mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.disableTextTrack();
1947
- return;
1948
- }
1949
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
1950
- return tcm.disableTrack(periodRef, "text");
1951
- });
1952
- };
1953
- /**
1954
- * Update the video track for the current Period.
1955
- * @param {string | Object} arg
1956
- * @throws Error - the current content has no TracksStore.
1957
- * @throws Error - the given id is linked to no video track.
1958
- */
1959
- Player.prototype.setVideoTrack = function (arg) {
1960
- var _a;
1961
- if (this._priv_contentInfos === null) {
1962
- throw new Error("No content loaded");
1963
- }
1964
- var _b = this._priv_contentInfos, isDirectFile = _b.isDirectFile, mediaElementTracksStore = _b.mediaElementTracksStore;
1965
- if (isDirectFile) {
1966
- try {
1967
- var videoId = typeof arg === "string" ? arg : arg.trackId;
1968
- mediaElementTracksStore === null || mediaElementTracksStore === void 0 ? void 0 : mediaElementTracksStore.setVideoTrackById(videoId);
1969
- return;
1970
- }
1971
- catch (_e) {
1972
- throw new Error("player: unknown video track");
1973
- }
1974
- }
1975
- var periodId;
1976
- var trackId;
1977
- var switchingMode;
1978
- var lockedRepresentations = null;
1979
- var relativeResumingPosition;
1980
- if (typeof arg === "string") {
1981
- trackId = arg;
1982
- }
1983
- else {
1984
- trackId = arg.trackId;
1985
- periodId = arg.periodId;
1986
- switchingMode = arg.switchingMode;
1987
- lockedRepresentations = (_a = arg.lockedRepresentations) !== null && _a !== void 0 ? _a : null;
1988
- relativeResumingPosition = arg.relativeResumingPosition;
1989
- }
1990
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
1991
- return tcm.setVideoTrack({
1992
- periodRef: periodRef,
1993
- trackId: trackId,
1994
- switchingMode: switchingMode,
1995
- lockedRepresentations: lockedRepresentations,
1996
- relativeResumingPosition: relativeResumingPosition,
1997
- });
1998
- });
1999
- };
2000
- /**
2001
- * Disable video track for the current content.
2002
- * @param {string|undefined} [periodId]
2003
- */
2004
- Player.prototype.disableVideoTrack = function (periodId) {
2005
- if (this._priv_contentInfos === null) {
2006
- return;
2007
- }
2008
- var _a = this._priv_contentInfos, isDirectFile = _a.isDirectFile, mediaElementTracksStore = _a.mediaElementTracksStore;
2009
- if (isDirectFile && mediaElementTracksStore !== null) {
2010
- return mediaElementTracksStore.disableVideoTrack();
2011
- }
2012
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
2013
- return tcm.disableTrack(periodRef, "video");
2014
- });
2015
- };
2016
- Player.prototype.lockVideoRepresentations = function (arg) {
2017
- if (this._priv_contentInfos === null) {
2018
- throw new Error("No content loaded");
2019
- }
2020
- var isDirectFile = this._priv_contentInfos.isDirectFile;
2021
- if (isDirectFile) {
2022
- throw new Error("Cannot lock video Representations in directfile mode.");
2023
- }
2024
- var repsId;
2025
- var periodId;
2026
- var switchingMode;
2027
- if (Array.isArray(arg)) {
2028
- repsId = arg;
2029
- periodId = undefined;
2030
- }
2031
- else {
2032
- repsId = arg.representations;
2033
- periodId = arg.periodId;
2034
- switchingMode = arg.switchingMode;
2035
- }
2036
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
2037
- return tcm.lockVideoRepresentations(periodRef, {
2038
- representations: repsId,
2039
- switchingMode: switchingMode,
2040
- });
2041
- });
2042
- };
2043
- /**
2044
- * Disable audio track for the current content.
2045
- * @param {string|undefined} [periodId]
2046
- */
2047
- Player.prototype.disableAudioTrack = function (periodId) {
2048
- if (this._priv_contentInfos === null) {
2049
- return;
2050
- }
2051
- var _a = this._priv_contentInfos, isDirectFile = _a.isDirectFile, mediaElementTracksStore = _a.mediaElementTracksStore;
2052
- if (isDirectFile && mediaElementTracksStore !== null) {
2053
- return mediaElementTracksStore.disableAudioTrack();
2054
- }
2055
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
2056
- return tcm.disableTrack(periodRef, "audio");
2057
- });
2058
- };
2059
- Player.prototype.lockAudioRepresentations = function (arg) {
2060
- if (this._priv_contentInfos === null) {
2061
- throw new Error("No content loaded");
2062
- }
2063
- var isDirectFile = this._priv_contentInfos.isDirectFile;
2064
- if (isDirectFile) {
2065
- throw new Error("Cannot lock audio Representations in directfile mode.");
2066
- }
2067
- var repsId;
2068
- var periodId;
2069
- var switchingMode;
2070
- if (Array.isArray(arg)) {
2071
- repsId = arg;
2072
- periodId = undefined;
2073
- }
2074
- else {
2075
- repsId = arg.representations;
2076
- periodId = arg.periodId;
2077
- switchingMode = arg.switchingMode;
2078
- }
2079
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
2080
- return tcm.lockAudioRepresentations(periodRef, {
2081
- representations: repsId,
2082
- switchingMode: switchingMode,
2083
- });
2084
- });
2085
- };
2086
- Player.prototype.getLockedVideoRepresentations = function (periodId) {
2087
- if (this._priv_contentInfos === null) {
2088
- return null;
2089
- }
2090
- var isDirectFile = this._priv_contentInfos.isDirectFile;
2091
- if (isDirectFile) {
2092
- return null;
2093
- }
2094
- return this._priv_callTracksStoreGetterSetter(periodId, null, function (tcm, periodRef) {
2095
- return tcm.getLockedVideoRepresentations(periodRef);
2096
- });
2097
- };
2098
- Player.prototype.getLockedAudioRepresentations = function (periodId) {
2099
- if (this._priv_contentInfos === null) {
2100
- return null;
2101
- }
2102
- var isDirectFile = this._priv_contentInfos.isDirectFile;
2103
- if (isDirectFile) {
2104
- return null;
2105
- }
2106
- return this._priv_callTracksStoreGetterSetter(periodId, null, function (tcm, periodRef) {
2107
- return tcm.getLockedAudioRepresentations(periodRef);
2108
- });
2109
- };
2110
- Player.prototype.unlockVideoRepresentations = function (periodId) {
2111
- if (this._priv_contentInfos === null) {
2112
- return;
2113
- }
2114
- var isDirectFile = this._priv_contentInfos.isDirectFile;
2115
- if (isDirectFile) {
2116
- return;
2117
- }
2118
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
2119
- return tcm.unlockVideoRepresentations(periodRef);
2120
- });
2121
- };
2122
- Player.prototype.unlockAudioRepresentations = function (periodId) {
2123
- if (this._priv_contentInfos === null) {
2124
- return;
2125
- }
2126
- var isDirectFile = this._priv_contentInfos.isDirectFile;
2127
- if (isDirectFile) {
2128
- return;
2129
- }
2130
- return this._priv_callTracksStoreGetterSetter(periodId, undefined, function (tcm, periodRef) {
2131
- return tcm.unlockAudioRepresentations(periodRef);
2132
- });
2133
- };
2134
- /**
2135
- * Get minimum seek-able position.
2136
- * @returns {number}
2137
- */
2138
- Player.prototype.getMinimumPosition = function () {
2139
- if (this._priv_contentInfos === null) {
2140
- return null;
2141
- }
2142
- if (this._priv_contentInfos.isDirectFile) {
2143
- return 0;
2144
- }
2145
- var manifest = this._priv_contentInfos.manifest;
2146
- if (manifest !== null) {
2147
- return (0, manifest_1.getMinimumSafePosition)(manifest);
2148
- }
2149
- return null;
2150
- };
2151
- /**
2152
- * Returns the current position for live contents.
2153
- *
2154
- * Returns `null` if no content is loaded or if the current loaded content is
2155
- * not considered as a live content.
2156
- * Returns `undefined` if that live position is currently unknown.
2157
- * @returns {number}
2158
- */
2159
- Player.prototype.getLivePosition = function () {
2160
- if (this._priv_contentInfos === null) {
2161
- return null;
2162
- }
2163
- var _a = this._priv_contentInfos, isDirectFile = _a.isDirectFile, manifest = _a.manifest;
2164
- if (isDirectFile) {
2165
- return undefined;
2166
- }
2167
- if ((manifest === null || manifest === void 0 ? void 0 : manifest.isLive) !== true) {
2168
- return null;
2169
- }
2170
- return (0, manifest_1.getLivePosition)(manifest);
2171
- };
2172
- /**
2173
- * Get maximum seek-able position.
2174
- * @returns {number}
2175
- */
2176
- Player.prototype.getMaximumPosition = function () {
2177
- if (this._priv_contentInfos === null) {
2178
- return null;
2179
- }
2180
- var _a = this._priv_contentInfos, isDirectFile = _a.isDirectFile, manifest = _a.manifest;
2181
- if (isDirectFile) {
2182
- if (this.videoElement === null) {
2183
- throw new Error("Disposed player");
2184
- }
2185
- return this.videoElement.duration;
2186
- }
2187
- if (manifest !== null) {
2188
- if (!manifest.isDynamic && this.videoElement !== null) {
2189
- return this.videoElement.duration;
2190
- }
2191
- return (0, manifest_1.getMaximumSafePosition)(manifest);
2192
- }
2193
- return null;
2194
- };
2195
- // ---- Undocumented Private methods. ----
2196
- //
2197
- // Those methods are just here either to allow some tools relying on the
2198
- // RxPlayer instance to work or to improve the RxPlayer's demo.
2199
- //
2200
- // They should not be used by any external code.
2201
- /**
2202
- * Used for the display of segmentSink metrics for the debug element
2203
- * @param fn
2204
- * @param cancellationSignal
2205
- * @returns
2206
- */
2207
- Player.prototype.__priv_getSegmentSinkMetrics = function () {
2208
- return __awaiter(this, void 0, void 0, function () {
2209
- var _a, _b;
2210
- return __generator(this, function (_c) {
2211
- return [2 /*return*/, (_b = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.segmentSinkMetricsCallback) === null || _b === void 0 ? void 0 : _b.call(_a)];
2212
- });
2213
- });
2214
- };
2215
- /**
2216
- * /!\ For tools use only! Do not touch!
2217
- *
2218
- * Returns manifest/playlist object.
2219
- * null if the player is STOPPED.
2220
- * @returns {Manifest|null} - The current Manifest (`null` when not known).
2221
- */
2222
- // TODO remove the need for that public method
2223
- Player.prototype.__priv_getManifest = function () {
2224
- if (this._priv_contentInfos === null) {
2225
- return null;
2226
- }
2227
- return this._priv_contentInfos.manifest;
2228
- };
2229
- // TODO remove the need for that public method
2230
- Player.prototype.__priv_getCurrentAdaptation = function () {
2231
- if (this._priv_contentInfos === null) {
2232
- return null;
2233
- }
2234
- var _a = this._priv_contentInfos, currentPeriod = _a.currentPeriod, activeAdaptations = _a.activeAdaptations;
2235
- if (currentPeriod === null ||
2236
- activeAdaptations === null ||
2237
- (0, is_null_or_undefined_1.default)(activeAdaptations[currentPeriod.id])) {
2238
- return null;
2239
- }
2240
- return activeAdaptations[currentPeriod.id];
2241
- };
2242
- // TODO remove the need for that public method
2243
- Player.prototype.__priv_getCurrentRepresentations = function () {
2244
- if (this._priv_contentInfos === null) {
2245
- return null;
2246
- }
2247
- var _a = this._priv_contentInfos, currentPeriod = _a.currentPeriod, activeRepresentations = _a.activeRepresentations;
2248
- if (currentPeriod === null ||
2249
- activeRepresentations === null ||
2250
- (0, is_null_or_undefined_1.default)(activeRepresentations[currentPeriod.id])) {
2251
- return null;
2252
- }
2253
- return activeRepresentations[currentPeriod.id];
2254
- };
2255
- // ---- Private methods ----
2256
- /**
2257
- * Reset all state properties relative to a playing content.
2258
- */
2259
- Player.prototype._priv_cleanUpCurrentContentState = function () {
2260
- var _this = this;
2261
- var _a, _b, _c, _d;
2262
- log_1.default.debug("API", "Locking `contentLock` to clean-up the current content.");
2263
- // lock playback of new contents while cleaning up is pending
2264
- this._priv_contentLock.setValue(true);
2265
- (_b = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.tracksStore) === null || _b === void 0 ? void 0 : _b.dispose();
2266
- (_d = (_c = this._priv_contentInfos) === null || _c === void 0 ? void 0 : _c.mediaElementTracksStore) === null || _d === void 0 ? void 0 : _d.dispose();
2267
- this._priv_contentInfos = null;
2268
- this._priv_contentEventsMemory = {};
2269
- // DRM-related clean-up
2270
- var freeUpContentLock = function () {
2271
- if (_this.videoElement !== null) {
2272
- // If not disposed
2273
- log_1.default.debug("API", "Unlocking `contentLock`. Next content can begin.");
2274
- _this._priv_contentLock.setValue(false);
2275
- }
2276
- };
2277
- if (!(0, is_null_or_undefined_1.default)(this.videoElement)) {
2278
- (0, decrypt_1.clearOnStop)(this.videoElement).then(function () {
2279
- log_1.default.debug("API", "DRM session cleaned-up with success!");
2280
- freeUpContentLock();
2281
- }, function (err) {
2282
- log_1.default.error("API", "An error arised when trying to clean-up the DRM session:" +
2283
- (err instanceof Error ? err.toString() : "Unknown Error"));
2284
- freeUpContentLock();
2285
- });
2286
- }
2287
- else {
2288
- freeUpContentLock();
2289
- }
2290
- };
2291
- /**
2292
- * Triggered when the Manifest has been loaded for the current content.
2293
- * Initialize various private properties and emit initial event.
2294
- * @param {Object} contentInfos
2295
- * @param {Object} manifest
2296
- */
2297
- Player.prototype._priv_onManifestReady = function (contentInfos, manifest) {
2298
- var _this = this;
2299
- var _a;
2300
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2301
- return; // Event for another content
2302
- }
2303
- contentInfos.manifest = manifest;
2304
- if (manifest.manifestFormat === 0 /* ManifestMetadataFormat.Class */) {
2305
- this._priv_reloadingMetadata.manifest = manifest;
2306
- }
2307
- var tracksStore = new tracks_store_1.default({
2308
- preferTrickModeTracks: this._priv_preferTrickModeTracks,
2309
- defaultAudioTrackSwitchingMode: contentInfos.defaultAudioTrackSwitchingMode,
2310
- onTracksNotPlayableForType: {
2311
- audio: contentInfos.onAudioTracksNotPlayable,
2312
- video: contentInfos.onVideoTracksNotPlayable,
2313
- text: "continue",
2314
- },
2315
- });
2316
- contentInfos.tracksStore = tracksStore;
2317
- tracksStore.addEventListener("newAvailablePeriods", function (p) {
2318
- _this.trigger("newAvailablePeriods", p);
2319
- });
2320
- tracksStore.addEventListener("brokenRepresentationsLock", function (e) {
2321
- _this.trigger("brokenRepresentationsLock", e);
2322
- });
2323
- tracksStore.addEventListener("trackUpdate", function (e) {
2324
- var _a, _b;
2325
- _this.trigger("trackUpdate", e);
2326
- var currentPeriod = (_b = (_a = _this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.currentPeriod) !== null && _b !== void 0 ? _b : undefined;
2327
- if (e.reason === "no-playable-representation" &&
2328
- e.period.id === (currentPeriod === null || currentPeriod === void 0 ? void 0 : currentPeriod.id)) {
2329
- _this._priv_onAvailableTracksMayHaveChanged(e.trackType);
2330
- }
2331
- });
2332
- tracksStore.addEventListener("warning", function (err) {
2333
- _this.trigger("warning", err);
2334
- });
2335
- tracksStore.addEventListener("error", function (err) {
2336
- _this._priv_onFatalError(err, contentInfos);
2337
- });
2338
- tracksStore.addEventListener("noPlayableTrack", function (noPlayableTrackEvent) {
2339
- _this.trigger("noPlayableTrack", noPlayableTrackEvent);
2340
- });
2341
- tracksStore.onManifestUpdate(manifest);
2342
- };
2343
- /**
2344
- * Triggered when the Manifest has been updated for the current content.
2345
- * Initialize various private properties and emit initial event.
2346
- * @param {Object} contentInfos
2347
- * @param {Object} updates
2348
- */
2349
- Player.prototype._priv_onManifestUpdate = function (contentInfos, updates) {
2350
- var e_1, _a;
2351
- var _b, _c, _d;
2352
- if (this._priv_contentInfos === null || this._priv_contentInfos.manifest === null) {
2353
- return;
2354
- }
2355
- // Update the tracks chosen if it changed
2356
- if (!(0, is_null_or_undefined_1.default)(contentInfos === null || contentInfos === void 0 ? void 0 : contentInfos.tracksStore)) {
2357
- contentInfos.tracksStore.onManifestUpdate(this._priv_contentInfos.manifest);
2358
- }
2359
- var currentPeriod = (_c = (_b = this._priv_contentInfos) === null || _b === void 0 ? void 0 : _b.currentPeriod) !== null && _c !== void 0 ? _c : undefined;
2360
- var currTracksStore = (_d = this._priv_contentInfos) === null || _d === void 0 ? void 0 : _d.tracksStore;
2361
- if (currentPeriod === undefined || (0, is_null_or_undefined_1.default)(currTracksStore)) {
2362
- return;
2363
- }
2364
- try {
2365
- for (var _f = __values(updates.updatedPeriods), _g = _f.next(); !_g.done; _g = _f.next()) {
2366
- var update = _g.value;
2367
- if (update.period.id === currentPeriod.id) {
2368
- if (update.result.addedAdaptations.length > 0 ||
2369
- update.result.removedAdaptations.length > 0) {
2370
- // We might have new (or less) tracks, send events just to be sure
2371
- var periodRef = currTracksStore.getPeriodObjectFromPeriod(currentPeriod);
2372
- if (periodRef === undefined) {
2373
- return;
2374
- }
2375
- this._priv_onAvailableTracksMayHaveChanged("audio");
2376
- this._priv_onAvailableTracksMayHaveChanged("text");
2377
- this._priv_onAvailableTracksMayHaveChanged("video");
2378
- }
2379
- }
2380
- }
2381
- }
2382
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2383
- finally {
2384
- try {
2385
- if (_g && !_g.done && (_a = _f.return)) _a.call(_f);
2386
- }
2387
- finally { if (e_1) throw e_1.error; }
2388
- }
2389
- };
2390
- /**
2391
- * Triggered each times the support for a codec has changed in the manifest.
2392
- * When triggered, the track store may need to consider selecting a new track.
2393
- *
2394
- * @param {Object} contentInfos
2395
- */
2396
- Player.prototype._priv_onCodecSupportUpdate = function (contentInfos) {
2397
- var tStore = contentInfos === null || contentInfos === void 0 ? void 0 : contentInfos.tracksStore;
2398
- if ((0, is_null_or_undefined_1.default)(tStore)) {
2399
- return;
2400
- }
2401
- tStore.onManifestCodecSupportUpdate();
2402
- };
2403
- Player.prototype._priv_onDecipherabilityUpdate = function (contentInfos, elts) {
2404
- var e_2, _a;
2405
- if (contentInfos === null || contentInfos.manifest === null) {
2406
- return;
2407
- }
2408
- if (!(0, is_null_or_undefined_1.default)(contentInfos === null || contentInfos === void 0 ? void 0 : contentInfos.tracksStore)) {
2409
- contentInfos.tracksStore.onDecipherabilityUpdates();
2410
- }
2411
- /**
2412
- * Array of tuples only including once the Period/Track combination, and
2413
- * only when it concerns the currently-selected track.
2414
- */
2415
- var periodsAndTrackTypes = elts.reduce(function (acc, elt) {
2416
- var _a, _b, _c;
2417
- var isFound = (0, array_find_1.default)(acc, function (x) { return x[0].id === elt.period.id && x[1] === elt.adaptation.type; }) !== undefined;
2418
- if (!isFound) {
2419
- // Only consider the currently-selected tracks.
2420
- // NOTE: Maybe there's room for optimizations? Unclear.
2421
- var tStore = contentInfos.tracksStore;
2422
- if (tStore === null) {
2423
- return acc;
2424
- }
2425
- var isCurrent = false;
2426
- var periodRef = tStore.getPeriodObjectFromPeriod(elt.period);
2427
- if (periodRef === undefined) {
2428
- return acc;
2429
- }
2430
- switch (elt.adaptation.type) {
2431
- case "audio":
2432
- isCurrent =
2433
- ((_a = tStore.getChosenAudioTrack(periodRef, false)) === null || _a === void 0 ? void 0 : _a.id) === elt.adaptation.id;
2434
- break;
2435
- case "video":
2436
- isCurrent =
2437
- ((_b = tStore.getChosenVideoTrack(periodRef, false)) === null || _b === void 0 ? void 0 : _b.id) === elt.adaptation.id;
2438
- break;
2439
- case "text":
2440
- isCurrent = ((_c = tStore.getChosenTextTrack(periodRef)) === null || _c === void 0 ? void 0 : _c.id) === elt.adaptation.id;
2441
- break;
2442
- }
2443
- if (isCurrent) {
2444
- acc.push([elt.period, elt.adaptation.type]);
2445
- }
2446
- }
2447
- return acc;
2448
- }, []);
2449
- try {
2450
- for (var periodsAndTrackTypes_1 = __values(periodsAndTrackTypes), periodsAndTrackTypes_1_1 = periodsAndTrackTypes_1.next(); !periodsAndTrackTypes_1_1.done; periodsAndTrackTypes_1_1 = periodsAndTrackTypes_1.next()) {
2451
- var _b = __read(periodsAndTrackTypes_1_1.value, 2), period = _b[0], trackType = _b[1];
2452
- this._priv_triggerEventIfNotStopped("representationListUpdate", {
2453
- period: { start: period.start, end: period.end, id: period.id },
2454
- trackType: trackType,
2455
- reason: "decipherability-update",
2456
- }, contentInfos.currentContentCanceller.signal);
2457
- }
2458
- }
2459
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
2460
- finally {
2461
- try {
2462
- if (periodsAndTrackTypes_1_1 && !periodsAndTrackTypes_1_1.done && (_a = periodsAndTrackTypes_1.return)) _a.call(periodsAndTrackTypes_1);
2463
- }
2464
- finally { if (e_2) throw e_2.error; }
2465
- }
2466
- };
2467
- /**
2468
- * Triggered each times the current Period Changed.
2469
- * Store and emit initial state for the Period.
2470
- *
2471
- * @param {Object} contentInfos
2472
- * @param {Object} periodInfo
2473
- */
2474
- Player.prototype._priv_onActivePeriodChanged = function (contentInfos, _a) {
2475
- var _b, _c, _d, _f, _g, _h;
2476
- var period = _a.period;
2477
- if (contentInfos.contentId !== ((_b = this._priv_contentInfos) === null || _b === void 0 ? void 0 : _b.contentId)) {
2478
- return; // Event for another content
2479
- }
2480
- contentInfos.currentPeriod = period;
2481
- var cancelSignal = contentInfos.currentContentCanceller.signal;
2482
- if (this._priv_contentEventsMemory.periodChange !== period) {
2483
- this._priv_contentEventsMemory.periodChange = period;
2484
- this._priv_triggerEventIfNotStopped("periodChange", { start: period.start, end: period.end, id: period.id }, cancelSignal);
2485
- }
2486
- this._priv_triggerEventIfNotStopped("availableAudioTracksChange", this.getAvailableAudioTracks(), cancelSignal);
2487
- this._priv_triggerEventIfNotStopped("availableTextTracksChange", this.getAvailableTextTracks(), cancelSignal);
2488
- this._priv_triggerEventIfNotStopped("availableVideoTracksChange", this.getAvailableVideoTracks(), cancelSignal);
2489
- var tracksStore = (_c = this._priv_contentInfos) === null || _c === void 0 ? void 0 : _c.tracksStore;
2490
- // Emit initial events for the Period
2491
- if (!(0, is_null_or_undefined_1.default)(tracksStore)) {
2492
- var periodRef = tracksStore.getPeriodObjectFromPeriod(period);
2493
- if (periodRef !== undefined) {
2494
- var audioTrack = tracksStore.getChosenAudioTrack(periodRef, true);
2495
- this._priv_triggerEventIfNotStopped("audioTrackChange", audioTrack, cancelSignal);
2496
- var textTrack = tracksStore.getChosenTextTrack(periodRef);
2497
- this._priv_triggerEventIfNotStopped("textTrackChange", textTrack, cancelSignal);
2498
- var videoTrack = tracksStore.getChosenVideoTrack(periodRef, true);
2499
- this._priv_triggerEventIfNotStopped("videoTrackChange", videoTrack, cancelSignal);
2500
- }
2501
- }
2502
- else {
2503
- this._priv_triggerEventIfNotStopped("audioTrackChange", null, cancelSignal);
2504
- this._priv_triggerEventIfNotStopped("textTrackChange", null, cancelSignal);
2505
- this._priv_triggerEventIfNotStopped("videoTrackChange", null, cancelSignal);
2506
- }
2507
- var audioRepresentation = (_f = (_d = this.__priv_getCurrentRepresentations()) === null || _d === void 0 ? void 0 : _d.audio) !== null && _f !== void 0 ? _f : null;
2508
- this._priv_triggerEventIfNotStopped("audioRepresentationChange", (0, is_null_or_undefined_1.default)(audioRepresentation)
2509
- ? audioRepresentation
2510
- : (0, manifest_1.toVideoRepresentation)(audioRepresentation), cancelSignal);
2511
- var videoRepresentation = (_h = (_g = this.__priv_getCurrentRepresentations()) === null || _g === void 0 ? void 0 : _g.video) !== null && _h !== void 0 ? _h : null;
2512
- this._priv_triggerEventIfNotStopped("videoRepresentationChange", (0, is_null_or_undefined_1.default)(videoRepresentation)
2513
- ? videoRepresentation
2514
- : (0, manifest_1.toVideoRepresentation)(videoRepresentation), cancelSignal);
2515
- };
2516
- /**
2517
- * Triggered each times a new "PeriodStream" is ready.
2518
- * Choose the right Adaptation for the Period and emit it.
2519
- * @param {Object} contentInfos
2520
- * @param {Object} value
2521
- */
2522
- Player.prototype._priv_onPeriodStreamReady = function (contentInfos, value) {
2523
- var _a;
2524
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2525
- return; // Event for another content
2526
- }
2527
- var type = value.type, period = value.period, adaptationRef = value.adaptationRef;
2528
- var tracksStore = contentInfos.tracksStore;
2529
- switch (type) {
2530
- case "video":
2531
- case "audio":
2532
- case "text":
2533
- if ((0, is_null_or_undefined_1.default)(tracksStore)) {
2534
- log_1.default.error("API", "TracksStore not instanciated for a new ".concat(type, " period"));
2535
- adaptationRef.setValue(null);
2536
- }
2537
- else {
2538
- tracksStore.addTrackReference(type, period, adaptationRef);
2539
- }
2540
- break;
2541
- default:
2542
- (0, assert_1.assertUnreachable)(type);
2543
- }
2544
- };
2545
- /**
2546
- * Triggered each times we "remove" a PeriodStream.
2547
- * @param {Object} contentInfos
2548
- * @param {Object} value
2549
- */
2550
- Player.prototype._priv_onPeriodStreamCleared = function (contentInfos, value) {
2551
- var _a;
2552
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2553
- return; // Event for another content
2554
- }
2555
- var type = value.type, periodId = value.periodId;
2556
- var tracksStore = contentInfos.tracksStore;
2557
- // Clean-up track choices from TracksStore
2558
- switch (type) {
2559
- case "audio":
2560
- case "text":
2561
- case "video":
2562
- if (!(0, is_null_or_undefined_1.default)(tracksStore)) {
2563
- tracksStore.removeTrackReference(type, periodId);
2564
- }
2565
- break;
2566
- }
2567
- // Clean-up stored Representation and Adaptation information
2568
- var activeAdaptations = contentInfos.activeAdaptations, activeRepresentations = contentInfos.activeRepresentations;
2569
- if (!(0, is_null_or_undefined_1.default)(activeAdaptations) &&
2570
- !(0, is_null_or_undefined_1.default)(activeAdaptations[periodId])) {
2571
- var activePeriodAdaptations = activeAdaptations[periodId];
2572
- delete activePeriodAdaptations[type];
2573
- if (Object.keys(activePeriodAdaptations).length === 0) {
2574
- delete activeAdaptations[periodId];
2575
- }
2576
- }
2577
- if (!(0, is_null_or_undefined_1.default)(activeRepresentations) &&
2578
- !(0, is_null_or_undefined_1.default)(activeRepresentations[periodId])) {
2579
- var activePeriodRepresentations = activeRepresentations[periodId];
2580
- delete activePeriodRepresentations[type];
2581
- if (Object.keys(activePeriodRepresentations).length === 0) {
2582
- delete activeRepresentations[periodId];
2583
- }
2584
- }
2585
- };
2586
- /**
2587
- * Triggered each times a new Adaptation is considered for the current
2588
- * content.
2589
- * Store given Adaptation and emit it if from the current Period.
2590
- * @param {Object} contentInfos
2591
- * @param {Object} value
2592
- */
2593
- Player.prototype._priv_onAdaptationChange = function (contentInfos, _a) {
2594
- var _b;
2595
- var _c;
2596
- var type = _a.type, adaptation = _a.adaptation, period = _a.period;
2597
- if (contentInfos.contentId !== ((_c = this._priv_contentInfos) === null || _c === void 0 ? void 0 : _c.contentId)) {
2598
- return; // Event for another content
2599
- }
2600
- // lazily create contentInfos.activeAdaptations
2601
- if (contentInfos.activeAdaptations === null) {
2602
- contentInfos.activeAdaptations = {};
2603
- }
2604
- var activeAdaptations = contentInfos.activeAdaptations, currentPeriod = contentInfos.currentPeriod;
2605
- var activePeriodAdaptations = activeAdaptations[period.id];
2606
- if ((0, is_null_or_undefined_1.default)(activePeriodAdaptations)) {
2607
- activeAdaptations[period.id] = (_b = {}, _b[type] = adaptation, _b);
2608
- }
2609
- else {
2610
- activePeriodAdaptations[type] = adaptation;
2611
- }
2612
- var tracksStore = contentInfos.tracksStore;
2613
- var cancelSignal = contentInfos.currentContentCanceller.signal;
2614
- if (tracksStore !== null &&
2615
- currentPeriod !== null &&
2616
- !(0, is_null_or_undefined_1.default)(period) &&
2617
- period.id === currentPeriod.id) {
2618
- var periodRef = tracksStore.getPeriodObjectFromPeriod(period);
2619
- if (periodRef === undefined) {
2620
- return;
2621
- }
2622
- switch (type) {
2623
- case "audio": {
2624
- var audioTrack = tracksStore.getChosenAudioTrack(periodRef, true);
2625
- this._priv_triggerEventIfNotStopped("audioTrackChange", audioTrack, cancelSignal);
2626
- break;
2627
- }
2628
- case "text": {
2629
- var textTrack = tracksStore.getChosenTextTrack(periodRef);
2630
- this._priv_triggerEventIfNotStopped("textTrackChange", textTrack, cancelSignal);
2631
- break;
2632
- }
2633
- case "video": {
2634
- var videoTrack = tracksStore.getChosenVideoTrack(periodRef, true);
2635
- this._priv_triggerEventIfNotStopped("videoTrackChange", videoTrack, cancelSignal);
2636
- break;
2637
- }
2638
- }
2639
- }
2640
- };
2641
- /**
2642
- * Triggered each times a new Representation is considered during playback.
2643
- *
2644
- * Store given Representation and emit it if from the current Period.
2645
- *
2646
- * @param {Object} contentInfos
2647
- * @param {Object} obj
2648
- */
2649
- Player.prototype._priv_onRepresentationChange = function (contentInfos, _a) {
2650
- var _b;
2651
- var _c;
2652
- var type = _a.type, period = _a.period, representation = _a.representation;
2653
- if (contentInfos.contentId !== ((_c = this._priv_contentInfos) === null || _c === void 0 ? void 0 : _c.contentId)) {
2654
- return; // Event for another content
2655
- }
2656
- // lazily create contentInfos.activeRepresentations
2657
- if (contentInfos.activeRepresentations === null) {
2658
- contentInfos.activeRepresentations = {};
2659
- }
2660
- var activeRepresentations = contentInfos.activeRepresentations, currentPeriod = contentInfos.currentPeriod;
2661
- var activePeriodRepresentations = activeRepresentations[period.id];
2662
- if ((0, is_null_or_undefined_1.default)(activePeriodRepresentations)) {
2663
- activeRepresentations[period.id] = (_b = {}, _b[type] = representation, _b);
2664
- }
2665
- else {
2666
- activePeriodRepresentations[type] = representation;
2667
- }
2668
- if (!(0, is_null_or_undefined_1.default)(period) &&
2669
- currentPeriod !== null &&
2670
- currentPeriod.id === period.id) {
2671
- var cancelSignal = this._priv_contentInfos.currentContentCanceller.signal;
2672
- if (type === "video") {
2673
- this._priv_triggerEventIfNotStopped("videoRepresentationChange", (0, is_null_or_undefined_1.default)(representation)
2674
- ? representation
2675
- : (0, manifest_1.toVideoRepresentation)(representation), cancelSignal);
2676
- }
2677
- else if (type === "audio") {
2678
- this._priv_triggerEventIfNotStopped("audioRepresentationChange", (0, is_null_or_undefined_1.default)(representation)
2679
- ? representation
2680
- : (0, manifest_1.toAudioRepresentation)(representation), cancelSignal);
2681
- }
2682
- }
2683
- };
2684
- /**
2685
- * Triggered each time a bitrate estimate is calculated.
2686
- *
2687
- * Emit it.
2688
- *
2689
- * @param {Object} value
2690
- */
2691
- Player.prototype._priv_onBitrateEstimateChange = function (_a) {
2692
- var type = _a.type, bitrate = _a.bitrate;
2693
- if (bitrate !== undefined) {
2694
- this._priv_bitrateInfos.lastBitrates[type] = bitrate;
2695
- }
2696
- this.trigger(
2697
- // !!! undocumented API :O !!!
2698
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2699
- "__priv_bitrateEstimateChange",
2700
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2701
- { type: type, bitrate: bitrate });
2702
- };
2703
- /**
2704
- * Triggered each time the player state updates.
2705
- *
2706
- * Trigger the right Player Event.
2707
- *
2708
- * @param {string} newState
2709
- */
2710
- Player.prototype._priv_setPlayerState = function (newState) {
2711
- if (this.state !== newState) {
2712
- this.state = newState;
2713
- log_1.default.info("API", "playerStateChange event", { newState: newState });
2714
- this.trigger("playerStateChange", newState);
2715
- }
2716
- };
2717
- /**
2718
- * Triggered each time a playback observation.
2719
- *
2720
- * Trigger the right Player Event
2721
- *
2722
- * @param {Object} contentInfos
2723
- * @param {Object} observation
2724
- */
2725
- Player.prototype._priv_triggerPositionUpdate = function (contentInfos, observation) {
2726
- var _a, _b;
2727
- if (contentInfos.contentId !== ((_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.contentId)) {
2728
- return; // Event for another content
2729
- }
2730
- var isDirectFile = contentInfos.isDirectFile, manifest = contentInfos.manifest;
2731
- if ((!isDirectFile && manifest === null) || (0, is_null_or_undefined_1.default)(observation)) {
2732
- return;
2733
- }
2734
- var maximumPosition = manifest !== null ? (0, manifest_1.getMaximumSafePosition)(manifest) : undefined;
2735
- var positionData = {
2736
- position: observation.position.getPolled(),
2737
- duration: observation.duration,
2738
- playbackRate: observation.playbackRate,
2739
- maximumPosition: maximumPosition,
2740
- // TODO bufferGap may be undefined
2741
- bufferGap: observation.bufferGap === undefined || !isFinite(observation.bufferGap)
2742
- ? 0
2743
- : observation.bufferGap,
2744
- };
2745
- if (manifest !== null && manifest.isLive && observation.position.getPolled() > 0) {
2746
- var ast = (_b = manifest.availabilityStartTime) !== null && _b !== void 0 ? _b : 0;
2747
- positionData.wallClockTime = observation.position.getPolled() + ast;
2748
- var livePosition = (0, manifest_1.getLivePosition)(manifest);
2749
- if (livePosition !== undefined) {
2750
- positionData.liveGap = livePosition - observation.position.getPolled();
2751
- }
2752
- }
2753
- else if (isDirectFile && this.videoElement !== null) {
2754
- var startDate = (0, get_start_date_1.default)(this.videoElement);
2755
- if (startDate !== undefined) {
2756
- positionData.wallClockTime = startDate + observation.position.getPolled();
2757
- }
2758
- }
2759
- this.trigger("positionUpdate", positionData);
2760
- };
2761
- /**
2762
- * @param {string} evt
2763
- * @param {*} arg
2764
- * @param {Object} currentContentCancelSignal
2765
- */
2766
- Player.prototype._priv_triggerEventIfNotStopped = function (evt, arg, currentContentCancelSignal) {
2767
- if (!currentContentCancelSignal.isCancelled()) {
2768
- this.trigger(evt, arg);
2769
- }
2770
- };
2771
- /**
2772
- * @param {Object} cancelSignal
2773
- * @returns {Object}
2774
- */
2775
- Player.prototype._priv_initializeMediaElementTracksStore = function (cancelSignal) {
2776
- var _this = this;
2777
- var _a, _b, _c;
2778
- (0, assert_1.default)(features_1.default.directfile !== null, "Initializing `MediaElementTracksStore` without Directfile feature");
2779
- (0, assert_1.default)(this.videoElement !== null, "Initializing `MediaElementTracksStore` on a disposed RxPlayer");
2780
- var mediaElementTracksStore = new features_1.default.directfile.mediaElementTracksStore(this.videoElement);
2781
- this._priv_triggerEventIfNotStopped("availableAudioTracksChange", mediaElementTracksStore.getAvailableAudioTracks(), cancelSignal);
2782
- this._priv_triggerEventIfNotStopped("availableVideoTracksChange", mediaElementTracksStore.getAvailableVideoTracks(), cancelSignal);
2783
- this._priv_triggerEventIfNotStopped("availableTextTracksChange", mediaElementTracksStore.getAvailableTextTracks(), cancelSignal);
2784
- this._priv_triggerEventIfNotStopped("audioTrackChange", (_a = mediaElementTracksStore.getChosenAudioTrack()) !== null && _a !== void 0 ? _a : null, cancelSignal);
2785
- this._priv_triggerEventIfNotStopped("textTrackChange", (_b = mediaElementTracksStore.getChosenTextTrack()) !== null && _b !== void 0 ? _b : null, cancelSignal);
2786
- this._priv_triggerEventIfNotStopped("videoTrackChange", (_c = mediaElementTracksStore.getChosenVideoTrack()) !== null && _c !== void 0 ? _c : null, cancelSignal);
2787
- mediaElementTracksStore.addEventListener("availableVideoTracksChange", function (val) {
2788
- return _this.trigger("availableVideoTracksChange", val);
2789
- });
2790
- mediaElementTracksStore.addEventListener("availableAudioTracksChange", function (val) {
2791
- return _this.trigger("availableAudioTracksChange", val);
2792
- });
2793
- mediaElementTracksStore.addEventListener("availableTextTracksChange", function (val) {
2794
- return _this.trigger("availableTextTracksChange", val);
2795
- });
2796
- mediaElementTracksStore.addEventListener("audioTrackChange", function (val) {
2797
- return _this.trigger("audioTrackChange", val);
2798
- });
2799
- mediaElementTracksStore.addEventListener("videoTrackChange", function (val) {
2800
- return _this.trigger("videoTrackChange", val);
2801
- });
2802
- mediaElementTracksStore.addEventListener("textTrackChange", function (val) {
2803
- return _this.trigger("textTrackChange", val);
2804
- });
2805
- return mediaElementTracksStore;
2806
- };
2807
- Player.prototype._priv_callTracksStoreGetterSetter = function (periodId, defaultValue, cb) {
2808
- var _a, _b;
2809
- if (this._priv_contentInfos === null ||
2810
- this._priv_contentInfos.tracksStore === null) {
2811
- log_1.default.warn("API", "Trying to call track API too soon");
2812
- return defaultValue;
2813
- }
2814
- var tracksStore = this._priv_contentInfos.tracksStore;
2815
- var currentPeriod = (_b = (_a = this._priv_contentInfos) === null || _a === void 0 ? void 0 : _a.currentPeriod) !== null && _b !== void 0 ? _b : undefined;
2816
- var wantedPeriodId = periodId !== null && periodId !== void 0 ? periodId : currentPeriod === null || currentPeriod === void 0 ? void 0 : currentPeriod.id;
2817
- if (wantedPeriodId === undefined) {
2818
- return defaultValue;
2819
- }
2820
- var periodRef = wantedPeriodId === (currentPeriod === null || currentPeriod === void 0 ? void 0 : currentPeriod.id)
2821
- ? tracksStore.getPeriodObjectFromPeriod(currentPeriod)
2822
- : tracksStore.getPeriodObjectFromId(wantedPeriodId);
2823
- if (periodRef === undefined) {
2824
- return defaultValue;
2825
- }
2826
- return cb(tracksStore, periodRef);
2827
- };
2828
- /**
2829
- * Method to call when some event lead to a high for possibility that the
2830
- * available tracks for the given type have changed.
2831
- * Send the corresponding `available*Tracks` change event with the last
2832
- * available tracks.
2833
- *
2834
- * @param {string} trackType
2835
- * @param {Object|undefined} [oPeriodRef] - optional period object used by the
2836
- * `tracksStore` API, allows to optimize the method by bypassing this step.
2837
- */
2838
- Player.prototype._priv_onAvailableTracksMayHaveChanged = function (trackType, oPeriodRef) {
2839
- var contentInfos = this._priv_contentInfos;
2840
- if (contentInfos === null) {
2841
- return;
2842
- }
2843
- var currentPeriod = contentInfos.currentPeriod, tracksStore = contentInfos.tracksStore, currentContentCanceller = contentInfos.currentContentCanceller;
2844
- var cancelSignal = currentContentCanceller.signal;
2845
- if ((0, is_null_or_undefined_1.default)(currentPeriod) || tracksStore === null) {
2846
- return;
2847
- }
2848
- var periodRef = oPeriodRef !== null && oPeriodRef !== void 0 ? oPeriodRef : tracksStore.getPeriodObjectFromPeriod(currentPeriod);
2849
- if (periodRef === undefined) {
2850
- return;
2851
- }
2852
- switch (trackType) {
2853
- case "video": {
2854
- var videoTracks = tracksStore.getAvailableVideoTracks(periodRef, true);
2855
- this._priv_triggerEventIfNotStopped("availableVideoTracksChange", videoTracks !== null && videoTracks !== void 0 ? videoTracks : [], cancelSignal);
2856
- break;
2857
- }
2858
- case "audio": {
2859
- var audioTracks = tracksStore.getAvailableAudioTracks(periodRef, true);
2860
- this._priv_triggerEventIfNotStopped("availableAudioTracksChange", audioTracks !== null && audioTracks !== void 0 ? audioTracks : [], cancelSignal);
2861
- break;
2862
- }
2863
- case "text": {
2864
- var textTracks = tracksStore.getAvailableTextTracks(periodRef);
2865
- this._priv_triggerEventIfNotStopped("availableTextTracksChange", textTracks !== null && textTracks !== void 0 ? textTracks : [], cancelSignal);
2866
- break;
2867
- }
2868
- default:
2869
- (0, assert_1.assertUnreachable)(trackType);
2870
- }
2871
- };
2872
- /**
2873
- * Method to call when a fatal error lead to the stopping of the current
2874
- * content.
2875
- *
2876
- * @param {*} err - The error encountered.
2877
- * @param {Object} contentInfos - The `IPublicApiContentInfos` object linked
2878
- * to the content for which the error was received.
2879
- */
2880
- Player.prototype._priv_onFatalError = function (err, contentInfos) {
2881
- var formattedError = (0, errors_1.formatError)(err, {
2882
- defaultCode: "NONE",
2883
- defaultReason: "An unknown error stopped content playback.",
2884
- });
2885
- formattedError.fatal = true;
2886
- contentInfos.currentContentCanceller.cancel();
2887
- this._priv_cleanUpCurrentContentState();
2888
- this._priv_currentError = formattedError;
2889
- log_1.default.error("API", "The player stopped because of an error", formattedError);
2890
- this._priv_setPlayerState("STOPPED" /* PLAYER_STATES.STOPPED */);
2891
- // TODO This condition is here because the eventual callback called when the
2892
- // player state is updated can launch a new content, thus the error will not
2893
- // be here anymore, in which case triggering the "error" event is unwanted.
2894
- // This is very ugly though, and we should probable have a better solution
2895
- if (this._priv_currentError === formattedError) {
2896
- this.trigger("error", formattedError);
2897
- }
2898
- };
2899
- /**
2900
- * Store all video elements currently in use by an RxPlayer instance.
2901
- * This is used to check that a video element is not shared between multiple instances.
2902
- * Use of a WeakSet ensure the object is garbage collected if it's not used anymore.
2903
- */
2904
- Player._priv_currentlyUsedVideoElements = new WeakSet();
2905
- return Player;
2906
- }(event_emitter_1.default));
2907
- Player.version = /* PLAYER_VERSION */ "4.4.1";
2908
- exports.default = Player;