rx-player 4.5.0-dev.2026012301 → 4.5.0-dev.2026012302
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.
- package/CHANGELOG.md +1 -1
- package/VERSION +1 -1
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.d.ts +4 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +1 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.js +6 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts +4 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts.map +1 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.js +6 -0
- package/dist/commonjs/__GENERATED_CODE/index.d.ts +3 -0
- package/dist/commonjs/__GENERATED_CODE/index.d.ts.map +1 -0
- package/dist/commonjs/__GENERATED_CODE/index.js +7 -0
- package/dist/commonjs/compat/add_class_name.d.ts +23 -0
- package/dist/commonjs/compat/add_class_name.d.ts.map +1 -0
- package/dist/commonjs/compat/add_class_name.js +39 -0
- package/dist/commonjs/compat/add_text_track.d.ts +32 -0
- package/dist/commonjs/compat/add_text_track.d.ts.map +1 -0
- package/dist/commonjs/compat/add_text_track.js +52 -0
- package/dist/commonjs/compat/browser_compatibility_types.d.ts +384 -0
- package/dist/commonjs/compat/browser_compatibility_types.d.ts.map +1 -0
- package/dist/commonjs/compat/browser_compatibility_types.js +47 -0
- package/dist/commonjs/compat/browser_version.d.ts +25 -0
- package/dist/commonjs/compat/browser_version.d.ts.map +1 -0
- package/dist/commonjs/compat/browser_version.js +43 -0
- package/dist/commonjs/compat/can_patch_isobmff.d.ts +26 -0
- package/dist/commonjs/compat/can_patch_isobmff.d.ts.map +1 -0
- package/dist/commonjs/compat/can_patch_isobmff.js +32 -0
- package/dist/commonjs/compat/can_preload_before_play.d.ts +11 -0
- package/dist/commonjs/compat/can_preload_before_play.d.ts.map +1 -0
- package/dist/commonjs/compat/can_preload_before_play.js +23 -0
- package/dist/commonjs/compat/can_rely_on_request_media_key_system_access.d.ts +41 -0
- package/dist/commonjs/compat/can_rely_on_request_media_key_system_access.d.ts.map +1 -0
- package/dist/commonjs/compat/can_rely_on_request_media_key_system_access.js +56 -0
- package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.d.ts +38 -0
- package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.d.ts.map +1 -0
- package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.js +52 -0
- package/dist/commonjs/compat/can_reuse_media_keys.d.ts +20 -0
- package/dist/commonjs/compat/can_reuse_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/can_reuse_media_keys.js +33 -0
- package/dist/commonjs/compat/change_source_buffer_type.d.ts +49 -0
- package/dist/commonjs/compat/change_source_buffer_type.d.ts.map +1 -0
- package/dist/commonjs/compat/change_source_buffer_type.js +40 -0
- package/dist/commonjs/compat/clear_element_src.d.ts +22 -0
- package/dist/commonjs/compat/clear_element_src.d.ts.map +1 -0
- package/dist/commonjs/compat/clear_element_src.js +56 -0
- package/dist/commonjs/compat/disable_remote_playback_on_managed_media_source.d.ts +18 -0
- package/dist/commonjs/compat/disable_remote_playback_on_managed_media_source.d.ts.map +1 -0
- package/dist/commonjs/compat/disable_remote_playback_on_managed_media_source.js +37 -0
- package/dist/commonjs/compat/eme/close_session.d.ts +31 -0
- package/dist/commonjs/compat/eme/close_session.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/close_session.js +169 -0
- package/dist/commonjs/compat/eme/constants.d.ts +17 -0
- package/dist/commonjs/compat/eme/constants.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/constants.js +22 -0
- package/dist/commonjs/compat/eme/custom_key_system_access.d.ts +50 -0
- package/dist/commonjs/compat/eme/custom_key_system_access.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_key_system_access.js +49 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.d.ts +32 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.js +181 -0
- package/dist/commonjs/compat/eme/custom_media_keys/index.d.ts +7 -0
- package/dist/commonjs/compat/eme/custom_media_keys/index.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/index.js +16 -0
- package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +28 -0
- package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.js +61 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts +44 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ms_media_keys_constructor.js +28 -0
- package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts +42 -0
- package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.js +195 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.d.ts +33 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.js +233 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts +23 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.js +30 -0
- package/dist/commonjs/compat/eme/eme-api-implementation.d.ts +78 -0
- package/dist/commonjs/compat/eme/eme-api-implementation.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/eme-api-implementation.js +241 -0
- package/dist/commonjs/compat/eme/generate_key_request.d.ts +55 -0
- package/dist/commonjs/compat/eme/generate_key_request.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/generate_key_request.js +148 -0
- package/dist/commonjs/compat/eme/get_init_data.d.ts +60 -0
- package/dist/commonjs/compat/eme/get_init_data.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/get_init_data.js +113 -0
- package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts +24 -0
- package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.js +36 -0
- package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.d.ts +26 -0
- package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.js +57 -0
- package/dist/commonjs/compat/eme/index.d.ts +26 -0
- package/dist/commonjs/compat/eme/index.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/index.js +28 -0
- package/dist/commonjs/compat/eme/load_session.d.ts +31 -0
- package/dist/commonjs/compat/eme/load_session.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/load_session.js +102 -0
- package/dist/commonjs/compat/eme/set_media_keys.d.ts +10 -0
- package/dist/commonjs/compat/eme/set_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/set_media_keys.js +36 -0
- package/dist/commonjs/compat/enable_audio_track.d.ts +12 -0
- package/dist/commonjs/compat/enable_audio_track.d.ts.map +1 -0
- package/dist/commonjs/compat/enable_audio_track.js +29 -0
- package/dist/commonjs/compat/env_detector.d.ts +100 -0
- package/dist/commonjs/compat/env_detector.d.ts.map +1 -0
- package/dist/commonjs/compat/env_detector.js +189 -0
- package/dist/commonjs/compat/event_listeners.d.ts +175 -0
- package/dist/commonjs/compat/event_listeners.d.ts.map +1 -0
- package/dist/commonjs/compat/event_listeners.js +437 -0
- package/dist/commonjs/compat/generate_init_data.d.ts +14 -0
- package/dist/commonjs/compat/generate_init_data.d.ts.map +1 -0
- package/dist/commonjs/compat/generate_init_data.js +60 -0
- package/dist/commonjs/compat/get_start_date.d.ts +32 -0
- package/dist/commonjs/compat/get_start_date.d.ts.map +1 -0
- package/dist/commonjs/compat/get_start_date.js +47 -0
- package/dist/commonjs/compat/has_issues_with_high_media_source_duration.d.ts +22 -0
- package/dist/commonjs/compat/has_issues_with_high_media_source_duration.d.ts.map +1 -0
- package/dist/commonjs/compat/has_issues_with_high_media_source_duration.js +32 -0
- package/dist/commonjs/compat/has_mse_in_worker.d.ts +3 -0
- package/dist/commonjs/compat/has_mse_in_worker.d.ts.map +1 -0
- package/dist/commonjs/compat/has_mse_in_worker.js +6 -0
- package/dist/commonjs/compat/has_webassembly.d.ts +7 -0
- package/dist/commonjs/compat/has_webassembly.d.ts.map +1 -0
- package/dist/commonjs/compat/has_webassembly.js +8 -0
- package/dist/commonjs/compat/has_worker_api.d.ts +10 -0
- package/dist/commonjs/compat/has_worker_api.d.ts.map +1 -0
- package/dist/commonjs/compat/has_worker_api.js +17 -0
- package/dist/commonjs/compat/is_codec_supported.d.ts +28 -0
- package/dist/commonjs/compat/is_codec_supported.d.ts.map +1 -0
- package/dist/commonjs/compat/is_codec_supported.js +70 -0
- package/dist/commonjs/compat/is_seeking_approximate.d.ts +29 -0
- package/dist/commonjs/compat/is_seeking_approximate.d.ts.map +1 -0
- package/dist/commonjs/compat/is_seeking_approximate.js +36 -0
- package/dist/commonjs/compat/is_vtt_cue.d.ts +23 -0
- package/dist/commonjs/compat/is_vtt_cue.d.ts.map +1 -0
- package/dist/commonjs/compat/is_vtt_cue.js +27 -0
- package/dist/commonjs/compat/make_vtt_cue.d.ts +27 -0
- package/dist/commonjs/compat/make_vtt_cue.d.ts.map +1 -0
- package/dist/commonjs/compat/make_vtt_cue.js +47 -0
- package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.d.ts +17 -0
- package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.d.ts.map +1 -0
- package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.js +25 -0
- package/dist/commonjs/compat/on_height_width_change.d.ts +34 -0
- package/dist/commonjs/compat/on_height_width_change.d.ts.map +1 -0
- package/dist/commonjs/compat/on_height_width_change.js +75 -0
- package/dist/commonjs/compat/patch_webkit_source_buffer.d.ts +17 -0
- package/dist/commonjs/compat/patch_webkit_source_buffer.d.ts.map +1 -0
- package/dist/commonjs/compat/patch_webkit_source_buffer.js +65 -0
- package/dist/commonjs/compat/remove_cue.d.ts +23 -0
- package/dist/commonjs/compat/remove_cue.d.ts.map +1 -0
- package/dist/commonjs/compat/remove_cue.js +66 -0
- package/dist/commonjs/compat/reset_media_element.d.ts +26 -0
- package/dist/commonjs/compat/reset_media_element.d.ts.map +1 -0
- package/dist/commonjs/compat/reset_media_element.js +43 -0
- package/dist/commonjs/compat/should_await_set_media_keys.d.ts +17 -0
- package/dist/commonjs/compat/should_await_set_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/should_await_set_media_keys.js +27 -0
- package/dist/commonjs/compat/should_favour_custom_safari_EME.d.ts +24 -0
- package/dist/commonjs/compat/should_favour_custom_safari_EME.d.ts.map +1 -0
- package/dist/commonjs/compat/should_favour_custom_safari_EME.js +37 -0
- package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.d.ts +27 -0
- package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.d.ts.map +1 -0
- package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.js +35 -0
- package/dist/commonjs/compat/should_renew_media_key_system_access.d.ts +22 -0
- package/dist/commonjs/compat/should_renew_media_key_system_access.d.ts.map +1 -0
- package/dist/commonjs/compat/should_renew_media_key_system_access.js +35 -0
- package/dist/commonjs/compat/should_unset_media_keys.d.ts +23 -0
- package/dist/commonjs/compat/should_unset_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/should_unset_media_keys.js +30 -0
- package/dist/commonjs/compat/should_validate_metadata.d.ts +23 -0
- package/dist/commonjs/compat/should_validate_metadata.d.ts.map +1 -0
- package/dist/commonjs/compat/should_validate_metadata.js +30 -0
- package/dist/commonjs/compat/should_wait_for_data_before_loaded.d.ts +25 -0
- package/dist/commonjs/compat/should_wait_for_data_before_loaded.d.ts.map +1 -0
- package/dist/commonjs/compat/should_wait_for_data_before_loaded.js +42 -0
- package/dist/commonjs/compat/should_wait_for_have_enough_data.d.ts +14 -0
- package/dist/commonjs/compat/should_wait_for_have_enough_data.d.ts.map +1 -0
- package/dist/commonjs/compat/should_wait_for_have_enough_data.js +22 -0
- package/dist/commonjs/config.d.ts +21 -0
- package/dist/commonjs/config.d.ts.map +1 -0
- package/dist/commonjs/config.js +73 -0
- package/dist/commonjs/core/adaptive/adaptive_representation_selector.d.ts +294 -0
- package/dist/commonjs/core/adaptive/adaptive_representation_selector.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/adaptive_representation_selector.js +411 -0
- package/dist/commonjs/core/adaptive/buffer_based_chooser.d.ts +90 -0
- package/dist/commonjs/core/adaptive/buffer_based_chooser.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/buffer_based_chooser.js +202 -0
- package/dist/commonjs/core/adaptive/guess_based_chooser.d.ts +96 -0
- package/dist/commonjs/core/adaptive/guess_based_chooser.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/guess_based_chooser.js +272 -0
- package/dist/commonjs/core/adaptive/index.d.ts +20 -0
- package/dist/commonjs/core/adaptive/index.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/index.js +19 -0
- package/dist/commonjs/core/adaptive/network_analyzer.d.ts +74 -0
- package/dist/commonjs/core/adaptive/network_analyzer.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/network_analyzer.js +355 -0
- package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.d.ts +48 -0
- package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.js +72 -0
- package/dist/commonjs/core/adaptive/utils/ewma.d.ts +40 -0
- package/dist/commonjs/core/adaptive/utils/ewma.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/ewma.js +53 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.d.ts +26 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.js +40 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_resolution.d.ts +32 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_resolution.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_resolution.js +51 -0
- package/dist/commonjs/core/adaptive/utils/get_buffer_levels.d.ts +25 -0
- package/dist/commonjs/core/adaptive/utils/get_buffer_levels.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/get_buffer_levels.js +53 -0
- package/dist/commonjs/core/adaptive/utils/last_estimate_storage.d.ts +62 -0
- package/dist/commonjs/core/adaptive/utils/last_estimate_storage.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/last_estimate_storage.js +39 -0
- package/dist/commonjs/core/adaptive/utils/pending_requests_store.d.ts +111 -0
- package/dist/commonjs/core/adaptive/utils/pending_requests_store.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/pending_requests_store.js +79 -0
- package/dist/commonjs/core/adaptive/utils/representation_score_calculator.d.ts +105 -0
- package/dist/commonjs/core/adaptive/utils/representation_score_calculator.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/representation_score_calculator.js +121 -0
- package/dist/commonjs/core/adaptive/utils/select_optimal_representation.d.ts +28 -0
- package/dist/commonjs/core/adaptive/utils/select_optimal_representation.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/select_optimal_representation.js +39 -0
- package/dist/commonjs/core/cmcd/cmcd_data_builder.d.ts +133 -0
- package/dist/commonjs/core/cmcd/cmcd_data_builder.d.ts.map +1 -0
- package/dist/commonjs/core/cmcd/cmcd_data_builder.js +368 -0
- package/dist/commonjs/core/cmcd/index.d.ts +4 -0
- package/dist/commonjs/core/cmcd/index.d.ts.map +1 -0
- package/dist/commonjs/core/cmcd/index.js +4 -0
- package/dist/commonjs/core/entry/FreezeResolver.d.ts +176 -0
- package/dist/commonjs/core/entry/FreezeResolver.d.ts.map +1 -0
- package/dist/commonjs/core/entry/FreezeResolver.js +455 -0
- package/dist/commonjs/core/entry/content_preparer.d.ts +194 -0
- package/dist/commonjs/core/entry/content_preparer.d.ts.map +1 -0
- package/dist/commonjs/core/entry/content_preparer.js +457 -0
- package/dist/commonjs/core/entry/content_time_boundaries_observer.d.ts +195 -0
- package/dist/commonjs/core/entry/content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/commonjs/core/entry/content_time_boundaries_observer.js +561 -0
- package/dist/commonjs/core/entry/core_entry.d.ts +39 -0
- package/dist/commonjs/core/entry/core_entry.d.ts.map +1 -0
- package/dist/commonjs/core/entry/core_entry.js +1002 -0
- package/dist/commonjs/core/entry/core_text_displayer_interface.d.ts +65 -0
- package/dist/commonjs/core/entry/core_text_displayer_interface.d.ts.map +1 -0
- package/dist/commonjs/core/entry/core_text_displayer_interface.js +126 -0
- package/dist/commonjs/core/entry/create_content_time_boundaries_observer.d.ts +28 -0
- package/dist/commonjs/core/entry/create_content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/commonjs/core/entry/create_content_time_boundaries_observer.js +48 -0
- package/dist/commonjs/core/entry/get_buffered_data_per_media_buffer.d.ts +15 -0
- package/dist/commonjs/core/entry/get_buffered_data_per_media_buffer.d.ts.map +1 -0
- package/dist/commonjs/core/entry/get_buffered_data_per_media_buffer.js +37 -0
- package/dist/commonjs/core/entry/get_thumbnail_data.d.ts +13 -0
- package/dist/commonjs/core/entry/get_thumbnail_data.d.ts.map +1 -0
- package/dist/commonjs/core/entry/get_thumbnail_data.js +71 -0
- package/dist/commonjs/core/entry/index.d.ts +6 -0
- package/dist/commonjs/core/entry/index.d.ts.map +1 -0
- package/dist/commonjs/core/entry/index.js +4 -0
- package/dist/commonjs/core/entry/synchronize_sinks_on_observation.d.ts +11 -0
- package/dist/commonjs/core/entry/synchronize_sinks_on_observation.d.ts.map +1 -0
- package/dist/commonjs/core/entry/synchronize_sinks_on_observation.js +20 -0
- package/dist/commonjs/core/entry/track_choice_setter.d.ts +20 -0
- package/dist/commonjs/core/entry/track_choice_setter.d.ts.map +1 -0
- package/dist/commonjs/core/entry/track_choice_setter.js +152 -0
- package/dist/commonjs/core/entry/utils.d.ts +3 -0
- package/dist/commonjs/core/entry/utils.d.ts.map +1 -0
- package/dist/commonjs/core/entry/utils.js +11 -0
- package/dist/commonjs/core/fetchers/cdn_prioritizer.d.ts +108 -0
- package/dist/commonjs/core/fetchers/cdn_prioritizer.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/cdn_prioritizer.js +215 -0
- package/dist/commonjs/core/fetchers/index.d.ts +25 -0
- package/dist/commonjs/core/fetchers/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/index.js +26 -0
- package/dist/commonjs/core/fetchers/manifest/index.d.ts +20 -0
- package/dist/commonjs/core/fetchers/manifest/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/manifest/index.js +19 -0
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.d.ts +239 -0
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.js +660 -0
- package/dist/commonjs/core/fetchers/segment/index.d.ts +22 -0
- package/dist/commonjs/core/fetchers/segment/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/index.js +19 -0
- package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.d.ts +43 -0
- package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.js +53 -0
- package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.d.ts +40 -0
- package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.js +70 -0
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts +200 -0
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.js +330 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue.d.ts +242 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue.js +457 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue_creator.d.ts +98 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue_creator.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue_creator.js +77 -0
- package/dist/commonjs/core/fetchers/segment/task_prioritizer.d.ts +155 -0
- package/dist/commonjs/core/fetchers/segment/task_prioritizer.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/task_prioritizer.js +381 -0
- package/dist/commonjs/core/fetchers/thumbnails/index.d.ts +5 -0
- package/dist/commonjs/core/fetchers/thumbnails/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/thumbnails/index.js +4 -0
- package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.d.ts +79 -0
- package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.js +259 -0
- package/dist/commonjs/core/fetchers/utils/error_selector.d.ts +23 -0
- package/dist/commonjs/core/fetchers/utils/error_selector.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/utils/error_selector.js +34 -0
- package/dist/commonjs/core/fetchers/utils/schedule_request.d.ts +99 -0
- package/dist/commonjs/core/fetchers/utils/schedule_request.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/utils/schedule_request.js +391 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.d.ts +44 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.js +253 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts +136 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.js +362 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.d.ts +18 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.js +19 -0
- package/dist/commonjs/core/segment_sinks/implementations/index.d.ts +21 -0
- package/dist/commonjs/core/segment_sinks/implementations/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/index.js +35 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/index.d.ts +5 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/index.js +4 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_sink.d.ts +101 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_sink.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_sink.js +291 -0
- package/dist/commonjs/core/segment_sinks/implementations/types.d.ts +311 -0
- package/dist/commonjs/core/segment_sinks/implementations/types.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/types.js +117 -0
- package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts +30 -0
- package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.js +67 -0
- package/dist/commonjs/core/segment_sinks/index.d.ts +25 -0
- package/dist/commonjs/core/segment_sinks/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/index.js +28 -0
- package/dist/commonjs/core/segment_sinks/inventory/buffered_history.d.ts +90 -0
- package/dist/commonjs/core/segment_sinks/inventory/buffered_history.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/buffered_history.js +114 -0
- package/dist/commonjs/core/segment_sinks/inventory/index.d.ts +24 -0
- package/dist/commonjs/core/segment_sinks/inventory/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/index.js +23 -0
- package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.d.ts +240 -0
- package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.js +1124 -0
- package/dist/commonjs/core/segment_sinks/inventory/types.d.ts +33 -0
- package/dist/commonjs/core/segment_sinks/inventory/types.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/types.js +17 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.d.ts +34 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.js +74 -0
- package/dist/commonjs/core/segment_sinks/segment_sinks_store.d.ts +204 -0
- package/dist/commonjs/core/segment_sinks/segment_sinks_store.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/segment_sinks_store.js +369 -0
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts +34 -0
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.js +592 -0
- package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.d.ts +54 -0
- package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.js +147 -0
- package/dist/commonjs/core/stream/adaptation/index.d.ts +19 -0
- package/dist/commonjs/core/stream/adaptation/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/index.js +19 -0
- package/dist/commonjs/core/stream/adaptation/types.d.ts +200 -0
- package/dist/commonjs/core/stream/adaptation/types.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/types.js +2 -0
- package/dist/commonjs/core/stream/index.d.ts +23 -0
- package/dist/commonjs/core/stream/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/index.js +19 -0
- package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.d.ts +31 -0
- package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.d.ts.map +1 -0
- package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.js +119 -0
- package/dist/commonjs/core/stream/orchestrator/index.d.ts +20 -0
- package/dist/commonjs/core/stream/orchestrator/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/orchestrator/index.js +19 -0
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.d.ts +176 -0
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.d.ts.map +1 -0
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.js +676 -0
- package/dist/commonjs/core/stream/period/index.d.ts +19 -0
- package/dist/commonjs/core/stream/period/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/index.js +19 -0
- package/dist/commonjs/core/stream/period/period_stream.d.ts +50 -0
- package/dist/commonjs/core/stream/period/period_stream.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/period_stream.js +545 -0
- package/dist/commonjs/core/stream/period/types.d.ts +120 -0
- package/dist/commonjs/core/stream/period/types.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/types.js +2 -0
- package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +68 -0
- package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.js +167 -0
- package/dist/commonjs/core/stream/representation/index.d.ts +19 -0
- package/dist/commonjs/core/stream/representation/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/index.js +19 -0
- package/dist/commonjs/core/stream/representation/representation_stream.d.ts +54 -0
- package/dist/commonjs/core/stream/representation/representation_stream.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/representation_stream.js +421 -0
- package/dist/commonjs/core/stream/representation/types.d.ts +319 -0
- package/dist/commonjs/core/stream/representation/types.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/types.js +2 -0
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.d.ts +36 -0
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.js +137 -0
- package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.d.ts +54 -0
- package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.js +248 -0
- package/dist/commonjs/core/stream/representation/utils/get_buffer_status.d.ts +73 -0
- package/dist/commonjs/core/stream/representation/utils/get_buffer_status.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/get_buffer_status.js +228 -0
- package/dist/commonjs/core/stream/representation/utils/get_needed_segments.d.ts +92 -0
- package/dist/commonjs/core/stream/representation/utils/get_needed_segments.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/get_needed_segments.js +480 -0
- package/dist/commonjs/core/stream/representation/utils/get_segment_priority.d.ts +29 -0
- package/dist/commonjs/core/stream/representation/utils/get_segment_priority.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/get_segment_priority.js +41 -0
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.d.ts +42 -0
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.js +86 -0
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.d.ts +43 -0
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.js +110 -0
- package/dist/commonjs/core/types.d.ts +538 -0
- package/dist/commonjs/core/types.d.ts.map +1 -0
- package/dist/commonjs/core/types.js +3 -0
- package/dist/commonjs/default_config.d.ts +1200 -0
- package/dist/commonjs/default_config.d.ts.map +1 -0
- package/dist/commonjs/default_config.js +1236 -0
- package/dist/commonjs/errors/custom_loader_error.d.ts +36 -0
- package/dist/commonjs/errors/custom_loader_error.d.ts.map +1 -0
- package/dist/commonjs/errors/custom_loader_error.js +60 -0
- package/dist/commonjs/errors/encrypted_media_error.d.ts +72 -0
- package/dist/commonjs/errors/encrypted_media_error.d.ts.map +1 -0
- package/dist/commonjs/errors/encrypted_media_error.js +76 -0
- package/dist/commonjs/errors/error_codes.d.ts +33 -0
- package/dist/commonjs/errors/error_codes.d.ts.map +1 -0
- package/dist/commonjs/errors/error_codes.js +72 -0
- package/dist/commonjs/errors/error_message.d.ts +23 -0
- package/dist/commonjs/errors/error_message.d.ts.map +1 -0
- package/dist/commonjs/errors/error_message.js +27 -0
- package/dist/commonjs/errors/format_error.d.ts +21 -0
- package/dist/commonjs/errors/format_error.d.ts.map +1 -0
- package/dist/commonjs/errors/format_error.js +33 -0
- package/dist/commonjs/errors/index.d.ts +32 -0
- package/dist/commonjs/errors/index.d.ts.map +1 -0
- package/dist/commonjs/errors/index.js +38 -0
- package/dist/commonjs/errors/is_known_error.d.ts +23 -0
- package/dist/commonjs/errors/is_known_error.d.ts.map +1 -0
- package/dist/commonjs/errors/is_known_error.js +35 -0
- package/dist/commonjs/errors/media_error.d.ts +60 -0
- package/dist/commonjs/errors/media_error.d.ts.map +1 -0
- package/dist/commonjs/errors/media_error.js +74 -0
- package/dist/commonjs/errors/network_error.d.ts +59 -0
- package/dist/commonjs/errors/network_error.d.ts.map +1 -0
- package/dist/commonjs/errors/network_error.js +86 -0
- package/dist/commonjs/errors/other_error.d.ts +47 -0
- package/dist/commonjs/errors/other_error.d.ts.map +1 -0
- package/dist/commonjs/errors/other_error.js +72 -0
- package/dist/commonjs/errors/source_buffer_error.d.ts +40 -0
- package/dist/commonjs/errors/source_buffer_error.d.ts.map +1 -0
- package/dist/commonjs/errors/source_buffer_error.js +63 -0
- package/dist/commonjs/errors/worker_initialization_error.d.ts +19 -0
- package/dist/commonjs/errors/worker_initialization_error.d.ts.map +1 -0
- package/dist/commonjs/errors/worker_initialization_error.js +42 -0
- package/dist/commonjs/experimental/features/index.d.ts +19 -0
- package/dist/commonjs/experimental/features/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/index.js +24 -0
- package/dist/commonjs/experimental/features/local.d.ts +20 -0
- package/dist/commonjs/experimental/features/local.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/local.js +31 -0
- package/dist/commonjs/experimental/features/metaplaylist.d.ts +20 -0
- package/dist/commonjs/experimental/features/metaplaylist.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/metaplaylist.js +31 -0
- package/dist/commonjs/experimental/features/multi_thread.d.ts +9 -0
- package/dist/commonjs/experimental/features/multi_thread.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/multi_thread.js +16 -0
- package/dist/commonjs/experimental/features/worker/index.d.ts +3 -0
- package/dist/commonjs/experimental/features/worker/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/worker/index.js +10 -0
- package/dist/commonjs/experimental/index.d.ts +3 -0
- package/dist/commonjs/experimental/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/index.js +5 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/eme.d.ts +225 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/eme.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/eme.js +879 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/html5.d.ts +376 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/html5.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/html5.js +970 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/index.d.ts +3 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/index.js +4 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/mse.d.ts +217 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/mse.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/mse.js +702 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/utils.d.ts +33 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/utils.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/utils.js +510 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +18 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.js +23 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +18 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.js +23 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.d.ts +19 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.js +22 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +27 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.js +63 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +27 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.js +75 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +30 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.js +43 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.d.ts +26 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.js +17 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +55 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +385 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts +25 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.js +50 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts +24 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.js +163 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/index.d.ts +31 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/index.js +53 -0
- package/dist/commonjs/experimental/tools/index.d.ts +20 -0
- package/dist/commonjs/experimental/tools/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/index.js +24 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api.d.ts +73 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api.js +286 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.d.ts +19 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.js +19 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.d.ts +19 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.js +20 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +21 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.js +112 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +22 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.js +117 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts +30 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +97 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts +24 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.js +184 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +22 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.js +52 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +22 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.js +39 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.d.ts +56 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.js +17 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.d.ts +35 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.js +104 -0
- package/dist/commonjs/features/add_features.d.ts +21 -0
- package/dist/commonjs/features/add_features.d.ts.map +1 -0
- package/dist/commonjs/features/add_features.js +59 -0
- package/dist/commonjs/features/features_object.d.ts +23 -0
- package/dist/commonjs/features/features_object.d.ts.map +1 -0
- package/dist/commonjs/features/features_object.js +35 -0
- package/dist/commonjs/features/index.d.ts +36 -0
- package/dist/commonjs/features/index.d.ts.map +1 -0
- package/dist/commonjs/features/index.js +36 -0
- package/dist/commonjs/features/list/dash.d.ts +24 -0
- package/dist/commonjs/features/list/dash.d.ts.map +1 -0
- package/dist/commonjs/features/list/dash.js +39 -0
- package/dist/commonjs/features/list/dash_wasm.d.ts +24 -0
- package/dist/commonjs/features/list/dash_wasm.d.ts.map +1 -0
- package/dist/commonjs/features/list/dash_wasm.js +42 -0
- package/dist/commonjs/features/list/debug_element.d.ts +9 -0
- package/dist/commonjs/features/list/debug_element.d.ts.map +1 -0
- package/dist/commonjs/features/list/debug_element.js +12 -0
- package/dist/commonjs/features/list/directfile.d.ts +25 -0
- package/dist/commonjs/features/list/directfile.d.ts.map +1 -0
- package/dist/commonjs/features/list/directfile.js +29 -0
- package/dist/commonjs/features/list/eme.d.ts +24 -0
- package/dist/commonjs/features/list/eme.d.ts.map +1 -0
- package/dist/commonjs/features/list/eme.js +27 -0
- package/dist/commonjs/features/list/html_sami_parser.d.ts +24 -0
- package/dist/commonjs/features/list/html_sami_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_sami_parser.js +29 -0
- package/dist/commonjs/features/list/html_srt_parser.d.ts +24 -0
- package/dist/commonjs/features/list/html_srt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_srt_parser.js +29 -0
- package/dist/commonjs/features/list/html_text_buffer.d.ts +24 -0
- package/dist/commonjs/features/list/html_text_buffer.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_text_buffer.js +27 -0
- package/dist/commonjs/features/list/html_ttml_parser.d.ts +24 -0
- package/dist/commonjs/features/list/html_ttml_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_ttml_parser.js +29 -0
- package/dist/commonjs/features/list/html_vtt_parser.d.ts +24 -0
- package/dist/commonjs/features/list/html_vtt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_vtt_parser.js +30 -0
- package/dist/commonjs/features/list/index.d.ts +33 -0
- package/dist/commonjs/features/list/index.d.ts.map +1 -0
- package/dist/commonjs/features/list/index.js +52 -0
- package/dist/commonjs/features/list/media_source_main.d.ts +9 -0
- package/dist/commonjs/features/list/media_source_main.d.ts.map +1 -0
- package/dist/commonjs/features/list/media_source_main.js +18 -0
- package/dist/commonjs/features/list/native_sami_parser.d.ts +24 -0
- package/dist/commonjs/features/list/native_sami_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_sami_parser.js +29 -0
- package/dist/commonjs/features/list/native_srt_parser.d.ts +24 -0
- package/dist/commonjs/features/list/native_srt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_srt_parser.js +29 -0
- package/dist/commonjs/features/list/native_text_buffer.d.ts +24 -0
- package/dist/commonjs/features/list/native_text_buffer.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_text_buffer.js +27 -0
- package/dist/commonjs/features/list/native_ttml_parser.d.ts +24 -0
- package/dist/commonjs/features/list/native_ttml_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_ttml_parser.js +29 -0
- package/dist/commonjs/features/list/native_vtt_parser.d.ts +24 -0
- package/dist/commonjs/features/list/native_vtt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_vtt_parser.js +30 -0
- package/dist/commonjs/features/list/smooth.d.ts +24 -0
- package/dist/commonjs/features/list/smooth.d.ts.map +1 -0
- package/dist/commonjs/features/list/smooth.js +37 -0
- package/dist/commonjs/features/types.d.ts +162 -0
- package/dist/commonjs/features/types.d.ts.map +1 -0
- package/dist/commonjs/features/types.js +17 -0
- package/dist/commonjs/importable_worker.d.ts +25 -0
- package/dist/commonjs/importable_worker.d.ts.map +1 -0
- package/dist/commonjs/importable_worker.js +159 -0
- package/dist/commonjs/index.d.ts +18 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +44 -0
- package/dist/commonjs/initialize_worker.d.ts +10 -0
- package/dist/commonjs/initialize_worker.d.ts.map +1 -0
- package/dist/commonjs/initialize_worker.js +73 -0
- package/dist/commonjs/log.d.ts +19 -0
- package/dist/commonjs/log.d.ts.map +1 -0
- package/dist/commonjs/log.js +21 -0
- package/dist/commonjs/main_thread/api/debug/buffer_graph.d.ts +29 -0
- package/dist/commonjs/main_thread/api/debug/buffer_graph.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/buffer_graph.js +213 -0
- package/dist/commonjs/main_thread/api/debug/buffer_size_graph.d.ts +11 -0
- package/dist/commonjs/main_thread/api/debug/buffer_size_graph.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/buffer_size_graph.js +131 -0
- package/dist/commonjs/main_thread/api/debug/constants.d.ts +3 -0
- package/dist/commonjs/main_thread/api/debug/constants.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/constants.js +5 -0
- package/dist/commonjs/main_thread/api/debug/index.d.ts +3 -0
- package/dist/commonjs/main_thread/api/debug/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/index.js +4 -0
- package/dist/commonjs/main_thread/api/debug/modules/general_info.d.ts +4 -0
- package/dist/commonjs/main_thread/api/debug/modules/general_info.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/modules/general_info.js +236 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.d.ts +5 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.js +194 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.d.ts +4 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.js +38 -0
- package/dist/commonjs/main_thread/api/debug/render.d.ts +4 -0
- package/dist/commonjs/main_thread/api/debug/render.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/render.js +35 -0
- package/dist/commonjs/main_thread/api/debug/utils.d.ts +40 -0
- package/dist/commonjs/main_thread/api/debug/utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/utils.js +85 -0
- package/dist/commonjs/main_thread/api/index.d.ts +18 -0
- package/dist/commonjs/main_thread/api/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/index.js +19 -0
- package/dist/commonjs/main_thread/api/option_utils.d.ts +172 -0
- package/dist/commonjs/main_thread/api/option_utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/option_utils.js +384 -0
- package/dist/commonjs/main_thread/api/public_api.d.ts +1046 -0
- package/dist/commonjs/main_thread/api/public_api.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/public_api.js +3094 -0
- package/dist/commonjs/main_thread/api/utils.d.ts +67 -0
- package/dist/commonjs/main_thread/api/utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/utils.js +186 -0
- package/dist/commonjs/main_thread/core_interface/base.d.ts +13 -0
- package/dist/commonjs/main_thread/core_interface/base.d.ts.map +1 -0
- package/dist/commonjs/main_thread/core_interface/base.js +32 -0
- package/dist/commonjs/main_thread/core_interface/monothread.d.ts +13 -0
- package/dist/commonjs/main_thread/core_interface/monothread.d.ts.map +1 -0
- package/dist/commonjs/main_thread/core_interface/monothread.js +56 -0
- package/dist/commonjs/main_thread/core_interface/multithread.d.ts +25 -0
- package/dist/commonjs/main_thread/core_interface/multithread.d.ts.map +1 -0
- package/dist/commonjs/main_thread/core_interface/multithread.js +67 -0
- package/dist/commonjs/main_thread/core_interface/types.d.ts +6 -0
- package/dist/commonjs/main_thread/core_interface/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/core_interface/types.js +2 -0
- package/dist/commonjs/main_thread/decrypt/clear_on_stop.d.ts +24 -0
- package/dist/commonjs/main_thread/decrypt/clear_on_stop.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/clear_on_stop.js +91 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.d.ts +240 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.js +1172 -0
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.d.ts +65 -0
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.js +140 -0
- package/dist/commonjs/main_thread/decrypt/create_session.d.ts +55 -0
- package/dist/commonjs/main_thread/decrypt/create_session.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/create_session.js +217 -0
- package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.d.ts +23 -0
- package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.js +67 -0
- package/dist/commonjs/main_thread/decrypt/find_key_system.d.ts +86 -0
- package/dist/commonjs/main_thread/decrypt/find_key_system.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/find_key_system.js +594 -0
- package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.d.ts +24 -0
- package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.js +35 -0
- package/dist/commonjs/main_thread/decrypt/get_media_keys.d.ts +55 -0
- package/dist/commonjs/main_thread/decrypt/get_media_keys.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/get_media_keys.js +178 -0
- package/dist/commonjs/main_thread/decrypt/index.d.ts +27 -0
- package/dist/commonjs/main_thread/decrypt/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/index.js +45 -0
- package/dist/commonjs/main_thread/decrypt/init_media_keys.d.ts +30 -0
- package/dist/commonjs/main_thread/decrypt/init_media_keys.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/init_media_keys.js +88 -0
- package/dist/commonjs/main_thread/decrypt/session_events_listener.d.ts +77 -0
- package/dist/commonjs/main_thread/decrypt/session_events_listener.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/session_events_listener.js +364 -0
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.d.ts +58 -0
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.js +158 -0
- package/dist/commonjs/main_thread/decrypt/types.d.ts +380 -0
- package/dist/commonjs/main_thread/decrypt/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/types.js +58 -0
- package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.d.ts +35 -0
- package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.js +144 -0
- package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.d.ts +54 -0
- package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.js +228 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts +27 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.js +92 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts +33 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_stored_persistent_info.js +46 -0
- package/dist/commonjs/main_thread/decrypt/utils/get_drm_system_id.d.ts +21 -0
- package/dist/commonjs/main_thread/decrypt/utils/get_drm_system_id.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/get_drm_system_id.js +40 -0
- package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.d.ts +70 -0
- package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.js +137 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts +14 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_compatible_codec_supported.js +53 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.d.ts +25 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.js +57 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.d.ts +32 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.js +95 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_session_record.d.ts +105 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_session_record.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_session_record.js +189 -0
- package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.d.ts +214 -0
- package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.js +535 -0
- package/dist/commonjs/main_thread/decrypt/utils/media_keys_attacher.d.ts +85 -0
- package/dist/commonjs/main_thread/decrypt/utils/media_keys_attacher.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/media_keys_attacher.js +286 -0
- package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.d.ts +93 -0
- package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.js +404 -0
- package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.d.ts +45 -0
- package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.js +50 -0
- package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.d.ts +65 -0
- package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.js +123 -0
- package/dist/commonjs/main_thread/init/directfile_content_initializer.d.ts +116 -0
- package/dist/commonjs/main_thread/init/directfile_content_initializer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/directfile_content_initializer.js +301 -0
- package/dist/commonjs/main_thread/init/index.d.ts +18 -0
- package/dist/commonjs/main_thread/init/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/index.js +20 -0
- package/dist/commonjs/main_thread/init/media_source_content_initializer.d.ts +330 -0
- package/dist/commonjs/main_thread/init/media_source_content_initializer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/media_source_content_initializer.js +1724 -0
- package/dist/commonjs/main_thread/init/types.d.ts +240 -0
- package/dist/commonjs/main_thread/init/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/types.js +53 -0
- package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.d.ts +96 -0
- package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.js +113 -0
- package/dist/commonjs/main_thread/init/utils/get_initial_time.d.ts +77 -0
- package/dist/commonjs/main_thread/init/utils/get_initial_time.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/get_initial_time.js +152 -0
- package/dist/commonjs/main_thread/init/utils/get_loaded_reference.d.ts +28 -0
- package/dist/commonjs/main_thread/init/utils/get_loaded_reference.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/get_loaded_reference.js +66 -0
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts +63 -0
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.js +228 -0
- package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.d.ts +99 -0
- package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.js +121 -0
- package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.d.ts +36 -0
- package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.js +54 -0
- package/dist/commonjs/main_thread/init/utils/rebuffering_controller.d.ts +118 -0
- package/dist/commonjs/main_thread/init/utils/rebuffering_controller.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/rebuffering_controller.js +496 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts +40 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/are_same_stream_events.js +35 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/index.d.ts +19 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/index.js +19 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +26 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +129 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts +57 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.js +233 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.d.ts +42 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.js +17 -0
- package/dist/commonjs/main_thread/init/utils/throw_on_media_error.d.ts +25 -0
- package/dist/commonjs/main_thread/init/utils/throw_on_media_error.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/throw_on_media_error.js +66 -0
- package/dist/commonjs/main_thread/init/utils/update_manifest_codec_support.d.ts +35 -0
- package/dist/commonjs/main_thread/init/utils/update_manifest_codec_support.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/update_manifest_codec_support.js +222 -0
- package/dist/commonjs/main_thread/render_thumbnail.d.ts +27 -0
- package/dist/commonjs/main_thread/render_thumbnail.d.ts.map +1 -0
- package/dist/commonjs/main_thread/render_thumbnail.js +266 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_parsers.d.ts +20 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_parsers.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_parsers.js +25 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_text_displayer.d.ts +105 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_text_displayer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_text_displayer.js +370 -0
- package/dist/commonjs/main_thread/text_displayer/html/index.d.ts +3 -0
- package/dist/commonjs/main_thread/text_displayer/html/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/index.js +4 -0
- package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.d.ts +66 -0
- package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.js +408 -0
- package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.d.ts +16 -0
- package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.js +64 -0
- package/dist/commonjs/main_thread/text_displayer/html/utils.d.ts +55 -0
- package/dist/commonjs/main_thread/text_displayer/html/utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/utils.js +141 -0
- package/dist/commonjs/main_thread/text_displayer/index.d.ts +3 -0
- package/dist/commonjs/main_thread/text_displayer/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/index.js +2 -0
- package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.d.ts +15 -0
- package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.js +48 -0
- package/dist/commonjs/main_thread/text_displayer/native/index.d.ts +3 -0
- package/dist/commonjs/main_thread/text_displayer/native/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/native/index.js +4 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_parsers.d.ts +16 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_parsers.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_parsers.js +25 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_text_displayer.d.ts +59 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_text_displayer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_text_displayer.js +226 -0
- package/dist/commonjs/main_thread/text_displayer/types.d.ts +74 -0
- package/dist/commonjs/main_thread/text_displayer/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/types.js +2 -0
- package/dist/commonjs/main_thread/tracks_store/index.d.ts +21 -0
- package/dist/commonjs/main_thread/tracks_store/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/index.js +34 -0
- package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.d.ts +208 -0
- package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.js +709 -0
- package/dist/commonjs/main_thread/tracks_store/track_dispatcher.d.ts +108 -0
- package/dist/commonjs/main_thread/tracks_store/track_dispatcher.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/track_dispatcher.js +179 -0
- package/dist/commonjs/main_thread/tracks_store/tracks_store.d.ts +538 -0
- package/dist/commonjs/main_thread/tracks_store/tracks_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/tracks_store.js +1497 -0
- package/dist/commonjs/main_thread/types.d.ts +566 -0
- package/dist/commonjs/main_thread/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/types.js +2 -0
- package/dist/commonjs/manifest/classes/adaptation.d.ts +135 -0
- package/dist/commonjs/manifest/classes/adaptation.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/adaptation.js +260 -0
- package/dist/commonjs/manifest/classes/codec_support_cache.d.ts +45 -0
- package/dist/commonjs/manifest/classes/codec_support_cache.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/codec_support_cache.js +84 -0
- package/dist/commonjs/manifest/classes/index.d.ts +32 -0
- package/dist/commonjs/manifest/classes/index.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/index.js +46 -0
- package/dist/commonjs/manifest/classes/manifest.d.ts +425 -0
- package/dist/commonjs/manifest/classes/manifest.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/manifest.js +561 -0
- package/dist/commonjs/manifest/classes/period.d.ts +157 -0
- package/dist/commonjs/manifest/classes/period.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/period.js +283 -0
- package/dist/commonjs/manifest/classes/representation.d.ts +271 -0
- package/dist/commonjs/manifest/classes/representation.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation.js +402 -0
- package/dist/commonjs/manifest/classes/representation_index/index.d.ts +20 -0
- package/dist/commonjs/manifest/classes/representation_index/index.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation_index/index.js +20 -0
- package/dist/commonjs/manifest/classes/representation_index/static.d.ts +117 -0
- package/dist/commonjs/manifest/classes/representation_index/static.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation_index/static.js +164 -0
- package/dist/commonjs/manifest/classes/representation_index/types.d.ts +441 -0
- package/dist/commonjs/manifest/classes/representation_index/types.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation_index/types.js +17 -0
- package/dist/commonjs/manifest/classes/types.d.ts +30 -0
- package/dist/commonjs/manifest/classes/types.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/types.js +33 -0
- package/dist/commonjs/manifest/classes/update_period_in_place.d.ts +63 -0
- package/dist/commonjs/manifest/classes/update_period_in_place.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/update_period_in_place.js +237 -0
- package/dist/commonjs/manifest/classes/update_periods.d.ts +51 -0
- package/dist/commonjs/manifest/classes/update_periods.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/update_periods.js +228 -0
- package/dist/commonjs/manifest/classes/utils.d.ts +47 -0
- package/dist/commonjs/manifest/classes/utils.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/utils.js +49 -0
- package/dist/commonjs/manifest/index.d.ts +17 -0
- package/dist/commonjs/manifest/index.d.ts.map +1 -0
- package/dist/commonjs/manifest/index.js +21 -0
- package/dist/commonjs/manifest/types.d.ts +466 -0
- package/dist/commonjs/manifest/types.d.ts.map +1 -0
- package/dist/commonjs/manifest/types.js +2 -0
- package/dist/commonjs/manifest/utils.d.ts +184 -0
- package/dist/commonjs/manifest/utils.d.ts.map +1 -0
- package/dist/commonjs/manifest/utils.js +844 -0
- package/dist/commonjs/minimal.d.ts +21 -0
- package/dist/commonjs/minimal.d.ts.map +1 -0
- package/dist/commonjs/minimal.js +30 -0
- package/dist/commonjs/mse/index.d.ts +3 -0
- package/dist/commonjs/mse/index.d.ts.map +1 -0
- package/dist/commonjs/mse/index.js +2 -0
- package/dist/commonjs/mse/main_media_source_interface.d.ts +133 -0
- package/dist/commonjs/mse/main_media_source_interface.d.ts.map +1 -0
- package/dist/commonjs/mse/main_media_source_interface.js +610 -0
- package/dist/commonjs/mse/types.d.ts +303 -0
- package/dist/commonjs/mse/types.d.ts.map +1 -0
- package/dist/commonjs/mse/types.js +2 -0
- package/dist/commonjs/mse/utils/end_of_stream.d.ts +35 -0
- package/dist/commonjs/mse/utils/end_of_stream.d.ts.map +1 -0
- package/dist/commonjs/mse/utils/end_of_stream.js +118 -0
- package/dist/commonjs/mse/utils/media_source_duration_updater.d.ts +63 -0
- package/dist/commonjs/mse/utils/media_source_duration_updater.d.ts.map +1 -0
- package/dist/commonjs/mse/utils/media_source_duration_updater.js +277 -0
- package/dist/commonjs/mse/worker_media_source_interface.d.ts +116 -0
- package/dist/commonjs/mse/worker_media_source_interface.d.ts.map +1 -0
- package/dist/commonjs/mse/worker_media_source_interface.js +382 -0
- package/dist/commonjs/parsers/containers/isobmff/constants.d.ts +24 -0
- package/dist/commonjs/parsers/containers/isobmff/constants.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/constants.js +26 -0
- package/dist/commonjs/parsers/containers/isobmff/create_box.d.ts +31 -0
- package/dist/commonjs/parsers/containers/isobmff/create_box.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/create_box.js +93 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/index.d.ts +17 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/index.js +20 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/playready.d.ts +22 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/playready.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/playready.js +38 -0
- package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.d.ts +30 -0
- package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.js +89 -0
- package/dist/commonjs/parsers/containers/isobmff/find_complete_box.d.ts +26 -0
- package/dist/commonjs/parsers/containers/isobmff/find_complete_box.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/find_complete_box.js +57 -0
- package/dist/commonjs/parsers/containers/isobmff/get_box.d.ts +107 -0
- package/dist/commonjs/parsers/containers/isobmff/get_box.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/get_box.js +254 -0
- package/dist/commonjs/parsers/containers/isobmff/index.d.ts +26 -0
- package/dist/commonjs/parsers/containers/isobmff/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/index.js +47 -0
- package/dist/commonjs/parsers/containers/isobmff/read.d.ts +58 -0
- package/dist/commonjs/parsers/containers/isobmff/read.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/read.js +94 -0
- package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.d.ts +42 -0
- package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.js +86 -0
- package/dist/commonjs/parsers/containers/isobmff/utils.d.ts +143 -0
- package/dist/commonjs/parsers/containers/isobmff/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/utils.js +608 -0
- package/dist/commonjs/parsers/containers/matroska/index.d.ts +18 -0
- package/dist/commonjs/parsers/containers/matroska/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/matroska/index.js +21 -0
- package/dist/commonjs/parsers/containers/matroska/utils.d.ts +35 -0
- package/dist/commonjs/parsers/containers/matroska/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/matroska/utils.js +277 -0
- package/dist/commonjs/parsers/images/bif.d.ts +40 -0
- package/dist/commonjs/parsers/images/bif.d.ts.map +1 -0
- package/dist/commonjs/parsers/images/bif.js +103 -0
- package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.d.ts +29 -0
- package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.js +98 -0
- package/dist/commonjs/parsers/manifest/dash/common/content_protection_parser.d.ts +99 -0
- package/dist/commonjs/parsers/manifest/dash/common/content_protection_parser.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/content_protection_parser.js +261 -0
- package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts +18 -0
- package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.js +27 -0
- package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +44 -0
- package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.js +85 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.d.ts +30 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.js +41 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.d.ts +51 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.js +86 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.js +30 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.js +36 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.d.ts +44 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.js +71 -0
- package/dist/commonjs/parsers/manifest/dash/common/index.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/common/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/index.js +25 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts +267 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/base.js +289 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +33 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.js +47 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts +40 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.js +112 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/index.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/index.js +26 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts +209 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/list.js +247 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts +272 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/template.js +453 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +28 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.js +46 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts +19 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.js +82 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts +38 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.js +66 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts +43 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.js +143 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/index.d.ts +20 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/index.js +19 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +37 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.js +90 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +448 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +702 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.d.ts +41 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.js +112 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.js +31 -0
- package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts +48 -0
- package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.js +164 -0
- package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts +120 -0
- package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.js +138 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +56 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.js +508 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.js +34 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.d.ts +99 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.js +345 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_periods.d.ts +71 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_periods.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_periods.js +341 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.d.ts +87 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.js +131 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representations.d.ts +51 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representations.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representations.js +300 -0
- package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.d.ts +27 -0
- package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.js +49 -0
- package/dist/commonjs/parsers/manifest/dash/index.d.ts +17 -0
- package/dist/commonjs/parsers/manifest/dash/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/index.js +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/index.d.ts +18 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/index.js +19 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.js +406 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.js +33 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.js +70 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.js +125 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.js +153 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.js +70 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.js +235 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.js +197 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.js +268 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.js +152 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentList.js +60 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.js +125 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.js +36 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.js +82 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts +176 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.js +381 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_xml_string.js +142 -0
- package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts +404 -0
- package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/node_parser_types.js +17 -0
- package/dist/commonjs/parsers/manifest/dash/parsers_types.d.ts +84 -0
- package/dist/commonjs/parsers/manifest/dash/parsers_types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/parsers_types.js +17 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.d.ts +20 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.js +19 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +112 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.js +425 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts +33 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +276 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.js +33 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.js +44 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.js +61 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +34 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.js +116 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts +4 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.js +12 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts +29 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.js +168 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +34 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.js +152 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +33 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +183 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.js +38 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts +19 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.js +91 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts +27 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.js +48 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts +19 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.js +104 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.js +55 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts +30 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.js +50 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts +17 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/index.js +20 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts +28 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.js +53 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts +39 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/parsers_stack.js +62 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.d.ts +149 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.js +17 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.d.ts +30 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.js +43 -0
- package/dist/commonjs/parsers/manifest/index.d.ts +17 -0
- package/dist/commonjs/parsers/manifest/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/index.js +17 -0
- package/dist/commonjs/parsers/manifest/local/index.d.ts +19 -0
- package/dist/commonjs/parsers/manifest/local/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/index.js +19 -0
- package/dist/commonjs/parsers/manifest/local/parse_local_manifest.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/local/parse_local_manifest.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/parse_local_manifest.js +140 -0
- package/dist/commonjs/parsers/manifest/local/representation_index.d.ts +99 -0
- package/dist/commonjs/parsers/manifest/local/representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/representation_index.js +297 -0
- package/dist/commonjs/parsers/manifest/local/types.d.ts +288 -0
- package/dist/commonjs/parsers/manifest/local/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/types.js +17 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/index.d.ts +20 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/index.js +19 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +65 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.js +322 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts +165 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.js +239 -0
- package/dist/commonjs/parsers/manifest/smooth/create_parser.d.ts +34 -0
- package/dist/commonjs/parsers/manifest/smooth/create_parser.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/create_parser.js +548 -0
- package/dist/commonjs/parsers/manifest/smooth/get_codecs.d.ts +27 -0
- package/dist/commonjs/parsers/manifest/smooth/get_codecs.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/get_codecs.js +54 -0
- package/dist/commonjs/parsers/manifest/smooth/index.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/smooth/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/index.js +22 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.d.ts +28 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.js +72 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.d.ts +31 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.js +97 -0
- package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts +242 -0
- package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/representation_index.js +424 -0
- package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +120 -0
- package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.js +182 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.d.ts +39 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.js +66 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.d.ts +21 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.js +33 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.js +57 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/tokens.d.ts +29 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/tokens.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/tokens.js +37 -0
- package/dist/commonjs/parsers/manifest/types.d.ts +443 -0
- package/dist/commonjs/parsers/manifest/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/types.js +17 -0
- package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.js +83 -0
- package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.js +76 -0
- package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +28 -0
- package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.js +69 -0
- package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +30 -0
- package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.js +71 -0
- package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.js +69 -0
- package/dist/commonjs/parsers/manifest/utils/get_minimum_position.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/utils/get_minimum_position.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_minimum_position.js +65 -0
- package/dist/commonjs/parsers/manifest/utils/index_helpers.d.ts +89 -0
- package/dist/commonjs/parsers/manifest/utils/index_helpers.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/index_helpers.js +154 -0
- package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.d.ts +34 -0
- package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.js +157 -0
- package/dist/commonjs/parsers/texttracks/index.d.ts +17 -0
- package/dist/commonjs/parsers/texttracks/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/index.js +17 -0
- package/dist/commonjs/parsers/texttracks/sami/html.d.ts +32 -0
- package/dist/commonjs/parsers/texttracks/sami/html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/sami/html.js +220 -0
- package/dist/commonjs/parsers/texttracks/sami/native.d.ts +37 -0
- package/dist/commonjs/parsers/texttracks/sami/native.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/sami/native.js +184 -0
- package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.d.ts +30 -0
- package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.js +42 -0
- package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.d.ts +23 -0
- package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.js +50 -0
- package/dist/commonjs/parsers/texttracks/srt/html.d.ts +28 -0
- package/dist/commonjs/parsers/texttracks/srt/html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/html.js +192 -0
- package/dist/commonjs/parsers/texttracks/srt/native.d.ts +30 -0
- package/dist/commonjs/parsers/texttracks/srt/native.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/native.js +66 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_cue.d.ts +31 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_cue.js +75 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.js +36 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_parameters.d.ts +33 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_parameters.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_parameters.js +90 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_styling.d.ts +42 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_styling.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_styling.js +136 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.d.ts +27 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.js +43 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts +49 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.js +65 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.js +60 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.js +59 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.d.ts +21 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.js +48 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.d.ts +21 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.js +59 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.d.ts +21 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.js +138 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/create_element.d.ts +33 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/create_element.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/create_element.js +477 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts +27 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.js +44 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/index.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/index.js +23 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.d.ts +27 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.js +43 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +36 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.js +87 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.js +76 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/index.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/index.js +23 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.d.ts +25 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.js +200 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +24 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.js +70 -0
- package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.d.ts +44 -0
- package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.js +187 -0
- package/dist/commonjs/parsers/texttracks/ttml/regexps.d.ts +29 -0
- package/dist/commonjs/parsers/texttracks/ttml/regexps.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/regexps.js +49 -0
- package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +50 -0
- package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.js +107 -0
- package/dist/commonjs/parsers/texttracks/ttml/time_parsing.d.ts +31 -0
- package/dist/commonjs/parsers/texttracks/ttml/time_parsing.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/time_parsing.js +126 -0
- package/dist/commonjs/parsers/texttracks/ttml/xml_utils.d.ts +71 -0
- package/dist/commonjs/parsers/texttracks/ttml/xml_utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/xml_utils.js +186 -0
- package/dist/commonjs/parsers/texttracks/types.d.ts +80 -0
- package/dist/commonjs/parsers/texttracks/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/types.js +17 -0
- package/dist/commonjs/parsers/texttracks/webvtt/create_default_style_elements.d.ts +3 -0
- package/dist/commonjs/parsers/texttracks/webvtt/create_default_style_elements.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/create_default_style_elements.js +25 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.d.ts +25 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.js +47 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.d.ts +25 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.js +55 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +23 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.js +38 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.js +172 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.d.ts +25 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.js +84 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/index.d.ts +28 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/index.js +26 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts +13 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_mp4.js +22 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts +33 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.js +69 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.d.ts +50 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.js +73 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/index.d.ts +23 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/index.js +26 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts +30 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.js +94 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts +13 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.js +24 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +24 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.js +83 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.d.ts +33 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.js +30 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.d.ts +40 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.js +104 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.js +154 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_style_block.d.ts +28 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_style_block.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_style_block.js +75 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.js +36 -0
- package/dist/commonjs/parsers/texttracks/webvtt/utils.d.ts +58 -0
- package/dist/commonjs/parsers/texttracks/webvtt/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/utils.js +121 -0
- package/dist/commonjs/playback_observer/core_playback_observer.d.ts +85 -0
- package/dist/commonjs/playback_observer/core_playback_observer.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/core_playback_observer.js +47 -0
- package/dist/commonjs/playback_observer/index.d.ts +7 -0
- package/dist/commonjs/playback_observer/index.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/index.js +5 -0
- package/dist/commonjs/playback_observer/media_element_playback_observer.d.ts +288 -0
- package/dist/commonjs/playback_observer/media_element_playback_observer.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/media_element_playback_observer.js +845 -0
- package/dist/commonjs/playback_observer/types.d.ts +226 -0
- package/dist/commonjs/playback_observer/types.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/types.js +2 -0
- package/dist/commonjs/playback_observer/utils/generate_read_only_observer.d.ts +12 -0
- package/dist/commonjs/playback_observer/utils/generate_read_only_observer.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/utils/generate_read_only_observer.js +42 -0
- package/dist/commonjs/playback_observer/utils/observation_position.d.ts +99 -0
- package/dist/commonjs/playback_observer/utils/observation_position.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/utils/observation_position.js +99 -0
- package/dist/commonjs/public_types.d.ts +1289 -0
- package/dist/commonjs/public_types.d.ts.map +1 -0
- package/dist/commonjs/public_types.js +6 -0
- package/dist/commonjs/tools/TextTrackRenderer/index.d.ts +24 -0
- package/dist/commonjs/tools/TextTrackRenderer/index.d.ts.map +1 -0
- package/dist/commonjs/tools/TextTrackRenderer/index.js +29 -0
- package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.d.ts +80 -0
- package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.d.ts.map +1 -0
- package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.js +85 -0
- package/dist/commonjs/tools/index.d.ts +20 -0
- package/dist/commonjs/tools/index.d.ts.map +1 -0
- package/dist/commonjs/tools/index.js +23 -0
- package/dist/commonjs/tools/parseBIFThumbnails/index.d.ts +30 -0
- package/dist/commonjs/tools/parseBIFThumbnails/index.d.ts.map +1 -0
- package/dist/commonjs/tools/parseBIFThumbnails/index.js +33 -0
- package/dist/commonjs/tools/string_utils/index.d.ts +17 -0
- package/dist/commonjs/tools/string_utils/index.d.ts.map +1 -0
- package/dist/commonjs/tools/string_utils/index.js +25 -0
- package/dist/commonjs/transports/dash/construct_segment_url.d.ts +19 -0
- package/dist/commonjs/transports/dash/construct_segment_url.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/construct_segment_url.js +28 -0
- package/dist/commonjs/transports/dash/get_events_out_of_emsgs.d.ts +29 -0
- package/dist/commonjs/transports/dash/get_events_out_of_emsgs.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/get_events_out_of_emsgs.js +96 -0
- package/dist/commonjs/transports/dash/index.d.ts +22 -0
- package/dist/commonjs/transports/dash/index.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/index.js +23 -0
- package/dist/commonjs/transports/dash/init_segment_loader.d.ts +29 -0
- package/dist/commonjs/transports/dash/init_segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/init_segment_loader.js +135 -0
- package/dist/commonjs/transports/dash/integrity_checks.d.ts +18 -0
- package/dist/commonjs/transports/dash/integrity_checks.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/integrity_checks.js +209 -0
- package/dist/commonjs/transports/dash/load_chunked_segment_data.d.ts +40 -0
- package/dist/commonjs/transports/dash/load_chunked_segment_data.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/load_chunked_segment_data.js +126 -0
- package/dist/commonjs/transports/dash/manifest_parser.d.ts +19 -0
- package/dist/commonjs/transports/dash/manifest_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/manifest_parser.js +298 -0
- package/dist/commonjs/transports/dash/pipelines.d.ts +24 -0
- package/dist/commonjs/transports/dash/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/pipelines.js +68 -0
- package/dist/commonjs/transports/dash/segment_loader.d.ts +39 -0
- package/dist/commonjs/transports/dash/segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/segment_loader.js +275 -0
- package/dist/commonjs/transports/dash/segment_parser.d.ts +24 -0
- package/dist/commonjs/transports/dash/segment_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/segment_parser.js +160 -0
- package/dist/commonjs/transports/dash/text_loader.d.ts +26 -0
- package/dist/commonjs/transports/dash/text_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/text_loader.js +166 -0
- package/dist/commonjs/transports/dash/text_parser.d.ts +26 -0
- package/dist/commonjs/transports/dash/text_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/text_parser.js +194 -0
- package/dist/commonjs/transports/dash/thumbnails.d.ts +21 -0
- package/dist/commonjs/transports/dash/thumbnails.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/thumbnails.js +127 -0
- package/dist/commonjs/transports/index.d.ts +17 -0
- package/dist/commonjs/transports/index.d.ts.map +1 -0
- package/dist/commonjs/transports/index.js +17 -0
- package/dist/commonjs/transports/local/index.d.ts +18 -0
- package/dist/commonjs/transports/local/index.d.ts.map +1 -0
- package/dist/commonjs/transports/local/index.js +19 -0
- package/dist/commonjs/transports/local/pipelines.d.ts +23 -0
- package/dist/commonjs/transports/local/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/local/pipelines.js +81 -0
- package/dist/commonjs/transports/local/segment_loader.d.ts +29 -0
- package/dist/commonjs/transports/local/segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/local/segment_loader.js +155 -0
- package/dist/commonjs/transports/local/segment_parser.d.ts +21 -0
- package/dist/commonjs/transports/local/segment_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/local/segment_parser.js +90 -0
- package/dist/commonjs/transports/local/text_parser.d.ts +28 -0
- package/dist/commonjs/transports/local/text_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/local/text_parser.js +165 -0
- package/dist/commonjs/transports/metaplaylist/index.d.ts +22 -0
- package/dist/commonjs/transports/metaplaylist/index.d.ts.map +1 -0
- package/dist/commonjs/transports/metaplaylist/index.js +23 -0
- package/dist/commonjs/transports/metaplaylist/manifest_loader.d.ts +27 -0
- package/dist/commonjs/transports/metaplaylist/manifest_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/metaplaylist/manifest_loader.js +57 -0
- package/dist/commonjs/transports/metaplaylist/pipelines.d.ts +18 -0
- package/dist/commonjs/transports/metaplaylist/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/metaplaylist/pipelines.js +268 -0
- package/dist/commonjs/transports/smooth/extract_timings_infos.d.ts +63 -0
- package/dist/commonjs/transports/smooth/extract_timings_infos.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/extract_timings_infos.js +104 -0
- package/dist/commonjs/transports/smooth/index.d.ts +22 -0
- package/dist/commonjs/transports/smooth/index.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/index.js +23 -0
- package/dist/commonjs/transports/smooth/is_mp4_embedded_track.d.ts +23 -0
- package/dist/commonjs/transports/smooth/is_mp4_embedded_track.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/is_mp4_embedded_track.js +27 -0
- package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.d.ts +29 -0
- package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.js +54 -0
- package/dist/commonjs/transports/smooth/isobmff/create_boxes.d.ts +172 -0
- package/dist/commonjs/transports/smooth/isobmff/create_boxes.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_boxes.js +368 -0
- package/dist/commonjs/transports/smooth/isobmff/create_init_segment.d.ts +32 -0
- package/dist/commonjs/transports/smooth/isobmff/create_init_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_init_segment.js +66 -0
- package/dist/commonjs/transports/smooth/isobmff/create_traf_box.d.ts +17 -0
- package/dist/commonjs/transports/smooth/isobmff/create_traf_box.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_traf_box.js +27 -0
- package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.d.ts +30 -0
- package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.js +76 -0
- package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.d.ts +28 -0
- package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.js +46 -0
- package/dist/commonjs/transports/smooth/isobmff/index.d.ts +24 -0
- package/dist/commonjs/transports/smooth/isobmff/index.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/index.js +28 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.d.ts +25 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.js +50 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.d.ts +25 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.js +34 -0
- package/dist/commonjs/transports/smooth/isobmff/patch_segment.d.ts +24 -0
- package/dist/commonjs/transports/smooth/isobmff/patch_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/patch_segment.js +131 -0
- package/dist/commonjs/transports/smooth/pipelines.d.ts +18 -0
- package/dist/commonjs/transports/smooth/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/pipelines.js +374 -0
- package/dist/commonjs/transports/smooth/segment_loader.d.ts +28 -0
- package/dist/commonjs/transports/smooth/segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/segment_loader.js +299 -0
- package/dist/commonjs/transports/smooth/utils.d.ts +27 -0
- package/dist/commonjs/transports/smooth/utils.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/utils.js +39 -0
- package/dist/commonjs/transports/types.d.ts +772 -0
- package/dist/commonjs/transports/types.d.ts.map +1 -0
- package/dist/commonjs/transports/types.js +17 -0
- package/dist/commonjs/transports/utils/add_query_string.d.ts +13 -0
- package/dist/commonjs/transports/utils/add_query_string.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/add_query_string.js +54 -0
- package/dist/commonjs/transports/utils/byte_range.d.ts +22 -0
- package/dist/commonjs/transports/utils/byte_range.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/byte_range.js +43 -0
- package/dist/commonjs/transports/utils/call_custom_manifest_loader.d.ts +20 -0
- package/dist/commonjs/transports/utils/call_custom_manifest_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/call_custom_manifest_loader.js +99 -0
- package/dist/commonjs/transports/utils/check_isobmff_integrity.d.ts +24 -0
- package/dist/commonjs/transports/utils/check_isobmff_integrity.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/check_isobmff_integrity.js +49 -0
- package/dist/commonjs/transports/utils/generate_manifest_loader.d.ts +27 -0
- package/dist/commonjs/transports/utils/generate_manifest_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/generate_manifest_loader.js +89 -0
- package/dist/commonjs/transports/utils/get_isobmff_timing_infos.d.ts +30 -0
- package/dist/commonjs/transports/utils/get_isobmff_timing_infos.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/get_isobmff_timing_infos.js +70 -0
- package/dist/commonjs/transports/utils/infer_segment_container.d.ts +30 -0
- package/dist/commonjs/transports/utils/infer_segment_container.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/infer_segment_container.js +45 -0
- package/dist/commonjs/transports/utils/parse_text_track.d.ts +53 -0
- package/dist/commonjs/transports/utils/parse_text_track.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/parse_text_track.js +161 -0
- package/dist/commonjs/utils/are_arrays_of_numbers_equal.d.ts +23 -0
- package/dist/commonjs/utils/are_arrays_of_numbers_equal.d.ts.map +1 -0
- package/dist/commonjs/utils/are_arrays_of_numbers_equal.js +38 -0
- package/dist/commonjs/utils/are_codecs_compatible.d.ts +30 -0
- package/dist/commonjs/utils/are_codecs_compatible.d.ts.map +1 -0
- package/dist/commonjs/utils/are_codecs_compatible.js +76 -0
- package/dist/commonjs/utils/array_find.d.ts +24 -0
- package/dist/commonjs/utils/array_find.d.ts.map +1 -0
- package/dist/commonjs/utils/array_find.js +40 -0
- package/dist/commonjs/utils/array_find_index.d.ts +24 -0
- package/dist/commonjs/utils/array_find_index.d.ts.map +1 -0
- package/dist/commonjs/utils/array_find_index.js +39 -0
- package/dist/commonjs/utils/array_includes.d.ts +54 -0
- package/dist/commonjs/utils/array_includes.d.ts.map +1 -0
- package/dist/commonjs/utils/array_includes.js +80 -0
- package/dist/commonjs/utils/assert.d.ts +75 -0
- package/dist/commonjs/utils/assert.d.ts.map +1 -0
- package/dist/commonjs/utils/assert.js +117 -0
- package/dist/commonjs/utils/base64.d.ts +15 -0
- package/dist/commonjs/utils/base64.d.ts.map +1 -0
- package/dist/commonjs/utils/base64.js +212 -0
- package/dist/commonjs/utils/buffer_source_to_uint8.d.ts +8 -0
- package/dist/commonjs/utils/buffer_source_to_uint8.d.ts.map +1 -0
- package/dist/commonjs/utils/buffer_source_to_uint8.js +18 -0
- package/dist/commonjs/utils/byte_parsing.d.ts +132 -0
- package/dist/commonjs/utils/byte_parsing.d.ts.map +1 -0
- package/dist/commonjs/utils/byte_parsing.js +273 -0
- package/dist/commonjs/utils/cancellable_sleep.d.ts +31 -0
- package/dist/commonjs/utils/cancellable_sleep.d.ts.map +1 -0
- package/dist/commonjs/utils/cancellable_sleep.js +38 -0
- package/dist/commonjs/utils/create_cancellable_promise.d.ts +27 -0
- package/dist/commonjs/utils/create_cancellable_promise.d.ts.map +1 -0
- package/dist/commonjs/utils/create_cancellable_promise.js +55 -0
- package/dist/commonjs/utils/create_uuid.d.ts +9 -0
- package/dist/commonjs/utils/create_uuid.d.ts.map +1 -0
- package/dist/commonjs/utils/create_uuid.js +32 -0
- package/dist/commonjs/utils/deep_merge.d.ts +10 -0
- package/dist/commonjs/utils/deep_merge.d.ts.map +1 -0
- package/dist/commonjs/utils/deep_merge.js +73 -0
- package/dist/commonjs/utils/event_emitter.d.ts +59 -0
- package/dist/commonjs/utils/event_emitter.d.ts.map +1 -0
- package/dist/commonjs/utils/event_emitter.js +149 -0
- package/dist/commonjs/utils/flat_map.d.ts +23 -0
- package/dist/commonjs/utils/flat_map.d.ts.map +1 -0
- package/dist/commonjs/utils/flat_map.js +63 -0
- package/dist/commonjs/utils/get_fuzzed_delay.d.ts +22 -0
- package/dist/commonjs/utils/get_fuzzed_delay.d.ts.map +1 -0
- package/dist/commonjs/utils/get_fuzzed_delay.js +28 -0
- package/dist/commonjs/utils/global_scope.d.ts +10 -0
- package/dist/commonjs/utils/global_scope.d.ts.map +1 -0
- package/dist/commonjs/utils/global_scope.js +22 -0
- package/dist/commonjs/utils/hash_buffer.d.ts +33 -0
- package/dist/commonjs/utils/hash_buffer.d.ts.map +1 -0
- package/dist/commonjs/utils/hash_buffer.js +44 -0
- package/dist/commonjs/utils/id_generator.d.ts +22 -0
- package/dist/commonjs/utils/id_generator.d.ts.map +1 -0
- package/dist/commonjs/utils/id_generator.js +35 -0
- package/dist/commonjs/utils/is_node.d.ts +19 -0
- package/dist/commonjs/utils/is_node.d.ts.map +1 -0
- package/dist/commonjs/utils/is_node.js +21 -0
- package/dist/commonjs/utils/is_non_empty_string.d.ts +21 -0
- package/dist/commonjs/utils/is_non_empty_string.d.ts.map +1 -0
- package/dist/commonjs/utils/is_non_empty_string.js +25 -0
- package/dist/commonjs/utils/is_null_or_undefined.d.ts +25 -0
- package/dist/commonjs/utils/is_null_or_undefined.d.ts.map +1 -0
- package/dist/commonjs/utils/is_null_or_undefined.js +29 -0
- package/dist/commonjs/utils/is_worker.d.ts +6 -0
- package/dist/commonjs/utils/is_worker.d.ts.map +1 -0
- package/dist/commonjs/utils/is_worker.js +7 -0
- package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.d.ts +23 -0
- package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.js +207 -0
- package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.d.ts +23 -0
- package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.js +43 -0
- package/dist/commonjs/utils/languages/index.d.ts +21 -0
- package/dist/commonjs/utils/languages/index.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/index.js +22 -0
- package/dist/commonjs/utils/languages/normalize.d.ts +70 -0
- package/dist/commonjs/utils/languages/normalize.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/normalize.js +125 -0
- package/dist/commonjs/utils/logger.d.ts +157 -0
- package/dist/commonjs/utils/logger.d.ts.map +1 -0
- package/dist/commonjs/utils/logger.js +229 -0
- package/dist/commonjs/utils/monotonic_timestamp.d.ts +23 -0
- package/dist/commonjs/utils/monotonic_timestamp.d.ts.map +1 -0
- package/dist/commonjs/utils/monotonic_timestamp.js +40 -0
- package/dist/commonjs/utils/noop.d.ts +24 -0
- package/dist/commonjs/utils/noop.d.ts.map +1 -0
- package/dist/commonjs/utils/noop.js +27 -0
- package/dist/commonjs/utils/object_assign.d.ts +47 -0
- package/dist/commonjs/utils/object_assign.d.ts.map +1 -0
- package/dist/commonjs/utils/object_assign.js +75 -0
- package/dist/commonjs/utils/object_values.d.ts +31 -0
- package/dist/commonjs/utils/object_values.d.ts.map +1 -0
- package/dist/commonjs/utils/object_values.js +27 -0
- package/dist/commonjs/utils/queue_microtask.d.ts +3 -0
- package/dist/commonjs/utils/queue_microtask.d.ts.map +1 -0
- package/dist/commonjs/utils/queue_microtask.js +7 -0
- package/dist/commonjs/utils/ranges.d.ts +214 -0
- package/dist/commonjs/utils/ranges.d.ts.map +1 -0
- package/dist/commonjs/utils/ranges.js +519 -0
- package/dist/commonjs/utils/reference.d.ts +215 -0
- package/dist/commonjs/utils/reference.d.ts.map +1 -0
- package/dist/commonjs/utils/reference.js +333 -0
- package/dist/commonjs/utils/request/fetch.d.ts +81 -0
- package/dist/commonjs/utils/request/fetch.d.ts.map +1 -0
- package/dist/commonjs/utils/request/fetch.js +255 -0
- package/dist/commonjs/utils/request/index.d.ts +25 -0
- package/dist/commonjs/utils/request/index.d.ts.map +1 -0
- package/dist/commonjs/utils/request/index.js +27 -0
- package/dist/commonjs/utils/request/request_error.d.ts +47 -0
- package/dist/commonjs/utils/request/request_error.d.ts.map +1 -0
- package/dist/commonjs/utils/request/request_error.js +89 -0
- package/dist/commonjs/utils/request/xhr.d.ts +100 -0
- package/dist/commonjs/utils/request/xhr.d.ts.map +1 -0
- package/dist/commonjs/utils/request/xhr.js +205 -0
- package/dist/commonjs/utils/retry_promise_with_backoff.d.ts +55 -0
- package/dist/commonjs/utils/retry_promise_with_backoff.d.ts.map +1 -0
- package/dist/commonjs/utils/retry_promise_with_backoff.js +135 -0
- package/dist/commonjs/utils/sleep.d.ts +11 -0
- package/dist/commonjs/utils/sleep.d.ts.map +1 -0
- package/dist/commonjs/utils/sleep.js +17 -0
- package/dist/commonjs/utils/slice_uint8array.d.ts +28 -0
- package/dist/commonjs/utils/slice_uint8array.d.ts.map +1 -0
- package/dist/commonjs/utils/slice_uint8array.js +44 -0
- package/dist/commonjs/utils/sorted_list.d.ts +128 -0
- package/dist/commonjs/utils/sorted_list.d.ts.map +1 -0
- package/dist/commonjs/utils/sorted_list.js +185 -0
- package/dist/commonjs/utils/starts_with.d.ts +27 -0
- package/dist/commonjs/utils/starts_with.d.ts.map +1 -0
- package/dist/commonjs/utils/starts_with.js +38 -0
- package/dist/commonjs/utils/string_parsing.d.ts +89 -0
- package/dist/commonjs/utils/string_parsing.d.ts.map +1 -0
- package/dist/commonjs/utils/string_parsing.js +382 -0
- package/dist/commonjs/utils/sync_or_async.d.ts +71 -0
- package/dist/commonjs/utils/sync_or_async.d.ts.map +1 -0
- package/dist/commonjs/utils/sync_or_async.js +53 -0
- package/dist/commonjs/utils/task_canceller.d.ts +290 -0
- package/dist/commonjs/utils/task_canceller.d.ts.map +1 -0
- package/dist/commonjs/utils/task_canceller.js +375 -0
- package/dist/commonjs/utils/url-utils.d.ts +50 -0
- package/dist/commonjs/utils/url-utils.d.ts.map +1 -0
- package/dist/commonjs/utils/url-utils.js +356 -0
- package/dist/commonjs/utils/warn_once.d.ts +24 -0
- package/dist/commonjs/utils/warn_once.d.ts.map +1 -0
- package/dist/commonjs/utils/warn_once.js +34 -0
- package/dist/commonjs/utils/weak_map_memory.d.ts +71 -0
- package/dist/commonjs/utils/weak_map_memory.d.ts.map +1 -0
- package/dist/commonjs/utils/weak_map_memory.js +87 -0
- package/dist/commonjs/utils/wrapInPromise.d.ts +8 -0
- package/dist/commonjs/utils/wrapInPromise.d.ts.map +1 -0
- package/dist/commonjs/utils/wrapInPromise.js +25 -0
- package/dist/commonjs/utils/xml-parser.d.ts +71 -0
- package/dist/commonjs/utils/xml-parser.d.ts.map +1 -0
- package/dist/commonjs/utils/xml-parser.js +358 -0
- package/dist/commonjs/worker_entry_point.d.ts +2 -0
- package/dist/commonjs/worker_entry_point.d.ts.map +1 -0
- package/dist/commonjs/worker_entry_point.js +10 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts +4 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +1 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.js +3 -0
- package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts +4 -0
- package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts.map +1 -0
- package/dist/es2017/__GENERATED_CODE/embedded_worker.js +3 -0
- package/dist/es2017/__GENERATED_CODE/index.d.ts +3 -0
- package/dist/es2017/__GENERATED_CODE/index.d.ts.map +1 -0
- package/dist/es2017/__GENERATED_CODE/index.js +2 -0
- package/dist/es2017/compat/add_class_name.d.ts +23 -0
- package/dist/es2017/compat/add_class_name.d.ts.map +1 -0
- package/dist/es2017/compat/add_class_name.js +36 -0
- package/dist/es2017/compat/add_text_track.d.ts +32 -0
- package/dist/es2017/compat/add_text_track.d.ts.map +1 -0
- package/dist/es2017/compat/add_text_track.js +49 -0
- package/dist/es2017/compat/browser_compatibility_types.d.ts +384 -0
- package/dist/es2017/compat/browser_compatibility_types.d.ts.map +1 -0
- package/dist/es2017/compat/browser_compatibility_types.js +42 -0
- package/dist/es2017/compat/browser_version.d.ts +25 -0
- package/dist/es2017/compat/browser_version.d.ts.map +1 -0
- package/dist/es2017/compat/browser_version.js +41 -0
- package/dist/es2017/compat/can_patch_isobmff.d.ts +26 -0
- package/dist/es2017/compat/can_patch_isobmff.d.ts.map +1 -0
- package/dist/es2017/compat/can_patch_isobmff.js +29 -0
- package/dist/es2017/compat/can_preload_before_play.d.ts +11 -0
- package/dist/es2017/compat/can_preload_before_play.d.ts.map +1 -0
- package/dist/es2017/compat/can_preload_before_play.js +20 -0
- package/dist/es2017/compat/can_rely_on_request_media_key_system_access.d.ts +41 -0
- package/dist/es2017/compat/can_rely_on_request_media_key_system_access.d.ts.map +1 -0
- package/dist/es2017/compat/can_rely_on_request_media_key_system_access.js +53 -0
- package/dist/es2017/compat/can_rely_on_video_visibility_and_size.d.ts +38 -0
- package/dist/es2017/compat/can_rely_on_video_visibility_and_size.d.ts.map +1 -0
- package/dist/es2017/compat/can_rely_on_video_visibility_and_size.js +49 -0
- package/dist/es2017/compat/can_reuse_media_keys.d.ts +20 -0
- package/dist/es2017/compat/can_reuse_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/can_reuse_media_keys.js +30 -0
- package/dist/es2017/compat/change_source_buffer_type.d.ts +49 -0
- package/dist/es2017/compat/change_source_buffer_type.d.ts.map +1 -0
- package/dist/es2017/compat/change_source_buffer_type.js +37 -0
- package/dist/es2017/compat/clear_element_src.d.ts +22 -0
- package/dist/es2017/compat/clear_element_src.d.ts.map +1 -0
- package/dist/es2017/compat/clear_element_src.js +53 -0
- package/dist/es2017/compat/disable_remote_playback_on_managed_media_source.d.ts +18 -0
- package/dist/es2017/compat/disable_remote_playback_on_managed_media_source.d.ts.map +1 -0
- package/dist/es2017/compat/disable_remote_playback_on_managed_media_source.js +34 -0
- package/dist/es2017/compat/eme/close_session.d.ts +31 -0
- package/dist/es2017/compat/eme/close_session.d.ts.map +1 -0
- package/dist/es2017/compat/eme/close_session.js +102 -0
- package/dist/es2017/compat/eme/constants.d.ts +17 -0
- package/dist/es2017/compat/eme/constants.d.ts.map +1 -0
- package/dist/es2017/compat/eme/constants.js +19 -0
- package/dist/es2017/compat/eme/custom_key_system_access.d.ts +50 -0
- package/dist/es2017/compat/eme/custom_key_system_access.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_key_system_access.js +40 -0
- package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.d.ts +32 -0
- package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.js +149 -0
- package/dist/es2017/compat/eme/custom_media_keys/index.d.ts +7 -0
- package/dist/es2017/compat/eme/custom_media_keys/index.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/index.js +6 -0
- package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +28 -0
- package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.js +58 -0
- package/dist/es2017/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts +44 -0
- package/dist/es2017/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/ms_media_keys_constructor.js +26 -0
- package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts +42 -0
- package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.js +166 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.d.ts +33 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.js +203 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts +23 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.js +27 -0
- package/dist/es2017/compat/eme/eme-api-implementation.d.ts +78 -0
- package/dist/es2017/compat/eme/eme-api-implementation.d.ts.map +1 -0
- package/dist/es2017/compat/eme/eme-api-implementation.js +207 -0
- package/dist/es2017/compat/eme/generate_key_request.d.ts +55 -0
- package/dist/es2017/compat/eme/generate_key_request.d.ts.map +1 -0
- package/dist/es2017/compat/eme/generate_key_request.js +144 -0
- package/dist/es2017/compat/eme/get_init_data.d.ts +60 -0
- package/dist/es2017/compat/eme/get_init_data.d.ts.map +1 -0
- package/dist/es2017/compat/eme/get_init_data.js +110 -0
- package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts +24 -0
- package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts.map +1 -0
- package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.js +33 -0
- package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.d.ts +26 -0
- package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.d.ts.map +1 -0
- package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.js +54 -0
- package/dist/es2017/compat/eme/index.d.ts +26 -0
- package/dist/es2017/compat/eme/index.d.ts.map +1 -0
- package/dist/es2017/compat/eme/index.js +22 -0
- package/dist/es2017/compat/eme/load_session.d.ts +31 -0
- package/dist/es2017/compat/eme/load_session.d.ts.map +1 -0
- package/dist/es2017/compat/eme/load_session.js +53 -0
- package/dist/es2017/compat/eme/set_media_keys.d.ts +10 -0
- package/dist/es2017/compat/eme/set_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/eme/set_media_keys.js +33 -0
- package/dist/es2017/compat/enable_audio_track.d.ts +12 -0
- package/dist/es2017/compat/enable_audio_track.d.ts.map +1 -0
- package/dist/es2017/compat/enable_audio_track.js +26 -0
- package/dist/es2017/compat/env_detector.d.ts +100 -0
- package/dist/es2017/compat/env_detector.d.ts.map +1 -0
- package/dist/es2017/compat/env_detector.js +185 -0
- package/dist/es2017/compat/event_listeners.d.ts +175 -0
- package/dist/es2017/compat/event_listeners.d.ts.map +1 -0
- package/dist/es2017/compat/event_listeners.js +411 -0
- package/dist/es2017/compat/generate_init_data.d.ts +14 -0
- package/dist/es2017/compat/generate_init_data.d.ts.map +1 -0
- package/dist/es2017/compat/generate_init_data.js +56 -0
- package/dist/es2017/compat/get_start_date.d.ts +32 -0
- package/dist/es2017/compat/get_start_date.d.ts.map +1 -0
- package/dist/es2017/compat/get_start_date.js +44 -0
- package/dist/es2017/compat/has_issues_with_high_media_source_duration.d.ts +22 -0
- package/dist/es2017/compat/has_issues_with_high_media_source_duration.d.ts.map +1 -0
- package/dist/es2017/compat/has_issues_with_high_media_source_duration.js +29 -0
- package/dist/es2017/compat/has_mse_in_worker.d.ts +3 -0
- package/dist/es2017/compat/has_mse_in_worker.d.ts.map +1 -0
- package/dist/es2017/compat/has_mse_in_worker.js +4 -0
- package/dist/es2017/compat/has_webassembly.d.ts +7 -0
- package/dist/es2017/compat/has_webassembly.d.ts.map +1 -0
- package/dist/es2017/compat/has_webassembly.js +6 -0
- package/dist/es2017/compat/has_worker_api.d.ts +10 -0
- package/dist/es2017/compat/has_worker_api.d.ts.map +1 -0
- package/dist/es2017/compat/has_worker_api.js +14 -0
- package/dist/es2017/compat/is_codec_supported.d.ts +28 -0
- package/dist/es2017/compat/is_codec_supported.d.ts.map +1 -0
- package/dist/es2017/compat/is_codec_supported.js +67 -0
- package/dist/es2017/compat/is_seeking_approximate.d.ts +29 -0
- package/dist/es2017/compat/is_seeking_approximate.d.ts.map +1 -0
- package/dist/es2017/compat/is_seeking_approximate.js +33 -0
- package/dist/es2017/compat/is_vtt_cue.d.ts +23 -0
- package/dist/es2017/compat/is_vtt_cue.d.ts.map +1 -0
- package/dist/es2017/compat/is_vtt_cue.js +24 -0
- package/dist/es2017/compat/make_vtt_cue.d.ts +27 -0
- package/dist/es2017/compat/make_vtt_cue.d.ts.map +1 -0
- package/dist/es2017/compat/make_vtt_cue.js +44 -0
- package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.d.ts +17 -0
- package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.d.ts.map +1 -0
- package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.js +22 -0
- package/dist/es2017/compat/on_height_width_change.d.ts +34 -0
- package/dist/es2017/compat/on_height_width_change.d.ts.map +1 -0
- package/dist/es2017/compat/on_height_width_change.js +72 -0
- package/dist/es2017/compat/patch_webkit_source_buffer.d.ts +17 -0
- package/dist/es2017/compat/patch_webkit_source_buffer.d.ts.map +1 -0
- package/dist/es2017/compat/patch_webkit_source_buffer.js +61 -0
- package/dist/es2017/compat/remove_cue.d.ts +23 -0
- package/dist/es2017/compat/remove_cue.d.ts.map +1 -0
- package/dist/es2017/compat/remove_cue.js +63 -0
- package/dist/es2017/compat/reset_media_element.d.ts +26 -0
- package/dist/es2017/compat/reset_media_element.d.ts.map +1 -0
- package/dist/es2017/compat/reset_media_element.js +40 -0
- package/dist/es2017/compat/should_await_set_media_keys.d.ts +17 -0
- package/dist/es2017/compat/should_await_set_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/should_await_set_media_keys.js +24 -0
- package/dist/es2017/compat/should_favour_custom_safari_EME.d.ts +24 -0
- package/dist/es2017/compat/should_favour_custom_safari_EME.d.ts.map +1 -0
- package/dist/es2017/compat/should_favour_custom_safari_EME.js +34 -0
- package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.d.ts +27 -0
- package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.d.ts.map +1 -0
- package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.js +32 -0
- package/dist/es2017/compat/should_renew_media_key_system_access.d.ts +22 -0
- package/dist/es2017/compat/should_renew_media_key_system_access.d.ts.map +1 -0
- package/dist/es2017/compat/should_renew_media_key_system_access.js +32 -0
- package/dist/es2017/compat/should_unset_media_keys.d.ts +23 -0
- package/dist/es2017/compat/should_unset_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/should_unset_media_keys.js +27 -0
- package/dist/es2017/compat/should_validate_metadata.d.ts +23 -0
- package/dist/es2017/compat/should_validate_metadata.d.ts.map +1 -0
- package/dist/es2017/compat/should_validate_metadata.js +27 -0
- package/dist/es2017/compat/should_wait_for_data_before_loaded.d.ts +25 -0
- package/dist/es2017/compat/should_wait_for_data_before_loaded.d.ts.map +1 -0
- package/dist/es2017/compat/should_wait_for_data_before_loaded.js +39 -0
- package/dist/es2017/compat/should_wait_for_have_enough_data.d.ts +14 -0
- package/dist/es2017/compat/should_wait_for_have_enough_data.d.ts.map +1 -0
- package/dist/es2017/compat/should_wait_for_have_enough_data.js +19 -0
- package/dist/es2017/config.d.ts +21 -0
- package/dist/es2017/config.d.ts.map +1 -0
- package/dist/es2017/config.js +28 -0
- package/dist/es2017/core/adaptive/adaptive_representation_selector.d.ts +294 -0
- package/dist/es2017/core/adaptive/adaptive_representation_selector.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/adaptive_representation_selector.js +407 -0
- package/dist/es2017/core/adaptive/buffer_based_chooser.d.ts +90 -0
- package/dist/es2017/core/adaptive/buffer_based_chooser.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/buffer_based_chooser.js +198 -0
- package/dist/es2017/core/adaptive/guess_based_chooser.d.ts +96 -0
- package/dist/es2017/core/adaptive/guess_based_chooser.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/guess_based_chooser.js +239 -0
- package/dist/es2017/core/adaptive/index.d.ts +20 -0
- package/dist/es2017/core/adaptive/index.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/index.js +17 -0
- package/dist/es2017/core/adaptive/network_analyzer.d.ts +74 -0
- package/dist/es2017/core/adaptive/network_analyzer.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/network_analyzer.js +347 -0
- package/dist/es2017/core/adaptive/utils/bandwidth_estimator.d.ts +48 -0
- package/dist/es2017/core/adaptive/utils/bandwidth_estimator.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/bandwidth_estimator.js +68 -0
- package/dist/es2017/core/adaptive/utils/ewma.d.ts +40 -0
- package/dist/es2017/core/adaptive/utils/ewma.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/ewma.js +49 -0
- package/dist/es2017/core/adaptive/utils/filter_by_bitrate.d.ts +26 -0
- package/dist/es2017/core/adaptive/utils/filter_by_bitrate.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/filter_by_bitrate.js +37 -0
- package/dist/es2017/core/adaptive/utils/filter_by_resolution.d.ts +32 -0
- package/dist/es2017/core/adaptive/utils/filter_by_resolution.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/filter_by_resolution.js +44 -0
- package/dist/es2017/core/adaptive/utils/get_buffer_levels.d.ts +25 -0
- package/dist/es2017/core/adaptive/utils/get_buffer_levels.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/get_buffer_levels.js +50 -0
- package/dist/es2017/core/adaptive/utils/last_estimate_storage.d.ts +62 -0
- package/dist/es2017/core/adaptive/utils/last_estimate_storage.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/last_estimate_storage.js +35 -0
- package/dist/es2017/core/adaptive/utils/pending_requests_store.d.ts +111 -0
- package/dist/es2017/core/adaptive/utils/pending_requests_store.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/pending_requests_store.js +75 -0
- package/dist/es2017/core/adaptive/utils/representation_score_calculator.d.ts +105 -0
- package/dist/es2017/core/adaptive/utils/representation_score_calculator.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/representation_score_calculator.js +117 -0
- package/dist/es2017/core/adaptive/utils/select_optimal_representation.d.ts +28 -0
- package/dist/es2017/core/adaptive/utils/select_optimal_representation.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/select_optimal_representation.js +36 -0
- package/dist/es2017/core/cmcd/cmcd_data_builder.d.ts +133 -0
- package/dist/es2017/core/cmcd/cmcd_data_builder.d.ts.map +1 -0
- package/dist/es2017/core/cmcd/cmcd_data_builder.js +340 -0
- package/dist/es2017/core/cmcd/index.d.ts +4 -0
- package/dist/es2017/core/cmcd/index.d.ts.map +1 -0
- package/dist/es2017/core/cmcd/index.js +2 -0
- package/dist/es2017/core/entry/FreezeResolver.d.ts +176 -0
- package/dist/es2017/core/entry/FreezeResolver.d.ts.map +1 -0
- package/dist/es2017/core/entry/FreezeResolver.js +387 -0
- package/dist/es2017/core/entry/content_preparer.d.ts +194 -0
- package/dist/es2017/core/entry/content_preparer.d.ts.map +1 -0
- package/dist/es2017/core/entry/content_preparer.js +375 -0
- package/dist/es2017/core/entry/content_time_boundaries_observer.d.ts +195 -0
- package/dist/es2017/core/entry/content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/es2017/core/entry/content_time_boundaries_observer.js +476 -0
- package/dist/es2017/core/entry/core_entry.d.ts +39 -0
- package/dist/es2017/core/entry/core_entry.d.ts.map +1 -0
- package/dist/es2017/core/entry/core_entry.js +927 -0
- package/dist/es2017/core/entry/core_text_displayer_interface.d.ts +65 -0
- package/dist/es2017/core/entry/core_text_displayer_interface.d.ts.map +1 -0
- package/dist/es2017/core/entry/core_text_displayer_interface.js +120 -0
- package/dist/es2017/core/entry/create_content_time_boundaries_observer.d.ts +28 -0
- package/dist/es2017/core/entry/create_content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/es2017/core/entry/create_content_time_boundaries_observer.js +41 -0
- package/dist/es2017/core/entry/get_buffered_data_per_media_buffer.d.ts +15 -0
- package/dist/es2017/core/entry/get_buffered_data_per_media_buffer.d.ts.map +1 -0
- package/dist/es2017/core/entry/get_buffered_data_per_media_buffer.js +34 -0
- package/dist/es2017/core/entry/get_thumbnail_data.d.ts +13 -0
- package/dist/es2017/core/entry/get_thumbnail_data.d.ts.map +1 -0
- package/dist/es2017/core/entry/get_thumbnail_data.js +27 -0
- package/dist/es2017/core/entry/index.d.ts +6 -0
- package/dist/es2017/core/entry/index.d.ts.map +1 -0
- package/dist/es2017/core/entry/index.js +2 -0
- package/dist/es2017/core/entry/synchronize_sinks_on_observation.d.ts +11 -0
- package/dist/es2017/core/entry/synchronize_sinks_on_observation.d.ts.map +1 -0
- package/dist/es2017/core/entry/synchronize_sinks_on_observation.js +17 -0
- package/dist/es2017/core/entry/track_choice_setter.d.ts +20 -0
- package/dist/es2017/core/entry/track_choice_setter.d.ts.map +1 -0
- package/dist/es2017/core/entry/track_choice_setter.js +126 -0
- package/dist/es2017/core/entry/utils.d.ts +3 -0
- package/dist/es2017/core/entry/utils.d.ts.map +1 -0
- package/dist/es2017/core/entry/utils.js +8 -0
- package/dist/es2017/core/fetchers/cdn_prioritizer.d.ts +108 -0
- package/dist/es2017/core/fetchers/cdn_prioritizer.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/cdn_prioritizer.js +154 -0
- package/dist/es2017/core/fetchers/index.d.ts +25 -0
- package/dist/es2017/core/fetchers/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/index.js +20 -0
- package/dist/es2017/core/fetchers/manifest/index.d.ts +20 -0
- package/dist/es2017/core/fetchers/manifest/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/manifest/index.js +17 -0
- package/dist/es2017/core/fetchers/manifest/manifest_fetcher.d.ts +239 -0
- package/dist/es2017/core/fetchers/manifest/manifest_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/manifest/manifest_fetcher.js +541 -0
- package/dist/es2017/core/fetchers/segment/index.d.ts +22 -0
- package/dist/es2017/core/fetchers/segment/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/index.js +17 -0
- package/dist/es2017/core/fetchers/segment/initialization_segment_cache.d.ts +43 -0
- package/dist/es2017/core/fetchers/segment/initialization_segment_cache.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/initialization_segment_cache.js +48 -0
- package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.d.ts +40 -0
- package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.js +67 -0
- package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts +200 -0
- package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/segment_fetcher.js +302 -0
- package/dist/es2017/core/fetchers/segment/segment_queue.d.ts +242 -0
- package/dist/es2017/core/fetchers/segment/segment_queue.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/segment_queue.js +433 -0
- package/dist/es2017/core/fetchers/segment/segment_queue_creator.d.ts +98 -0
- package/dist/es2017/core/fetchers/segment/segment_queue_creator.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/segment_queue_creator.js +73 -0
- package/dist/es2017/core/fetchers/segment/task_prioritizer.d.ts +155 -0
- package/dist/es2017/core/fetchers/segment/task_prioritizer.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/task_prioritizer.js +328 -0
- package/dist/es2017/core/fetchers/thumbnails/index.d.ts +5 -0
- package/dist/es2017/core/fetchers/thumbnails/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/thumbnails/index.js +2 -0
- package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.d.ts +79 -0
- package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.js +200 -0
- package/dist/es2017/core/fetchers/utils/error_selector.d.ts +23 -0
- package/dist/es2017/core/fetchers/utils/error_selector.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/utils/error_selector.js +31 -0
- package/dist/es2017/core/fetchers/utils/schedule_request.d.ts +99 -0
- package/dist/es2017/core/fetchers/utils/schedule_request.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/utils/schedule_request.js +331 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.d.ts +44 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.js +148 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts +136 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.js +269 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/index.d.ts +18 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/index.js +17 -0
- package/dist/es2017/core/segment_sinks/implementations/index.d.ts +21 -0
- package/dist/es2017/core/segment_sinks/implementations/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/index.js +18 -0
- package/dist/es2017/core/segment_sinks/implementations/text/index.d.ts +5 -0
- package/dist/es2017/core/segment_sinks/implementations/text/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/text/index.js +2 -0
- package/dist/es2017/core/segment_sinks/implementations/text/text_segment_sink.d.ts +101 -0
- package/dist/es2017/core/segment_sinks/implementations/text/text_segment_sink.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/text/text_segment_sink.js +190 -0
- package/dist/es2017/core/segment_sinks/implementations/types.d.ts +311 -0
- package/dist/es2017/core/segment_sinks/implementations/types.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/types.js +112 -0
- package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts +30 -0
- package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.js +63 -0
- package/dist/es2017/core/segment_sinks/index.d.ts +25 -0
- package/dist/es2017/core/segment_sinks/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/index.js +21 -0
- package/dist/es2017/core/segment_sinks/inventory/buffered_history.d.ts +90 -0
- package/dist/es2017/core/segment_sinks/inventory/buffered_history.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/buffered_history.js +88 -0
- package/dist/es2017/core/segment_sinks/inventory/index.d.ts +24 -0
- package/dist/es2017/core/segment_sinks/inventory/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/index.js +18 -0
- package/dist/es2017/core/segment_sinks/inventory/segment_inventory.d.ts +240 -0
- package/dist/es2017/core/segment_sinks/inventory/segment_inventory.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/segment_inventory.js +1075 -0
- package/dist/es2017/core/segment_sinks/inventory/types.d.ts +33 -0
- package/dist/es2017/core/segment_sinks/inventory/types.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/types.js +16 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.d.ts +34 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.js +48 -0
- package/dist/es2017/core/segment_sinks/segment_sinks_store.d.ts +204 -0
- package/dist/es2017/core/segment_sinks/segment_sinks_store.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/segment_sinks_store.js +329 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts +34 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.js +471 -0
- package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.d.ts +54 -0
- package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.js +112 -0
- package/dist/es2017/core/stream/adaptation/index.d.ts +19 -0
- package/dist/es2017/core/stream/adaptation/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/index.js +17 -0
- package/dist/es2017/core/stream/adaptation/types.d.ts +200 -0
- package/dist/es2017/core/stream/adaptation/types.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/types.js +1 -0
- package/dist/es2017/core/stream/index.d.ts +23 -0
- package/dist/es2017/core/stream/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/index.js +17 -0
- package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.d.ts +31 -0
- package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.d.ts.map +1 -0
- package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.js +76 -0
- package/dist/es2017/core/stream/orchestrator/index.d.ts +20 -0
- package/dist/es2017/core/stream/orchestrator/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/orchestrator/index.js +17 -0
- package/dist/es2017/core/stream/orchestrator/stream_orchestrator.d.ts +176 -0
- package/dist/es2017/core/stream/orchestrator/stream_orchestrator.d.ts.map +1 -0
- package/dist/es2017/core/stream/orchestrator/stream_orchestrator.js +550 -0
- package/dist/es2017/core/stream/period/index.d.ts +19 -0
- package/dist/es2017/core/stream/period/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/index.js +17 -0
- package/dist/es2017/core/stream/period/period_stream.d.ts +50 -0
- package/dist/es2017/core/stream/period/period_stream.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/period_stream.js +432 -0
- package/dist/es2017/core/stream/period/types.d.ts +120 -0
- package/dist/es2017/core/stream/period/types.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/types.js +1 -0
- package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +68 -0
- package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.js +130 -0
- package/dist/es2017/core/stream/representation/index.d.ts +19 -0
- package/dist/es2017/core/stream/representation/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/index.js +17 -0
- package/dist/es2017/core/stream/representation/representation_stream.d.ts +54 -0
- package/dist/es2017/core/stream/representation/representation_stream.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/representation_stream.js +395 -0
- package/dist/es2017/core/stream/representation/types.d.ts +319 -0
- package/dist/es2017/core/stream/representation/types.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/types.js +1 -0
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.d.ts +36 -0
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.js +79 -0
- package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.d.ts +54 -0
- package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.js +245 -0
- package/dist/es2017/core/stream/representation/utils/get_buffer_status.d.ts +73 -0
- package/dist/es2017/core/stream/representation/utils/get_buffer_status.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/get_buffer_status.js +198 -0
- package/dist/es2017/core/stream/representation/utils/get_needed_segments.d.ts +92 -0
- package/dist/es2017/core/stream/representation/utils/get_needed_segments.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/get_needed_segments.js +450 -0
- package/dist/es2017/core/stream/representation/utils/get_segment_priority.d.ts +29 -0
- package/dist/es2017/core/stream/representation/utils/get_segment_priority.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/get_segment_priority.js +38 -0
- package/dist/es2017/core/stream/representation/utils/push_init_segment.d.ts +42 -0
- package/dist/es2017/core/stream/representation/utils/push_init_segment.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/push_init_segment.js +36 -0
- package/dist/es2017/core/stream/representation/utils/push_media_segment.d.ts +43 -0
- package/dist/es2017/core/stream/representation/utils/push_media_segment.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/push_media_segment.js +63 -0
- package/dist/es2017/core/types.d.ts +538 -0
- package/dist/es2017/core/types.d.ts.map +1 -0
- package/dist/es2017/core/types.js +2 -0
- package/dist/es2017/default_config.d.ts +1200 -0
- package/dist/es2017/default_config.d.ts.map +1 -0
- package/dist/es2017/default_config.js +1234 -0
- package/dist/es2017/errors/custom_loader_error.d.ts +36 -0
- package/dist/es2017/errors/custom_loader_error.d.ts.map +1 -0
- package/dist/es2017/errors/custom_loader_error.js +39 -0
- package/dist/es2017/errors/encrypted_media_error.d.ts +72 -0
- package/dist/es2017/errors/encrypted_media_error.d.ts.map +1 -0
- package/dist/es2017/errors/encrypted_media_error.js +55 -0
- package/dist/es2017/errors/error_codes.d.ts +33 -0
- package/dist/es2017/errors/error_codes.d.ts.map +1 -0
- package/dist/es2017/errors/error_codes.js +68 -0
- package/dist/es2017/errors/error_message.d.ts +23 -0
- package/dist/es2017/errors/error_message.d.ts.map +1 -0
- package/dist/es2017/errors/error_message.js +24 -0
- package/dist/es2017/errors/format_error.d.ts +21 -0
- package/dist/es2017/errors/format_error.d.ts.map +1 -0
- package/dist/es2017/errors/format_error.js +29 -0
- package/dist/es2017/errors/index.d.ts +32 -0
- package/dist/es2017/errors/index.d.ts.map +1 -0
- package/dist/es2017/errors/index.js +25 -0
- package/dist/es2017/errors/is_known_error.d.ts +23 -0
- package/dist/es2017/errors/is_known_error.d.ts.map +1 -0
- package/dist/es2017/errors/is_known_error.js +32 -0
- package/dist/es2017/errors/media_error.d.ts +60 -0
- package/dist/es2017/errors/media_error.d.ts.map +1 -0
- package/dist/es2017/errors/media_error.js +53 -0
- package/dist/es2017/errors/network_error.d.ts +59 -0
- package/dist/es2017/errors/network_error.d.ts.map +1 -0
- package/dist/es2017/errors/network_error.js +65 -0
- package/dist/es2017/errors/other_error.d.ts +47 -0
- package/dist/es2017/errors/other_error.d.ts.map +1 -0
- package/dist/es2017/errors/other_error.js +51 -0
- package/dist/es2017/errors/source_buffer_error.d.ts +40 -0
- package/dist/es2017/errors/source_buffer_error.d.ts.map +1 -0
- package/dist/es2017/errors/source_buffer_error.js +42 -0
- package/dist/es2017/errors/worker_initialization_error.d.ts +19 -0
- package/dist/es2017/errors/worker_initialization_error.d.ts.map +1 -0
- package/dist/es2017/errors/worker_initialization_error.js +21 -0
- package/dist/es2017/experimental/features/index.d.ts +19 -0
- package/dist/es2017/experimental/features/index.d.ts.map +1 -0
- package/dist/es2017/experimental/features/index.js +18 -0
- package/dist/es2017/experimental/features/local.d.ts +20 -0
- package/dist/es2017/experimental/features/local.d.ts.map +1 -0
- package/dist/es2017/experimental/features/local.js +29 -0
- package/dist/es2017/experimental/features/metaplaylist.d.ts +20 -0
- package/dist/es2017/experimental/features/metaplaylist.d.ts.map +1 -0
- package/dist/es2017/experimental/features/metaplaylist.js +29 -0
- package/dist/es2017/experimental/features/multi_thread.d.ts +9 -0
- package/dist/es2017/experimental/features/multi_thread.d.ts.map +1 -0
- package/dist/es2017/experimental/features/multi_thread.js +14 -0
- package/dist/es2017/experimental/features/worker/index.d.ts +3 -0
- package/dist/es2017/experimental/features/worker/index.d.ts.map +1 -0
- package/dist/es2017/experimental/features/worker/index.js +4 -0
- package/dist/es2017/experimental/index.d.ts +3 -0
- package/dist/es2017/experimental/index.d.ts.map +1 -0
- package/dist/es2017/experimental/index.js +2 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/eme.d.ts +225 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/eme.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/eme.js +790 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/html5.d.ts +376 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/html5.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/html5.js +863 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/index.d.ts +3 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/index.js +2 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/mse.d.ts +217 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/mse.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/mse.js +586 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/utils.d.ts +33 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/utils.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/utils.js +457 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +18 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.js +20 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +18 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.js +20 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.d.ts +19 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.js +18 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +27 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.js +60 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +27 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.js +72 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +30 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.js +40 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.d.ts +26 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.js +16 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +55 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +281 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts +25 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.js +29 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts +24 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.js +116 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/index.d.ts +31 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/index.js +51 -0
- package/dist/es2017/experimental/tools/index.d.ts +20 -0
- package/dist/es2017/experimental/tools/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/index.js +19 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api.d.ts +73 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api.js +196 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.d.ts +19 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.js +17 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.d.ts +19 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.js +18 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +21 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.js +58 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +22 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.js +66 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts +30 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +60 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts +24 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.js +140 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +22 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.js +49 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +22 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.js +36 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.d.ts +56 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.js +16 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.d.ts +35 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.js +82 -0
- package/dist/es2017/features/add_features.d.ts +21 -0
- package/dist/es2017/features/add_features.d.ts.map +1 -0
- package/dist/es2017/features/add_features.js +34 -0
- package/dist/es2017/features/features_object.d.ts +23 -0
- package/dist/es2017/features/features_object.d.ts.map +1 -0
- package/dist/es2017/features/features_object.js +33 -0
- package/dist/es2017/features/index.d.ts +36 -0
- package/dist/es2017/features/index.d.ts.map +1 -0
- package/dist/es2017/features/index.js +33 -0
- package/dist/es2017/features/list/dash.d.ts +24 -0
- package/dist/es2017/features/list/dash.d.ts.map +1 -0
- package/dist/es2017/features/list/dash.js +37 -0
- package/dist/es2017/features/list/dash_wasm.d.ts +24 -0
- package/dist/es2017/features/list/dash_wasm.d.ts.map +1 -0
- package/dist/es2017/features/list/dash_wasm.js +39 -0
- package/dist/es2017/features/list/debug_element.d.ts +9 -0
- package/dist/es2017/features/list/debug_element.d.ts.map +1 -0
- package/dist/es2017/features/list/debug_element.js +10 -0
- package/dist/es2017/features/list/directfile.d.ts +25 -0
- package/dist/es2017/features/list/directfile.d.ts.map +1 -0
- package/dist/es2017/features/list/directfile.js +27 -0
- package/dist/es2017/features/list/eme.d.ts +24 -0
- package/dist/es2017/features/list/eme.d.ts.map +1 -0
- package/dist/es2017/features/list/eme.js +25 -0
- package/dist/es2017/features/list/html_sami_parser.d.ts +24 -0
- package/dist/es2017/features/list/html_sami_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_sami_parser.js +27 -0
- package/dist/es2017/features/list/html_srt_parser.d.ts +24 -0
- package/dist/es2017/features/list/html_srt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_srt_parser.js +27 -0
- package/dist/es2017/features/list/html_text_buffer.d.ts +24 -0
- package/dist/es2017/features/list/html_text_buffer.d.ts.map +1 -0
- package/dist/es2017/features/list/html_text_buffer.js +25 -0
- package/dist/es2017/features/list/html_ttml_parser.d.ts +24 -0
- package/dist/es2017/features/list/html_ttml_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_ttml_parser.js +27 -0
- package/dist/es2017/features/list/html_vtt_parser.d.ts +24 -0
- package/dist/es2017/features/list/html_vtt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_vtt_parser.js +28 -0
- package/dist/es2017/features/list/index.d.ts +33 -0
- package/dist/es2017/features/list/index.d.ts.map +1 -0
- package/dist/es2017/features/list/index.js +32 -0
- package/dist/es2017/features/list/media_source_main.d.ts +9 -0
- package/dist/es2017/features/list/media_source_main.d.ts.map +1 -0
- package/dist/es2017/features/list/media_source_main.js +16 -0
- package/dist/es2017/features/list/native_sami_parser.d.ts +24 -0
- package/dist/es2017/features/list/native_sami_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_sami_parser.js +27 -0
- package/dist/es2017/features/list/native_srt_parser.d.ts +24 -0
- package/dist/es2017/features/list/native_srt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_srt_parser.js +27 -0
- package/dist/es2017/features/list/native_text_buffer.d.ts +24 -0
- package/dist/es2017/features/list/native_text_buffer.d.ts.map +1 -0
- package/dist/es2017/features/list/native_text_buffer.js +25 -0
- package/dist/es2017/features/list/native_ttml_parser.d.ts +24 -0
- package/dist/es2017/features/list/native_ttml_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_ttml_parser.js +27 -0
- package/dist/es2017/features/list/native_vtt_parser.d.ts +24 -0
- package/dist/es2017/features/list/native_vtt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_vtt_parser.js +28 -0
- package/dist/es2017/features/list/smooth.d.ts +24 -0
- package/dist/es2017/features/list/smooth.d.ts.map +1 -0
- package/dist/es2017/features/list/smooth.js +35 -0
- package/dist/es2017/features/types.d.ts +162 -0
- package/dist/es2017/features/types.d.ts.map +1 -0
- package/dist/es2017/features/types.js +16 -0
- package/dist/es2017/importable_worker.d.ts +25 -0
- package/dist/es2017/importable_worker.d.ts.map +1 -0
- package/dist/es2017/importable_worker.js +107 -0
- package/dist/es2017/index.d.ts +18 -0
- package/dist/es2017/index.d.ts.map +1 -0
- package/dist/es2017/index.js +42 -0
- package/dist/es2017/initialize_worker.d.ts +10 -0
- package/dist/es2017/initialize_worker.d.ts.map +1 -0
- package/dist/es2017/initialize_worker.js +70 -0
- package/dist/es2017/log.d.ts +19 -0
- package/dist/es2017/log.d.ts.map +1 -0
- package/dist/es2017/log.js +19 -0
- package/dist/es2017/main_thread/api/debug/buffer_graph.d.ts +29 -0
- package/dist/es2017/main_thread/api/debug/buffer_graph.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/buffer_graph.js +175 -0
- package/dist/es2017/main_thread/api/debug/buffer_size_graph.d.ts +11 -0
- package/dist/es2017/main_thread/api/debug/buffer_size_graph.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/buffer_size_graph.js +102 -0
- package/dist/es2017/main_thread/api/debug/constants.d.ts +3 -0
- package/dist/es2017/main_thread/api/debug/constants.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/constants.js +2 -0
- package/dist/es2017/main_thread/api/debug/index.d.ts +3 -0
- package/dist/es2017/main_thread/api/debug/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/index.js +2 -0
- package/dist/es2017/main_thread/api/debug/modules/general_info.d.ts +4 -0
- package/dist/es2017/main_thread/api/debug/modules/general_info.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/modules/general_info.js +192 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.d.ts +5 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.js +169 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.d.ts +4 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.js +35 -0
- package/dist/es2017/main_thread/api/debug/render.d.ts +4 -0
- package/dist/es2017/main_thread/api/debug/render.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/render.js +32 -0
- package/dist/es2017/main_thread/api/debug/utils.d.ts +40 -0
- package/dist/es2017/main_thread/api/debug/utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/utils.js +54 -0
- package/dist/es2017/main_thread/api/index.d.ts +18 -0
- package/dist/es2017/main_thread/api/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/index.js +17 -0
- package/dist/es2017/main_thread/api/option_utils.d.ts +172 -0
- package/dist/es2017/main_thread/api/option_utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/option_utils.js +358 -0
- package/dist/es2017/main_thread/api/public_api.d.ts +1046 -0
- package/dist/es2017/main_thread/api/public_api.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/public_api.js +2852 -0
- package/dist/es2017/main_thread/api/utils.d.ts +67 -0
- package/dist/es2017/main_thread/api/utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/utils.js +179 -0
- package/dist/es2017/main_thread/core_interface/base.d.ts +13 -0
- package/dist/es2017/main_thread/core_interface/base.d.ts.map +1 -0
- package/dist/es2017/main_thread/core_interface/base.js +28 -0
- package/dist/es2017/main_thread/core_interface/monothread.d.ts +13 -0
- package/dist/es2017/main_thread/core_interface/monothread.d.ts.map +1 -0
- package/dist/es2017/main_thread/core_interface/monothread.js +32 -0
- package/dist/es2017/main_thread/core_interface/multithread.d.ts +25 -0
- package/dist/es2017/main_thread/core_interface/multithread.d.ts.map +1 -0
- package/dist/es2017/main_thread/core_interface/multithread.js +45 -0
- package/dist/es2017/main_thread/core_interface/types.d.ts +6 -0
- package/dist/es2017/main_thread/core_interface/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/core_interface/types.js +1 -0
- package/dist/es2017/main_thread/decrypt/clear_on_stop.d.ts +24 -0
- package/dist/es2017/main_thread/decrypt/clear_on_stop.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/clear_on_stop.js +42 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.d.ts +240 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.js +924 -0
- package/dist/es2017/main_thread/decrypt/create_or_load_session.d.ts +65 -0
- package/dist/es2017/main_thread/decrypt/create_or_load_session.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/create_or_load_session.js +88 -0
- package/dist/es2017/main_thread/decrypt/create_session.d.ts +55 -0
- package/dist/es2017/main_thread/decrypt/create_session.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/create_session.js +152 -0
- package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.d.ts +23 -0
- package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.js +24 -0
- package/dist/es2017/main_thread/decrypt/find_key_system.d.ts +86 -0
- package/dist/es2017/main_thread/decrypt/find_key_system.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/find_key_system.js +446 -0
- package/dist/es2017/main_thread/decrypt/get_key_system_configuration.d.ts +24 -0
- package/dist/es2017/main_thread/decrypt/get_key_system_configuration.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/get_key_system_configuration.js +32 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.d.ts +55 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.js +114 -0
- package/dist/es2017/main_thread/decrypt/index.d.ts +27 -0
- package/dist/es2017/main_thread/decrypt/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/index.js +26 -0
- package/dist/es2017/main_thread/decrypt/init_media_keys.d.ts +30 -0
- package/dist/es2017/main_thread/decrypt/init_media_keys.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/init_media_keys.js +38 -0
- package/dist/es2017/main_thread/decrypt/session_events_listener.d.ts +77 -0
- package/dist/es2017/main_thread/decrypt/session_events_listener.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/session_events_listener.js +273 -0
- package/dist/es2017/main_thread/decrypt/set_server_certificate.d.ts +58 -0
- package/dist/es2017/main_thread/decrypt/set_server_certificate.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/set_server_certificate.js +96 -0
- package/dist/es2017/main_thread/decrypt/types.d.ts +380 -0
- package/dist/es2017/main_thread/decrypt/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/types.js +55 -0
- package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.d.ts +35 -0
- package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.js +141 -0
- package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.d.ts +54 -0
- package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.js +180 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts +27 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.js +42 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts +33 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_stored_persistent_info.js +43 -0
- package/dist/es2017/main_thread/decrypt/utils/get_drm_system_id.d.ts +21 -0
- package/dist/es2017/main_thread/decrypt/utils/get_drm_system_id.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/get_drm_system_id.js +37 -0
- package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.d.ts +70 -0
- package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.js +105 -0
- package/dist/es2017/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts +14 -0
- package/dist/es2017/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/is_compatible_codec_supported.js +28 -0
- package/dist/es2017/main_thread/decrypt/utils/is_session_usable.d.ts +25 -0
- package/dist/es2017/main_thread/decrypt/utils/is_session_usable.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/is_session_usable.js +54 -0
- package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.d.ts +32 -0
- package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.js +48 -0
- package/dist/es2017/main_thread/decrypt/utils/key_session_record.d.ts +105 -0
- package/dist/es2017/main_thread/decrypt/utils/key_session_record.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/key_session_record.js +152 -0
- package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.d.ts +214 -0
- package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.js +382 -0
- package/dist/es2017/main_thread/decrypt/utils/media_keys_attacher.d.ts +85 -0
- package/dist/es2017/main_thread/decrypt/utils/media_keys_attacher.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/media_keys_attacher.js +184 -0
- package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.d.ts +93 -0
- package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.js +369 -0
- package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.d.ts +45 -0
- package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.js +46 -0
- package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.d.ts +65 -0
- package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.js +121 -0
- package/dist/es2017/main_thread/init/directfile_content_initializer.d.ts +116 -0
- package/dist/es2017/main_thread/init/directfile_content_initializer.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/directfile_content_initializer.js +267 -0
- package/dist/es2017/main_thread/init/index.d.ts +18 -0
- package/dist/es2017/main_thread/init/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/index.js +16 -0
- package/dist/es2017/main_thread/init/media_source_content_initializer.d.ts +330 -0
- package/dist/es2017/main_thread/init/media_source_content_initializer.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/media_source_content_initializer.js +1570 -0
- package/dist/es2017/main_thread/init/types.d.ts +240 -0
- package/dist/es2017/main_thread/init/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/types.js +29 -0
- package/dist/es2017/main_thread/init/utils/create_core_playback_observer.d.ts +96 -0
- package/dist/es2017/main_thread/init/utils/create_core_playback_observer.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/create_core_playback_observer.js +107 -0
- package/dist/es2017/main_thread/init/utils/get_initial_time.d.ts +77 -0
- package/dist/es2017/main_thread/init/utils/get_initial_time.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/get_initial_time.js +149 -0
- package/dist/es2017/main_thread/init/utils/get_loaded_reference.d.ts +28 -0
- package/dist/es2017/main_thread/init/utils/get_loaded_reference.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/get_loaded_reference.js +63 -0
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts +63 -0
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.js +224 -0
- package/dist/es2017/main_thread/init/utils/initialize_content_decryption.d.ts +99 -0
- package/dist/es2017/main_thread/init/utils/initialize_content_decryption.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/initialize_content_decryption.js +118 -0
- package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.d.ts +36 -0
- package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.js +50 -0
- package/dist/es2017/main_thread/init/utils/rebuffering_controller.d.ts +118 -0
- package/dist/es2017/main_thread/init/utils/rebuffering_controller.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/rebuffering_controller.js +450 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts +40 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/are_same_stream_events.js +33 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/index.d.ts +19 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/index.js +17 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +26 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +82 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts +57 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.js +178 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.d.ts +42 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.js +16 -0
- package/dist/es2017/main_thread/init/utils/throw_on_media_error.d.ts +25 -0
- package/dist/es2017/main_thread/init/utils/throw_on_media_error.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/throw_on_media_error.js +63 -0
- package/dist/es2017/main_thread/init/utils/update_manifest_codec_support.d.ts +35 -0
- package/dist/es2017/main_thread/init/utils/update_manifest_codec_support.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/update_manifest_codec_support.js +147 -0
- package/dist/es2017/main_thread/render_thumbnail.d.ts +27 -0
- package/dist/es2017/main_thread/render_thumbnail.d.ts.map +1 -0
- package/dist/es2017/main_thread/render_thumbnail.js +198 -0
- package/dist/es2017/main_thread/text_displayer/html/html_parsers.d.ts +20 -0
- package/dist/es2017/main_thread/text_displayer/html/html_parsers.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/html_parsers.js +22 -0
- package/dist/es2017/main_thread/text_displayer/html/html_text_displayer.d.ts +105 -0
- package/dist/es2017/main_thread/text_displayer/html/html_text_displayer.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/html_text_displayer.js +310 -0
- package/dist/es2017/main_thread/text_displayer/html/index.d.ts +3 -0
- package/dist/es2017/main_thread/text_displayer/html/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/index.js +2 -0
- package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.d.ts +66 -0
- package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.js +356 -0
- package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.d.ts +16 -0
- package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.js +61 -0
- package/dist/es2017/main_thread/text_displayer/html/utils.d.ts +55 -0
- package/dist/es2017/main_thread/text_displayer/html/utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/utils.js +133 -0
- package/dist/es2017/main_thread/text_displayer/index.d.ts +3 -0
- package/dist/es2017/main_thread/text_displayer/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/index.js +1 -0
- package/dist/es2017/main_thread/text_displayer/manual_time_ranges.d.ts +15 -0
- package/dist/es2017/main_thread/text_displayer/manual_time_ranges.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/manual_time_ranges.js +44 -0
- package/dist/es2017/main_thread/text_displayer/native/index.d.ts +3 -0
- package/dist/es2017/main_thread/text_displayer/native/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/native/index.js +2 -0
- package/dist/es2017/main_thread/text_displayer/native/native_parsers.d.ts +16 -0
- package/dist/es2017/main_thread/text_displayer/native/native_parsers.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/native/native_parsers.js +22 -0
- package/dist/es2017/main_thread/text_displayer/native/native_text_displayer.d.ts +59 -0
- package/dist/es2017/main_thread/text_displayer/native/native_text_displayer.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/native/native_text_displayer.js +200 -0
- package/dist/es2017/main_thread/text_displayer/types.d.ts +74 -0
- package/dist/es2017/main_thread/text_displayer/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/types.js +1 -0
- package/dist/es2017/main_thread/tracks_store/index.d.ts +21 -0
- package/dist/es2017/main_thread/tracks_store/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/index.js +18 -0
- package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.d.ts +208 -0
- package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.js +681 -0
- package/dist/es2017/main_thread/tracks_store/track_dispatcher.d.ts +108 -0
- package/dist/es2017/main_thread/tracks_store/track_dispatcher.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/track_dispatcher.js +156 -0
- package/dist/es2017/main_thread/tracks_store/tracks_store.d.ts +538 -0
- package/dist/es2017/main_thread/tracks_store/tracks_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/tracks_store.js +1354 -0
- package/dist/es2017/main_thread/types.d.ts +566 -0
- package/dist/es2017/main_thread/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/types.js +1 -0
- package/dist/es2017/manifest/classes/adaptation.d.ts +135 -0
- package/dist/es2017/manifest/classes/adaptation.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/adaptation.js +219 -0
- package/dist/es2017/manifest/classes/codec_support_cache.d.ts +45 -0
- package/dist/es2017/manifest/classes/codec_support_cache.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/codec_support_cache.js +58 -0
- package/dist/es2017/manifest/classes/index.d.ts +32 -0
- package/dist/es2017/manifest/classes/index.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/index.js +24 -0
- package/dist/es2017/manifest/classes/manifest.d.ts +425 -0
- package/dist/es2017/manifest/classes/manifest.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/manifest.js +436 -0
- package/dist/es2017/manifest/classes/period.d.ts +157 -0
- package/dist/es2017/manifest/classes/period.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/period.js +215 -0
- package/dist/es2017/manifest/classes/representation.d.ts +271 -0
- package/dist/es2017/manifest/classes/representation.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation.js +366 -0
- package/dist/es2017/manifest/classes/representation_index/index.d.ts +20 -0
- package/dist/es2017/manifest/classes/representation_index/index.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation_index/index.js +17 -0
- package/dist/es2017/manifest/classes/representation_index/static.d.ts +117 -0
- package/dist/es2017/manifest/classes/representation_index/static.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation_index/static.js +160 -0
- package/dist/es2017/manifest/classes/representation_index/types.d.ts +441 -0
- package/dist/es2017/manifest/classes/representation_index/types.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation_index/types.js +16 -0
- package/dist/es2017/manifest/classes/types.d.ts +30 -0
- package/dist/es2017/manifest/classes/types.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/types.js +30 -0
- package/dist/es2017/manifest/classes/update_period_in_place.d.ts +63 -0
- package/dist/es2017/manifest/classes/update_period_in_place.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/update_period_in_place.js +168 -0
- package/dist/es2017/manifest/classes/update_periods.d.ts +51 -0
- package/dist/es2017/manifest/classes/update_periods.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/update_periods.js +193 -0
- package/dist/es2017/manifest/classes/utils.d.ts +47 -0
- package/dist/es2017/manifest/classes/utils.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/utils.js +45 -0
- package/dist/es2017/manifest/index.d.ts +17 -0
- package/dist/es2017/manifest/index.d.ts.map +1 -0
- package/dist/es2017/manifest/index.js +3 -0
- package/dist/es2017/manifest/types.d.ts +466 -0
- package/dist/es2017/manifest/types.d.ts.map +1 -0
- package/dist/es2017/manifest/types.js +1 -0
- package/dist/es2017/manifest/utils.d.ts +184 -0
- package/dist/es2017/manifest/utils.d.ts.map +1 -0
- package/dist/es2017/manifest/utils.js +558 -0
- package/dist/es2017/minimal.d.ts +21 -0
- package/dist/es2017/minimal.d.ts.map +1 -0
- package/dist/es2017/minimal.js +28 -0
- package/dist/es2017/mse/index.d.ts +3 -0
- package/dist/es2017/mse/index.d.ts.map +1 -0
- package/dist/es2017/mse/index.js +1 -0
- package/dist/es2017/mse/main_media_source_interface.d.ts +133 -0
- package/dist/es2017/mse/main_media_source_interface.d.ts.map +1 -0
- package/dist/es2017/mse/main_media_source_interface.js +513 -0
- package/dist/es2017/mse/types.d.ts +303 -0
- package/dist/es2017/mse/types.d.ts.map +1 -0
- package/dist/es2017/mse/types.js +1 -0
- package/dist/es2017/mse/utils/end_of_stream.d.ts +35 -0
- package/dist/es2017/mse/utils/end_of_stream.d.ts.map +1 -0
- package/dist/es2017/mse/utils/end_of_stream.js +92 -0
- package/dist/es2017/mse/utils/media_source_duration_updater.d.ts +63 -0
- package/dist/es2017/mse/utils/media_source_duration_updater.d.ts.map +1 -0
- package/dist/es2017/mse/utils/media_source_duration_updater.js +270 -0
- package/dist/es2017/mse/worker_media_source_interface.d.ts +116 -0
- package/dist/es2017/mse/worker_media_source_interface.d.ts.map +1 -0
- package/dist/es2017/mse/worker_media_source_interface.js +317 -0
- package/dist/es2017/parsers/containers/isobmff/constants.d.ts +24 -0
- package/dist/es2017/parsers/containers/isobmff/constants.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/constants.js +23 -0
- package/dist/es2017/parsers/containers/isobmff/create_box.d.ts +31 -0
- package/dist/es2017/parsers/containers/isobmff/create_box.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/create_box.js +65 -0
- package/dist/es2017/parsers/containers/isobmff/drm/index.d.ts +17 -0
- package/dist/es2017/parsers/containers/isobmff/drm/index.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/drm/index.js +16 -0
- package/dist/es2017/parsers/containers/isobmff/drm/playready.d.ts +22 -0
- package/dist/es2017/parsers/containers/isobmff/drm/playready.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/drm/playready.js +35 -0
- package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.d.ts +30 -0
- package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.js +85 -0
- package/dist/es2017/parsers/containers/isobmff/find_complete_box.d.ts +26 -0
- package/dist/es2017/parsers/containers/isobmff/find_complete_box.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/find_complete_box.js +54 -0
- package/dist/es2017/parsers/containers/isobmff/get_box.d.ts +107 -0
- package/dist/es2017/parsers/containers/isobmff/get_box.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/get_box.js +224 -0
- package/dist/es2017/parsers/containers/isobmff/index.d.ts +26 -0
- package/dist/es2017/parsers/containers/isobmff/index.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/index.js +24 -0
- package/dist/es2017/parsers/containers/isobmff/read.d.ts +58 -0
- package/dist/es2017/parsers/containers/isobmff/read.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/read.js +87 -0
- package/dist/es2017/parsers/containers/isobmff/take_pssh_out.d.ts +42 -0
- package/dist/es2017/parsers/containers/isobmff/take_pssh_out.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/take_pssh_out.js +82 -0
- package/dist/es2017/parsers/containers/isobmff/utils.d.ts +143 -0
- package/dist/es2017/parsers/containers/isobmff/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/utils.js +537 -0
- package/dist/es2017/parsers/containers/matroska/index.d.ts +18 -0
- package/dist/es2017/parsers/containers/matroska/index.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/matroska/index.js +16 -0
- package/dist/es2017/parsers/containers/matroska/utils.d.ts +35 -0
- package/dist/es2017/parsers/containers/matroska/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/matroska/utils.js +256 -0
- package/dist/es2017/parsers/images/bif.d.ts +40 -0
- package/dist/es2017/parsers/images/bif.d.ts.map +1 -0
- package/dist/es2017/parsers/images/bif.js +101 -0
- package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.d.ts +29 -0
- package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.js +44 -0
- package/dist/es2017/parsers/manifest/dash/common/content_protection_parser.d.ts +99 -0
- package/dist/es2017/parsers/manifest/dash/common/content_protection_parser.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/content_protection_parser.js +198 -0
- package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts +18 -0
- package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.js +24 -0
- package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +44 -0
- package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.js +82 -0
- package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.d.ts +30 -0
- package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.js +38 -0
- package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.d.ts +51 -0
- package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.js +67 -0
- package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.js +25 -0
- package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts +26 -0
- package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.js +33 -0
- package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.d.ts +44 -0
- package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.js +68 -0
- package/dist/es2017/parsers/manifest/dash/common/index.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/common/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/index.js +19 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts +267 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/base.js +285 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +33 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.js +44 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts +40 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.js +109 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/index.d.ts +26 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/index.js +20 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts +209 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/list.js +227 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts +272 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/template.js +449 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +28 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.js +43 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts +19 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.js +79 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts +38 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.js +63 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts +43 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.js +140 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/index.d.ts +20 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/index.js +17 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +37 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.js +65 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +448 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +685 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.d.ts +41 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.js +107 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/utils.d.ts +26 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/utils.js +28 -0
- package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts +48 -0
- package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.js +154 -0
- package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts +120 -0
- package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.js +134 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +56 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.js +434 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.js +31 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_mpd.d.ts +99 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_mpd.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_mpd.js +291 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_periods.d.ts +71 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_periods.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_periods.js +266 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.d.ts +87 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.js +100 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representations.d.ts +51 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representations.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representations.js +236 -0
- package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.d.ts +27 -0
- package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.js +46 -0
- package/dist/es2017/parsers/manifest/dash/index.d.ts +17 -0
- package/dist/es2017/parsers/manifest/dash/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/index.js +16 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/index.d.ts +18 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/index.js +17 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.js +365 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.js +30 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.js +45 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.js +84 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.js +101 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.js +45 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.js +194 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.js +156 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.js +227 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.js +111 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentList.js +41 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.js +84 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.js +33 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.js +57 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts +176 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.js +309 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_xml_string.js +114 -0
- package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts +404 -0
- package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/node_parser_types.js +16 -0
- package/dist/es2017/parsers/manifest/dash/parsers_types.d.ts +84 -0
- package/dist/es2017/parsers/manifest/dash/parsers_types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/parsers_types.js +16 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/index.d.ts +20 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/index.js +17 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +112 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.js +355 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts +33 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +272 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.js +30 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.js +41 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.js +58 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +34 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.js +112 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts +4 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.js +9 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts +29 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.js +164 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +34 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.js +148 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +33 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +179 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.js +35 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts +19 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.js +88 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts +27 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.js +45 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts +19 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.js +101 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts +26 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.js +52 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts +30 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.js +47 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts +17 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/index.js +16 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts +28 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.js +50 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts +39 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/parsers_stack.js +58 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.d.ts +149 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.js +16 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.d.ts +30 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.js +40 -0
- package/dist/es2017/parsers/manifest/index.d.ts +17 -0
- package/dist/es2017/parsers/manifest/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/index.js +16 -0
- package/dist/es2017/parsers/manifest/local/index.d.ts +19 -0
- package/dist/es2017/parsers/manifest/local/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/index.js +17 -0
- package/dist/es2017/parsers/manifest/local/parse_local_manifest.d.ts +23 -0
- package/dist/es2017/parsers/manifest/local/parse_local_manifest.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/parse_local_manifest.js +133 -0
- package/dist/es2017/parsers/manifest/local/representation_index.d.ts +99 -0
- package/dist/es2017/parsers/manifest/local/representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/representation_index.js +243 -0
- package/dist/es2017/parsers/manifest/local/types.d.ts +288 -0
- package/dist/es2017/parsers/manifest/local/types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/types.js +16 -0
- package/dist/es2017/parsers/manifest/metaplaylist/index.d.ts +20 -0
- package/dist/es2017/parsers/manifest/metaplaylist/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/index.js +17 -0
- package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +65 -0
- package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.js +265 -0
- package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts +165 -0
- package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/representation_index.js +234 -0
- package/dist/es2017/parsers/manifest/smooth/create_parser.d.ts +34 -0
- package/dist/es2017/parsers/manifest/smooth/create_parser.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/create_parser.js +520 -0
- package/dist/es2017/parsers/manifest/smooth/get_codecs.d.ts +27 -0
- package/dist/es2017/parsers/manifest/smooth/get_codecs.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/get_codecs.js +50 -0
- package/dist/es2017/parsers/manifest/smooth/index.d.ts +22 -0
- package/dist/es2017/parsers/manifest/smooth/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/index.js +19 -0
- package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.d.ts +28 -0
- package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.js +69 -0
- package/dist/es2017/parsers/manifest/smooth/parse_protection_node.d.ts +31 -0
- package/dist/es2017/parsers/manifest/smooth/parse_protection_node.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/parse_protection_node.js +71 -0
- package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts +242 -0
- package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/representation_index.js +420 -0
- package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +120 -0
- package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.js +156 -0
- package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.d.ts +39 -0
- package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.js +63 -0
- package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.d.ts +21 -0
- package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.js +30 -0
- package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.d.ts +25 -0
- package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.js +32 -0
- package/dist/es2017/parsers/manifest/smooth/utils/tokens.d.ts +29 -0
- package/dist/es2017/parsers/manifest/smooth/utils/tokens.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/tokens.js +34 -0
- package/dist/es2017/parsers/manifest/types.d.ts +443 -0
- package/dist/es2017/parsers/manifest/types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/types.js +16 -0
- package/dist/es2017/parsers/manifest/utils/check_manifest_ids.d.ts +26 -0
- package/dist/es2017/parsers/manifest/utils/check_manifest_ids.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/check_manifest_ids.js +80 -0
- package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.d.ts +26 -0
- package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.js +73 -0
- package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +28 -0
- package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.js +44 -0
- package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +30 -0
- package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.js +46 -0
- package/dist/es2017/parsers/manifest/utils/get_maximum_positions.d.ts +25 -0
- package/dist/es2017/parsers/manifest/utils/get_maximum_positions.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_maximum_positions.js +66 -0
- package/dist/es2017/parsers/manifest/utils/get_minimum_position.d.ts +22 -0
- package/dist/es2017/parsers/manifest/utils/get_minimum_position.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_minimum_position.js +62 -0
- package/dist/es2017/parsers/manifest/utils/index_helpers.d.ts +89 -0
- package/dist/es2017/parsers/manifest/utils/index_helpers.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/index_helpers.js +146 -0
- package/dist/es2017/parsers/manifest/utils/update_segment_timeline.d.ts +34 -0
- package/dist/es2017/parsers/manifest/utils/update_segment_timeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/update_segment_timeline.js +129 -0
- package/dist/es2017/parsers/texttracks/index.d.ts +17 -0
- package/dist/es2017/parsers/texttracks/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/index.js +16 -0
- package/dist/es2017/parsers/texttracks/sami/html.d.ts +32 -0
- package/dist/es2017/parsers/texttracks/sami/html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/sami/html.js +201 -0
- package/dist/es2017/parsers/texttracks/sami/native.d.ts +37 -0
- package/dist/es2017/parsers/texttracks/sami/native.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/sami/native.js +165 -0
- package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.d.ts +30 -0
- package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.js +39 -0
- package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.d.ts +23 -0
- package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.js +47 -0
- package/dist/es2017/parsers/texttracks/srt/html.d.ts +28 -0
- package/dist/es2017/parsers/texttracks/srt/html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/html.js +167 -0
- package/dist/es2017/parsers/texttracks/srt/native.d.ts +30 -0
- package/dist/es2017/parsers/texttracks/srt/native.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/native.js +63 -0
- package/dist/es2017/parsers/texttracks/srt/parse_cue.d.ts +31 -0
- package/dist/es2017/parsers/texttracks/srt/parse_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/parse_cue.js +55 -0
- package/dist/es2017/parsers/texttracks/srt/parse_timestamp.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/srt/parse_timestamp.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/parse_timestamp.js +33 -0
- package/dist/es2017/parsers/texttracks/ttml/get_parameters.d.ts +33 -0
- package/dist/es2017/parsers/texttracks/ttml/get_parameters.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_parameters.js +87 -0
- package/dist/es2017/parsers/texttracks/ttml/get_styling.d.ts +42 -0
- package/dist/es2017/parsers/texttracks/ttml/get_styling.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_styling.js +127 -0
- package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.d.ts +27 -0
- package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.js +40 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts +49 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.js +61 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.js +57 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.js +56 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.d.ts +21 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.js +45 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.d.ts +21 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.js +56 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.d.ts +21 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.js +135 -0
- package/dist/es2017/parsers/texttracks/ttml/html/create_element.d.ts +33 -0
- package/dist/es2017/parsers/texttracks/ttml/html/create_element.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/create_element.js +448 -0
- package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts +27 -0
- package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.js +41 -0
- package/dist/es2017/parsers/texttracks/ttml/html/index.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/ttml/html/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/index.js +21 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.d.ts +27 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.js +40 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +36 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.js +62 -0
- package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.js +73 -0
- package/dist/es2017/parsers/texttracks/ttml/native/index.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/ttml/native/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/index.js +21 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.d.ts +25 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.js +197 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +24 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.js +45 -0
- package/dist/es2017/parsers/texttracks/ttml/parse_ttml.d.ts +44 -0
- package/dist/es2017/parsers/texttracks/ttml/parse_ttml.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/parse_ttml.js +156 -0
- package/dist/es2017/parsers/texttracks/ttml/regexps.d.ts +29 -0
- package/dist/es2017/parsers/texttracks/ttml/regexps.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/regexps.js +35 -0
- package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +50 -0
- package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.js +79 -0
- package/dist/es2017/parsers/texttracks/ttml/time_parsing.d.ts +31 -0
- package/dist/es2017/parsers/texttracks/ttml/time_parsing.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/time_parsing.js +124 -0
- package/dist/es2017/parsers/texttracks/ttml/xml_utils.d.ts +71 -0
- package/dist/es2017/parsers/texttracks/ttml/xml_utils.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/xml_utils.js +150 -0
- package/dist/es2017/parsers/texttracks/types.d.ts +80 -0
- package/dist/es2017/parsers/texttracks/types.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/types.js +16 -0
- package/dist/es2017/parsers/texttracks/webvtt/create_default_style_elements.d.ts +3 -0
- package/dist/es2017/parsers/texttracks/webvtt/create_default_style_elements.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/create_default_style_elements.js +22 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.d.ts +25 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.js +44 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.d.ts +25 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.js +52 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +23 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.js +35 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.js +166 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.d.ts +25 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.js +81 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/index.d.ts +28 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/index.js +26 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts +13 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_mp4.js +18 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts +33 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.js +66 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/to_html.d.ts +50 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/to_html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/to_html.js +70 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/index.d.ts +23 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/index.js +22 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts +30 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.js +69 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts +13 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.js +20 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +24 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.js +80 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.d.ts +33 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.js +27 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.d.ts +40 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.js +100 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.js +129 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_style_block.d.ts +28 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_style_block.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_style_block.js +66 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.js +33 -0
- package/dist/es2017/parsers/texttracks/webvtt/utils.d.ts +58 -0
- package/dist/es2017/parsers/texttracks/webvtt/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/utils.js +114 -0
- package/dist/es2017/playback_observer/core_playback_observer.d.ts +85 -0
- package/dist/es2017/playback_observer/core_playback_observer.d.ts.map +1 -0
- package/dist/es2017/playback_observer/core_playback_observer.js +43 -0
- package/dist/es2017/playback_observer/index.d.ts +7 -0
- package/dist/es2017/playback_observer/index.d.ts.map +1 -0
- package/dist/es2017/playback_observer/index.js +2 -0
- package/dist/es2017/playback_observer/media_element_playback_observer.d.ts +288 -0
- package/dist/es2017/playback_observer/media_element_playback_observer.d.ts.map +1 -0
- package/dist/es2017/playback_observer/media_element_playback_observer.js +835 -0
- package/dist/es2017/playback_observer/types.d.ts +226 -0
- package/dist/es2017/playback_observer/types.d.ts.map +1 -0
- package/dist/es2017/playback_observer/types.js +1 -0
- package/dist/es2017/playback_observer/utils/generate_read_only_observer.d.ts +12 -0
- package/dist/es2017/playback_observer/utils/generate_read_only_observer.d.ts.map +1 -0
- package/dist/es2017/playback_observer/utils/generate_read_only_observer.js +39 -0
- package/dist/es2017/playback_observer/utils/observation_position.d.ts +99 -0
- package/dist/es2017/playback_observer/utils/observation_position.d.ts.map +1 -0
- package/dist/es2017/playback_observer/utils/observation_position.js +95 -0
- package/dist/es2017/public_types.d.ts +1289 -0
- package/dist/es2017/public_types.d.ts.map +1 -0
- package/dist/es2017/public_types.js +5 -0
- package/dist/es2017/tools/TextTrackRenderer/index.d.ts +24 -0
- package/dist/es2017/tools/TextTrackRenderer/index.d.ts.map +1 -0
- package/dist/es2017/tools/TextTrackRenderer/index.js +22 -0
- package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.d.ts +80 -0
- package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.d.ts.map +1 -0
- package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.js +80 -0
- package/dist/es2017/tools/index.d.ts +20 -0
- package/dist/es2017/tools/index.d.ts.map +1 -0
- package/dist/es2017/tools/index.js +20 -0
- package/dist/es2017/tools/parseBIFThumbnails/index.d.ts +30 -0
- package/dist/es2017/tools/parseBIFThumbnails/index.d.ts.map +1 -0
- package/dist/es2017/tools/parseBIFThumbnails/index.js +30 -0
- package/dist/es2017/tools/string_utils/index.d.ts +17 -0
- package/dist/es2017/tools/string_utils/index.d.ts.map +1 -0
- package/dist/es2017/tools/string_utils/index.js +16 -0
- package/dist/es2017/transports/dash/construct_segment_url.d.ts +19 -0
- package/dist/es2017/transports/dash/construct_segment_url.d.ts.map +1 -0
- package/dist/es2017/transports/dash/construct_segment_url.js +25 -0
- package/dist/es2017/transports/dash/get_events_out_of_emsgs.d.ts +29 -0
- package/dist/es2017/transports/dash/get_events_out_of_emsgs.d.ts.map +1 -0
- package/dist/es2017/transports/dash/get_events_out_of_emsgs.js +93 -0
- package/dist/es2017/transports/dash/index.d.ts +22 -0
- package/dist/es2017/transports/dash/index.d.ts.map +1 -0
- package/dist/es2017/transports/dash/index.js +21 -0
- package/dist/es2017/transports/dash/init_segment_loader.d.ts +29 -0
- package/dist/es2017/transports/dash/init_segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/init_segment_loader.js +104 -0
- package/dist/es2017/transports/dash/integrity_checks.d.ts +18 -0
- package/dist/es2017/transports/dash/integrity_checks.d.ts.map +1 -0
- package/dist/es2017/transports/dash/integrity_checks.js +150 -0
- package/dist/es2017/transports/dash/load_chunked_segment_data.d.ts +40 -0
- package/dist/es2017/transports/dash/load_chunked_segment_data.d.ts.map +1 -0
- package/dist/es2017/transports/dash/load_chunked_segment_data.js +77 -0
- package/dist/es2017/transports/dash/manifest_parser.d.ts +19 -0
- package/dist/es2017/transports/dash/manifest_parser.d.ts.map +1 -0
- package/dist/es2017/transports/dash/manifest_parser.js +295 -0
- package/dist/es2017/transports/dash/pipelines.d.ts +24 -0
- package/dist/es2017/transports/dash/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/dash/pipelines.js +65 -0
- package/dist/es2017/transports/dash/segment_loader.d.ts +39 -0
- package/dist/es2017/transports/dash/segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/segment_loader.js +214 -0
- package/dist/es2017/transports/dash/segment_parser.d.ts +24 -0
- package/dist/es2017/transports/dash/segment_parser.d.ts.map +1 -0
- package/dist/es2017/transports/dash/segment_parser.js +156 -0
- package/dist/es2017/transports/dash/text_loader.d.ts +26 -0
- package/dist/es2017/transports/dash/text_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/text_loader.js +106 -0
- package/dist/es2017/transports/dash/text_parser.d.ts +26 -0
- package/dist/es2017/transports/dash/text_parser.d.ts.map +1 -0
- package/dist/es2017/transports/dash/text_parser.js +190 -0
- package/dist/es2017/transports/dash/thumbnails.d.ts +21 -0
- package/dist/es2017/transports/dash/thumbnails.d.ts.map +1 -0
- package/dist/es2017/transports/dash/thumbnails.js +72 -0
- package/dist/es2017/transports/index.d.ts +17 -0
- package/dist/es2017/transports/index.d.ts.map +1 -0
- package/dist/es2017/transports/index.js +16 -0
- package/dist/es2017/transports/local/index.d.ts +18 -0
- package/dist/es2017/transports/local/index.d.ts.map +1 -0
- package/dist/es2017/transports/local/index.js +17 -0
- package/dist/es2017/transports/local/pipelines.d.ts +23 -0
- package/dist/es2017/transports/local/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/local/pipelines.js +76 -0
- package/dist/es2017/transports/local/segment_loader.d.ts +29 -0
- package/dist/es2017/transports/local/segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/local/segment_loader.js +152 -0
- package/dist/es2017/transports/local/segment_parser.d.ts +21 -0
- package/dist/es2017/transports/local/segment_parser.d.ts.map +1 -0
- package/dist/es2017/transports/local/segment_parser.js +87 -0
- package/dist/es2017/transports/local/text_parser.d.ts +28 -0
- package/dist/es2017/transports/local/text_parser.d.ts.map +1 -0
- package/dist/es2017/transports/local/text_parser.js +162 -0
- package/dist/es2017/transports/metaplaylist/index.d.ts +22 -0
- package/dist/es2017/transports/metaplaylist/index.d.ts.map +1 -0
- package/dist/es2017/transports/metaplaylist/index.js +21 -0
- package/dist/es2017/transports/metaplaylist/manifest_loader.d.ts +27 -0
- package/dist/es2017/transports/metaplaylist/manifest_loader.d.ts.map +1 -0
- package/dist/es2017/transports/metaplaylist/manifest_loader.js +53 -0
- package/dist/es2017/transports/metaplaylist/pipelines.d.ts +18 -0
- package/dist/es2017/transports/metaplaylist/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/metaplaylist/pipelines.js +250 -0
- package/dist/es2017/transports/smooth/extract_timings_infos.d.ts +63 -0
- package/dist/es2017/transports/smooth/extract_timings_infos.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/extract_timings_infos.js +79 -0
- package/dist/es2017/transports/smooth/index.d.ts +22 -0
- package/dist/es2017/transports/smooth/index.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/index.js +21 -0
- package/dist/es2017/transports/smooth/is_mp4_embedded_track.d.ts +23 -0
- package/dist/es2017/transports/smooth/is_mp4_embedded_track.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/is_mp4_embedded_track.js +24 -0
- package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.d.ts +29 -0
- package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.js +51 -0
- package/dist/es2017/transports/smooth/isobmff/create_boxes.d.ts +172 -0
- package/dist/es2017/transports/smooth/isobmff/create_boxes.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_boxes.js +319 -0
- package/dist/es2017/transports/smooth/isobmff/create_init_segment.d.ts +32 -0
- package/dist/es2017/transports/smooth/isobmff/create_init_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_init_segment.js +63 -0
- package/dist/es2017/transports/smooth/isobmff/create_traf_box.d.ts +17 -0
- package/dist/es2017/transports/smooth/isobmff/create_traf_box.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_traf_box.js +24 -0
- package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.d.ts +30 -0
- package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.js +57 -0
- package/dist/es2017/transports/smooth/isobmff/get_aaces_header.d.ts +28 -0
- package/dist/es2017/transports/smooth/isobmff/get_aaces_header.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/get_aaces_header.js +43 -0
- package/dist/es2017/transports/smooth/isobmff/index.d.ts +24 -0
- package/dist/es2017/transports/smooth/isobmff/index.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/index.js +21 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfrf.d.ts +25 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfrf.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfrf.js +47 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfxd.d.ts +25 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfxd.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfxd.js +31 -0
- package/dist/es2017/transports/smooth/isobmff/patch_segment.d.ts +24 -0
- package/dist/es2017/transports/smooth/isobmff/patch_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/patch_segment.js +128 -0
- package/dist/es2017/transports/smooth/pipelines.d.ts +18 -0
- package/dist/es2017/transports/smooth/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/pipelines.js +358 -0
- package/dist/es2017/transports/smooth/segment_loader.d.ts +28 -0
- package/dist/es2017/transports/smooth/segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/segment_loader.js +238 -0
- package/dist/es2017/transports/smooth/utils.d.ts +27 -0
- package/dist/es2017/transports/smooth/utils.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/utils.js +36 -0
- package/dist/es2017/transports/types.d.ts +772 -0
- package/dist/es2017/transports/types.d.ts.map +1 -0
- package/dist/es2017/transports/types.js +16 -0
- package/dist/es2017/transports/utils/add_query_string.d.ts +13 -0
- package/dist/es2017/transports/utils/add_query_string.d.ts.map +1 -0
- package/dist/es2017/transports/utils/add_query_string.js +51 -0
- package/dist/es2017/transports/utils/byte_range.d.ts +22 -0
- package/dist/es2017/transports/utils/byte_range.d.ts.map +1 -0
- package/dist/es2017/transports/utils/byte_range.js +23 -0
- package/dist/es2017/transports/utils/call_custom_manifest_loader.d.ts +20 -0
- package/dist/es2017/transports/utils/call_custom_manifest_loader.d.ts.map +1 -0
- package/dist/es2017/transports/utils/call_custom_manifest_loader.js +96 -0
- package/dist/es2017/transports/utils/check_isobmff_integrity.d.ts +24 -0
- package/dist/es2017/transports/utils/check_isobmff_integrity.d.ts.map +1 -0
- package/dist/es2017/transports/utils/check_isobmff_integrity.js +46 -0
- package/dist/es2017/transports/utils/generate_manifest_loader.d.ts +27 -0
- package/dist/es2017/transports/utils/generate_manifest_loader.d.ts.map +1 -0
- package/dist/es2017/transports/utils/generate_manifest_loader.js +85 -0
- package/dist/es2017/transports/utils/get_isobmff_timing_infos.d.ts +30 -0
- package/dist/es2017/transports/utils/get_isobmff_timing_infos.d.ts.map +1 -0
- package/dist/es2017/transports/utils/get_isobmff_timing_infos.js +67 -0
- package/dist/es2017/transports/utils/infer_segment_container.d.ts +30 -0
- package/dist/es2017/transports/utils/infer_segment_container.d.ts.map +1 -0
- package/dist/es2017/transports/utils/infer_segment_container.js +42 -0
- package/dist/es2017/transports/utils/parse_text_track.d.ts +53 -0
- package/dist/es2017/transports/utils/parse_text_track.d.ts.map +1 -0
- package/dist/es2017/transports/utils/parse_text_track.js +154 -0
- package/dist/es2017/utils/are_arrays_of_numbers_equal.d.ts +23 -0
- package/dist/es2017/utils/are_arrays_of_numbers_equal.d.ts.map +1 -0
- package/dist/es2017/utils/are_arrays_of_numbers_equal.js +35 -0
- package/dist/es2017/utils/are_codecs_compatible.d.ts +30 -0
- package/dist/es2017/utils/are_codecs_compatible.d.ts.map +1 -0
- package/dist/es2017/utils/are_codecs_compatible.js +57 -0
- package/dist/es2017/utils/array_find.d.ts +24 -0
- package/dist/es2017/utils/array_find.d.ts.map +1 -0
- package/dist/es2017/utils/array_find.js +37 -0
- package/dist/es2017/utils/array_find_index.d.ts +24 -0
- package/dist/es2017/utils/array_find_index.d.ts.map +1 -0
- package/dist/es2017/utils/array_find_index.js +36 -0
- package/dist/es2017/utils/array_includes.d.ts +54 -0
- package/dist/es2017/utils/array_includes.d.ts.map +1 -0
- package/dist/es2017/utils/array_includes.js +75 -0
- package/dist/es2017/utils/assert.d.ts +75 -0
- package/dist/es2017/utils/assert.d.ts.map +1 -0
- package/dist/es2017/utils/assert.js +91 -0
- package/dist/es2017/utils/base64.d.ts +15 -0
- package/dist/es2017/utils/base64.d.ts.map +1 -0
- package/dist/es2017/utils/base64.js +208 -0
- package/dist/es2017/utils/buffer_source_to_uint8.d.ts +8 -0
- package/dist/es2017/utils/buffer_source_to_uint8.d.ts.map +1 -0
- package/dist/es2017/utils/buffer_source_to_uint8.js +15 -0
- package/dist/es2017/utils/byte_parsing.d.ts +132 -0
- package/dist/es2017/utils/byte_parsing.d.ts.map +1 -0
- package/dist/es2017/utils/byte_parsing.js +252 -0
- package/dist/es2017/utils/cancellable_sleep.d.ts +31 -0
- package/dist/es2017/utils/cancellable_sleep.d.ts.map +1 -0
- package/dist/es2017/utils/cancellable_sleep.js +35 -0
- package/dist/es2017/utils/create_cancellable_promise.d.ts +27 -0
- package/dist/es2017/utils/create_cancellable_promise.d.ts.map +1 -0
- package/dist/es2017/utils/create_cancellable_promise.js +52 -0
- package/dist/es2017/utils/create_uuid.d.ts +9 -0
- package/dist/es2017/utils/create_uuid.d.ts.map +1 -0
- package/dist/es2017/utils/create_uuid.js +29 -0
- package/dist/es2017/utils/deep_merge.d.ts +10 -0
- package/dist/es2017/utils/deep_merge.d.ts.map +1 -0
- package/dist/es2017/utils/deep_merge.js +40 -0
- package/dist/es2017/utils/event_emitter.d.ts +59 -0
- package/dist/es2017/utils/event_emitter.d.ts.map +1 -0
- package/dist/es2017/utils/event_emitter.js +120 -0
- package/dist/es2017/utils/flat_map.d.ts +23 -0
- package/dist/es2017/utils/flat_map.d.ts.map +1 -0
- package/dist/es2017/utils/flat_map.js +35 -0
- package/dist/es2017/utils/get_fuzzed_delay.d.ts +22 -0
- package/dist/es2017/utils/get_fuzzed_delay.d.ts.map +1 -0
- package/dist/es2017/utils/get_fuzzed_delay.js +25 -0
- package/dist/es2017/utils/global_scope.d.ts +10 -0
- package/dist/es2017/utils/global_scope.d.ts.map +1 -0
- package/dist/es2017/utils/global_scope.js +20 -0
- package/dist/es2017/utils/hash_buffer.d.ts +33 -0
- package/dist/es2017/utils/hash_buffer.d.ts.map +1 -0
- package/dist/es2017/utils/hash_buffer.js +41 -0
- package/dist/es2017/utils/id_generator.d.ts +22 -0
- package/dist/es2017/utils/id_generator.d.ts.map +1 -0
- package/dist/es2017/utils/id_generator.js +32 -0
- package/dist/es2017/utils/is_node.d.ts +19 -0
- package/dist/es2017/utils/is_node.d.ts.map +1 -0
- package/dist/es2017/utils/is_node.js +19 -0
- package/dist/es2017/utils/is_non_empty_string.d.ts +21 -0
- package/dist/es2017/utils/is_non_empty_string.d.ts.map +1 -0
- package/dist/es2017/utils/is_non_empty_string.js +22 -0
- package/dist/es2017/utils/is_null_or_undefined.d.ts +25 -0
- package/dist/es2017/utils/is_null_or_undefined.d.ts.map +1 -0
- package/dist/es2017/utils/is_null_or_undefined.js +26 -0
- package/dist/es2017/utils/is_worker.d.ts +6 -0
- package/dist/es2017/utils/is_worker.d.ts.map +1 -0
- package/dist/es2017/utils/is_worker.js +5 -0
- package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.d.ts +23 -0
- package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.d.ts.map +1 -0
- package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.js +205 -0
- package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.d.ts +23 -0
- package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.d.ts.map +1 -0
- package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.js +41 -0
- package/dist/es2017/utils/languages/index.d.ts +21 -0
- package/dist/es2017/utils/languages/index.d.ts.map +1 -0
- package/dist/es2017/utils/languages/index.js +18 -0
- package/dist/es2017/utils/languages/normalize.d.ts +70 -0
- package/dist/es2017/utils/languages/normalize.d.ts.map +1 -0
- package/dist/es2017/utils/languages/normalize.js +122 -0
- package/dist/es2017/utils/logger.d.ts +157 -0
- package/dist/es2017/utils/logger.d.ts.map +1 -0
- package/dist/es2017/utils/logger.js +166 -0
- package/dist/es2017/utils/monotonic_timestamp.d.ts +23 -0
- package/dist/es2017/utils/monotonic_timestamp.d.ts.map +1 -0
- package/dist/es2017/utils/monotonic_timestamp.js +36 -0
- package/dist/es2017/utils/noop.d.ts +24 -0
- package/dist/es2017/utils/noop.d.ts.map +1 -0
- package/dist/es2017/utils/noop.js +24 -0
- package/dist/es2017/utils/object_assign.d.ts +47 -0
- package/dist/es2017/utils/object_assign.d.ts.map +1 -0
- package/dist/es2017/utils/object_assign.js +47 -0
- package/dist/es2017/utils/object_values.d.ts +31 -0
- package/dist/es2017/utils/object_values.d.ts.map +1 -0
- package/dist/es2017/utils/object_values.js +25 -0
- package/dist/es2017/utils/queue_microtask.d.ts +3 -0
- package/dist/es2017/utils/queue_microtask.d.ts.map +1 -0
- package/dist/es2017/utils/queue_microtask.js +5 -0
- package/dist/es2017/utils/ranges.d.ts +214 -0
- package/dist/es2017/utils/ranges.d.ts.map +1 -0
- package/dist/es2017/utils/ranges.js +495 -0
- package/dist/es2017/utils/reference.d.ts +215 -0
- package/dist/es2017/utils/reference.d.ts.map +1 -0
- package/dist/es2017/utils/reference.js +282 -0
- package/dist/es2017/utils/request/fetch.d.ts +81 -0
- package/dist/es2017/utils/request/fetch.d.ts.map +1 -0
- package/dist/es2017/utils/request/fetch.js +206 -0
- package/dist/es2017/utils/request/index.d.ts +25 -0
- package/dist/es2017/utils/request/index.d.ts.map +1 -0
- package/dist/es2017/utils/request/index.js +20 -0
- package/dist/es2017/utils/request/request_error.d.ts +47 -0
- package/dist/es2017/utils/request/request_error.d.ts.map +1 -0
- package/dist/es2017/utils/request/request_error.js +66 -0
- package/dist/es2017/utils/request/xhr.d.ts +100 -0
- package/dist/es2017/utils/request/xhr.d.ts.map +1 -0
- package/dist/es2017/utils/request/xhr.js +202 -0
- package/dist/es2017/utils/retry_promise_with_backoff.d.ts +55 -0
- package/dist/es2017/utils/retry_promise_with_backoff.d.ts.map +1 -0
- package/dist/es2017/utils/retry_promise_with_backoff.js +81 -0
- package/dist/es2017/utils/sleep.d.ts +11 -0
- package/dist/es2017/utils/sleep.d.ts.map +1 -0
- package/dist/es2017/utils/sleep.js +14 -0
- package/dist/es2017/utils/slice_uint8array.d.ts +28 -0
- package/dist/es2017/utils/slice_uint8array.d.ts.map +1 -0
- package/dist/es2017/utils/slice_uint8array.js +42 -0
- package/dist/es2017/utils/sorted_list.d.ts +128 -0
- package/dist/es2017/utils/sorted_list.d.ts.map +1 -0
- package/dist/es2017/utils/sorted_list.js +177 -0
- package/dist/es2017/utils/starts_with.d.ts +27 -0
- package/dist/es2017/utils/starts_with.d.ts.map +1 -0
- package/dist/es2017/utils/starts_with.js +35 -0
- package/dist/es2017/utils/string_parsing.d.ts +89 -0
- package/dist/es2017/utils/string_parsing.d.ts.map +1 -0
- package/dist/es2017/utils/string_parsing.js +370 -0
- package/dist/es2017/utils/sync_or_async.d.ts +71 -0
- package/dist/es2017/utils/sync_or_async.d.ts.map +1 -0
- package/dist/es2017/utils/sync_or_async.js +51 -0
- package/dist/es2017/utils/task_canceller.d.ts +290 -0
- package/dist/es2017/utils/task_canceller.d.ts.map +1 -0
- package/dist/es2017/utils/task_canceller.js +329 -0
- package/dist/es2017/utils/url-utils.d.ts +50 -0
- package/dist/es2017/utils/url-utils.d.ts.map +1 -0
- package/dist/es2017/utils/url-utils.js +323 -0
- package/dist/es2017/utils/warn_once.d.ts +24 -0
- package/dist/es2017/utils/warn_once.d.ts.map +1 -0
- package/dist/es2017/utils/warn_once.js +31 -0
- package/dist/es2017/utils/weak_map_memory.d.ts +71 -0
- package/dist/es2017/utils/weak_map_memory.d.ts.map +1 -0
- package/dist/es2017/utils/weak_map_memory.js +83 -0
- package/dist/es2017/utils/wrapInPromise.d.ts +8 -0
- package/dist/es2017/utils/wrapInPromise.d.ts.map +1 -0
- package/dist/es2017/utils/wrapInPromise.js +22 -0
- package/dist/es2017/utils/xml-parser.d.ts +71 -0
- package/dist/es2017/utils/xml-parser.d.ts.map +1 -0
- package/dist/es2017/utils/xml-parser.js +324 -0
- package/dist/es2017/worker_entry_point.d.ts +2 -0
- package/dist/es2017/worker_entry_point.d.ts.map +1 -0
- package/dist/es2017/worker_entry_point.js +8 -0
- package/dist/mpd-parser.wasm +0 -0
- package/dist/worker.js +9 -0
- package/package.json +1 -1
- package/src/__GENERATED_CODE/embedded_dash_wasm.ts +3 -0
- package/src/__GENERATED_CODE/embedded_worker.ts +3 -0
- package/src/__GENERATED_CODE/index.ts +2 -0
- package/src/main_thread/api/public_api.ts +2 -2
|
@@ -0,0 +1,1354 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2015 CANAL+ Group
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* This file is used to abstract the notion of text, audio and video tracks
|
|
18
|
+
* switching for an easier API management.
|
|
19
|
+
*/
|
|
20
|
+
import config from "../../config";
|
|
21
|
+
import { MediaError } from "../../errors";
|
|
22
|
+
import log from "../../log";
|
|
23
|
+
import { getSupportedAdaptations, isRepresentationPlayable, toAudioTrack, toTextTrack, toVideoTrack, } from "../../manifest";
|
|
24
|
+
import arrayFind from "../../utils/array_find";
|
|
25
|
+
import assert, { assertUnreachable } from "../../utils/assert";
|
|
26
|
+
import EventEmitter from "../../utils/event_emitter";
|
|
27
|
+
import isNullOrUndefined from "../../utils/is_null_or_undefined";
|
|
28
|
+
import objectAssign from "../../utils/object_assign";
|
|
29
|
+
import SharedReference from "../../utils/reference";
|
|
30
|
+
import TrackDispatcher from "./track_dispatcher";
|
|
31
|
+
/**
|
|
32
|
+
* Class helping with the management of the audio, video and text tracks and
|
|
33
|
+
* qualities.
|
|
34
|
+
*
|
|
35
|
+
* The `TracksStore` allows to choose a track and qualities for different types
|
|
36
|
+
* of media through a simpler API.
|
|
37
|
+
*
|
|
38
|
+
* @class TracksStore
|
|
39
|
+
*/
|
|
40
|
+
export default class TracksStore extends EventEmitter {
|
|
41
|
+
constructor(args) {
|
|
42
|
+
var _a;
|
|
43
|
+
super();
|
|
44
|
+
this._storedPeriodInfo = [];
|
|
45
|
+
this._isDisposed = false;
|
|
46
|
+
this._cachedPeriodInfo = new WeakMap();
|
|
47
|
+
this._isTrickModeTrackEnabled = args.preferTrickModeTracks;
|
|
48
|
+
this._defaultAudioTrackSwitchingMode =
|
|
49
|
+
(_a = args.defaultAudioTrackSwitchingMode) !== null && _a !== void 0 ? _a : config.getCurrent().DEFAULT_AUDIO_TRACK_SWITCHING_MODE;
|
|
50
|
+
this.onTracksNotPlayableForType = args.onTracksNotPlayableForType;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Return Array of Period information, to allow an outside application to
|
|
54
|
+
* modify the track of any Period.
|
|
55
|
+
* @returns {Array.<Object>}
|
|
56
|
+
*/
|
|
57
|
+
getAvailablePeriods() {
|
|
58
|
+
return this._storedPeriodInfo.reduce((acc, p) => {
|
|
59
|
+
if (p.isPeriodAdvertised) {
|
|
60
|
+
acc.push(toExposedPeriod(p.period));
|
|
61
|
+
}
|
|
62
|
+
return acc;
|
|
63
|
+
}, []);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Callack that needs to be called as codec support is either first known or
|
|
67
|
+
* updated on the Manifest.
|
|
68
|
+
*/
|
|
69
|
+
onManifestCodecSupportUpdate() {
|
|
70
|
+
this._selectInitialTrackIfNeeded();
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Check that a period has a supported track for the given track type.
|
|
74
|
+
* Trigger an error with `MANIFEST_INCOMPATIBLE_CODECS_ERROR` if no codecs are
|
|
75
|
+
* supported and `onTracksNotPlayableForType[ttype]` is "error".
|
|
76
|
+
*
|
|
77
|
+
* @param period - The period to check
|
|
78
|
+
* @param ttype - The track type.
|
|
79
|
+
*/
|
|
80
|
+
checkPeriodHasSupportedTrack(period, ttype) {
|
|
81
|
+
var _a, _b;
|
|
82
|
+
const adaptationsForType = period.adaptations[ttype];
|
|
83
|
+
const audioVideoAdaptations = [
|
|
84
|
+
...((_a = period.adaptations.audio) !== null && _a !== void 0 ? _a : []),
|
|
85
|
+
...((_b = period.adaptations.video) !== null && _b !== void 0 ? _b : []),
|
|
86
|
+
];
|
|
87
|
+
const periodHasAdaptationForType = adaptationsForType !== undefined && adaptationsForType.length > 0;
|
|
88
|
+
if (!periodHasAdaptationForType) {
|
|
89
|
+
// The content does not have audio/video media, e.g. it's an audio only content.
|
|
90
|
+
// there is no track of this type to select.
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
const isTypeUnsupported = adaptationsForType.every((adapt) => adapt.supportStatus.hasSupportedCodec === false);
|
|
94
|
+
const isAudioAndVideoUnsupported = audioVideoAdaptations.every((adapt) => adapt.supportStatus.hasSupportedCodec === false);
|
|
95
|
+
if (isTypeUnsupported) {
|
|
96
|
+
const err = new MediaError("MANIFEST_INCOMPATIBLE_CODECS_ERROR", "No supported " + ttype + " adaptations", { tracks: undefined });
|
|
97
|
+
if (isAudioAndVideoUnsupported) {
|
|
98
|
+
// Both video and audio are unsupported or the content is audio/video only.
|
|
99
|
+
// The content cannot be played without this media type as there is no other media type.
|
|
100
|
+
this.trigger("error", err);
|
|
101
|
+
// The previous event trigger could have had side-effects, so we
|
|
102
|
+
// re-check if we're still mostly in the same state
|
|
103
|
+
if (this._isDisposed) {
|
|
104
|
+
return; // Someone disposed the `TracksStore` on the previous side-effect
|
|
105
|
+
}
|
|
106
|
+
this.dispose();
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
else if (this.onTracksNotPlayableForType[ttype] === "continue") {
|
|
110
|
+
// audio or video is not playable, but let's continue the playback without audio
|
|
111
|
+
// or without video because of the option was set to "continue".
|
|
112
|
+
this.trigger("warning", err);
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
this.trigger("error", err);
|
|
116
|
+
// The previous event trigger could have had side-effects, so we
|
|
117
|
+
// re-check if we're still mostly in the same state
|
|
118
|
+
if (this._isDisposed) {
|
|
119
|
+
return; // Someone disposed the `TracksStore` on the previous side-effect
|
|
120
|
+
}
|
|
121
|
+
this.dispose();
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Update the list of Periods handled by the TracksStore and make a
|
|
128
|
+
* track choice decision for each of them.
|
|
129
|
+
* @param {Object} manifest - The new Manifest object
|
|
130
|
+
*/
|
|
131
|
+
onManifestUpdate(manifest) {
|
|
132
|
+
var _a, _b, _c;
|
|
133
|
+
const { periods } = manifest;
|
|
134
|
+
// We assume that they are always sorted chronologically
|
|
135
|
+
// In dev mode, perform a runtime check that this is the case
|
|
136
|
+
if (0 /* __ENVIRONMENT__.CURRENT_ENV */ === 1 /* __ENVIRONMENT__.DEV */) {
|
|
137
|
+
for (let i = 1; i < periods.length; i++) {
|
|
138
|
+
assert(periods[i - 1].start <= periods[i].start);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
/** Periods which have just been added. */
|
|
142
|
+
const addedPeriods = [];
|
|
143
|
+
for (const period of periods) {
|
|
144
|
+
["audio", "video"].forEach((ttype) => {
|
|
145
|
+
this.checkPeriodHasSupportedTrack(period, ttype);
|
|
146
|
+
});
|
|
147
|
+
if (this._isDisposed) {
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
let newPListIdx = 0;
|
|
152
|
+
for (let i = 0; i < this._storedPeriodInfo.length; i++) {
|
|
153
|
+
const oldPeriod = this._storedPeriodInfo[i].period;
|
|
154
|
+
const newPeriod = periods[newPListIdx];
|
|
155
|
+
if (newPeriod === undefined) {
|
|
156
|
+
// We reached the end of the new Periods, remove remaining old Periods
|
|
157
|
+
for (let j = this._storedPeriodInfo.length - 1; j >= i; j--) {
|
|
158
|
+
this._storedPeriodInfo[j].inManifest = false;
|
|
159
|
+
if (isPeriodItemRemovable(this._storedPeriodInfo[j])) {
|
|
160
|
+
this._removePeriodObject(j);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
else if (oldPeriod === newPeriod) {
|
|
165
|
+
newPListIdx++;
|
|
166
|
+
this.resetSelectedTrackIfNotAvailableAnymore(this._storedPeriodInfo[i], newPeriod, "video");
|
|
167
|
+
this.resetSelectedTrackIfNotAvailableAnymore(this._storedPeriodInfo[i], newPeriod, "audio");
|
|
168
|
+
this.resetSelectedTrackIfNotAvailableAnymore(this._storedPeriodInfo[i], newPeriod, "text");
|
|
169
|
+
// (If not, what do?)
|
|
170
|
+
}
|
|
171
|
+
else if (oldPeriod.start <= newPeriod.start) {
|
|
172
|
+
// This old Period does not exist anymore.
|
|
173
|
+
this._storedPeriodInfo[i].inManifest = false;
|
|
174
|
+
if (isPeriodItemRemovable(this._storedPeriodInfo[i])) {
|
|
175
|
+
this._removePeriodObject(i);
|
|
176
|
+
i--;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
const newPeriodInfo = generatePeriodInfo(newPeriod, true);
|
|
181
|
+
// oldPeriod.start > newPeriod.start: insert newPeriod before
|
|
182
|
+
this._storedPeriodInfo.splice(i, 0, newPeriodInfo);
|
|
183
|
+
addedPeriods.push(newPeriodInfo);
|
|
184
|
+
newPListIdx++;
|
|
185
|
+
// Note: we don't increment `i` on purpose here, as we want to check the
|
|
186
|
+
// same oldPeriod at the next loop iteration
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
if (newPListIdx < periods.length) {
|
|
190
|
+
// Add further new Period
|
|
191
|
+
const periodsToAdd = periods
|
|
192
|
+
.slice(newPListIdx)
|
|
193
|
+
.map((p) => generatePeriodInfo(p, true));
|
|
194
|
+
this._storedPeriodInfo.push(...periodsToAdd);
|
|
195
|
+
addedPeriods.push(...periodsToAdd);
|
|
196
|
+
}
|
|
197
|
+
for (const storedPeriodInfo of this._storedPeriodInfo) {
|
|
198
|
+
(_a = storedPeriodInfo.audio.dispatcher) === null || _a === void 0 ? void 0 : _a.refresh();
|
|
199
|
+
(_b = storedPeriodInfo.video.dispatcher) === null || _b === void 0 ? void 0 : _b.refresh();
|
|
200
|
+
(_c = storedPeriodInfo.text.dispatcher) === null || _c === void 0 ? void 0 : _c.refresh();
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
onDecipherabilityUpdates() {
|
|
204
|
+
var _a, _b, _c;
|
|
205
|
+
for (const storedPeriodInfo of this._storedPeriodInfo) {
|
|
206
|
+
(_a = storedPeriodInfo.audio.dispatcher) === null || _a === void 0 ? void 0 : _a.refresh();
|
|
207
|
+
(_b = storedPeriodInfo.video.dispatcher) === null || _b === void 0 ? void 0 : _b.refresh();
|
|
208
|
+
(_c = storedPeriodInfo.text.dispatcher) === null || _c === void 0 ? void 0 : _c.refresh();
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Reset the stored settings if the track is not available anymore in
|
|
213
|
+
* the new manifest.
|
|
214
|
+
* @param periodInfo
|
|
215
|
+
* @param newPeriod
|
|
216
|
+
* @param type
|
|
217
|
+
* @returns
|
|
218
|
+
*/
|
|
219
|
+
resetSelectedTrackIfNotAvailableAnymore(periodInfo, newPeriod, type) {
|
|
220
|
+
var _a;
|
|
221
|
+
const wantedTrack = periodInfo[type].storedSettings;
|
|
222
|
+
if (isNullOrUndefined(wantedTrack)) {
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
225
|
+
const supportedAdaptations = getSupportedAdaptations(newPeriod, type);
|
|
226
|
+
const stillHere = supportedAdaptations.some((a) => a.id === wantedTrack.adaptation.id);
|
|
227
|
+
if (stillHere) {
|
|
228
|
+
// The track still exists, it don't need to be resetted.
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
log.warn(`Track`, `Chosen ${type} Adaptation not available anymore`);
|
|
232
|
+
if (type === "video") {
|
|
233
|
+
periodInfo.video.storedSettings = this.getDefaultStoredSettingsForAdaptation(supportedAdaptations, "video");
|
|
234
|
+
}
|
|
235
|
+
else if (type === "audio") {
|
|
236
|
+
periodInfo.audio.storedSettings = this.getDefaultStoredSettingsForAdaptation(supportedAdaptations, "audio");
|
|
237
|
+
}
|
|
238
|
+
else if (type === "text") {
|
|
239
|
+
periodInfo.text.storedSettings = this.getDefaultStoredSettingsForAdaptation(supportedAdaptations, "text");
|
|
240
|
+
}
|
|
241
|
+
this.trigger("trackUpdate", {
|
|
242
|
+
period: toExposedPeriod(newPeriod),
|
|
243
|
+
trackType: type,
|
|
244
|
+
reason: "missing",
|
|
245
|
+
});
|
|
246
|
+
// The previous event trigger could have had side-effects, so we
|
|
247
|
+
// re-check if we're still mostly in the same state
|
|
248
|
+
if (this._isDisposed) {
|
|
249
|
+
return; // The current TracksStore is disposed, we can abort
|
|
250
|
+
}
|
|
251
|
+
const periodItem = getPeriodItem(this._storedPeriodInfo, periodInfo.period.id);
|
|
252
|
+
if (periodItem !== undefined &&
|
|
253
|
+
periodItem.isPeriodAdvertised &&
|
|
254
|
+
periodItem[type].storedSettings === null) {
|
|
255
|
+
(_a = periodItem[type].dispatcher) === null || _a === void 0 ? void 0 : _a.updateTrack(null);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
getDefaultStoredSettingsForAdaptation(supportedAdaptations, type) {
|
|
259
|
+
const { DEFAULT_VIDEO_TRACK_SWITCHING_MODE } = config.getCurrent();
|
|
260
|
+
if (type === "text") {
|
|
261
|
+
return null;
|
|
262
|
+
}
|
|
263
|
+
if (supportedAdaptations.length === 0) {
|
|
264
|
+
return null;
|
|
265
|
+
}
|
|
266
|
+
switch (type) {
|
|
267
|
+
case "text":
|
|
268
|
+
return null;
|
|
269
|
+
case "video": {
|
|
270
|
+
const adaptationBase = supportedAdaptations[0];
|
|
271
|
+
const adaptation = getRightVideoTrack(adaptationBase, this._isTrickModeTrackEnabled);
|
|
272
|
+
const lockedRepresentations = new SharedReference(null);
|
|
273
|
+
return {
|
|
274
|
+
adaptationBase,
|
|
275
|
+
adaptation,
|
|
276
|
+
switchingMode: DEFAULT_VIDEO_TRACK_SWITCHING_MODE,
|
|
277
|
+
lockedRepresentations,
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
case "audio": {
|
|
281
|
+
return {
|
|
282
|
+
adaptation: supportedAdaptations[0],
|
|
283
|
+
switchingMode: this._defaultAudioTrackSwitchingMode,
|
|
284
|
+
lockedRepresentations: new SharedReference(null),
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
default: {
|
|
288
|
+
assertUnreachable(type);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* Add shared reference to choose Adaptation for new "audio", "video" or
|
|
294
|
+
* "text" Period.
|
|
295
|
+
*
|
|
296
|
+
* Note that such reference has to be removed through `removeTrackReference`
|
|
297
|
+
* so ressources can be freed.
|
|
298
|
+
* @param {string} bufferType - The concerned buffer type
|
|
299
|
+
* @param {Period} period - The concerned Period.
|
|
300
|
+
* @param {Object} adaptationRef - A reference through which
|
|
301
|
+
* the choice will be given.
|
|
302
|
+
*/
|
|
303
|
+
addTrackReference(bufferType, period, adaptationRef) {
|
|
304
|
+
log.debug("Track", "Adding Track Reference", { bufferType, periodId: period.id });
|
|
305
|
+
let periodObj = getPeriodItem(this._storedPeriodInfo, period.id);
|
|
306
|
+
if (periodObj === undefined) {
|
|
307
|
+
// The Period has not yet been added.
|
|
308
|
+
periodObj = generatePeriodInfo(period, false);
|
|
309
|
+
let found = false;
|
|
310
|
+
for (let i = 0; i < this._storedPeriodInfo.length; i++) {
|
|
311
|
+
if (this._storedPeriodInfo[i].period.start > period.start) {
|
|
312
|
+
this._storedPeriodInfo.splice(i, 0, periodObj);
|
|
313
|
+
found = true;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
if (!found) {
|
|
317
|
+
this._storedPeriodInfo.push(periodObj);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
if (periodObj[bufferType].dispatcher !== null) {
|
|
321
|
+
log.error(`Track`, `Subject already added for type and Period`, {
|
|
322
|
+
bufferType,
|
|
323
|
+
periodId: period.id,
|
|
324
|
+
});
|
|
325
|
+
periodObj[bufferType].dispatcher.dispose("TrackDispatcher double add issue");
|
|
326
|
+
}
|
|
327
|
+
const dispatcher = new TrackDispatcher(adaptationRef);
|
|
328
|
+
periodObj[bufferType].dispatcher = dispatcher;
|
|
329
|
+
dispatcher.addEventListener("noPlayableRepresentation", () => {
|
|
330
|
+
this.handleMissingOrUnplayableTrack(period, bufferType, false);
|
|
331
|
+
});
|
|
332
|
+
dispatcher.addEventListener("noPlayableLockedRepresentation", () => {
|
|
333
|
+
// TODO check that it doesn't already lead to segment loading or MediaSource
|
|
334
|
+
// reloading
|
|
335
|
+
if (periodObj === undefined) {
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
this.unlockVideoRepresentations(periodObj);
|
|
339
|
+
this.trigger("brokenRepresentationsLock", {
|
|
340
|
+
period: { id: period.id, start: period.start, end: period.end },
|
|
341
|
+
trackType: bufferType,
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
this._selectInitialTrackIfNeeded();
|
|
345
|
+
// Ensure `newAvailablePeriods` is sent
|
|
346
|
+
if (this._shouldAdvertisePeriod(periodObj)) {
|
|
347
|
+
periodObj.isPeriodAdvertised = true;
|
|
348
|
+
this.trigger("newAvailablePeriods", [
|
|
349
|
+
{
|
|
350
|
+
id: period.id,
|
|
351
|
+
start: period.start,
|
|
352
|
+
end: period.end,
|
|
353
|
+
},
|
|
354
|
+
]);
|
|
355
|
+
if (this._isDisposed) {
|
|
356
|
+
return;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
// Ensure the initial track is set for each type now)
|
|
360
|
+
const trackTypes = ["audio", "video", "text"];
|
|
361
|
+
for (const ttype of trackTypes) {
|
|
362
|
+
const trackObj = periodObj[ttype];
|
|
363
|
+
if (periodObj.isPeriodAdvertised &&
|
|
364
|
+
trackObj.dispatcher !== null &&
|
|
365
|
+
!trackObj.dispatcher.hasSetTrack() &&
|
|
366
|
+
trackObj.storedSettings !== undefined) {
|
|
367
|
+
trackObj.dispatcher.updateTrack(trackObj.storedSettings);
|
|
368
|
+
}
|
|
369
|
+
if (this._isDisposed) {
|
|
370
|
+
return;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Throws an error if neither audio nor video tracks are selected for the given period.
|
|
376
|
+
*
|
|
377
|
+
* This indicates that the application or user has not selected any tracks for playback,
|
|
378
|
+
* which is considered an invalid state.
|
|
379
|
+
*
|
|
380
|
+
* @param {object} period - The period to check for selected tracks.
|
|
381
|
+
* @returns {void}
|
|
382
|
+
* @throws {erorr} If no audio or video tracks are set for the period.
|
|
383
|
+
*/
|
|
384
|
+
throwIfTracksAreNotSetForPeriod(period) {
|
|
385
|
+
const periodItem = getPeriodItem(this._storedPeriodInfo, period.id);
|
|
386
|
+
if (periodItem !== undefined) {
|
|
387
|
+
const hasNoTrackAtAll = ["audio", "video"].every((ttype) => periodItem[ttype].storedSettings === null);
|
|
388
|
+
if (hasNoTrackAtAll) {
|
|
389
|
+
const err = new MediaError("NO_AUDIO_VIDEO_TRACKS", "No audio and no video tracks are set.");
|
|
390
|
+
this.trigger("error", err);
|
|
391
|
+
this.dispose();
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Handles the case when no playable representations are available, or when no initial track has been set,
|
|
397
|
+
* for a given period and track type (e.g., `'video'` or `'audio'`).
|
|
398
|
+
*
|
|
399
|
+
* It attempts to fall back to another available track.
|
|
400
|
+
*
|
|
401
|
+
* If no fallback tracks are available, the function may either:
|
|
402
|
+
* - Throw an error
|
|
403
|
+
* - Continue playback by disabling the affected media type (audio/video)
|
|
404
|
+
*
|
|
405
|
+
* The behavior depends on how the `onVideoTracksNotPlayable` and `onAudioTracksNotPlayable` options are configured.
|
|
406
|
+
*
|
|
407
|
+
* @param {Object} period - The period object containing the adaptations.
|
|
408
|
+
* @param {string} trackType - The type of media track (e.g., `'video'` or `'audio'`) that became unplayable.
|
|
409
|
+
*@param {boolean} isInitialSelection - Indicates if this occurs during initial track selection.
|
|
410
|
+
* @returns {void}
|
|
411
|
+
*/
|
|
412
|
+
handleMissingOrUnplayableTrack(period, trackType, isInitialSelection) {
|
|
413
|
+
var _a, _b, _c, _d;
|
|
414
|
+
const { fallbackTrack, noSourceMedia } = getFallbackTrack(period, trackType);
|
|
415
|
+
const typeInfo = (_a = getPeriodItem(this._storedPeriodInfo, period.id)) === null || _a === void 0 ? void 0 : _a[trackType];
|
|
416
|
+
if (typeInfo === undefined) {
|
|
417
|
+
log.warn("Track", "Could not find period", { periodId: period.id });
|
|
418
|
+
return;
|
|
419
|
+
}
|
|
420
|
+
const initialStoredSettings = typeInfo.storedSettings;
|
|
421
|
+
const hasStoredSettingsChanged = () => {
|
|
422
|
+
return typeInfo.storedSettings !== initialStoredSettings;
|
|
423
|
+
};
|
|
424
|
+
if (fallbackTrack !== null) {
|
|
425
|
+
let switchingMode;
|
|
426
|
+
if (trackType === "audio") {
|
|
427
|
+
switchingMode = this._defaultAudioTrackSwitchingMode;
|
|
428
|
+
}
|
|
429
|
+
else if (trackType === "text") {
|
|
430
|
+
switchingMode = "direct";
|
|
431
|
+
}
|
|
432
|
+
else {
|
|
433
|
+
switchingMode = "reload";
|
|
434
|
+
}
|
|
435
|
+
const storedSettings = {
|
|
436
|
+
adaptation: fallbackTrack,
|
|
437
|
+
switchingMode,
|
|
438
|
+
lockedRepresentations: new SharedReference(null),
|
|
439
|
+
};
|
|
440
|
+
typeInfo.storedSettings = storedSettings;
|
|
441
|
+
if (!isInitialSelection) {
|
|
442
|
+
// "trackUpdate" events are not sent for the initial track.
|
|
443
|
+
// See documentation: #Player_Events.md, section ###trackUpdate
|
|
444
|
+
this.trigger("trackUpdate", {
|
|
445
|
+
period: toExposedPeriod(period),
|
|
446
|
+
trackType,
|
|
447
|
+
reason: "no-playable-representation",
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
// The previous event trigger could have had side-effects, so we
|
|
451
|
+
// re-check if we're still mostly in the same state
|
|
452
|
+
if (this._isDisposed) {
|
|
453
|
+
return; // Someone disposed the `TracksStore` on the previous side-effect
|
|
454
|
+
}
|
|
455
|
+
// Check again that no track change occurred in the meantime
|
|
456
|
+
if (typeInfo.storedSettings === storedSettings) {
|
|
457
|
+
(_b = typeInfo.dispatcher) === null || _b === void 0 ? void 0 : _b.updateTrack(storedSettings);
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
else if (fallbackTrack === null && !noSourceMedia) {
|
|
461
|
+
this.trigger("noPlayableTrack", {
|
|
462
|
+
trackType,
|
|
463
|
+
period: { id: period.id, start: period.start, end: period.end },
|
|
464
|
+
});
|
|
465
|
+
// The previous event trigger could have had side-effects, so we
|
|
466
|
+
// re-check if we're still mostly in the same state
|
|
467
|
+
if (this._isDisposed) {
|
|
468
|
+
return; // Someone disposed the `TracksStore` on the previous side-effect
|
|
469
|
+
}
|
|
470
|
+
const fallbackBehavior = this.onTracksNotPlayableForType[trackType];
|
|
471
|
+
if (hasStoredSettingsChanged()) {
|
|
472
|
+
// The previous "noPlayableTrack" event might have caused changes,
|
|
473
|
+
// so we re-check to see if the selected track has been updated.
|
|
474
|
+
// If it has, we exit early because the API consumer likely adjusted the settings,
|
|
475
|
+
// and throwing an error now would be out of sync with their changes.
|
|
476
|
+
}
|
|
477
|
+
else if (fallbackBehavior === "continue") {
|
|
478
|
+
log.warn("Track", `No playable ${trackType}, continuing without ${trackType}`);
|
|
479
|
+
typeInfo.storedSettings = null;
|
|
480
|
+
if (!isInitialSelection) {
|
|
481
|
+
// "trackUpdate" events are not sent for the initial track.
|
|
482
|
+
// See documentation: #Player_Events.md, section ###trackUpdate
|
|
483
|
+
this.trigger("trackUpdate", {
|
|
484
|
+
period: toExposedPeriod(period),
|
|
485
|
+
trackType,
|
|
486
|
+
reason: "no-playable-representation",
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
if (typeInfo.storedSettings !== null || this._isDisposed) {
|
|
490
|
+
// The previous "trackUpdate" event might have caused changes,
|
|
491
|
+
// so we re-check to see if the selected track has been updated.
|
|
492
|
+
// If it has, we exit early because the API consumer likely adjusted the settings,
|
|
493
|
+
// and throwing an error now would be out of sync with their changes.
|
|
494
|
+
}
|
|
495
|
+
else {
|
|
496
|
+
(_c = typeInfo.dispatcher) === null || _c === void 0 ? void 0 : _c.updateTrack(null);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
else if (fallbackBehavior === "error") {
|
|
500
|
+
const noRepErr = new MediaError("NO_PLAYABLE_REPRESENTATION", `No ${trackType} Representation can be played`, { tracks: undefined });
|
|
501
|
+
this.trigger("error", noRepErr);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
else if (fallbackTrack === null && noSourceMedia) {
|
|
505
|
+
log.debug(`Track`, `The period does not have adaptation for ${trackType} there is no track to choose`);
|
|
506
|
+
typeInfo.storedSettings = null;
|
|
507
|
+
if (!isInitialSelection) {
|
|
508
|
+
// "trackUpdate" events are not sent for the initial track.
|
|
509
|
+
// See documentation: #Player_Events.md, section ###trackUpdate
|
|
510
|
+
this.trigger("trackUpdate", {
|
|
511
|
+
period: toExposedPeriod(period),
|
|
512
|
+
trackType,
|
|
513
|
+
reason: "no-playable-representation",
|
|
514
|
+
});
|
|
515
|
+
}
|
|
516
|
+
if (typeInfo.storedSettings !== null || this._isDisposed) {
|
|
517
|
+
// The previous "trackUpdate" event might have caused changes,
|
|
518
|
+
// so we re-check to see if the selected track has been updated.
|
|
519
|
+
// If it has, we exit early because the API consumer likely adjusted the settings,
|
|
520
|
+
// and throwing an error now would be out of sync with their changes.
|
|
521
|
+
}
|
|
522
|
+
else {
|
|
523
|
+
(_d = typeInfo.dispatcher) === null || _d === void 0 ? void 0 : _d.updateTrack(null);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
// The previous event trigger could have had side-effects, so we
|
|
527
|
+
// re-check if we're still mostly in the same state
|
|
528
|
+
if (this._isDisposed) {
|
|
529
|
+
return; // Someone disposed the `TracksStore` on the previous side-effect
|
|
530
|
+
}
|
|
531
|
+
if (trackType !== "text") {
|
|
532
|
+
// Allow missing text tracks; only enforce for audio/video
|
|
533
|
+
this.throwIfTracksAreNotSetForPeriod(period);
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* Remove shared reference to choose an "audio", "video" or "text" Adaptation
|
|
538
|
+
* for a Period.
|
|
539
|
+
* @param {string} bufferType - The concerned buffer type
|
|
540
|
+
* @param {string} periodId - The concerned Period's `id`.
|
|
541
|
+
*/
|
|
542
|
+
removeTrackReference(bufferType, periodId) {
|
|
543
|
+
log.debug("Track", "Removing Track Reference", { bufferType, periodId });
|
|
544
|
+
let periodIndex;
|
|
545
|
+
for (let i = 0; i < this._storedPeriodInfo.length; i++) {
|
|
546
|
+
const periodI = this._storedPeriodInfo[i];
|
|
547
|
+
if (periodI.period.id === periodId) {
|
|
548
|
+
periodIndex = i;
|
|
549
|
+
break;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
if (periodIndex === undefined) {
|
|
553
|
+
log.warn(`Track`, `type not found for period`, { bufferType, periodId });
|
|
554
|
+
return;
|
|
555
|
+
}
|
|
556
|
+
const periodObj = this._storedPeriodInfo[periodIndex];
|
|
557
|
+
const choiceItem = periodObj[bufferType];
|
|
558
|
+
if ((choiceItem === null || choiceItem === void 0 ? void 0 : choiceItem.dispatcher) === null) {
|
|
559
|
+
log.warn(`Track`, `TrackDispatcher already removed for type and Period`, {
|
|
560
|
+
bufferType,
|
|
561
|
+
periodId,
|
|
562
|
+
});
|
|
563
|
+
return;
|
|
564
|
+
}
|
|
565
|
+
choiceItem.dispatcher.dispose("TrackDispatcher reference removal");
|
|
566
|
+
choiceItem.dispatcher = null;
|
|
567
|
+
if (isPeriodItemRemovable(periodObj)) {
|
|
568
|
+
this._removePeriodObject(periodIndex);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* Allows to recuperate a "Period Object" - used in get/set methods of the
|
|
573
|
+
* `TracksStore` - by giving the Period itself.
|
|
574
|
+
*
|
|
575
|
+
* This method should be preferred when possible over `getPeriodObjectFromId`
|
|
576
|
+
* because it is able to fallback on an internal cache in case the
|
|
577
|
+
* corresponding Period is not stored anymore.
|
|
578
|
+
* This for example could happen when a Period has been removed from the
|
|
579
|
+
* Manifest yet may still be needed (e.g. because its linked segments might
|
|
580
|
+
* still live in the buffers).
|
|
581
|
+
*
|
|
582
|
+
* Note however that this cache-retrieval logic is based on a Map whose key
|
|
583
|
+
* is the Period's JavaScript reference. As such, the cache won't be used if
|
|
584
|
+
* `Period` corresponds to a copy of the original `Period` object.
|
|
585
|
+
*
|
|
586
|
+
* @param {Object} period
|
|
587
|
+
* @returns {Object}
|
|
588
|
+
*/
|
|
589
|
+
getPeriodObjectFromPeriod(period) {
|
|
590
|
+
const periodObj = getPeriodItem(this._storedPeriodInfo, period.id);
|
|
591
|
+
if (periodObj === undefined && period !== undefined) {
|
|
592
|
+
return this._cachedPeriodInfo.get(period);
|
|
593
|
+
}
|
|
594
|
+
return periodObj;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* Allows to recuperate a "Period Object" - used in get/set methods of the
|
|
598
|
+
* `TracksStore` - by giving the Period's id.
|
|
599
|
+
*
|
|
600
|
+
* Note that unlike `getPeriodObjectFromPeriod` this method is only going to look
|
|
601
|
+
* into currently stored Period and as such old Periods not in the Manifest
|
|
602
|
+
* anymore might not be retrievable.
|
|
603
|
+
* If you want to retrieve Period objects linked to such Period, you might
|
|
604
|
+
* prefer to use `getPeriodObjectFromPeriod` (which necessitates the original
|
|
605
|
+
* Period object).
|
|
606
|
+
*
|
|
607
|
+
* @param {string} periodId - The concerned Period's id
|
|
608
|
+
* @returns {Object}
|
|
609
|
+
*/
|
|
610
|
+
getPeriodObjectFromId(periodId) {
|
|
611
|
+
return getPeriodItem(this._storedPeriodInfo, periodId);
|
|
612
|
+
}
|
|
613
|
+
disableVideoTrickModeTracks() {
|
|
614
|
+
if (!this._isTrickModeTrackEnabled) {
|
|
615
|
+
return;
|
|
616
|
+
}
|
|
617
|
+
this._isTrickModeTrackEnabled = false;
|
|
618
|
+
this._resetVideoTrackChoices("trickmode-disabled");
|
|
619
|
+
}
|
|
620
|
+
enableVideoTrickModeTracks() {
|
|
621
|
+
if (this._isTrickModeTrackEnabled) {
|
|
622
|
+
return;
|
|
623
|
+
}
|
|
624
|
+
this._isTrickModeTrackEnabled = true;
|
|
625
|
+
this._resetVideoTrackChoices("trickmode-enabled");
|
|
626
|
+
}
|
|
627
|
+
/**
|
|
628
|
+
* Reset the TracksStore's Period objects:
|
|
629
|
+
* - All Period which are not in the manifest currently will be removed.
|
|
630
|
+
* - All References used to communicate the wanted track will be removed.
|
|
631
|
+
*
|
|
632
|
+
* You might want to call this API when restarting playback.
|
|
633
|
+
*/
|
|
634
|
+
resetPeriodObjects() {
|
|
635
|
+
var _a, _b, _c;
|
|
636
|
+
log.debug("Track", "Resetting Period Objects");
|
|
637
|
+
for (let i = this._storedPeriodInfo.length - 1; i >= 0; i--) {
|
|
638
|
+
const storedObj = this._storedPeriodInfo[i];
|
|
639
|
+
(_a = storedObj.audio.dispatcher) === null || _a === void 0 ? void 0 : _a.dispose("TrackDispatcher reset");
|
|
640
|
+
storedObj.audio.dispatcher = null;
|
|
641
|
+
(_b = storedObj.video.dispatcher) === null || _b === void 0 ? void 0 : _b.dispose("TrackDispatcher reset");
|
|
642
|
+
storedObj.video.dispatcher = null;
|
|
643
|
+
(_c = storedObj.text.dispatcher) === null || _c === void 0 ? void 0 : _c.dispose("TrackDispatcher reset");
|
|
644
|
+
storedObj.text.dispatcher = null;
|
|
645
|
+
if (!storedObj.inManifest) {
|
|
646
|
+
this._removePeriodObject(i);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* @returns {boolean}
|
|
652
|
+
*/
|
|
653
|
+
isTrickModeEnabled() {
|
|
654
|
+
return this._isTrickModeTrackEnabled;
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* Set audio track based on the ID of its Adaptation for a given added Period.
|
|
658
|
+
* @param {Object} params
|
|
659
|
+
* @param {Object} params.periodRef - The concerned Period's object.
|
|
660
|
+
* @param {string} params.trackId - adaptation id of the wanted track.
|
|
661
|
+
* @param {string} params.switchingMode - Behavior when replacing the track by
|
|
662
|
+
* another.
|
|
663
|
+
* @param {Object|null} params.lockedRepresentations - Audio Representations
|
|
664
|
+
* that should be locked after switching to that track.
|
|
665
|
+
* `null` if no Audio Representation should be locked.
|
|
666
|
+
* @param {number} params.relativeResumingPosition
|
|
667
|
+
*/
|
|
668
|
+
setAudioTrack(payload) {
|
|
669
|
+
const { periodRef, trackId, switchingMode, lockedRepresentations, relativeResumingPosition, } = payload;
|
|
670
|
+
return this._setAudioOrTextTrack({
|
|
671
|
+
bufferType: "audio",
|
|
672
|
+
periodRef,
|
|
673
|
+
trackId,
|
|
674
|
+
switchingMode: switchingMode !== null && switchingMode !== void 0 ? switchingMode : this._defaultAudioTrackSwitchingMode,
|
|
675
|
+
lockedRepresentations,
|
|
676
|
+
relativeResumingPosition,
|
|
677
|
+
});
|
|
678
|
+
}
|
|
679
|
+
/**
|
|
680
|
+
* Set text track based on the ID of its Adaptation for a given added Period.
|
|
681
|
+
* @param {Object} periodObj - The concerned Period's object.
|
|
682
|
+
* @param {string} wantedId - adaptation id of the wanted track.
|
|
683
|
+
*/
|
|
684
|
+
setTextTrack(periodObj, wantedId) {
|
|
685
|
+
return this._setAudioOrTextTrack({
|
|
686
|
+
bufferType: "text",
|
|
687
|
+
periodRef: periodObj,
|
|
688
|
+
trackId: wantedId,
|
|
689
|
+
switchingMode: "direct",
|
|
690
|
+
lockedRepresentations: null,
|
|
691
|
+
relativeResumingPosition: undefined,
|
|
692
|
+
});
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* Set audio track based on the ID of its Adaptation for a given added Period.
|
|
696
|
+
* @param {Object} params
|
|
697
|
+
* @param {string} params.bufferType
|
|
698
|
+
* @param {Object} params.periodRef - The concerned Period's object.
|
|
699
|
+
* @param {string} params.trackId - adaptation id of the wanted track.
|
|
700
|
+
* @param {string} params.switchingMode - Behavior when replacing the track by
|
|
701
|
+
* another.
|
|
702
|
+
* @param {Array.<string>|null} params.lockedRepresentations - Audio
|
|
703
|
+
* Representations that should be locked after switchingMode to that track.
|
|
704
|
+
* `null` if no Audio Representation should be locked.
|
|
705
|
+
* @param {number|undefined} params.relativeResumingPosition
|
|
706
|
+
*/
|
|
707
|
+
_setAudioOrTextTrack({ bufferType, periodRef, trackId, switchingMode, lockedRepresentations, relativeResumingPosition, }) {
|
|
708
|
+
var _a, _b;
|
|
709
|
+
if (!periodRef.isPeriodAdvertised) {
|
|
710
|
+
throw new Error("Wanted Period not yet advertised.");
|
|
711
|
+
}
|
|
712
|
+
const period = periodRef.period;
|
|
713
|
+
const wantedAdaptation = arrayFind((_a = period.adaptations[bufferType]) !== null && _a !== void 0 ? _a : [], ({ id, supportStatus }) => supportStatus.hasSupportedCodec !== false &&
|
|
714
|
+
supportStatus.isDecipherable !== false &&
|
|
715
|
+
id === trackId);
|
|
716
|
+
if (wantedAdaptation === undefined) {
|
|
717
|
+
throw new Error(`Wanted ${bufferType} track not found.`);
|
|
718
|
+
}
|
|
719
|
+
const typeInfo = periodRef[bufferType];
|
|
720
|
+
let lockedRepresentationsRef;
|
|
721
|
+
if (lockedRepresentations === null) {
|
|
722
|
+
lockedRepresentationsRef = new SharedReference(null);
|
|
723
|
+
}
|
|
724
|
+
else {
|
|
725
|
+
const representationsToLock = this._getRepresentationsToLock(wantedAdaptation, lockedRepresentations);
|
|
726
|
+
const repSwitchingMode = bufferType === "audio"
|
|
727
|
+
? this._defaultAudioTrackSwitchingMode
|
|
728
|
+
: "direct";
|
|
729
|
+
lockedRepresentationsRef = new SharedReference({
|
|
730
|
+
representationIds: representationsToLock,
|
|
731
|
+
switchingMode: repSwitchingMode,
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
const storedSettings = {
|
|
735
|
+
adaptation: wantedAdaptation,
|
|
736
|
+
switchingMode,
|
|
737
|
+
lockedRepresentations: lockedRepresentationsRef,
|
|
738
|
+
relativeResumingPosition,
|
|
739
|
+
};
|
|
740
|
+
typeInfo.storedSettings = storedSettings;
|
|
741
|
+
this.trigger("trackUpdate", {
|
|
742
|
+
period: toExposedPeriod(period),
|
|
743
|
+
trackType: bufferType,
|
|
744
|
+
reason: "manual",
|
|
745
|
+
});
|
|
746
|
+
// The previous event trigger could have had side-effects, so we
|
|
747
|
+
// re-check if we're still mostly in the same state
|
|
748
|
+
if (this._isDisposed) {
|
|
749
|
+
return; // Someone disposed the `TracksStore` on the previous side-effect
|
|
750
|
+
}
|
|
751
|
+
const newPeriodItem = getPeriodItem(this._storedPeriodInfo, period.id);
|
|
752
|
+
if (newPeriodItem !== undefined &&
|
|
753
|
+
newPeriodItem[bufferType].storedSettings === storedSettings) {
|
|
754
|
+
(_b = newPeriodItem[bufferType].dispatcher) === null || _b === void 0 ? void 0 : _b.updateTrack(storedSettings);
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
/**
|
|
758
|
+
* Set video track based on the ID of its Adaptation for a given added Period.
|
|
759
|
+
* @param {Object} params
|
|
760
|
+
* @param {Object} params.periodRef - The concerned Period's object.
|
|
761
|
+
* @param {string} params.trackId - adaptation id of the wanted track.
|
|
762
|
+
* @param {string} params.switchingMode - Behavior when replacing the track by
|
|
763
|
+
* another.
|
|
764
|
+
* @param {Array.<string>|null} params.lockedRepresentations - Video
|
|
765
|
+
* Representations that should be locked after switching to that track.
|
|
766
|
+
* `null` if no Video Representation should be locked.
|
|
767
|
+
* @param {number|undefined} params.relativeResumingPosition
|
|
768
|
+
*/
|
|
769
|
+
setVideoTrack(payload) {
|
|
770
|
+
var _a, _b;
|
|
771
|
+
const { periodRef, trackId, switchingMode, lockedRepresentations, relativeResumingPosition, } = payload;
|
|
772
|
+
if (!periodRef.isPeriodAdvertised) {
|
|
773
|
+
throw new Error("Wanted Period not yet advertised.");
|
|
774
|
+
}
|
|
775
|
+
const period = periodRef.period;
|
|
776
|
+
const wantedAdaptation = arrayFind((_a = period.adaptations.video) !== null && _a !== void 0 ? _a : [], ({ id, supportStatus }) => supportStatus.isDecipherable !== false &&
|
|
777
|
+
supportStatus.hasSupportedCodec !== false &&
|
|
778
|
+
id === trackId);
|
|
779
|
+
if (wantedAdaptation === undefined) {
|
|
780
|
+
throw new Error("Wanted video track not found.");
|
|
781
|
+
}
|
|
782
|
+
const { DEFAULT_VIDEO_TRACK_SWITCHING_MODE } = config.getCurrent();
|
|
783
|
+
const typeInfo = periodRef.video;
|
|
784
|
+
const newAdaptation = getRightVideoTrack(wantedAdaptation, this._isTrickModeTrackEnabled);
|
|
785
|
+
let lockedRepresentationsRef;
|
|
786
|
+
if (lockedRepresentations === null) {
|
|
787
|
+
lockedRepresentationsRef = new SharedReference(null);
|
|
788
|
+
}
|
|
789
|
+
else {
|
|
790
|
+
const representationsToLock = this._getRepresentationsToLock(wantedAdaptation, lockedRepresentations);
|
|
791
|
+
const repSwitchingMode = DEFAULT_VIDEO_TRACK_SWITCHING_MODE;
|
|
792
|
+
lockedRepresentationsRef = new SharedReference({
|
|
793
|
+
representationIds: representationsToLock,
|
|
794
|
+
switchingMode: repSwitchingMode,
|
|
795
|
+
});
|
|
796
|
+
}
|
|
797
|
+
const storedSettings = {
|
|
798
|
+
adaptationBase: wantedAdaptation,
|
|
799
|
+
switchingMode: switchingMode !== null && switchingMode !== void 0 ? switchingMode : DEFAULT_VIDEO_TRACK_SWITCHING_MODE,
|
|
800
|
+
adaptation: newAdaptation,
|
|
801
|
+
relativeResumingPosition,
|
|
802
|
+
lockedRepresentations: lockedRepresentationsRef,
|
|
803
|
+
};
|
|
804
|
+
typeInfo.storedSettings = storedSettings;
|
|
805
|
+
this.trigger("trackUpdate", {
|
|
806
|
+
period: toExposedPeriod(period),
|
|
807
|
+
trackType: "video",
|
|
808
|
+
reason: "manual",
|
|
809
|
+
});
|
|
810
|
+
// The previous event trigger could have had side-effects, so we
|
|
811
|
+
// re-check if we're still mostly in the same state
|
|
812
|
+
if (this._isDisposed) {
|
|
813
|
+
return; // Someone disposed the `TracksStore` on the previous side-effect
|
|
814
|
+
}
|
|
815
|
+
const newPeriodItem = getPeriodItem(this._storedPeriodInfo, period.id);
|
|
816
|
+
if (newPeriodItem !== undefined &&
|
|
817
|
+
newPeriodItem.video.storedSettings === storedSettings) {
|
|
818
|
+
(_b = newPeriodItem.video.dispatcher) === null || _b === void 0 ? void 0 : _b.updateTrack(storedSettings);
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
* Disable the current text track for a given period.
|
|
823
|
+
*
|
|
824
|
+
* @param {Object} periodObj - The concerned Period's object
|
|
825
|
+
* @param {string} bufferType - The type of track to disable.
|
|
826
|
+
* @throws Error - Throws if the period given has not been added
|
|
827
|
+
*/
|
|
828
|
+
disableTrack(periodObj, bufferType) {
|
|
829
|
+
var _a, _b;
|
|
830
|
+
if (!periodObj.isPeriodAdvertised) {
|
|
831
|
+
throw new Error("Wanted Period not yet advertised.");
|
|
832
|
+
}
|
|
833
|
+
const trackInfo = periodObj[bufferType];
|
|
834
|
+
if (trackInfo.storedSettings === null) {
|
|
835
|
+
return;
|
|
836
|
+
}
|
|
837
|
+
if (bufferType !== "text") {
|
|
838
|
+
// Potentially unneeded, but let's be clean
|
|
839
|
+
(_a = periodObj[bufferType].storedSettings) === null || _a === void 0 ? void 0 : _a.lockedRepresentations.finish();
|
|
840
|
+
}
|
|
841
|
+
trackInfo.storedSettings = null;
|
|
842
|
+
this.trigger("trackUpdate", {
|
|
843
|
+
period: toExposedPeriod(periodObj.period),
|
|
844
|
+
trackType: bufferType,
|
|
845
|
+
reason: "manual",
|
|
846
|
+
});
|
|
847
|
+
// The previous event trigger could have had side-effects, so we
|
|
848
|
+
// re-check if we're still mostly in the same state
|
|
849
|
+
if (this._isDisposed) {
|
|
850
|
+
return; // Someone disposed the `TracksStore` on the previous side-effect
|
|
851
|
+
}
|
|
852
|
+
const newPeriodItem = getPeriodItem(this._storedPeriodInfo, periodObj.period.id);
|
|
853
|
+
if (newPeriodItem !== undefined &&
|
|
854
|
+
newPeriodItem[bufferType].storedSettings === null) {
|
|
855
|
+
(_b = newPeriodItem[bufferType].dispatcher) === null || _b === void 0 ? void 0 : _b.updateTrack(null);
|
|
856
|
+
}
|
|
857
|
+
if (newPeriodItem !== undefined) {
|
|
858
|
+
const hasNoTrackAtAll = ["audio", "video"].every((ttype) => newPeriodItem[ttype].storedSettings === null);
|
|
859
|
+
if (hasNoTrackAtAll) {
|
|
860
|
+
const err = new MediaError("NO_AUDIO_VIDEO_TRACKS", "No audio and no video tracks are set.");
|
|
861
|
+
this.trigger("error", err);
|
|
862
|
+
this.dispose();
|
|
863
|
+
return;
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* Returns an object describing the chosen audio track for the given audio
|
|
869
|
+
* Period.
|
|
870
|
+
*
|
|
871
|
+
* Returns `null` is the the current audio track is disabled or not
|
|
872
|
+
* set yet.a pas bcp de marge de manoeuvre j'ai l'impression
|
|
873
|
+
*
|
|
874
|
+
* Returns `undefined` if the given Period's id is not currently found in the
|
|
875
|
+
* `TracksStore`. The cause being most probably that the corresponding
|
|
876
|
+
* Period is not available anymore.
|
|
877
|
+
* If you're in that case and if still have the corresponding JavaScript
|
|
878
|
+
* reference to the wanted Period, you can call `getOldAudioTrack` with it. It
|
|
879
|
+
* will try retrieving the choice it made from its cache.
|
|
880
|
+
* @param {Object} periodObj - The concerned Period's object
|
|
881
|
+
* @returns {Object|null|undefined} - The audio track chosen for this Period.
|
|
882
|
+
* `null` if audio tracks were disabled and `undefined` if the Period is not
|
|
883
|
+
* known.
|
|
884
|
+
*/
|
|
885
|
+
getChosenAudioTrack(periodObj, filterPlayableRepresentations) {
|
|
886
|
+
return isNullOrUndefined(periodObj.audio.storedSettings)
|
|
887
|
+
? null
|
|
888
|
+
: toAudioTrack(periodObj.audio.storedSettings.adaptation, filterPlayableRepresentations);
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* Returns an object describing the chosen text track for the given text
|
|
892
|
+
* Period.
|
|
893
|
+
*
|
|
894
|
+
* Returns null is the the current text track is disabled or not
|
|
895
|
+
* set yet.
|
|
896
|
+
*
|
|
897
|
+
* @param {Object} periodObj - The concerned Period's object
|
|
898
|
+
* @returns {Object|null} - The text track chosen for this Period
|
|
899
|
+
*/
|
|
900
|
+
getChosenTextTrack(periodObj) {
|
|
901
|
+
return isNullOrUndefined(periodObj.text.storedSettings)
|
|
902
|
+
? null
|
|
903
|
+
: toTextTrack(periodObj.text.storedSettings.adaptation);
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* Returns an object describing the chosen video track for the given video
|
|
907
|
+
* Period.
|
|
908
|
+
*
|
|
909
|
+
* Returns null is the the current video track is disabled or not
|
|
910
|
+
* set yet.
|
|
911
|
+
*
|
|
912
|
+
* @param {Object} periodObj - The concerned Period's object
|
|
913
|
+
* @returns {Object|null} - The video track chosen for this Period
|
|
914
|
+
*/
|
|
915
|
+
getChosenVideoTrack(periodObj, filterPlayableRepresentations) {
|
|
916
|
+
if (isNullOrUndefined(periodObj.video.storedSettings)) {
|
|
917
|
+
return null;
|
|
918
|
+
}
|
|
919
|
+
return toVideoTrack(periodObj.video.storedSettings.adaptation, filterPlayableRepresentations);
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* Returns all available audio tracks for a given Period, as an array of
|
|
923
|
+
* objects.
|
|
924
|
+
*
|
|
925
|
+
* Returns `undefined` if the given Period's id is not known.
|
|
926
|
+
*
|
|
927
|
+
* @param {Object} periodObj - The concerned Period's object
|
|
928
|
+
* @param {boolean} filterPlayableRepresentations - If `true`, only
|
|
929
|
+
* representations considered to be "playable" will be included in the
|
|
930
|
+
* returned response.
|
|
931
|
+
* If `false`, the response should contain all linked representations.
|
|
932
|
+
* @returns {Array.<Object>}
|
|
933
|
+
*/
|
|
934
|
+
getAvailableAudioTracks(periodObj, filterPlayableRepresentations) {
|
|
935
|
+
const storedSettings = periodObj.audio.storedSettings;
|
|
936
|
+
const currentId = !isNullOrUndefined(storedSettings)
|
|
937
|
+
? storedSettings.adaptation.id
|
|
938
|
+
: null;
|
|
939
|
+
const adaptations = getSupportedAdaptations(periodObj.period, "audio");
|
|
940
|
+
return adaptations.map((adaptation) => {
|
|
941
|
+
const active = currentId === null ? false : currentId === adaptation.id;
|
|
942
|
+
return objectAssign(toAudioTrack(adaptation, filterPlayableRepresentations), {
|
|
943
|
+
active,
|
|
944
|
+
});
|
|
945
|
+
});
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
* Returns all available text tracks for a given Period, as an array of
|
|
949
|
+
* objects.
|
|
950
|
+
*
|
|
951
|
+
* Returns `undefined` if the given Period's id is not known.
|
|
952
|
+
*
|
|
953
|
+
* @param {Object} periodObj - The concerned Period's object
|
|
954
|
+
* @returns {Array.<Object>}
|
|
955
|
+
*/
|
|
956
|
+
getAvailableTextTracks(periodObj) {
|
|
957
|
+
const storedSettings = periodObj.text.storedSettings;
|
|
958
|
+
const currentId = !isNullOrUndefined(storedSettings)
|
|
959
|
+
? storedSettings.adaptation.id
|
|
960
|
+
: null;
|
|
961
|
+
const adaptations = getSupportedAdaptations(periodObj.period, "text");
|
|
962
|
+
return adaptations.map((adaptation) => {
|
|
963
|
+
const active = currentId === null ? false : currentId === adaptation.id;
|
|
964
|
+
return objectAssign(toTextTrack(adaptation), { active });
|
|
965
|
+
});
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* Returns all available video tracks for a given Period, as an array of
|
|
969
|
+
* objects.
|
|
970
|
+
*
|
|
971
|
+
* Returns `undefined` if the given Period's id is not known.
|
|
972
|
+
*
|
|
973
|
+
* @param {Object} periodObj - The concerned Period's object
|
|
974
|
+
* @param {boolean} filterPlayableRepresentations - If `true`, only
|
|
975
|
+
* representations considered to be "playable" will be included in the
|
|
976
|
+
* returned response.
|
|
977
|
+
* If `false`, the response should contain all linked representations.
|
|
978
|
+
* @returns {Array.<Object>}
|
|
979
|
+
*/
|
|
980
|
+
getAvailableVideoTracks(periodObj, filterPlayableRepresentations) {
|
|
981
|
+
const storedSettings = periodObj.video.storedSettings;
|
|
982
|
+
const currentId = isNullOrUndefined(storedSettings)
|
|
983
|
+
? undefined
|
|
984
|
+
: storedSettings.adaptation.id;
|
|
985
|
+
const adaptations = getSupportedAdaptations(periodObj.period, "video");
|
|
986
|
+
return adaptations.map((adaptation) => {
|
|
987
|
+
const active = currentId === null ? false : currentId === adaptation.id;
|
|
988
|
+
const track = toVideoTrack(adaptation, filterPlayableRepresentations);
|
|
989
|
+
const trickModeTracks = track.trickModeTracks !== undefined
|
|
990
|
+
? track.trickModeTracks.map((trickModeAdaptation) => {
|
|
991
|
+
const isActive = currentId === null ? false : currentId === trickModeAdaptation.id;
|
|
992
|
+
return objectAssign(trickModeAdaptation, { active: isActive });
|
|
993
|
+
})
|
|
994
|
+
: [];
|
|
995
|
+
const availableTrack = objectAssign(track, { active });
|
|
996
|
+
if (trickModeTracks !== undefined) {
|
|
997
|
+
availableTrack.trickModeTracks = trickModeTracks;
|
|
998
|
+
}
|
|
999
|
+
return availableTrack;
|
|
1000
|
+
});
|
|
1001
|
+
}
|
|
1002
|
+
getLockedAudioRepresentations(periodObj) {
|
|
1003
|
+
const { storedSettings } = periodObj.audio;
|
|
1004
|
+
if (isNullOrUndefined(storedSettings)) {
|
|
1005
|
+
return null;
|
|
1006
|
+
}
|
|
1007
|
+
const lastLockedSettings = storedSettings.lockedRepresentations.getValue();
|
|
1008
|
+
return lastLockedSettings === null ? null : lastLockedSettings.representationIds;
|
|
1009
|
+
}
|
|
1010
|
+
getLockedVideoRepresentations(periodObj) {
|
|
1011
|
+
const { storedSettings } = periodObj.video;
|
|
1012
|
+
if (isNullOrUndefined(storedSettings)) {
|
|
1013
|
+
return null;
|
|
1014
|
+
}
|
|
1015
|
+
const lastLockedSettings = storedSettings.lockedRepresentations.getValue();
|
|
1016
|
+
return lastLockedSettings === null ? null : lastLockedSettings.representationIds;
|
|
1017
|
+
}
|
|
1018
|
+
lockAudioRepresentations(periodObj, lockSettings) {
|
|
1019
|
+
var _a;
|
|
1020
|
+
const { storedSettings } = periodObj.audio;
|
|
1021
|
+
if (isNullOrUndefined(storedSettings)) {
|
|
1022
|
+
return;
|
|
1023
|
+
}
|
|
1024
|
+
const { DEFAULT_AUDIO_REPRESENTATIONS_SWITCHING_MODE } = config.getCurrent();
|
|
1025
|
+
const filtered = this._getRepresentationsToLock(storedSettings.adaptation, lockSettings.representations);
|
|
1026
|
+
const switchingMode = (_a = lockSettings.switchingMode) !== null && _a !== void 0 ? _a : DEFAULT_AUDIO_REPRESENTATIONS_SWITCHING_MODE;
|
|
1027
|
+
storedSettings.lockedRepresentations.setValue({
|
|
1028
|
+
representationIds: filtered,
|
|
1029
|
+
switchingMode,
|
|
1030
|
+
});
|
|
1031
|
+
}
|
|
1032
|
+
lockVideoRepresentations(periodObj, lockSettings) {
|
|
1033
|
+
var _a;
|
|
1034
|
+
const { storedSettings } = periodObj.video;
|
|
1035
|
+
if (isNullOrUndefined(storedSettings)) {
|
|
1036
|
+
return;
|
|
1037
|
+
}
|
|
1038
|
+
const { DEFAULT_VIDEO_REPRESENTATIONS_SWITCHING_MODE } = config.getCurrent();
|
|
1039
|
+
const filtered = this._getRepresentationsToLock(storedSettings.adaptation, lockSettings.representations);
|
|
1040
|
+
const switchingMode = (_a = lockSettings.switchingMode) !== null && _a !== void 0 ? _a : DEFAULT_VIDEO_REPRESENTATIONS_SWITCHING_MODE;
|
|
1041
|
+
storedSettings.lockedRepresentations.setValue({
|
|
1042
|
+
representationIds: filtered,
|
|
1043
|
+
switchingMode,
|
|
1044
|
+
});
|
|
1045
|
+
}
|
|
1046
|
+
unlockAudioRepresentations(periodObj) {
|
|
1047
|
+
const { storedSettings } = periodObj.audio;
|
|
1048
|
+
if (isNullOrUndefined(storedSettings) ||
|
|
1049
|
+
storedSettings.lockedRepresentations.getValue() === null) {
|
|
1050
|
+
return;
|
|
1051
|
+
}
|
|
1052
|
+
storedSettings.lockedRepresentations.setValue(null);
|
|
1053
|
+
}
|
|
1054
|
+
unlockVideoRepresentations(periodObj) {
|
|
1055
|
+
const { storedSettings } = periodObj.video;
|
|
1056
|
+
if (isNullOrUndefined(storedSettings) ||
|
|
1057
|
+
storedSettings.lockedRepresentations.getValue() === null) {
|
|
1058
|
+
return;
|
|
1059
|
+
}
|
|
1060
|
+
storedSettings.lockedRepresentations.setValue(null);
|
|
1061
|
+
}
|
|
1062
|
+
dispose() {
|
|
1063
|
+
this._isDisposed = true;
|
|
1064
|
+
while (true) {
|
|
1065
|
+
const lastPeriod = this._storedPeriodInfo.pop();
|
|
1066
|
+
if (lastPeriod === undefined) {
|
|
1067
|
+
return;
|
|
1068
|
+
}
|
|
1069
|
+
lastPeriod.isRemoved = true;
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
_resetVideoTrackChoices(reason) {
|
|
1073
|
+
var _a;
|
|
1074
|
+
for (let i = 0; i < this._storedPeriodInfo.length; i++) {
|
|
1075
|
+
const periodObj = this._storedPeriodInfo[i];
|
|
1076
|
+
if (!isNullOrUndefined(periodObj.video.storedSettings)) {
|
|
1077
|
+
const chosenBaseTrack = periodObj.video.storedSettings.adaptationBase;
|
|
1078
|
+
if (chosenBaseTrack !== null) {
|
|
1079
|
+
const chosenTrack = getRightVideoTrack(chosenBaseTrack, this._isTrickModeTrackEnabled);
|
|
1080
|
+
periodObj.video.storedSettings.adaptationBase = chosenBaseTrack;
|
|
1081
|
+
periodObj.video.storedSettings.adaptation = chosenTrack;
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
// Clone the current Period list to not be influenced if Periods are removed
|
|
1086
|
+
// or added while the loop is running.
|
|
1087
|
+
const sliced = this._storedPeriodInfo.slice();
|
|
1088
|
+
for (let i = 0; i < sliced.length; i++) {
|
|
1089
|
+
const period = sliced[i].period;
|
|
1090
|
+
const videoItem = sliced[i].video;
|
|
1091
|
+
const storedSettings = videoItem.storedSettings;
|
|
1092
|
+
if (storedSettings !== undefined) {
|
|
1093
|
+
this.trigger("trackUpdate", {
|
|
1094
|
+
period: toExposedPeriod(period),
|
|
1095
|
+
trackType: "video",
|
|
1096
|
+
reason,
|
|
1097
|
+
});
|
|
1098
|
+
// The previous event trigger could have had side-effects, so we
|
|
1099
|
+
// re-check if we're still mostly in the same state
|
|
1100
|
+
if (this._isDisposed) {
|
|
1101
|
+
return; // Someone disposed the `TracksStore` on the previous side-effect
|
|
1102
|
+
}
|
|
1103
|
+
const newPeriodItem = getPeriodItem(this._storedPeriodInfo, period.id);
|
|
1104
|
+
if (newPeriodItem !== undefined &&
|
|
1105
|
+
newPeriodItem.isPeriodAdvertised &&
|
|
1106
|
+
newPeriodItem.video.storedSettings === storedSettings) {
|
|
1107
|
+
(_a = newPeriodItem.video.dispatcher) === null || _a === void 0 ? void 0 : _a.updateTrack(storedSettings);
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
_removePeriodObject(index) {
|
|
1113
|
+
assert(index < this._storedPeriodInfo.length);
|
|
1114
|
+
const oldPeriodItem = this._storedPeriodInfo[index];
|
|
1115
|
+
this._storedPeriodInfo[index].isRemoved = true;
|
|
1116
|
+
this._storedPeriodInfo.splice(index, 1);
|
|
1117
|
+
this._cachedPeriodInfo.set(oldPeriodItem.period, oldPeriodItem);
|
|
1118
|
+
}
|
|
1119
|
+
_getRepresentationsToLock(adaptation, representationIds) {
|
|
1120
|
+
const filtered = representationIds.reduce((acc, repId) => {
|
|
1121
|
+
const foundRep = arrayFind(adaptation.representations, (r) => {
|
|
1122
|
+
return r.id === repId;
|
|
1123
|
+
});
|
|
1124
|
+
if (foundRep === undefined) {
|
|
1125
|
+
log.warn("Track", "Wanted locked Representation not found.");
|
|
1126
|
+
}
|
|
1127
|
+
else {
|
|
1128
|
+
acc.push(foundRep.id);
|
|
1129
|
+
}
|
|
1130
|
+
return acc;
|
|
1131
|
+
}, []);
|
|
1132
|
+
if (filtered.length === 0) {
|
|
1133
|
+
throw new Error("Cannot lock Representations: " + "None of the given Representation id are found");
|
|
1134
|
+
}
|
|
1135
|
+
return filtered;
|
|
1136
|
+
}
|
|
1137
|
+
/**
|
|
1138
|
+
* Check or re-check all Periods for which both an initial track can be chosen
|
|
1139
|
+
* and for which the `newAvailablePeriods` event can be triggered.
|
|
1140
|
+
*/
|
|
1141
|
+
_selectInitialTrackIfNeeded() {
|
|
1142
|
+
var _a, _b, _c, _d;
|
|
1143
|
+
const { DEFAULT_VIDEO_TRACK_SWITCHING_MODE } = config.getCurrent();
|
|
1144
|
+
const periodsToAdvertise = [];
|
|
1145
|
+
const toDispatchTrack = [];
|
|
1146
|
+
for (const trackStorePeriod of this._storedPeriodInfo) {
|
|
1147
|
+
const { period } = trackStorePeriod;
|
|
1148
|
+
if (trackStorePeriod.audio.storedSettings !== undefined &&
|
|
1149
|
+
trackStorePeriod.video.storedSettings !== undefined &&
|
|
1150
|
+
trackStorePeriod.text.storedSettings !== undefined) {
|
|
1151
|
+
// already processed, continue
|
|
1152
|
+
continue;
|
|
1153
|
+
}
|
|
1154
|
+
const adaptations = [
|
|
1155
|
+
...((_a = period.adaptations.audio) !== null && _a !== void 0 ? _a : []),
|
|
1156
|
+
...((_b = period.adaptations.video) !== null && _b !== void 0 ? _b : []),
|
|
1157
|
+
];
|
|
1158
|
+
const hasCodecWithUndefinedSupport = adaptations.every((a) => a.supportStatus.hasCodecWithUndefinedSupport);
|
|
1159
|
+
if (adaptations.length > 0 && hasCodecWithUndefinedSupport) {
|
|
1160
|
+
// Not all codecs for that Period are known yet.
|
|
1161
|
+
// Await until this is the case.
|
|
1162
|
+
continue;
|
|
1163
|
+
}
|
|
1164
|
+
const audioAdaptation = getSupportedAdaptations(period, "audio")[0];
|
|
1165
|
+
if (audioAdaptation === undefined) {
|
|
1166
|
+
trackStorePeriod.audio.storedSettings = null;
|
|
1167
|
+
this.handleMissingOrUnplayableTrack(period, "audio", true);
|
|
1168
|
+
if (this._isDisposed) {
|
|
1169
|
+
return;
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
else {
|
|
1173
|
+
trackStorePeriod.audio.storedSettings = {
|
|
1174
|
+
adaptation: audioAdaptation,
|
|
1175
|
+
switchingMode: this._defaultAudioTrackSwitchingMode,
|
|
1176
|
+
lockedRepresentations: new SharedReference(null),
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
const baseVideoAdaptation = getSupportedAdaptations(period, "video")[0];
|
|
1180
|
+
if (baseVideoAdaptation === undefined) {
|
|
1181
|
+
trackStorePeriod.video.storedSettings = null;
|
|
1182
|
+
this.handleMissingOrUnplayableTrack(period, "video", true);
|
|
1183
|
+
if (this._isDisposed) {
|
|
1184
|
+
return;
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
else {
|
|
1188
|
+
const videoAdaptation = getRightVideoTrack(baseVideoAdaptation, this._isTrickModeTrackEnabled);
|
|
1189
|
+
trackStorePeriod.video.storedSettings = {
|
|
1190
|
+
adaptation: videoAdaptation,
|
|
1191
|
+
adaptationBase: baseVideoAdaptation,
|
|
1192
|
+
switchingMode: DEFAULT_VIDEO_TRACK_SWITCHING_MODE,
|
|
1193
|
+
lockedRepresentations: new SharedReference(null),
|
|
1194
|
+
};
|
|
1195
|
+
}
|
|
1196
|
+
let textAdaptation = null;
|
|
1197
|
+
const forcedSubtitles = ((_c = period.adaptations.text) !== null && _c !== void 0 ? _c : []).filter((ad) => ad.isForcedSubtitles === true);
|
|
1198
|
+
if (forcedSubtitles.length > 0) {
|
|
1199
|
+
if (audioAdaptation !== null && audioAdaptation !== undefined) {
|
|
1200
|
+
const sameLanguage = arrayFind(forcedSubtitles, (f) => f.normalizedLanguage === audioAdaptation.normalizedLanguage);
|
|
1201
|
+
if (sameLanguage !== undefined) {
|
|
1202
|
+
textAdaptation = sameLanguage;
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
if (textAdaptation === null) {
|
|
1206
|
+
textAdaptation =
|
|
1207
|
+
(_d = arrayFind(forcedSubtitles, (f) => f.normalizedLanguage === undefined)) !== null && _d !== void 0 ? _d : null;
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
trackStorePeriod.text.storedSettings =
|
|
1211
|
+
textAdaptation === null
|
|
1212
|
+
? null
|
|
1213
|
+
: {
|
|
1214
|
+
adaptation: textAdaptation,
|
|
1215
|
+
switchingMode: "direct",
|
|
1216
|
+
lockedRepresentations: new SharedReference(null),
|
|
1217
|
+
};
|
|
1218
|
+
toDispatchTrack.push(trackStorePeriod);
|
|
1219
|
+
if (this._shouldAdvertisePeriod(trackStorePeriod)) {
|
|
1220
|
+
trackStorePeriod.isPeriodAdvertised = true;
|
|
1221
|
+
periodsToAdvertise.push({ id: period.id, start: period.start, end: period.end });
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
if (periodsToAdvertise.length > 0) {
|
|
1225
|
+
this.trigger("newAvailablePeriods", periodsToAdvertise);
|
|
1226
|
+
if (this._isDisposed) {
|
|
1227
|
+
return;
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
for (const trackStorePeriod of toDispatchTrack) {
|
|
1231
|
+
if (!trackStorePeriod.isPeriodAdvertised) {
|
|
1232
|
+
continue;
|
|
1233
|
+
}
|
|
1234
|
+
const bufferTypes = ["audio", "video", "text"];
|
|
1235
|
+
for (const bufferType of bufferTypes) {
|
|
1236
|
+
const trackInfo = trackStorePeriod[bufferType];
|
|
1237
|
+
if (trackInfo.dispatcher !== null &&
|
|
1238
|
+
trackInfo.storedSettings !== undefined &&
|
|
1239
|
+
!trackInfo.dispatcher.hasSetTrack()) {
|
|
1240
|
+
trackInfo.dispatcher.updateTrack(trackInfo.storedSettings);
|
|
1241
|
+
if (this._isDisposed) {
|
|
1242
|
+
return;
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
* Returns `true` once a Period can be advertised through a `newAvailablePeriods`
|
|
1250
|
+
* event, after which track can begin to be set and updated.
|
|
1251
|
+
* @param {Object} periodObj
|
|
1252
|
+
* @returns {boolean}
|
|
1253
|
+
*/
|
|
1254
|
+
_shouldAdvertisePeriod(periodObj) {
|
|
1255
|
+
return (!periodObj.isPeriodAdvertised &&
|
|
1256
|
+
periodObj.text.dispatcher !== null &&
|
|
1257
|
+
periodObj.video.dispatcher !== null &&
|
|
1258
|
+
periodObj.audio.dispatcher !== null);
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
/**
|
|
1262
|
+
* Returns element in the given `periods` Array that corresponds to the
|
|
1263
|
+
* `period` given.
|
|
1264
|
+
* Returns `undefined` if that `period` is not found.
|
|
1265
|
+
* @param {Object} periods
|
|
1266
|
+
* @param {string} periodId
|
|
1267
|
+
* @returns {Object|undefined}
|
|
1268
|
+
*/
|
|
1269
|
+
function getPeriodItem(periods, periodId) {
|
|
1270
|
+
for (let i = 0; i < periods.length; i++) {
|
|
1271
|
+
const periodI = periods[i];
|
|
1272
|
+
if (periodI.period.id === periodId) {
|
|
1273
|
+
return periodI;
|
|
1274
|
+
}
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
/**
|
|
1278
|
+
* A `ITSPeriodObject` should only be removed once all References linked to it
|
|
1279
|
+
* do not exist anymore, to keep the possibility of making track choices.
|
|
1280
|
+
* @param {Object} periodObj
|
|
1281
|
+
* @returns {boolean}
|
|
1282
|
+
*/
|
|
1283
|
+
function isPeriodItemRemovable(periodObj) {
|
|
1284
|
+
var _a, _b, _c;
|
|
1285
|
+
return (!periodObj.inManifest &&
|
|
1286
|
+
((_a = periodObj.text) === null || _a === void 0 ? void 0 : _a.dispatcher) === null &&
|
|
1287
|
+
((_b = periodObj.audio) === null || _b === void 0 ? void 0 : _b.dispatcher) === null &&
|
|
1288
|
+
((_c = periodObj.video) === null || _c === void 0 ? void 0 : _c.dispatcher) === null);
|
|
1289
|
+
}
|
|
1290
|
+
function getRightVideoTrack(adaptation, isTrickModeEnabled) {
|
|
1291
|
+
var _a;
|
|
1292
|
+
if (isTrickModeEnabled && ((_a = adaptation.trickModeTracks) === null || _a === void 0 ? void 0 : _a[0]) !== undefined) {
|
|
1293
|
+
return adaptation.trickModeTracks[0];
|
|
1294
|
+
}
|
|
1295
|
+
return adaptation;
|
|
1296
|
+
}
|
|
1297
|
+
/**
|
|
1298
|
+
* Generate an `ITSPeriodObject` object for the given Period, selecting the
|
|
1299
|
+
* default track for each type.
|
|
1300
|
+
* @param {Object} period
|
|
1301
|
+
* @param {boolean} inManifest
|
|
1302
|
+
* @returns {object}
|
|
1303
|
+
*/
|
|
1304
|
+
function generatePeriodInfo(period, inManifest) {
|
|
1305
|
+
return {
|
|
1306
|
+
period,
|
|
1307
|
+
inManifest,
|
|
1308
|
+
isPeriodAdvertised: false,
|
|
1309
|
+
isRemoved: false,
|
|
1310
|
+
audio: { storedSettings: undefined, dispatcher: null },
|
|
1311
|
+
video: { storedSettings: undefined, dispatcher: null },
|
|
1312
|
+
text: { storedSettings: undefined, dispatcher: null },
|
|
1313
|
+
};
|
|
1314
|
+
}
|
|
1315
|
+
function toExposedPeriod(p) {
|
|
1316
|
+
return { start: p.start, end: p.end, id: p.id };
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
* Retrieves a fallback track for the given period and track type.
|
|
1320
|
+
*
|
|
1321
|
+
* This function is used when the current track becomes unavailable,
|
|
1322
|
+
* and a fallback track must be selected based on the period and media type.
|
|
1323
|
+
*
|
|
1324
|
+
* @param {Object} period - The period object that contains information about the available tracks.
|
|
1325
|
+
* @param {string} trackType - The type of media track to fallback to (e.g., "audio", "video", "text").
|
|
1326
|
+
* @returns {object|null} A fallback track matching the type, or `null` if none is available.
|
|
1327
|
+
*/
|
|
1328
|
+
function getFallbackTrack(period, trackType) {
|
|
1329
|
+
const periodHasAdaptationForType = period.adaptations[trackType] !== undefined &&
|
|
1330
|
+
period.adaptations[trackType].length > 0;
|
|
1331
|
+
if (!periodHasAdaptationForType) {
|
|
1332
|
+
return {
|
|
1333
|
+
fallbackTrack: null,
|
|
1334
|
+
noSourceMedia: true,
|
|
1335
|
+
};
|
|
1336
|
+
}
|
|
1337
|
+
const firstPlayableAdaptation = findFirstPlayableAdaptation(period, trackType);
|
|
1338
|
+
return {
|
|
1339
|
+
fallbackTrack: firstPlayableAdaptation !== null && firstPlayableAdaptation !== void 0 ? firstPlayableAdaptation : null,
|
|
1340
|
+
noSourceMedia: false,
|
|
1341
|
+
};
|
|
1342
|
+
}
|
|
1343
|
+
function findFirstPlayableAdaptation(period, type) {
|
|
1344
|
+
var _a;
|
|
1345
|
+
const firstPlayableAdaptation = arrayFind((_a = period.adaptations[type]) !== null && _a !== void 0 ? _a : [], (adaptation) => {
|
|
1346
|
+
if (adaptation.supportStatus.hasSupportedCodec === false ||
|
|
1347
|
+
adaptation.supportStatus.isDecipherable === false) {
|
|
1348
|
+
return false;
|
|
1349
|
+
}
|
|
1350
|
+
const playableRepresentations = adaptation.representations.filter((r) => isRepresentationPlayable(r) === true);
|
|
1351
|
+
return playableRepresentations.length > 0;
|
|
1352
|
+
});
|
|
1353
|
+
return firstPlayableAdaptation;
|
|
1354
|
+
}
|