rx-player 4.1.0-dev.2024040900 → 4.1.0-dev.2024070800
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 +37 -9
- package/VERSION +1 -1
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.d.ts +1 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +1 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.js +1 -1
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts +1 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts.map +1 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.js +1 -1
- package/dist/commonjs/__GENERATED_CODE/index.d.ts +1 -1
- package/dist/commonjs/__GENERATED_CODE/index.d.ts.map +1 -0
- package/dist/commonjs/__GENERATED_CODE/index.js +1 -3
- package/dist/commonjs/compat/add_class_name.d.ts +1 -0
- package/dist/commonjs/compat/add_class_name.d.ts.map +1 -0
- package/dist/commonjs/compat/add_text_track.d.ts +1 -0
- package/dist/commonjs/compat/add_text_track.d.ts.map +1 -0
- package/dist/commonjs/compat/browser_compatibility_types.d.ts +3 -1
- package/dist/commonjs/compat/browser_compatibility_types.d.ts.map +1 -0
- package/dist/commonjs/compat/browser_detection.d.ts +1 -0
- package/dist/commonjs/compat/browser_detection.d.ts.map +1 -0
- package/dist/commonjs/compat/browser_version.d.ts +1 -0
- package/dist/commonjs/compat/browser_version.d.ts.map +1 -0
- package/dist/commonjs/compat/can_patch_isobmff.d.ts +1 -0
- package/dist/commonjs/compat/can_patch_isobmff.d.ts.map +1 -0
- package/dist/commonjs/compat/can_rely_on_request_media_key_system_access.d.ts +35 -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 +44 -0
- package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.d.ts +1 -0
- package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.d.ts.map +1 -0
- package/dist/commonjs/compat/can_reuse_media_keys.d.ts +1 -0
- package/dist/commonjs/compat/can_reuse_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/can_seek_directly_after_loaded_metadata.d.ts +1 -0
- package/dist/commonjs/compat/can_seek_directly_after_loaded_metadata.d.ts.map +1 -0
- package/dist/commonjs/compat/change_source_buffer_type.d.ts +1 -0
- package/dist/commonjs/compat/change_source_buffer_type.d.ts.map +1 -0
- package/dist/commonjs/compat/clear_element_src.d.ts +1 -0
- package/dist/commonjs/compat/clear_element_src.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/close_session.d.ts +1 -0
- package/dist/commonjs/compat/eme/close_session.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/constants.d.ts +1 -0
- package/dist/commonjs/compat/eme/constants.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_key_system_access.d.ts +1 -0
- package/dist/commonjs/compat/eme/custom_key_system_access.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.d.ts +1 -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/index.d.ts +4 -2
- package/dist/commonjs/compat/eme/custom_media_keys/index.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +1 -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/ms_media_keys_constructor.d.ts +1 -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/old_webkit_media_keys.d.ts +1 -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/types.d.ts +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/types.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.d.ts +1 -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_constructor.d.ts +3 -1
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/eme-api-implementation.d.ts +1 -0
- package/dist/commonjs/compat/eme/eme-api-implementation.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/generate_key_request.d.ts +1 -0
- package/dist/commonjs/compat/eme/generate_key_request.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/get_init_data.d.ts +1 -0
- package/dist/commonjs/compat/eme/get_init_data.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts +1 -0
- package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.d.ts +1 -0
- package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/index.d.ts +9 -5
- package/dist/commonjs/compat/eme/index.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/load_session.d.ts +1 -0
- package/dist/commonjs/compat/eme/load_session.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/set_media_keys.d.ts +1 -0
- package/dist/commonjs/compat/eme/set_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/enable_audio_track.d.ts +1 -0
- package/dist/commonjs/compat/enable_audio_track.d.ts.map +1 -0
- package/dist/commonjs/compat/event_listeners.d.ts +1 -0
- package/dist/commonjs/compat/event_listeners.d.ts.map +1 -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 +1 -0
- package/dist/commonjs/compat/get_start_date.d.ts.map +1 -0
- package/dist/commonjs/compat/has_issues_with_high_media_source_duration.d.ts +1 -0
- package/dist/commonjs/compat/has_issues_with_high_media_source_duration.d.ts.map +1 -0
- package/dist/commonjs/compat/has_mse_in_worker.d.ts +1 -0
- package/dist/commonjs/compat/has_mse_in_worker.d.ts.map +1 -0
- package/dist/commonjs/compat/has_webassembly.d.ts +1 -0
- package/dist/commonjs/compat/has_webassembly.d.ts.map +1 -0
- package/dist/commonjs/compat/has_worker_api.d.ts +1 -0
- package/dist/commonjs/compat/has_worker_api.d.ts.map +1 -0
- package/dist/commonjs/compat/is_codec_supported.d.ts +1 -0
- package/dist/commonjs/compat/is_codec_supported.d.ts.map +1 -0
- package/dist/commonjs/compat/is_debug_mode_enabled.d.ts +1 -0
- package/dist/commonjs/compat/is_debug_mode_enabled.d.ts.map +1 -0
- package/dist/commonjs/compat/is_seeking_approximate.d.ts +1 -0
- package/dist/commonjs/compat/is_seeking_approximate.d.ts.map +1 -0
- package/dist/commonjs/compat/is_vtt_cue.d.ts +1 -0
- package/dist/commonjs/compat/is_vtt_cue.d.ts.map +1 -0
- package/dist/commonjs/compat/make_vtt_cue.d.ts +1 -0
- package/dist/commonjs/compat/make_vtt_cue.d.ts.map +1 -0
- package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.d.ts +1 -0
- package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.d.ts.map +1 -0
- package/dist/commonjs/compat/on_height_width_change.d.ts +1 -0
- package/dist/commonjs/compat/on_height_width_change.d.ts.map +1 -0
- package/dist/commonjs/compat/patch_webkit_source_buffer.d.ts +1 -0
- package/dist/commonjs/compat/patch_webkit_source_buffer.d.ts.map +1 -0
- package/dist/commonjs/compat/remove_cue.d.ts +1 -0
- package/dist/commonjs/compat/remove_cue.d.ts.map +1 -0
- package/dist/commonjs/compat/should_await_set_media_keys.d.ts +1 -0
- package/dist/commonjs/compat/should_await_set_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/should_favour_custom_safari_EME.d.ts +1 -0
- package/dist/commonjs/compat/should_favour_custom_safari_EME.d.ts.map +1 -0
- package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.d.ts +1 -0
- package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.d.ts.map +1 -0
- package/dist/commonjs/compat/should_renew_media_key_system_access.d.ts +1 -0
- package/dist/commonjs/compat/should_renew_media_key_system_access.d.ts.map +1 -0
- package/dist/commonjs/compat/should_unset_media_keys.d.ts +1 -0
- package/dist/commonjs/compat/should_unset_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/should_validate_metadata.d.ts +1 -0
- package/dist/commonjs/compat/should_validate_metadata.d.ts.map +1 -0
- package/dist/commonjs/compat/should_wait_for_data_before_loaded.d.ts +1 -0
- package/dist/commonjs/compat/should_wait_for_data_before_loaded.d.ts.map +1 -0
- package/dist/commonjs/compat/should_wait_for_have_enough_data.d.ts +1 -0
- package/dist/commonjs/compat/should_wait_for_have_enough_data.d.ts.map +1 -0
- package/dist/commonjs/config.d.ts +1 -0
- package/dist/commonjs/config.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/adaptive_representation_selector.d.ts +3 -2
- package/dist/commonjs/core/adaptive/adaptive_representation_selector.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/buffer_based_chooser.d.ts +1 -0
- package/dist/commonjs/core/adaptive/buffer_based_chooser.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/guess_based_chooser.d.ts +1 -0
- package/dist/commonjs/core/adaptive/guess_based_chooser.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/index.d.ts +4 -2
- package/dist/commonjs/core/adaptive/index.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/network_analyzer.d.ts +1 -0
- package/dist/commonjs/core/adaptive/network_analyzer.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.d.ts +1 -0
- package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/ewma.d.ts +1 -0
- package/dist/commonjs/core/adaptive/utils/ewma.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.d.ts +1 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_resolution.d.ts +1 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_resolution.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/get_buffer_levels.d.ts +1 -0
- package/dist/commonjs/core/adaptive/utils/get_buffer_levels.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/last_estimate_storage.d.ts +1 -0
- package/dist/commonjs/core/adaptive/utils/last_estimate_storage.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/pending_requests_store.d.ts +1 -0
- package/dist/commonjs/core/adaptive/utils/pending_requests_store.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/representation_score_calculator.d.ts +1 -0
- package/dist/commonjs/core/adaptive/utils/representation_score_calculator.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/select_optimal_representation.d.ts +1 -0
- package/dist/commonjs/core/adaptive/utils/select_optimal_representation.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/cdn_prioritizer.d.ts +1 -0
- package/dist/commonjs/core/fetchers/cdn_prioritizer.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/index.d.ts +7 -3
- package/dist/commonjs/core/fetchers/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/manifest/index.d.ts +4 -2
- package/dist/commonjs/core/fetchers/manifest/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.d.ts +1 -0
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/index.d.ts +5 -3
- package/dist/commonjs/core/fetchers/segment/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.d.ts +1 -0
- package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.d.ts +1 -0
- package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts +1 -0
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/segment_fetcher_creator.d.ts +1 -0
- package/dist/commonjs/core/fetchers/segment/segment_fetcher_creator.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/task_prioritizer.d.ts +1 -0
- package/dist/commonjs/core/fetchers/segment/task_prioritizer.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/utils/error_selector.d.ts +1 -0
- package/dist/commonjs/core/fetchers/utils/error_selector.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/utils/schedule_request.d.ts +1 -0
- package/dist/commonjs/core/fetchers/utils/schedule_request.d.ts.map +1 -0
- package/dist/commonjs/core/main/common/DecipherabilityFreezeDetector.d.ts +1 -0
- package/dist/commonjs/core/main/common/DecipherabilityFreezeDetector.d.ts.map +1 -0
- package/dist/commonjs/core/main/common/content_time_boundaries_observer.d.ts +1 -0
- package/dist/commonjs/core/main/common/content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/commonjs/core/main/common/content_time_boundaries_observer.js +41 -19
- package/dist/commonjs/core/main/common/create_content_time_boundaries_observer.d.ts +1 -0
- package/dist/commonjs/core/main/common/create_content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/commonjs/core/main/common/get_buffered_data_per_media_buffer.d.ts +1 -0
- package/dist/commonjs/core/main/common/get_buffered_data_per_media_buffer.d.ts.map +1 -0
- package/dist/commonjs/core/main/worker/content_preparer.d.ts +1 -0
- package/dist/commonjs/core/main/worker/content_preparer.d.ts.map +1 -0
- package/dist/commonjs/core/main/worker/globals.d.ts +1 -0
- package/dist/commonjs/core/main/worker/globals.d.ts.map +1 -0
- package/dist/commonjs/core/main/worker/index.d.ts +1 -0
- package/dist/commonjs/core/main/worker/index.d.ts.map +1 -0
- package/dist/commonjs/core/main/worker/send_message.d.ts +1 -0
- package/dist/commonjs/core/main/worker/send_message.d.ts.map +1 -0
- package/dist/commonjs/core/main/worker/track_choice_setter.d.ts +1 -0
- package/dist/commonjs/core/main/worker/track_choice_setter.d.ts.map +1 -0
- package/dist/commonjs/core/main/worker/worker_main.d.ts +1 -0
- package/dist/commonjs/core/main/worker/worker_main.d.ts.map +1 -0
- package/dist/commonjs/core/main/worker/worker_main.js +22 -0
- package/dist/commonjs/core/main/worker/worker_text_displayer_interface.d.ts +1 -0
- package/dist/commonjs/core/main/worker/worker_text_displayer_interface.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.d.ts +1 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.js +44 -24
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_buffer.d.ts +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_buffer.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.d.ts +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/index.d.ts +4 -2
- package/dist/commonjs/core/segment_sinks/implementations/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/index.d.ts +4 -2
- package/dist/commonjs/core/segment_sinks/implementations/text/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_buffer.d.ts +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_buffer.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/types.d.ts +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/types.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/index.d.ts +7 -3
- package/dist/commonjs/core/segment_sinks/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/buffered_history.d.ts +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/buffered_history.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/index.d.ts +7 -4
- package/dist/commonjs/core/segment_sinks/inventory/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.d.ts +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/types.d.ts +7 -1
- package/dist/commonjs/core/segment_sinks/inventory/types.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.d.ts +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.js +25 -3
- package/dist/commonjs/core/segment_sinks/segment_buffers_store.d.ts +26 -0
- package/dist/commonjs/core/segment_sinks/segment_buffers_store.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/segment_buffers_store.js +35 -0
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts +1 -0
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.d.ts +1 -0
- package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/index.d.ts +1 -0
- package/dist/commonjs/core/stream/adaptation/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/types.d.ts +1 -0
- package/dist/commonjs/core/stream/adaptation/types.d.ts.map +1 -0
- package/dist/commonjs/core/stream/index.d.ts +7 -5
- package/dist/commonjs/core/stream/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.d.ts +1 -0
- package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.d.ts.map +1 -0
- package/dist/commonjs/core/stream/orchestrator/index.d.ts +4 -2
- package/dist/commonjs/core/stream/orchestrator/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.d.ts +1 -0
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/index.d.ts +1 -0
- package/dist/commonjs/core/stream/period/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/period_stream.d.ts +1 -0
- package/dist/commonjs/core/stream/period/period_stream.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/types.d.ts +3 -2
- package/dist/commonjs/core/stream/period/types.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +1 -0
- package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/index.d.ts +1 -0
- package/dist/commonjs/core/stream/representation/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/representation_stream.d.ts +1 -0
- package/dist/commonjs/core/stream/representation/representation_stream.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/types.d.ts +1 -0
- package/dist/commonjs/core/stream/representation/types.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.d.ts +1 -0
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.d.ts +1 -0
- package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/downloading_queue.d.ts +1 -0
- package/dist/commonjs/core/stream/representation/utils/downloading_queue.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/get_buffer_status.d.ts +1 -0
- package/dist/commonjs/core/stream/representation/utils/get_buffer_status.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/get_needed_segments.d.ts +1 -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 +38 -30
- package/dist/commonjs/core/stream/representation/utils/get_segment_priority.d.ts +1 -0
- package/dist/commonjs/core/stream/representation/utils/get_segment_priority.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.d.ts +1 -0
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.d.ts +1 -0
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.d.ts.map +1 -0
- package/dist/commonjs/core/types.d.ts +1 -0
- package/dist/commonjs/core/types.d.ts.map +1 -0
- package/dist/commonjs/default_config.d.ts +1 -0
- package/dist/commonjs/default_config.d.ts.map +1 -0
- package/dist/commonjs/errors/custom_loader_error.d.ts +1 -1
- package/dist/commonjs/errors/custom_loader_error.d.ts.map +1 -0
- package/dist/commonjs/errors/custom_loader_error.js +1 -2
- package/dist/commonjs/errors/encrypted_media_error.d.ts +1 -1
- package/dist/commonjs/errors/encrypted_media_error.d.ts.map +1 -0
- package/dist/commonjs/errors/encrypted_media_error.js +1 -2
- package/dist/commonjs/errors/error_codes.d.ts +1 -0
- package/dist/commonjs/errors/error_codes.d.ts.map +1 -0
- package/dist/commonjs/errors/error_message.d.ts +1 -0
- package/dist/commonjs/errors/error_message.d.ts.map +1 -0
- package/dist/commonjs/errors/format_error.d.ts +1 -0
- package/dist/commonjs/errors/format_error.d.ts.map +1 -0
- package/dist/commonjs/errors/index.d.ts +13 -6
- package/dist/commonjs/errors/index.d.ts.map +1 -0
- package/dist/commonjs/errors/is_known_error.d.ts +1 -0
- package/dist/commonjs/errors/is_known_error.d.ts.map +1 -0
- package/dist/commonjs/errors/media_error.d.ts +1 -1
- package/dist/commonjs/errors/media_error.d.ts.map +1 -0
- package/dist/commonjs/errors/media_error.js +1 -2
- package/dist/commonjs/errors/network_error.d.ts +1 -1
- package/dist/commonjs/errors/network_error.d.ts.map +1 -0
- package/dist/commonjs/errors/network_error.js +1 -2
- package/dist/commonjs/errors/other_error.d.ts +1 -1
- package/dist/commonjs/errors/other_error.d.ts.map +1 -0
- package/dist/commonjs/errors/other_error.js +1 -2
- package/dist/commonjs/errors/source_buffer_error.d.ts +1 -1
- package/dist/commonjs/errors/source_buffer_error.d.ts.map +1 -0
- package/dist/commonjs/errors/source_buffer_error.js +1 -2
- package/dist/commonjs/errors/worker_initialization_error.d.ts +1 -1
- package/dist/commonjs/errors/worker_initialization_error.d.ts.map +1 -0
- package/dist/commonjs/errors/worker_initialization_error.js +1 -2
- package/dist/commonjs/experimental/features/index.d.ts +1 -0
- package/dist/commonjs/experimental/features/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/local.d.ts +1 -0
- package/dist/commonjs/experimental/features/local.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/metaplaylist.d.ts +1 -0
- package/dist/commonjs/experimental/features/metaplaylist.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/multi_thread.d.ts +1 -0
- package/dist/commonjs/experimental/features/multi_thread.d.ts.map +1 -0
- package/dist/commonjs/experimental/index.d.ts +1 -0
- package/dist/commonjs/experimental/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.d.ts +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.d.ts +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +1 -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 +3 -3
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts +1 -1
- 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 +2 -2
- package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts +1 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/index.d.ts +1 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/index.d.ts +1 -0
- package/dist/commonjs/experimental/tools/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api/index.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/capabilities.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/capabilities.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.d.ts +3 -2
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/index.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.d.ts +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.d.ts.map +1 -0
- package/dist/commonjs/features/add_features.d.ts +1 -0
- package/dist/commonjs/features/add_features.d.ts.map +1 -0
- package/dist/commonjs/features/features_object.d.ts +1 -0
- package/dist/commonjs/features/features_object.d.ts.map +1 -0
- package/dist/commonjs/features/index.d.ts +4 -2
- package/dist/commonjs/features/index.d.ts.map +1 -0
- package/dist/commonjs/features/list/dash.d.ts +1 -0
- package/dist/commonjs/features/list/dash.d.ts.map +1 -0
- package/dist/commonjs/features/list/dash_wasm.d.ts +1 -0
- package/dist/commonjs/features/list/dash_wasm.d.ts.map +1 -0
- package/dist/commonjs/features/list/debug_element.d.ts +1 -0
- package/dist/commonjs/features/list/debug_element.d.ts.map +1 -0
- package/dist/commonjs/features/list/directfile.d.ts +1 -0
- package/dist/commonjs/features/list/directfile.d.ts.map +1 -0
- package/dist/commonjs/features/list/eme.d.ts +1 -0
- package/dist/commonjs/features/list/eme.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_sami_parser.d.ts +1 -0
- package/dist/commonjs/features/list/html_sami_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_srt_parser.d.ts +1 -0
- package/dist/commonjs/features/list/html_srt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_text_buffer.d.ts +1 -0
- package/dist/commonjs/features/list/html_text_buffer.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_ttml_parser.d.ts +1 -0
- package/dist/commonjs/features/list/html_ttml_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_vtt_parser.d.ts +1 -0
- package/dist/commonjs/features/list/html_vtt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/index.d.ts +1 -0
- package/dist/commonjs/features/list/index.d.ts.map +1 -0
- package/dist/commonjs/features/list/media_source_main.d.ts +1 -0
- package/dist/commonjs/features/list/media_source_main.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_sami_parser.d.ts +1 -0
- package/dist/commonjs/features/list/native_sami_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_srt_parser.d.ts +1 -0
- package/dist/commonjs/features/list/native_srt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_text_buffer.d.ts +1 -0
- package/dist/commonjs/features/list/native_text_buffer.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_ttml_parser.d.ts +1 -0
- package/dist/commonjs/features/list/native_ttml_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_vtt_parser.d.ts +1 -0
- package/dist/commonjs/features/list/native_vtt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/smooth.d.ts +1 -0
- package/dist/commonjs/features/list/smooth.d.ts.map +1 -0
- package/dist/commonjs/features/types.d.ts +1 -0
- package/dist/commonjs/features/types.d.ts.map +1 -0
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +4 -0
- package/dist/commonjs/log.d.ts +1 -0
- package/dist/commonjs/log.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/buffer_graph.d.ts +4 -3
- package/dist/commonjs/main_thread/api/debug/buffer_graph.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/buffer_graph.js +63 -18
- package/dist/commonjs/main_thread/api/debug/buffer_size_graph.d.ts +1 -0
- package/dist/commonjs/main_thread/api/debug/buffer_size_graph.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/constants.d.ts +1 -0
- package/dist/commonjs/main_thread/api/debug/constants.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/index.d.ts +1 -0
- package/dist/commonjs/main_thread/api/debug/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/modules/general_info.d.ts +1 -0
- package/dist/commonjs/main_thread/api/debug/modules/general_info.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.d.ts +1 -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 +60 -19
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.d.ts +1 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/render.d.ts +1 -0
- package/dist/commonjs/main_thread/api/debug/render.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/utils.d.ts +1 -0
- package/dist/commonjs/main_thread/api/debug/utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/index.d.ts +1 -0
- package/dist/commonjs/main_thread/api/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/option_utils.d.ts +1 -0
- package/dist/commonjs/main_thread/api/option_utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/public_api.d.ts +13 -8
- package/dist/commonjs/main_thread/api/public_api.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/public_api.js +58 -21
- package/dist/commonjs/main_thread/api/utils.d.ts +1 -0
- package/dist/commonjs/main_thread/api/utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/attach_media_keys.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/attach_media_keys.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/clear_on_stop.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/clear_on_stop.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.js +26 -15
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/create_session.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/create_session.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/find_key_system.d.ts +9 -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 +42 -1
- package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/get_media_keys.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/get_media_keys.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/index.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/init_media_keys.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/init_media_keys.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/session_events_listener.d.ts +1 -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 +2 -2
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/types.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.d.ts +1 -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 +1 -1
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts +1 -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_stored_persistent_info.d.ts +1 -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/get_drm_system_id.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/get_drm_system_id.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_session_record.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_session_record.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/media_keys_infos_store.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/media_keys_infos_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.d.ts +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/directfile_content_initializer.d.ts +1 -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 +3 -1
- package/dist/commonjs/main_thread/init/index.d.ts +3 -1
- package/dist/commonjs/main_thread/init/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/media_source_content_initializer.d.ts +1 -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 +9 -1
- package/dist/commonjs/main_thread/init/multi_thread_content_initializer.d.ts +6 -0
- package/dist/commonjs/main_thread/init/multi_thread_content_initializer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/multi_thread_content_initializer.js +97 -11
- package/dist/commonjs/main_thread/init/send_message.d.ts +1 -0
- package/dist/commonjs/main_thread/init/send_message.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/types.d.ts +4 -2
- package/dist/commonjs/main_thread/init/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.d.ts +1 -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_media_source.d.ts +1 -0
- package/dist/commonjs/main_thread/init/utils/create_media_source.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/get_initial_time.d.ts +1 -0
- package/dist/commonjs/main_thread/init/utils/get_initial_time.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/get_loaded_reference.d.ts +1 -0
- package/dist/commonjs/main_thread/init/utils/get_loaded_reference.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts +1 -0
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.d.ts +1 -0
- package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.d.ts +1 -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/rebuffering_controller.d.ts +1 -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 +48 -26
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts +1 -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/index.d.ts +1 -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/refresh_scheduled_events_list.d.ts +1 -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 +85 -54
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts +1 -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/types.d.ts +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/throw_on_media_error.d.ts +1 -0
- package/dist/commonjs/main_thread/init/utils/throw_on_media_error.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_parsers.d.ts +1 -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_text_displayer.d.ts +1 -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 +65 -12
- package/dist/commonjs/main_thread/text_displayer/html/index.d.ts +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.d.ts +1 -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 +39 -7
- package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.d.ts +1 -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/utils.d.ts +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/index.d.ts +3 -2
- package/dist/commonjs/main_thread/text_displayer/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.d.ts +1 -0
- package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/native/index.d.ts +1 -0
- package/dist/commonjs/main_thread/text_displayer/native/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_parsers.d.ts +1 -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_text_displayer.d.ts +1 -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 +27 -5
- package/dist/commonjs/main_thread/text_displayer/types.d.ts +1 -0
- package/dist/commonjs/main_thread/text_displayer/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/index.d.ts +1 -0
- package/dist/commonjs/main_thread/tracks_store/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.d.ts +1 -0
- package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/track_dispatcher.d.ts +1 -0
- package/dist/commonjs/main_thread/tracks_store/track_dispatcher.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/tracks_store.d.ts +1 -0
- package/dist/commonjs/main_thread/tracks_store/tracks_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/types.d.ts +1 -0
- package/dist/commonjs/main_thread/types.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/adaptation.d.ts +1 -0
- package/dist/commonjs/manifest/classes/adaptation.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/index.d.ts +12 -6
- package/dist/commonjs/manifest/classes/index.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/manifest.d.ts +2 -1
- package/dist/commonjs/manifest/classes/manifest.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/period.d.ts +1 -0
- package/dist/commonjs/manifest/classes/period.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation.d.ts +1 -0
- package/dist/commonjs/manifest/classes/representation.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation_index/index.d.ts +3 -1
- package/dist/commonjs/manifest/classes/representation_index/index.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation_index/static.d.ts +1 -0
- package/dist/commonjs/manifest/classes/representation_index/static.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation_index/types.d.ts +1 -0
- package/dist/commonjs/manifest/classes/representation_index/types.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/types.d.ts +1 -0
- package/dist/commonjs/manifest/classes/types.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/update_period_in_place.d.ts +1 -0
- package/dist/commonjs/manifest/classes/update_period_in_place.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/update_periods.d.ts +1 -0
- package/dist/commonjs/manifest/classes/update_periods.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/utils.d.ts +1 -0
- package/dist/commonjs/manifest/classes/utils.d.ts.map +1 -0
- package/dist/commonjs/manifest/index.d.ts +3 -1
- package/dist/commonjs/manifest/index.d.ts.map +1 -0
- package/dist/commonjs/manifest/types.d.ts +1 -0
- package/dist/commonjs/manifest/types.d.ts.map +1 -0
- package/dist/commonjs/manifest/utils.d.ts +1 -0
- package/dist/commonjs/manifest/utils.d.ts.map +1 -0
- package/dist/commonjs/minimal.d.ts +1 -0
- package/dist/commonjs/minimal.d.ts.map +1 -0
- package/dist/commonjs/mse/index.d.ts +3 -1
- package/dist/commonjs/mse/index.d.ts.map +1 -0
- package/dist/commonjs/mse/main_codec_support_prober.d.ts +1 -0
- package/dist/commonjs/mse/main_codec_support_prober.d.ts.map +1 -0
- package/dist/commonjs/mse/main_media_source_interface.d.ts +1 -0
- package/dist/commonjs/mse/main_media_source_interface.d.ts.map +1 -0
- package/dist/commonjs/mse/types.d.ts +1 -0
- package/dist/commonjs/mse/types.d.ts.map +1 -0
- package/dist/commonjs/mse/utils/end_of_stream.d.ts +1 -0
- package/dist/commonjs/mse/utils/end_of_stream.d.ts.map +1 -0
- package/dist/commonjs/mse/utils/end_of_stream.js +6 -1
- package/dist/commonjs/mse/utils/media_source_duration_updater.d.ts +1 -0
- package/dist/commonjs/mse/utils/media_source_duration_updater.d.ts.map +1 -0
- package/dist/commonjs/mse/worker_codec_support_prober.d.ts +1 -0
- package/dist/commonjs/mse/worker_codec_support_prober.d.ts.map +1 -0
- package/dist/commonjs/mse/worker_media_source_interface.d.ts +1 -0
- package/dist/commonjs/mse/worker_media_source_interface.d.ts.map +1 -0
- package/dist/commonjs/multithread_types.d.ts +22 -4
- package/dist/commonjs/multithread_types.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/constants.d.ts +1 -0
- package/dist/commonjs/parsers/containers/isobmff/constants.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/create_box.d.ts +1 -0
- package/dist/commonjs/parsers/containers/isobmff/create_box.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/index.d.ts +1 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/playready.d.ts +1 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/playready.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.d.ts +1 -0
- package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/find_complete_box.d.ts +1 -0
- package/dist/commonjs/parsers/containers/isobmff/find_complete_box.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/get_box.d.ts +1 -0
- package/dist/commonjs/parsers/containers/isobmff/get_box.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/index.d.ts +3 -1
- package/dist/commonjs/parsers/containers/isobmff/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/read.d.ts +1 -0
- package/dist/commonjs/parsers/containers/isobmff/read.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.d.ts +1 -0
- package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/utils.d.ts +1 -0
- package/dist/commonjs/parsers/containers/isobmff/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/utils.js +3 -1
- package/dist/commonjs/parsers/containers/matroska/index.d.ts +3 -1
- package/dist/commonjs/parsers/containers/matroska/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/matroska/utils.d.ts +1 -0
- package/dist/commonjs/parsers/containers/matroska/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/images/bif.d.ts +1 -0
- package/dist/commonjs/parsers/images/bif.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.d.ts.map +1 -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 +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +1 -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_minimum_and_maximum_positions.d.ts +1 -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_periods_time_infos.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/index.d.ts +4 -2
- package/dist/commonjs/parsers/manifest/dash/common/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +1 -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_segments_from_timeline.d.ts +1 -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/index.d.ts +11 -5
- package/dist/commonjs/parsers/manifest/dash/common/indexes/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +1 -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_previous_timeline.d.ts +1 -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/convert_element_to_index_segment.d.ts +1 -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/find_first_common_start_time.d.ts +1 -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/index.d.ts +4 -2
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +1 -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/timeline_representation_index.d.ts +1 -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/tokens.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +4 -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 +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.d.ts +1 -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_mpd.d.ts +1 -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 +10 -5
- package/dist/commonjs/parsers/manifest/dash/common/parse_periods.d.ts +4 -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 +8 -6
- package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representations.d.ts +4 -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 +15 -56
- package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/index.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/AdaptationSet.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/AdaptationSet.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/BaseURL.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/BaseURL.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/ContentComponent.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/ContentComponent.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.js +7 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/EventStream.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/EventStream.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Initialization.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Initialization.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.js +12 -1
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Period.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Period.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Period.js +15 -1
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentBase.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentBase.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentList.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentList.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTemplate.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTemplate.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTimeline.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTimeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentURL.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentURL.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/utils.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/utils.js +1 -2
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/parse_from_xml_string.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/parse_from_xml_string.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/index.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/index.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/AdaptationSet.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/AdaptationSet.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/BaseURL.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/BaseURL.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/ContentComponent.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/ContentComponent.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/ContentProtection.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/ContentProtection.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/ContentProtection.js +7 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/EventStream.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/EventStream.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Initialization.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Initialization.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/MPD.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/MPD.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/MPD.js +12 -1
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Period.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Period.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Period.js +15 -1
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Representation.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Representation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentBase.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentBase.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentList.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentList.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentTemplate.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentTemplate.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentTimeline.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentTimeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentURL.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentURL.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/utils.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/utils.js +1 -2
- package/dist/commonjs/parsers/manifest/dash/native-parser/parse_from_document.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/parse_from_document.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts +9 -0
- package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/parsers_types.d.ts +2 -1
- package/dist/commonjs/parsers/manifest/dash/parsers_types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.d.ts +4 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +1 -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/generators/AdaptationSet.d.ts +1 -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/BaseURL.d.ts +1 -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/ContentComponent.d.ts +1 -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/ContentProtection.d.ts +1 -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 +6 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +1 -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/MPD.d.ts +1 -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 +14 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +1 -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 +14 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +1 -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/Scheme.d.ts +1 -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/SegmentBase.d.ts +1 -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/SegmentList.d.ts +1 -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/SegmentTemplate.d.ts +1 -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/SegmentUrl.d.ts +1 -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/XLink.d.ts +1 -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/index.d.ts +1 -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/root.d.ts +1 -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/parsers_stack.d.ts +1 -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/types.d.ts +3 -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/utils.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/index.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/index.d.ts +2 -1
- package/dist/commonjs/parsers/manifest/local/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/parse_local_manifest.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/local/parse_local_manifest.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/representation_index.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/local/representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/types.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/local/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/index.d.ts +4 -2
- package/dist/commonjs/parsers/manifest/metaplaylist/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/create_parser.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/smooth/create_parser.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/get_codecs.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/smooth/get_codecs.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/index.d.ts +5 -2
- package/dist/commonjs/parsers/manifest/smooth/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/tokens.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/tokens.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/types.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_minimum_position.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_minimum_position.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/index_helpers.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/utils/index_helpers.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.d.ts +1 -0
- package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/index.d.ts +2 -1
- package/dist/commonjs/parsers/texttracks/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/sami/html.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/sami/html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/sami/native.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/sami/native.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/html.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/srt/html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/native.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/srt/native.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_cue.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_parameters.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_parameters.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_styling.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_styling.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts +1 -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_extent.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/create_element.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/create_element.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/index.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/index.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/regexps.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/regexps.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/time_parsing.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/time_parsing.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/xml_utils.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/xml_utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/types.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_default_style_elements.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_default_style_elements.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/index.d.ts +2 -1
- package/dist/commonjs/parsers/texttracks/webvtt/html/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_style_block.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_style_block.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_to_div.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_to_div.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/index.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_to_cues.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_to_cues.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/utils.d.ts +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/utils.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/index.d.ts +1 -0
- package/dist/commonjs/playback_observer/index.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/media_element_playback_observer.d.ts +1 -0
- package/dist/commonjs/playback_observer/media_element_playback_observer.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/types.d.ts +1 -0
- package/dist/commonjs/playback_observer/types.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/utils/generate_read_only_observer.d.ts +1 -0
- package/dist/commonjs/playback_observer/utils/generate_read_only_observer.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/utils/observation_position.d.ts +12 -0
- package/dist/commonjs/playback_observer/utils/observation_position.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/utils/observation_position.js +11 -0
- package/dist/commonjs/playback_observer/worker_playback_observer.d.ts +1 -0
- package/dist/commonjs/playback_observer/worker_playback_observer.d.ts.map +1 -0
- package/dist/commonjs/public_types.d.ts +3 -2
- package/dist/commonjs/public_types.d.ts.map +1 -0
- package/dist/commonjs/tools/TextTrackRenderer/index.d.ts +4 -2
- package/dist/commonjs/tools/TextTrackRenderer/index.d.ts.map +1 -0
- package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.d.ts +1 -0
- package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.d.ts.map +1 -0
- package/dist/commonjs/tools/index.d.ts +1 -0
- package/dist/commonjs/tools/index.d.ts.map +1 -0
- package/dist/commonjs/tools/parseBIFThumbnails/index.d.ts +1 -0
- package/dist/commonjs/tools/parseBIFThumbnails/index.d.ts.map +1 -0
- package/dist/commonjs/tools/string_utils/index.d.ts +1 -0
- package/dist/commonjs/tools/string_utils/index.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/add_segment_integrity_checks_to_loader.d.ts +1 -0
- package/dist/commonjs/transports/dash/add_segment_integrity_checks_to_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/construct_segment_url.d.ts +1 -0
- package/dist/commonjs/transports/dash/construct_segment_url.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/get_events_out_of_emsgs.d.ts +1 -0
- package/dist/commonjs/transports/dash/get_events_out_of_emsgs.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/index.d.ts +1 -0
- package/dist/commonjs/transports/dash/index.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/init_segment_loader.d.ts +1 -0
- package/dist/commonjs/transports/dash/init_segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/low_latency_segment_loader.d.ts +1 -0
- package/dist/commonjs/transports/dash/low_latency_segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/low_latency_segment_loader.js +1 -0
- package/dist/commonjs/transports/dash/manifest_parser.d.ts +1 -0
- package/dist/commonjs/transports/dash/manifest_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/pipelines.d.ts +1 -0
- package/dist/commonjs/transports/dash/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/segment_loader.d.ts +1 -0
- package/dist/commonjs/transports/dash/segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/segment_parser.d.ts +1 -0
- package/dist/commonjs/transports/dash/segment_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/text_loader.d.ts +1 -0
- package/dist/commonjs/transports/dash/text_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/text_parser.d.ts +1 -0
- package/dist/commonjs/transports/dash/text_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/index.d.ts +1 -0
- package/dist/commonjs/transports/index.d.ts.map +1 -0
- package/dist/commonjs/transports/local/index.d.ts +1 -0
- package/dist/commonjs/transports/local/index.d.ts.map +1 -0
- package/dist/commonjs/transports/local/pipelines.d.ts +1 -0
- package/dist/commonjs/transports/local/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/local/segment_loader.d.ts +1 -0
- package/dist/commonjs/transports/local/segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/local/segment_parser.d.ts +1 -0
- package/dist/commonjs/transports/local/segment_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/local/text_parser.d.ts +1 -0
- package/dist/commonjs/transports/local/text_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/metaplaylist/index.d.ts +1 -0
- package/dist/commonjs/transports/metaplaylist/index.d.ts.map +1 -0
- package/dist/commonjs/transports/metaplaylist/manifest_loader.d.ts +1 -0
- package/dist/commonjs/transports/metaplaylist/manifest_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/metaplaylist/pipelines.d.ts +1 -0
- package/dist/commonjs/transports/metaplaylist/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/extract_timings_infos.d.ts +1 -0
- package/dist/commonjs/transports/smooth/extract_timings_infos.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/index.d.ts +1 -0
- package/dist/commonjs/transports/smooth/index.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/is_mp4_embedded_track.d.ts +1 -0
- package/dist/commonjs/transports/smooth/is_mp4_embedded_track.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.d.ts +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_boxes.d.ts +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_boxes.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_init_segment.d.ts +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_init_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_traf_box.d.ts +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_traf_box.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.d.ts +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.d.ts +1 -0
- package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/index.d.ts +5 -2
- package/dist/commonjs/transports/smooth/isobmff/index.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.d.ts +1 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.d.ts +1 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/patch_segment.d.ts +1 -0
- package/dist/commonjs/transports/smooth/isobmff/patch_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/pipelines.d.ts +1 -0
- package/dist/commonjs/transports/smooth/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/segment_loader.d.ts +1 -0
- package/dist/commonjs/transports/smooth/segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/utils.d.ts +1 -0
- package/dist/commonjs/transports/smooth/utils.d.ts.map +1 -0
- package/dist/commonjs/transports/types.d.ts +1 -0
- package/dist/commonjs/transports/types.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/byte_range.d.ts +1 -0
- package/dist/commonjs/transports/utils/byte_range.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/call_custom_manifest_loader.d.ts +1 -0
- package/dist/commonjs/transports/utils/call_custom_manifest_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/check_isobmff_integrity.d.ts +1 -0
- package/dist/commonjs/transports/utils/check_isobmff_integrity.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/generate_manifest_loader.d.ts +1 -0
- package/dist/commonjs/transports/utils/generate_manifest_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/get_isobmff_timing_infos.d.ts +1 -0
- package/dist/commonjs/transports/utils/get_isobmff_timing_infos.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/infer_segment_container.d.ts +1 -0
- package/dist/commonjs/transports/utils/infer_segment_container.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/parse_text_track.d.ts +1 -0
- package/dist/commonjs/transports/utils/parse_text_track.d.ts.map +1 -0
- package/dist/commonjs/utils/are_arrays_of_numbers_equal.d.ts +1 -0
- package/dist/commonjs/utils/are_arrays_of_numbers_equal.d.ts.map +1 -0
- package/dist/commonjs/utils/are_codecs_compatible.d.ts +1 -0
- package/dist/commonjs/utils/are_codecs_compatible.d.ts.map +1 -0
- package/dist/commonjs/utils/array_find.d.ts +1 -0
- package/dist/commonjs/utils/array_find.d.ts.map +1 -0
- package/dist/commonjs/utils/array_find_index.d.ts +1 -0
- package/dist/commonjs/utils/array_find_index.d.ts.map +1 -0
- package/dist/commonjs/utils/array_includes.d.ts +1 -0
- package/dist/commonjs/utils/array_includes.d.ts.map +1 -0
- package/dist/commonjs/utils/assert.d.ts +1 -1
- package/dist/commonjs/utils/assert.d.ts.map +1 -0
- package/dist/commonjs/utils/assert.js +1 -2
- package/dist/commonjs/utils/base64.d.ts +1 -0
- package/dist/commonjs/utils/base64.d.ts.map +1 -0
- package/dist/commonjs/utils/byte_parsing.d.ts +1 -0
- package/dist/commonjs/utils/byte_parsing.d.ts.map +1 -0
- package/dist/commonjs/utils/cancellable_sleep.d.ts +1 -0
- package/dist/commonjs/utils/cancellable_sleep.d.ts.map +1 -0
- package/dist/commonjs/utils/create_cancellable_promise.d.ts +1 -0
- package/dist/commonjs/utils/create_cancellable_promise.d.ts.map +1 -0
- package/dist/commonjs/utils/deep_merge.d.ts +1 -0
- package/dist/commonjs/utils/deep_merge.d.ts.map +1 -0
- package/dist/commonjs/utils/event_emitter.d.ts +1 -0
- package/dist/commonjs/utils/event_emitter.d.ts.map +1 -0
- package/dist/commonjs/utils/flat_map.d.ts +1 -0
- package/dist/commonjs/utils/flat_map.d.ts.map +1 -0
- package/dist/commonjs/utils/get_fuzzed_delay.d.ts +1 -0
- package/dist/commonjs/utils/get_fuzzed_delay.d.ts.map +1 -0
- package/dist/commonjs/utils/global_scope.d.ts +1 -0
- package/dist/commonjs/utils/global_scope.d.ts.map +1 -0
- package/dist/commonjs/utils/hash_buffer.d.ts +1 -0
- package/dist/commonjs/utils/hash_buffer.d.ts.map +1 -0
- package/dist/commonjs/utils/id_generator.d.ts +1 -0
- package/dist/commonjs/utils/id_generator.d.ts.map +1 -0
- package/dist/commonjs/utils/is_node.d.ts +1 -0
- package/dist/commonjs/utils/is_node.d.ts.map +1 -0
- package/dist/commonjs/utils/is_non_empty_string.d.ts +1 -0
- package/dist/commonjs/utils/is_non_empty_string.d.ts.map +1 -0
- package/dist/commonjs/utils/is_null_or_undefined.d.ts +1 -0
- package/dist/commonjs/utils/is_null_or_undefined.d.ts.map +1 -0
- package/dist/commonjs/utils/is_worker.d.ts +1 -0
- package/dist/commonjs/utils/is_worker.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.d.ts +1 -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-2_to_ISO_639-3.d.ts +1 -0
- package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/index.d.ts +5 -2
- package/dist/commonjs/utils/languages/index.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/normalize.d.ts +3 -1
- package/dist/commonjs/utils/languages/normalize.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/normalize.js +4 -1
- package/dist/commonjs/utils/logger.d.ts +1 -0
- package/dist/commonjs/utils/logger.d.ts.map +1 -0
- package/dist/commonjs/utils/monotonic_timestamp.d.ts +1 -0
- package/dist/commonjs/utils/monotonic_timestamp.d.ts.map +1 -0
- package/dist/commonjs/utils/noop.d.ts +1 -0
- package/dist/commonjs/utils/noop.d.ts.map +1 -0
- package/dist/commonjs/utils/object_assign.d.ts +1 -0
- package/dist/commonjs/utils/object_assign.d.ts.map +1 -0
- package/dist/commonjs/utils/object_values.d.ts +1 -0
- package/dist/commonjs/utils/object_values.d.ts.map +1 -0
- package/dist/commonjs/utils/queue_microtask.d.ts +1 -0
- package/dist/commonjs/utils/queue_microtask.d.ts.map +1 -0
- package/dist/commonjs/utils/ranges.d.ts +3 -1
- package/dist/commonjs/utils/ranges.d.ts.map +1 -0
- package/dist/commonjs/utils/reference.d.ts +1 -0
- package/dist/commonjs/utils/reference.d.ts.map +1 -0
- package/dist/commonjs/utils/request/fetch.d.ts +1 -0
- package/dist/commonjs/utils/request/fetch.d.ts.map +1 -0
- package/dist/commonjs/utils/request/fetch.js +14 -0
- package/dist/commonjs/utils/request/index.d.ts +9 -4
- package/dist/commonjs/utils/request/index.d.ts.map +1 -0
- package/dist/commonjs/utils/request/request_error.d.ts +1 -1
- package/dist/commonjs/utils/request/request_error.d.ts.map +1 -0
- package/dist/commonjs/utils/request/request_error.js +14 -12
- package/dist/commonjs/utils/request/xhr.d.ts +1 -0
- package/dist/commonjs/utils/request/xhr.d.ts.map +1 -0
- package/dist/commonjs/utils/request/xhr.js +17 -0
- package/dist/commonjs/utils/resolve_url.d.ts +14 -10
- package/dist/commonjs/utils/resolve_url.d.ts.map +1 -0
- package/dist/commonjs/utils/resolve_url.js +237 -71
- package/dist/commonjs/utils/retry_promise_with_backoff.d.ts +1 -0
- package/dist/commonjs/utils/retry_promise_with_backoff.d.ts.map +1 -0
- package/dist/commonjs/utils/sleep.d.ts +1 -0
- package/dist/commonjs/utils/sleep.d.ts.map +1 -0
- package/dist/commonjs/utils/slice_uint8array.d.ts +1 -0
- package/dist/commonjs/utils/slice_uint8array.d.ts.map +1 -0
- package/dist/commonjs/utils/sorted_list.d.ts +1 -0
- package/dist/commonjs/utils/sorted_list.d.ts.map +1 -0
- package/dist/commonjs/utils/starts_with.d.ts +1 -0
- package/dist/commonjs/utils/starts_with.d.ts.map +1 -0
- package/dist/commonjs/utils/string_parsing.d.ts +2 -1
- package/dist/commonjs/utils/string_parsing.d.ts.map +1 -0
- package/dist/commonjs/utils/string_parsing.js +1 -1
- package/dist/commonjs/utils/sync_or_async.d.ts +1 -0
- package/dist/commonjs/utils/sync_or_async.d.ts.map +1 -0
- package/dist/commonjs/utils/task_canceller.d.ts +1 -1
- package/dist/commonjs/utils/task_canceller.d.ts.map +1 -0
- package/dist/commonjs/utils/task_canceller.js +3 -2
- package/dist/commonjs/utils/warn_once.d.ts +1 -0
- package/dist/commonjs/utils/warn_once.d.ts.map +1 -0
- package/dist/commonjs/utils/weak_map_memory.d.ts +1 -0
- package/dist/commonjs/utils/weak_map_memory.d.ts.map +1 -0
- package/dist/commonjs/utils/wrapInPromise.d.ts +1 -0
- package/dist/commonjs/utils/wrapInPromise.d.ts.map +1 -0
- package/dist/commonjs/utils/xml-parser.d.ts +1 -0
- package/dist/commonjs/utils/xml-parser.d.ts.map +1 -0
- package/dist/commonjs/worker_entry_point.d.ts +1 -0
- package/dist/commonjs/worker_entry_point.d.ts.map +1 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts +1 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +1 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.js +1 -1
- package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts +1 -0
- package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts.map +1 -0
- package/dist/es2017/__GENERATED_CODE/embedded_worker.js +1 -1
- package/dist/es2017/__GENERATED_CODE/index.d.ts +1 -1
- package/dist/es2017/__GENERATED_CODE/index.d.ts.map +1 -0
- package/dist/es2017/__GENERATED_CODE/index.js +0 -1
- package/dist/es2017/compat/add_class_name.d.ts +1 -0
- package/dist/es2017/compat/add_class_name.d.ts.map +1 -0
- package/dist/es2017/compat/add_text_track.d.ts +1 -0
- package/dist/es2017/compat/add_text_track.d.ts.map +1 -0
- package/dist/es2017/compat/browser_compatibility_types.d.ts +3 -1
- package/dist/es2017/compat/browser_compatibility_types.d.ts.map +1 -0
- package/dist/es2017/compat/browser_compatibility_types.js +1 -1
- package/dist/es2017/compat/browser_detection.d.ts +1 -0
- package/dist/es2017/compat/browser_detection.d.ts.map +1 -0
- package/dist/es2017/compat/browser_version.d.ts +1 -0
- package/dist/es2017/compat/browser_version.d.ts.map +1 -0
- package/dist/es2017/compat/can_patch_isobmff.d.ts +1 -0
- package/dist/es2017/compat/can_patch_isobmff.d.ts.map +1 -0
- package/dist/es2017/compat/can_rely_on_request_media_key_system_access.d.ts +35 -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 +40 -0
- package/dist/es2017/compat/can_rely_on_video_visibility_and_size.d.ts +1 -0
- package/dist/es2017/compat/can_rely_on_video_visibility_and_size.d.ts.map +1 -0
- package/dist/es2017/compat/can_reuse_media_keys.d.ts +1 -0
- package/dist/es2017/compat/can_reuse_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/can_seek_directly_after_loaded_metadata.d.ts +1 -0
- package/dist/es2017/compat/can_seek_directly_after_loaded_metadata.d.ts.map +1 -0
- package/dist/es2017/compat/change_source_buffer_type.d.ts +1 -0
- package/dist/es2017/compat/change_source_buffer_type.d.ts.map +1 -0
- package/dist/es2017/compat/clear_element_src.d.ts +1 -0
- package/dist/es2017/compat/clear_element_src.d.ts.map +1 -0
- package/dist/es2017/compat/eme/close_session.d.ts +1 -0
- package/dist/es2017/compat/eme/close_session.d.ts.map +1 -0
- package/dist/es2017/compat/eme/constants.d.ts +1 -0
- package/dist/es2017/compat/eme/constants.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_key_system_access.d.ts +1 -0
- package/dist/es2017/compat/eme/custom_key_system_access.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.d.ts +1 -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/index.d.ts +4 -2
- package/dist/es2017/compat/eme/custom_media_keys/index.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +1 -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/ms_media_keys_constructor.d.ts +1 -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/old_webkit_media_keys.d.ts +1 -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/types.d.ts +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/types.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.d.ts +1 -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_constructor.d.ts +3 -1
- 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 +0 -2
- package/dist/es2017/compat/eme/eme-api-implementation.d.ts +1 -0
- package/dist/es2017/compat/eme/eme-api-implementation.d.ts.map +1 -0
- package/dist/es2017/compat/eme/generate_key_request.d.ts +1 -0
- package/dist/es2017/compat/eme/generate_key_request.d.ts.map +1 -0
- package/dist/es2017/compat/eme/get_init_data.d.ts +1 -0
- package/dist/es2017/compat/eme/get_init_data.d.ts.map +1 -0
- package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts +1 -0
- package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts.map +1 -0
- package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.d.ts +1 -0
- package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.d.ts.map +1 -0
- package/dist/es2017/compat/eme/index.d.ts +9 -5
- package/dist/es2017/compat/eme/index.d.ts.map +1 -0
- package/dist/es2017/compat/eme/index.js +1 -1
- package/dist/es2017/compat/eme/load_session.d.ts +1 -0
- package/dist/es2017/compat/eme/load_session.d.ts.map +1 -0
- package/dist/es2017/compat/eme/set_media_keys.d.ts +1 -0
- package/dist/es2017/compat/eme/set_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/enable_audio_track.d.ts +1 -0
- package/dist/es2017/compat/enable_audio_track.d.ts.map +1 -0
- package/dist/es2017/compat/event_listeners.d.ts +1 -0
- package/dist/es2017/compat/event_listeners.d.ts.map +1 -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 +1 -0
- package/dist/es2017/compat/get_start_date.d.ts.map +1 -0
- package/dist/es2017/compat/has_issues_with_high_media_source_duration.d.ts +1 -0
- package/dist/es2017/compat/has_issues_with_high_media_source_duration.d.ts.map +1 -0
- package/dist/es2017/compat/has_mse_in_worker.d.ts +1 -0
- package/dist/es2017/compat/has_mse_in_worker.d.ts.map +1 -0
- package/dist/es2017/compat/has_webassembly.d.ts +1 -0
- package/dist/es2017/compat/has_webassembly.d.ts.map +1 -0
- package/dist/es2017/compat/has_worker_api.d.ts +1 -0
- package/dist/es2017/compat/has_worker_api.d.ts.map +1 -0
- package/dist/es2017/compat/is_codec_supported.d.ts +1 -0
- package/dist/es2017/compat/is_codec_supported.d.ts.map +1 -0
- package/dist/es2017/compat/is_debug_mode_enabled.d.ts +1 -0
- package/dist/es2017/compat/is_debug_mode_enabled.d.ts.map +1 -0
- package/dist/es2017/compat/is_seeking_approximate.d.ts +1 -0
- package/dist/es2017/compat/is_seeking_approximate.d.ts.map +1 -0
- package/dist/es2017/compat/is_vtt_cue.d.ts +1 -0
- package/dist/es2017/compat/is_vtt_cue.d.ts.map +1 -0
- package/dist/es2017/compat/make_vtt_cue.d.ts +1 -0
- package/dist/es2017/compat/make_vtt_cue.d.ts.map +1 -0
- package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.d.ts +1 -0
- package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.d.ts.map +1 -0
- package/dist/es2017/compat/on_height_width_change.d.ts +1 -0
- package/dist/es2017/compat/on_height_width_change.d.ts.map +1 -0
- package/dist/es2017/compat/patch_webkit_source_buffer.d.ts +1 -0
- package/dist/es2017/compat/patch_webkit_source_buffer.d.ts.map +1 -0
- package/dist/es2017/compat/remove_cue.d.ts +1 -0
- package/dist/es2017/compat/remove_cue.d.ts.map +1 -0
- package/dist/es2017/compat/should_await_set_media_keys.d.ts +1 -0
- package/dist/es2017/compat/should_await_set_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/should_favour_custom_safari_EME.d.ts +1 -0
- package/dist/es2017/compat/should_favour_custom_safari_EME.d.ts.map +1 -0
- package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.d.ts +1 -0
- package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.d.ts.map +1 -0
- package/dist/es2017/compat/should_renew_media_key_system_access.d.ts +1 -0
- package/dist/es2017/compat/should_renew_media_key_system_access.d.ts.map +1 -0
- package/dist/es2017/compat/should_unset_media_keys.d.ts +1 -0
- package/dist/es2017/compat/should_unset_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/should_validate_metadata.d.ts +1 -0
- package/dist/es2017/compat/should_validate_metadata.d.ts.map +1 -0
- package/dist/es2017/compat/should_wait_for_data_before_loaded.d.ts +1 -0
- package/dist/es2017/compat/should_wait_for_data_before_loaded.d.ts.map +1 -0
- package/dist/es2017/compat/should_wait_for_have_enough_data.d.ts +1 -0
- package/dist/es2017/compat/should_wait_for_have_enough_data.d.ts.map +1 -0
- package/dist/es2017/config.d.ts +1 -0
- package/dist/es2017/config.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/adaptive_representation_selector.d.ts +3 -2
- package/dist/es2017/core/adaptive/adaptive_representation_selector.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/buffer_based_chooser.d.ts +1 -0
- package/dist/es2017/core/adaptive/buffer_based_chooser.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/guess_based_chooser.d.ts +1 -0
- package/dist/es2017/core/adaptive/guess_based_chooser.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/index.d.ts +4 -2
- package/dist/es2017/core/adaptive/index.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/network_analyzer.d.ts +1 -0
- package/dist/es2017/core/adaptive/network_analyzer.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/bandwidth_estimator.d.ts +1 -0
- package/dist/es2017/core/adaptive/utils/bandwidth_estimator.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/ewma.d.ts +1 -0
- package/dist/es2017/core/adaptive/utils/ewma.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/filter_by_bitrate.d.ts +1 -0
- package/dist/es2017/core/adaptive/utils/filter_by_bitrate.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/filter_by_resolution.d.ts +1 -0
- package/dist/es2017/core/adaptive/utils/filter_by_resolution.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/get_buffer_levels.d.ts +1 -0
- package/dist/es2017/core/adaptive/utils/get_buffer_levels.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/last_estimate_storage.d.ts +1 -0
- package/dist/es2017/core/adaptive/utils/last_estimate_storage.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/pending_requests_store.d.ts +1 -0
- package/dist/es2017/core/adaptive/utils/pending_requests_store.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/representation_score_calculator.d.ts +1 -0
- package/dist/es2017/core/adaptive/utils/representation_score_calculator.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/select_optimal_representation.d.ts +1 -0
- package/dist/es2017/core/adaptive/utils/select_optimal_representation.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/cdn_prioritizer.d.ts +1 -0
- package/dist/es2017/core/fetchers/cdn_prioritizer.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/index.d.ts +7 -3
- package/dist/es2017/core/fetchers/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/index.js +1 -1
- package/dist/es2017/core/fetchers/manifest/index.d.ts +4 -2
- package/dist/es2017/core/fetchers/manifest/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/manifest/manifest_fetcher.d.ts +1 -0
- package/dist/es2017/core/fetchers/manifest/manifest_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/index.d.ts +5 -3
- package/dist/es2017/core/fetchers/segment/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/initialization_segment_cache.d.ts +1 -0
- package/dist/es2017/core/fetchers/segment/initialization_segment_cache.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.d.ts +1 -0
- package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts +1 -0
- package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/segment_fetcher_creator.d.ts +1 -0
- package/dist/es2017/core/fetchers/segment/segment_fetcher_creator.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/task_prioritizer.d.ts +1 -0
- package/dist/es2017/core/fetchers/segment/task_prioritizer.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/utils/error_selector.d.ts +1 -0
- package/dist/es2017/core/fetchers/utils/error_selector.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/utils/schedule_request.d.ts +1 -0
- package/dist/es2017/core/fetchers/utils/schedule_request.d.ts.map +1 -0
- package/dist/es2017/core/main/common/DecipherabilityFreezeDetector.d.ts +1 -0
- package/dist/es2017/core/main/common/DecipherabilityFreezeDetector.d.ts.map +1 -0
- package/dist/es2017/core/main/common/content_time_boundaries_observer.d.ts +1 -0
- package/dist/es2017/core/main/common/content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/es2017/core/main/common/content_time_boundaries_observer.js +6 -6
- package/dist/es2017/core/main/common/create_content_time_boundaries_observer.d.ts +1 -0
- package/dist/es2017/core/main/common/create_content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/es2017/core/main/common/get_buffered_data_per_media_buffer.d.ts +1 -0
- package/dist/es2017/core/main/common/get_buffered_data_per_media_buffer.d.ts.map +1 -0
- package/dist/es2017/core/main/worker/content_preparer.d.ts +1 -0
- package/dist/es2017/core/main/worker/content_preparer.d.ts.map +1 -0
- package/dist/es2017/core/main/worker/globals.d.ts +1 -0
- package/dist/es2017/core/main/worker/globals.d.ts.map +1 -0
- package/dist/es2017/core/main/worker/index.d.ts +1 -0
- package/dist/es2017/core/main/worker/index.d.ts.map +1 -0
- package/dist/es2017/core/main/worker/send_message.d.ts +1 -0
- package/dist/es2017/core/main/worker/send_message.d.ts.map +1 -0
- package/dist/es2017/core/main/worker/track_choice_setter.d.ts +1 -0
- package/dist/es2017/core/main/worker/track_choice_setter.d.ts.map +1 -0
- package/dist/es2017/core/main/worker/worker_main.d.ts +1 -0
- package/dist/es2017/core/main/worker/worker_main.d.ts.map +1 -0
- package/dist/es2017/core/main/worker/worker_main.js +22 -0
- package/dist/es2017/core/main/worker/worker_text_displayer_interface.d.ts +1 -0
- package/dist/es2017/core/main/worker/worker_text_displayer_interface.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.d.ts +1 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.js +2 -4
- package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_buffer.d.ts +1 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_buffer.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/index.d.ts +1 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/index.d.ts +4 -2
- package/dist/es2017/core/segment_sinks/implementations/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/text/index.d.ts +4 -2
- package/dist/es2017/core/segment_sinks/implementations/text/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/text/text_segment_buffer.d.ts +1 -0
- package/dist/es2017/core/segment_sinks/implementations/text/text_segment_buffer.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/types.d.ts +1 -0
- package/dist/es2017/core/segment_sinks/implementations/types.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts +1 -0
- package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/index.d.ts +7 -3
- package/dist/es2017/core/segment_sinks/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/index.js +1 -1
- package/dist/es2017/core/segment_sinks/inventory/buffered_history.d.ts +1 -0
- package/dist/es2017/core/segment_sinks/inventory/buffered_history.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/index.d.ts +7 -4
- package/dist/es2017/core/segment_sinks/inventory/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/segment_inventory.d.ts +1 -0
- package/dist/es2017/core/segment_sinks/inventory/segment_inventory.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/types.d.ts +7 -1
- package/dist/es2017/core/segment_sinks/inventory/types.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.d.ts +1 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.js +3 -3
- package/dist/es2017/core/segment_sinks/segment_buffers_store.d.ts +26 -0
- package/dist/es2017/core/segment_sinks/segment_buffers_store.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/segment_buffers_store.js +24 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts +1 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.d.ts +1 -0
- package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/index.d.ts +1 -0
- package/dist/es2017/core/stream/adaptation/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/types.d.ts +1 -0
- package/dist/es2017/core/stream/adaptation/types.d.ts.map +1 -0
- package/dist/es2017/core/stream/index.d.ts +7 -5
- package/dist/es2017/core/stream/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.d.ts +1 -0
- package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.d.ts.map +1 -0
- package/dist/es2017/core/stream/orchestrator/index.d.ts +4 -2
- package/dist/es2017/core/stream/orchestrator/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/orchestrator/stream_orchestrator.d.ts +1 -0
- package/dist/es2017/core/stream/orchestrator/stream_orchestrator.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/index.d.ts +1 -0
- package/dist/es2017/core/stream/period/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/period_stream.d.ts +1 -0
- package/dist/es2017/core/stream/period/period_stream.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/types.d.ts +3 -2
- package/dist/es2017/core/stream/period/types.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +1 -0
- package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/index.d.ts +1 -0
- package/dist/es2017/core/stream/representation/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/representation_stream.d.ts +1 -0
- package/dist/es2017/core/stream/representation/representation_stream.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/types.d.ts +1 -0
- package/dist/es2017/core/stream/representation/types.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.d.ts +1 -0
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.d.ts +1 -0
- package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/downloading_queue.d.ts +1 -0
- package/dist/es2017/core/stream/representation/utils/downloading_queue.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/get_buffer_status.d.ts +1 -0
- package/dist/es2017/core/stream/representation/utils/get_buffer_status.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/get_needed_segments.d.ts +1 -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 +38 -30
- package/dist/es2017/core/stream/representation/utils/get_segment_priority.d.ts +1 -0
- package/dist/es2017/core/stream/representation/utils/get_segment_priority.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/push_init_segment.d.ts +1 -0
- package/dist/es2017/core/stream/representation/utils/push_init_segment.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/push_media_segment.d.ts +1 -0
- package/dist/es2017/core/stream/representation/utils/push_media_segment.d.ts.map +1 -0
- package/dist/es2017/core/types.d.ts +1 -0
- package/dist/es2017/core/types.d.ts.map +1 -0
- package/dist/es2017/default_config.d.ts +1 -0
- package/dist/es2017/default_config.d.ts.map +1 -0
- package/dist/es2017/errors/custom_loader_error.d.ts +1 -1
- package/dist/es2017/errors/custom_loader_error.d.ts.map +1 -0
- package/dist/es2017/errors/custom_loader_error.js +1 -2
- package/dist/es2017/errors/encrypted_media_error.d.ts +1 -1
- package/dist/es2017/errors/encrypted_media_error.d.ts.map +1 -0
- package/dist/es2017/errors/encrypted_media_error.js +1 -2
- package/dist/es2017/errors/error_codes.d.ts +1 -0
- package/dist/es2017/errors/error_codes.d.ts.map +1 -0
- package/dist/es2017/errors/error_message.d.ts +1 -0
- package/dist/es2017/errors/error_message.d.ts.map +1 -0
- package/dist/es2017/errors/format_error.d.ts +1 -0
- package/dist/es2017/errors/format_error.d.ts.map +1 -0
- package/dist/es2017/errors/index.d.ts +13 -6
- package/dist/es2017/errors/index.d.ts.map +1 -0
- package/dist/es2017/errors/index.js +2 -2
- package/dist/es2017/errors/is_known_error.d.ts +1 -0
- package/dist/es2017/errors/is_known_error.d.ts.map +1 -0
- package/dist/es2017/errors/media_error.d.ts +1 -1
- package/dist/es2017/errors/media_error.d.ts.map +1 -0
- package/dist/es2017/errors/media_error.js +1 -2
- package/dist/es2017/errors/network_error.d.ts +1 -1
- package/dist/es2017/errors/network_error.d.ts.map +1 -0
- package/dist/es2017/errors/network_error.js +1 -2
- package/dist/es2017/errors/other_error.d.ts +1 -1
- package/dist/es2017/errors/other_error.d.ts.map +1 -0
- package/dist/es2017/errors/other_error.js +1 -2
- package/dist/es2017/errors/source_buffer_error.d.ts +1 -1
- package/dist/es2017/errors/source_buffer_error.d.ts.map +1 -0
- package/dist/es2017/errors/source_buffer_error.js +1 -2
- package/dist/es2017/errors/worker_initialization_error.d.ts +1 -1
- package/dist/es2017/errors/worker_initialization_error.d.ts.map +1 -0
- package/dist/es2017/errors/worker_initialization_error.js +1 -2
- package/dist/es2017/experimental/features/index.d.ts +1 -0
- package/dist/es2017/experimental/features/index.d.ts.map +1 -0
- package/dist/es2017/experimental/features/local.d.ts +1 -0
- package/dist/es2017/experimental/features/local.d.ts.map +1 -0
- package/dist/es2017/experimental/features/metaplaylist.d.ts +1 -0
- package/dist/es2017/experimental/features/metaplaylist.d.ts.map +1 -0
- package/dist/es2017/experimental/features/multi_thread.d.ts +1 -0
- package/dist/es2017/experimental/features/multi_thread.d.ts.map +1 -0
- package/dist/es2017/experimental/index.d.ts +1 -0
- package/dist/es2017/experimental/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.d.ts +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.d.ts +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts +1 -1
- 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 +2 -2
- package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts +1 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/index.d.ts +1 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/index.d.ts +1 -0
- package/dist/es2017/experimental/tools/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api/index.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/capabilities.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/capabilities.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.d.ts +3 -2
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/index.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.d.ts +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.d.ts.map +1 -0
- package/dist/es2017/features/add_features.d.ts +1 -0
- package/dist/es2017/features/add_features.d.ts.map +1 -0
- package/dist/es2017/features/features_object.d.ts +1 -0
- package/dist/es2017/features/features_object.d.ts.map +1 -0
- package/dist/es2017/features/index.d.ts +4 -2
- package/dist/es2017/features/index.d.ts.map +1 -0
- package/dist/es2017/features/list/dash.d.ts +1 -0
- package/dist/es2017/features/list/dash.d.ts.map +1 -0
- package/dist/es2017/features/list/dash_wasm.d.ts +1 -0
- package/dist/es2017/features/list/dash_wasm.d.ts.map +1 -0
- package/dist/es2017/features/list/debug_element.d.ts +1 -0
- package/dist/es2017/features/list/debug_element.d.ts.map +1 -0
- package/dist/es2017/features/list/directfile.d.ts +1 -0
- package/dist/es2017/features/list/directfile.d.ts.map +1 -0
- package/dist/es2017/features/list/eme.d.ts +1 -0
- package/dist/es2017/features/list/eme.d.ts.map +1 -0
- package/dist/es2017/features/list/html_sami_parser.d.ts +1 -0
- package/dist/es2017/features/list/html_sami_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_srt_parser.d.ts +1 -0
- package/dist/es2017/features/list/html_srt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_text_buffer.d.ts +1 -0
- package/dist/es2017/features/list/html_text_buffer.d.ts.map +1 -0
- package/dist/es2017/features/list/html_ttml_parser.d.ts +1 -0
- package/dist/es2017/features/list/html_ttml_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_vtt_parser.d.ts +1 -0
- package/dist/es2017/features/list/html_vtt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/index.d.ts +1 -0
- package/dist/es2017/features/list/index.d.ts.map +1 -0
- package/dist/es2017/features/list/media_source_main.d.ts +1 -0
- package/dist/es2017/features/list/media_source_main.d.ts.map +1 -0
- package/dist/es2017/features/list/native_sami_parser.d.ts +1 -0
- package/dist/es2017/features/list/native_sami_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_srt_parser.d.ts +1 -0
- package/dist/es2017/features/list/native_srt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_text_buffer.d.ts +1 -0
- package/dist/es2017/features/list/native_text_buffer.d.ts.map +1 -0
- package/dist/es2017/features/list/native_ttml_parser.d.ts +1 -0
- package/dist/es2017/features/list/native_ttml_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_vtt_parser.d.ts +1 -0
- package/dist/es2017/features/list/native_vtt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/smooth.d.ts +1 -0
- package/dist/es2017/features/list/smooth.d.ts.map +1 -0
- package/dist/es2017/features/types.d.ts +1 -0
- package/dist/es2017/features/types.d.ts.map +1 -0
- package/dist/es2017/index.d.ts +1 -0
- package/dist/es2017/index.d.ts.map +1 -0
- package/dist/es2017/index.js +4 -0
- package/dist/es2017/log.d.ts +1 -0
- package/dist/es2017/log.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/buffer_graph.d.ts +4 -3
- package/dist/es2017/main_thread/api/debug/buffer_graph.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/buffer_graph.js +20 -9
- package/dist/es2017/main_thread/api/debug/buffer_size_graph.d.ts +1 -0
- package/dist/es2017/main_thread/api/debug/buffer_size_graph.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/constants.d.ts +1 -0
- package/dist/es2017/main_thread/api/debug/constants.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/index.d.ts +1 -0
- package/dist/es2017/main_thread/api/debug/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/modules/general_info.d.ts +1 -0
- package/dist/es2017/main_thread/api/debug/modules/general_info.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.d.ts +1 -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 +24 -5
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.d.ts +1 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/render.d.ts +1 -0
- package/dist/es2017/main_thread/api/debug/render.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/utils.d.ts +1 -0
- package/dist/es2017/main_thread/api/debug/utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/index.d.ts +1 -0
- package/dist/es2017/main_thread/api/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/option_utils.d.ts +1 -0
- package/dist/es2017/main_thread/api/option_utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/public_api.d.ts +13 -8
- package/dist/es2017/main_thread/api/public_api.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/public_api.js +15 -19
- package/dist/es2017/main_thread/api/utils.d.ts +1 -0
- package/dist/es2017/main_thread/api/utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/attach_media_keys.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/attach_media_keys.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/clear_on_stop.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/clear_on_stop.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.js +12 -1
- package/dist/es2017/main_thread/decrypt/create_or_load_session.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/create_or_load_session.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/create_session.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/create_session.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/find_key_system.d.ts +9 -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 +26 -1
- package/dist/es2017/main_thread/decrypt/get_key_system_configuration.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/get_key_system_configuration.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/index.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/init_media_keys.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/init_media_keys.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/session_events_listener.d.ts +1 -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 +2 -2
- package/dist/es2017/main_thread/decrypt/set_server_certificate.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/set_server_certificate.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/types.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.d.ts +1 -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 +1 -1
- package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts +1 -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_stored_persistent_info.d.ts +1 -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/get_drm_system_id.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/get_drm_system_id.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/is_session_usable.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/is_session_usable.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/key_session_record.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/key_session_record.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/media_keys_infos_store.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/media_keys_infos_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.d.ts +1 -0
- package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/directfile_content_initializer.d.ts +1 -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 +3 -1
- package/dist/es2017/main_thread/init/index.d.ts +3 -1
- package/dist/es2017/main_thread/init/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/index.js +1 -1
- package/dist/es2017/main_thread/init/media_source_content_initializer.d.ts +1 -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 +5 -1
- package/dist/es2017/main_thread/init/multi_thread_content_initializer.d.ts +6 -0
- package/dist/es2017/main_thread/init/multi_thread_content_initializer.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/multi_thread_content_initializer.js +39 -4
- package/dist/es2017/main_thread/init/send_message.d.ts +1 -0
- package/dist/es2017/main_thread/init/send_message.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/types.d.ts +4 -2
- package/dist/es2017/main_thread/init/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/create_core_playback_observer.d.ts +1 -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_media_source.d.ts +1 -0
- package/dist/es2017/main_thread/init/utils/create_media_source.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/get_initial_time.d.ts +1 -0
- package/dist/es2017/main_thread/init/utils/get_initial_time.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/get_loaded_reference.d.ts +1 -0
- package/dist/es2017/main_thread/init/utils/get_loaded_reference.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts +1 -0
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/initialize_content_decryption.d.ts +1 -0
- package/dist/es2017/main_thread/init/utils/initialize_content_decryption.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.d.ts +1 -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/rebuffering_controller.d.ts +1 -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 +3 -3
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts +1 -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/index.d.ts +1 -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/refresh_scheduled_events_list.d.ts +1 -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 +2 -4
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts +1 -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/types.d.ts +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/throw_on_media_error.d.ts +1 -0
- package/dist/es2017/main_thread/init/utils/throw_on_media_error.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/html_parsers.d.ts +1 -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_text_displayer.d.ts +1 -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 +7 -8
- package/dist/es2017/main_thread/text_displayer/html/index.d.ts +1 -0
- package/dist/es2017/main_thread/text_displayer/html/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.d.ts +1 -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 +7 -7
- package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.d.ts +1 -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/utils.d.ts +1 -0
- package/dist/es2017/main_thread/text_displayer/html/utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/index.d.ts +3 -2
- package/dist/es2017/main_thread/text_displayer/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/manual_time_ranges.d.ts +1 -0
- package/dist/es2017/main_thread/text_displayer/manual_time_ranges.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/native/index.d.ts +1 -0
- package/dist/es2017/main_thread/text_displayer/native/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/native/native_parsers.d.ts +1 -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_text_displayer.d.ts +1 -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 +2 -2
- package/dist/es2017/main_thread/text_displayer/types.d.ts +1 -0
- package/dist/es2017/main_thread/text_displayer/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/index.d.ts +1 -0
- package/dist/es2017/main_thread/tracks_store/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.d.ts +1 -0
- package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/track_dispatcher.d.ts +1 -0
- package/dist/es2017/main_thread/tracks_store/track_dispatcher.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/tracks_store.d.ts +1 -0
- package/dist/es2017/main_thread/tracks_store/tracks_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/types.d.ts +1 -0
- package/dist/es2017/main_thread/types.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/adaptation.d.ts +1 -0
- package/dist/es2017/manifest/classes/adaptation.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/index.d.ts +12 -6
- package/dist/es2017/manifest/classes/index.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/index.js +2 -6
- package/dist/es2017/manifest/classes/manifest.d.ts +2 -1
- package/dist/es2017/manifest/classes/manifest.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/period.d.ts +1 -0
- package/dist/es2017/manifest/classes/period.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation.d.ts +1 -0
- package/dist/es2017/manifest/classes/representation.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation_index/index.d.ts +3 -1
- package/dist/es2017/manifest/classes/representation_index/index.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation_index/index.js +1 -1
- package/dist/es2017/manifest/classes/representation_index/static.d.ts +1 -0
- package/dist/es2017/manifest/classes/representation_index/static.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation_index/types.d.ts +1 -0
- package/dist/es2017/manifest/classes/representation_index/types.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/types.d.ts +1 -0
- package/dist/es2017/manifest/classes/types.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/update_period_in_place.d.ts +1 -0
- package/dist/es2017/manifest/classes/update_period_in_place.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/update_periods.d.ts +1 -0
- package/dist/es2017/manifest/classes/update_periods.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/utils.d.ts +1 -0
- package/dist/es2017/manifest/classes/utils.d.ts.map +1 -0
- package/dist/es2017/manifest/index.d.ts +3 -1
- package/dist/es2017/manifest/index.d.ts.map +1 -0
- package/dist/es2017/manifest/types.d.ts +1 -0
- package/dist/es2017/manifest/types.d.ts.map +1 -0
- package/dist/es2017/manifest/utils.d.ts +1 -0
- package/dist/es2017/manifest/utils.d.ts.map +1 -0
- package/dist/es2017/minimal.d.ts +1 -0
- package/dist/es2017/minimal.d.ts.map +1 -0
- package/dist/es2017/mse/index.d.ts +3 -1
- package/dist/es2017/mse/index.d.ts.map +1 -0
- package/dist/es2017/mse/main_codec_support_prober.d.ts +1 -0
- package/dist/es2017/mse/main_codec_support_prober.d.ts.map +1 -0
- package/dist/es2017/mse/main_media_source_interface.d.ts +1 -0
- package/dist/es2017/mse/main_media_source_interface.d.ts.map +1 -0
- package/dist/es2017/mse/types.d.ts +1 -0
- package/dist/es2017/mse/types.d.ts.map +1 -0
- package/dist/es2017/mse/utils/end_of_stream.d.ts +1 -0
- package/dist/es2017/mse/utils/end_of_stream.d.ts.map +1 -0
- package/dist/es2017/mse/utils/end_of_stream.js +6 -1
- package/dist/es2017/mse/utils/media_source_duration_updater.d.ts +1 -0
- package/dist/es2017/mse/utils/media_source_duration_updater.d.ts.map +1 -0
- package/dist/es2017/mse/worker_codec_support_prober.d.ts +1 -0
- package/dist/es2017/mse/worker_codec_support_prober.d.ts.map +1 -0
- package/dist/es2017/mse/worker_media_source_interface.d.ts +1 -0
- package/dist/es2017/mse/worker_media_source_interface.d.ts.map +1 -0
- package/dist/es2017/multithread_types.d.ts +22 -4
- package/dist/es2017/multithread_types.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/constants.d.ts +1 -0
- package/dist/es2017/parsers/containers/isobmff/constants.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/create_box.d.ts +1 -0
- package/dist/es2017/parsers/containers/isobmff/create_box.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/drm/index.d.ts +1 -0
- package/dist/es2017/parsers/containers/isobmff/drm/index.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/drm/playready.d.ts +1 -0
- package/dist/es2017/parsers/containers/isobmff/drm/playready.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.d.ts +1 -0
- package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/find_complete_box.d.ts +1 -0
- package/dist/es2017/parsers/containers/isobmff/find_complete_box.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/get_box.d.ts +1 -0
- package/dist/es2017/parsers/containers/isobmff/get_box.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/index.d.ts +3 -1
- package/dist/es2017/parsers/containers/isobmff/index.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/read.d.ts +1 -0
- package/dist/es2017/parsers/containers/isobmff/read.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/take_pssh_out.d.ts +1 -0
- package/dist/es2017/parsers/containers/isobmff/take_pssh_out.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/utils.d.ts +1 -0
- package/dist/es2017/parsers/containers/isobmff/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/utils.js +3 -1
- package/dist/es2017/parsers/containers/matroska/index.d.ts +3 -1
- package/dist/es2017/parsers/containers/matroska/index.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/matroska/utils.d.ts +1 -0
- package/dist/es2017/parsers/containers/matroska/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/images/bif.d.ts +1 -0
- package/dist/es2017/parsers/images/bif.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.d.ts.map +1 -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 +1 -0
- package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +1 -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_minimum_and_maximum_positions.d.ts +1 -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_periods_time_infos.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/index.d.ts +4 -2
- package/dist/es2017/parsers/manifest/dash/common/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +1 -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_segments_from_timeline.d.ts +1 -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/index.d.ts +11 -5
- package/dist/es2017/parsers/manifest/dash/common/indexes/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +1 -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_previous_timeline.d.ts +1 -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/convert_element_to_index_segment.d.ts +1 -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/find_first_common_start_time.d.ts +1 -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/index.d.ts +4 -2
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +1 -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/timeline_representation_index.d.ts +1 -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/tokens.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/utils.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +4 -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 +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.d.ts +1 -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_mpd.d.ts +1 -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 +9 -4
- package/dist/es2017/parsers/manifest/dash/common/parse_periods.d.ts +4 -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 +5 -3
- package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representations.d.ts +4 -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 +9 -47
- package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/index.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/AdaptationSet.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/AdaptationSet.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/BaseURL.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/BaseURL.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/ContentComponent.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/ContentComponent.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.js +7 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/EventStream.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/EventStream.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Initialization.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Initialization.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.js +12 -1
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Period.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Period.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Period.js +15 -1
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentBase.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentBase.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentList.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentList.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTemplate.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTemplate.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTimeline.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTimeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentURL.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentURL.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/utils.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/utils.js +1 -2
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/parse_from_xml_string.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/parse_from_xml_string.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/index.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/index.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/AdaptationSet.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/AdaptationSet.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/BaseURL.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/BaseURL.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/ContentComponent.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/ContentComponent.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/ContentProtection.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/ContentProtection.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/ContentProtection.js +7 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/EventStream.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/EventStream.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Initialization.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Initialization.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/MPD.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/MPD.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/MPD.js +12 -1
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Period.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Period.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Period.js +15 -1
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Representation.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Representation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentBase.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentBase.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentList.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentList.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentTemplate.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentTemplate.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentTimeline.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentTimeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentURL.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentURL.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/utils.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/utils.js +1 -2
- package/dist/es2017/parsers/manifest/dash/native-parser/parse_from_document.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/parse_from_document.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts +9 -0
- package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/parsers_types.d.ts +2 -1
- package/dist/es2017/parsers/manifest/dash/parsers_types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/index.d.ts +4 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +1 -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/generators/AdaptationSet.d.ts +1 -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/BaseURL.d.ts +1 -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/ContentComponent.d.ts +1 -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/ContentProtection.d.ts +1 -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 +6 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +1 -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/MPD.d.ts +1 -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 +14 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +1 -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 +14 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +1 -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/Scheme.d.ts +1 -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/SegmentBase.d.ts +1 -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/SegmentList.d.ts +1 -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/SegmentTemplate.d.ts +1 -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/SegmentUrl.d.ts +1 -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/XLink.d.ts +1 -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/index.d.ts +1 -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/root.d.ts +1 -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/parsers_stack.d.ts +1 -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/types.d.ts +3 -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/utils.d.ts +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/index.d.ts +1 -0
- package/dist/es2017/parsers/manifest/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/index.d.ts +2 -1
- package/dist/es2017/parsers/manifest/local/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/parse_local_manifest.d.ts +1 -0
- package/dist/es2017/parsers/manifest/local/parse_local_manifest.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/representation_index.d.ts +1 -0
- package/dist/es2017/parsers/manifest/local/representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/types.d.ts +1 -0
- package/dist/es2017/parsers/manifest/local/types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/index.d.ts +4 -2
- package/dist/es2017/parsers/manifest/metaplaylist/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/create_parser.d.ts +1 -0
- package/dist/es2017/parsers/manifest/smooth/create_parser.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/get_codecs.d.ts +1 -0
- package/dist/es2017/parsers/manifest/smooth/get_codecs.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/index.d.ts +5 -2
- package/dist/es2017/parsers/manifest/smooth/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.d.ts +1 -0
- package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/parse_protection_node.d.ts +1 -0
- package/dist/es2017/parsers/manifest/smooth/parse_protection_node.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts +1 -0
- package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +1 -0
- package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.d.ts +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.d.ts +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.d.ts +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/tokens.d.ts +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/tokens.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/types.d.ts +1 -0
- package/dist/es2017/parsers/manifest/types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/check_manifest_ids.d.ts +1 -0
- package/dist/es2017/parsers/manifest/utils/check_manifest_ids.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.d.ts +1 -0
- package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +1 -0
- package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +1 -0
- package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_maximum_positions.d.ts +1 -0
- package/dist/es2017/parsers/manifest/utils/get_maximum_positions.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_minimum_position.d.ts +1 -0
- package/dist/es2017/parsers/manifest/utils/get_minimum_position.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/index_helpers.d.ts +1 -0
- package/dist/es2017/parsers/manifest/utils/index_helpers.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/update_segment_timeline.d.ts +1 -0
- package/dist/es2017/parsers/manifest/utils/update_segment_timeline.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/index.d.ts +2 -1
- package/dist/es2017/parsers/texttracks/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/sami/html.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/sami/html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/sami/native.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/sami/native.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/html.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/srt/html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/native.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/srt/native.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/parse_cue.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/srt/parse_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/parse_timestamp.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/srt/parse_timestamp.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_parameters.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_parameters.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_styling.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_styling.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts +1 -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_extent.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/create_element.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/create_element.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/index.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/index.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/parse_ttml.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/parse_ttml.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/regexps.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/regexps.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/time_parsing.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/time_parsing.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/xml_utils.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/ttml/xml_utils.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/types.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/types.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_default_style_elements.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_default_style_elements.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/index.d.ts +2 -1
- package/dist/es2017/parsers/texttracks/webvtt/html/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_style_block.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_style_block.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_to_div.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_to_div.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/to_html.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/to_html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/index.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_to_cues.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_to_cues.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/utils.d.ts +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/utils.d.ts.map +1 -0
- package/dist/es2017/playback_observer/index.d.ts +1 -0
- package/dist/es2017/playback_observer/index.d.ts.map +1 -0
- package/dist/es2017/playback_observer/media_element_playback_observer.d.ts +1 -0
- package/dist/es2017/playback_observer/media_element_playback_observer.d.ts.map +1 -0
- package/dist/es2017/playback_observer/types.d.ts +1 -0
- package/dist/es2017/playback_observer/types.d.ts.map +1 -0
- package/dist/es2017/playback_observer/utils/generate_read_only_observer.d.ts +1 -0
- package/dist/es2017/playback_observer/utils/generate_read_only_observer.d.ts.map +1 -0
- package/dist/es2017/playback_observer/utils/observation_position.d.ts +12 -0
- package/dist/es2017/playback_observer/utils/observation_position.d.ts.map +1 -0
- package/dist/es2017/playback_observer/utils/observation_position.js +11 -0
- package/dist/es2017/playback_observer/worker_playback_observer.d.ts +1 -0
- package/dist/es2017/playback_observer/worker_playback_observer.d.ts.map +1 -0
- package/dist/es2017/public_types.d.ts +3 -2
- package/dist/es2017/public_types.d.ts.map +1 -0
- package/dist/es2017/tools/TextTrackRenderer/index.d.ts +4 -2
- package/dist/es2017/tools/TextTrackRenderer/index.d.ts.map +1 -0
- package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.d.ts +1 -0
- package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.d.ts.map +1 -0
- package/dist/es2017/tools/index.d.ts +1 -0
- package/dist/es2017/tools/index.d.ts.map +1 -0
- package/dist/es2017/tools/parseBIFThumbnails/index.d.ts +1 -0
- package/dist/es2017/tools/parseBIFThumbnails/index.d.ts.map +1 -0
- package/dist/es2017/tools/string_utils/index.d.ts +1 -0
- package/dist/es2017/tools/string_utils/index.d.ts.map +1 -0
- package/dist/es2017/transports/dash/add_segment_integrity_checks_to_loader.d.ts +1 -0
- package/dist/es2017/transports/dash/add_segment_integrity_checks_to_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/construct_segment_url.d.ts +1 -0
- package/dist/es2017/transports/dash/construct_segment_url.d.ts.map +1 -0
- package/dist/es2017/transports/dash/get_events_out_of_emsgs.d.ts +1 -0
- package/dist/es2017/transports/dash/get_events_out_of_emsgs.d.ts.map +1 -0
- package/dist/es2017/transports/dash/index.d.ts +1 -0
- package/dist/es2017/transports/dash/index.d.ts.map +1 -0
- package/dist/es2017/transports/dash/init_segment_loader.d.ts +1 -0
- package/dist/es2017/transports/dash/init_segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/low_latency_segment_loader.d.ts +1 -0
- package/dist/es2017/transports/dash/low_latency_segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/low_latency_segment_loader.js +1 -0
- package/dist/es2017/transports/dash/manifest_parser.d.ts +1 -0
- package/dist/es2017/transports/dash/manifest_parser.d.ts.map +1 -0
- package/dist/es2017/transports/dash/pipelines.d.ts +1 -0
- package/dist/es2017/transports/dash/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/dash/segment_loader.d.ts +1 -0
- package/dist/es2017/transports/dash/segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/segment_parser.d.ts +1 -0
- package/dist/es2017/transports/dash/segment_parser.d.ts.map +1 -0
- package/dist/es2017/transports/dash/text_loader.d.ts +1 -0
- package/dist/es2017/transports/dash/text_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/text_parser.d.ts +1 -0
- package/dist/es2017/transports/dash/text_parser.d.ts.map +1 -0
- package/dist/es2017/transports/index.d.ts +1 -0
- package/dist/es2017/transports/index.d.ts.map +1 -0
- package/dist/es2017/transports/local/index.d.ts +1 -0
- package/dist/es2017/transports/local/index.d.ts.map +1 -0
- package/dist/es2017/transports/local/pipelines.d.ts +1 -0
- package/dist/es2017/transports/local/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/local/segment_loader.d.ts +1 -0
- package/dist/es2017/transports/local/segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/local/segment_parser.d.ts +1 -0
- package/dist/es2017/transports/local/segment_parser.d.ts.map +1 -0
- package/dist/es2017/transports/local/text_parser.d.ts +1 -0
- package/dist/es2017/transports/local/text_parser.d.ts.map +1 -0
- package/dist/es2017/transports/metaplaylist/index.d.ts +1 -0
- package/dist/es2017/transports/metaplaylist/index.d.ts.map +1 -0
- package/dist/es2017/transports/metaplaylist/manifest_loader.d.ts +1 -0
- package/dist/es2017/transports/metaplaylist/manifest_loader.d.ts.map +1 -0
- package/dist/es2017/transports/metaplaylist/pipelines.d.ts +1 -0
- package/dist/es2017/transports/metaplaylist/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/extract_timings_infos.d.ts +1 -0
- package/dist/es2017/transports/smooth/extract_timings_infos.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/index.d.ts +1 -0
- package/dist/es2017/transports/smooth/index.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/is_mp4_embedded_track.d.ts +1 -0
- package/dist/es2017/transports/smooth/is_mp4_embedded_track.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.d.ts +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_boxes.d.ts +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_boxes.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_init_segment.d.ts +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_init_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_traf_box.d.ts +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_traf_box.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.d.ts +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/get_aaces_header.d.ts +1 -0
- package/dist/es2017/transports/smooth/isobmff/get_aaces_header.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/index.d.ts +5 -2
- package/dist/es2017/transports/smooth/isobmff/index.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfrf.d.ts +1 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfrf.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfxd.d.ts +1 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfxd.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/patch_segment.d.ts +1 -0
- package/dist/es2017/transports/smooth/isobmff/patch_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/pipelines.d.ts +1 -0
- package/dist/es2017/transports/smooth/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/segment_loader.d.ts +1 -0
- package/dist/es2017/transports/smooth/segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/utils.d.ts +1 -0
- package/dist/es2017/transports/smooth/utils.d.ts.map +1 -0
- package/dist/es2017/transports/types.d.ts +1 -0
- package/dist/es2017/transports/types.d.ts.map +1 -0
- package/dist/es2017/transports/utils/byte_range.d.ts +1 -0
- package/dist/es2017/transports/utils/byte_range.d.ts.map +1 -0
- package/dist/es2017/transports/utils/call_custom_manifest_loader.d.ts +1 -0
- package/dist/es2017/transports/utils/call_custom_manifest_loader.d.ts.map +1 -0
- package/dist/es2017/transports/utils/check_isobmff_integrity.d.ts +1 -0
- package/dist/es2017/transports/utils/check_isobmff_integrity.d.ts.map +1 -0
- package/dist/es2017/transports/utils/generate_manifest_loader.d.ts +1 -0
- package/dist/es2017/transports/utils/generate_manifest_loader.d.ts.map +1 -0
- package/dist/es2017/transports/utils/get_isobmff_timing_infos.d.ts +1 -0
- package/dist/es2017/transports/utils/get_isobmff_timing_infos.d.ts.map +1 -0
- package/dist/es2017/transports/utils/infer_segment_container.d.ts +1 -0
- package/dist/es2017/transports/utils/infer_segment_container.d.ts.map +1 -0
- package/dist/es2017/transports/utils/parse_text_track.d.ts +1 -0
- package/dist/es2017/transports/utils/parse_text_track.d.ts.map +1 -0
- package/dist/es2017/utils/are_arrays_of_numbers_equal.d.ts +1 -0
- package/dist/es2017/utils/are_arrays_of_numbers_equal.d.ts.map +1 -0
- package/dist/es2017/utils/are_codecs_compatible.d.ts +1 -0
- package/dist/es2017/utils/are_codecs_compatible.d.ts.map +1 -0
- package/dist/es2017/utils/array_find.d.ts +1 -0
- package/dist/es2017/utils/array_find.d.ts.map +1 -0
- package/dist/es2017/utils/array_find_index.d.ts +1 -0
- package/dist/es2017/utils/array_find_index.d.ts.map +1 -0
- package/dist/es2017/utils/array_includes.d.ts +1 -0
- package/dist/es2017/utils/array_includes.d.ts.map +1 -0
- package/dist/es2017/utils/assert.d.ts +1 -1
- package/dist/es2017/utils/assert.d.ts.map +1 -0
- package/dist/es2017/utils/assert.js +1 -2
- package/dist/es2017/utils/base64.d.ts +1 -0
- package/dist/es2017/utils/base64.d.ts.map +1 -0
- package/dist/es2017/utils/byte_parsing.d.ts +1 -0
- package/dist/es2017/utils/byte_parsing.d.ts.map +1 -0
- package/dist/es2017/utils/cancellable_sleep.d.ts +1 -0
- package/dist/es2017/utils/cancellable_sleep.d.ts.map +1 -0
- package/dist/es2017/utils/create_cancellable_promise.d.ts +1 -0
- package/dist/es2017/utils/create_cancellable_promise.d.ts.map +1 -0
- package/dist/es2017/utils/deep_merge.d.ts +1 -0
- package/dist/es2017/utils/deep_merge.d.ts.map +1 -0
- package/dist/es2017/utils/event_emitter.d.ts +1 -0
- package/dist/es2017/utils/event_emitter.d.ts.map +1 -0
- package/dist/es2017/utils/flat_map.d.ts +1 -0
- package/dist/es2017/utils/flat_map.d.ts.map +1 -0
- package/dist/es2017/utils/get_fuzzed_delay.d.ts +1 -0
- package/dist/es2017/utils/get_fuzzed_delay.d.ts.map +1 -0
- package/dist/es2017/utils/global_scope.d.ts +1 -0
- package/dist/es2017/utils/global_scope.d.ts.map +1 -0
- package/dist/es2017/utils/hash_buffer.d.ts +1 -0
- package/dist/es2017/utils/hash_buffer.d.ts.map +1 -0
- package/dist/es2017/utils/id_generator.d.ts +1 -0
- package/dist/es2017/utils/id_generator.d.ts.map +1 -0
- package/dist/es2017/utils/is_node.d.ts +1 -0
- package/dist/es2017/utils/is_node.d.ts.map +1 -0
- package/dist/es2017/utils/is_non_empty_string.d.ts +1 -0
- package/dist/es2017/utils/is_non_empty_string.d.ts.map +1 -0
- package/dist/es2017/utils/is_null_or_undefined.d.ts +1 -0
- package/dist/es2017/utils/is_null_or_undefined.d.ts.map +1 -0
- package/dist/es2017/utils/is_worker.d.ts +1 -0
- package/dist/es2017/utils/is_worker.d.ts.map +1 -0
- package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.d.ts +1 -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-2_to_ISO_639-3.d.ts +1 -0
- package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.d.ts.map +1 -0
- package/dist/es2017/utils/languages/index.d.ts +5 -2
- package/dist/es2017/utils/languages/index.d.ts.map +1 -0
- package/dist/es2017/utils/languages/index.js +2 -2
- package/dist/es2017/utils/languages/normalize.d.ts +3 -1
- package/dist/es2017/utils/languages/normalize.d.ts.map +1 -0
- package/dist/es2017/utils/languages/normalize.js +5 -2
- package/dist/es2017/utils/logger.d.ts +1 -0
- package/dist/es2017/utils/logger.d.ts.map +1 -0
- package/dist/es2017/utils/monotonic_timestamp.d.ts +1 -0
- package/dist/es2017/utils/monotonic_timestamp.d.ts.map +1 -0
- package/dist/es2017/utils/noop.d.ts +1 -0
- package/dist/es2017/utils/noop.d.ts.map +1 -0
- package/dist/es2017/utils/object_assign.d.ts +1 -0
- package/dist/es2017/utils/object_assign.d.ts.map +1 -0
- package/dist/es2017/utils/object_values.d.ts +1 -0
- package/dist/es2017/utils/object_values.d.ts.map +1 -0
- package/dist/es2017/utils/queue_microtask.d.ts +1 -0
- package/dist/es2017/utils/queue_microtask.d.ts.map +1 -0
- package/dist/es2017/utils/ranges.d.ts +3 -1
- package/dist/es2017/utils/ranges.d.ts.map +1 -0
- package/dist/es2017/utils/reference.d.ts +1 -0
- package/dist/es2017/utils/reference.d.ts.map +1 -0
- package/dist/es2017/utils/request/fetch.d.ts +1 -0
- package/dist/es2017/utils/request/fetch.d.ts.map +1 -0
- package/dist/es2017/utils/request/fetch.js +14 -0
- package/dist/es2017/utils/request/index.d.ts +9 -4
- package/dist/es2017/utils/request/index.d.ts.map +1 -0
- package/dist/es2017/utils/request/index.js +3 -3
- package/dist/es2017/utils/request/request_error.d.ts +1 -1
- package/dist/es2017/utils/request/request_error.d.ts.map +1 -0
- package/dist/es2017/utils/request/request_error.js +13 -12
- package/dist/es2017/utils/request/xhr.d.ts +1 -0
- package/dist/es2017/utils/request/xhr.d.ts.map +1 -0
- package/dist/es2017/utils/request/xhr.js +17 -0
- package/dist/es2017/utils/resolve_url.d.ts +14 -10
- package/dist/es2017/utils/resolve_url.d.ts.map +1 -0
- package/dist/es2017/utils/resolve_url.js +206 -65
- package/dist/es2017/utils/retry_promise_with_backoff.d.ts +1 -0
- package/dist/es2017/utils/retry_promise_with_backoff.d.ts.map +1 -0
- package/dist/es2017/utils/sleep.d.ts +1 -0
- package/dist/es2017/utils/sleep.d.ts.map +1 -0
- package/dist/es2017/utils/slice_uint8array.d.ts +1 -0
- package/dist/es2017/utils/slice_uint8array.d.ts.map +1 -0
- package/dist/es2017/utils/sorted_list.d.ts +1 -0
- package/dist/es2017/utils/sorted_list.d.ts.map +1 -0
- package/dist/es2017/utils/starts_with.d.ts +1 -0
- package/dist/es2017/utils/starts_with.d.ts.map +1 -0
- package/dist/es2017/utils/string_parsing.d.ts +2 -1
- package/dist/es2017/utils/string_parsing.d.ts.map +1 -0
- package/dist/es2017/utils/string_parsing.js +1 -1
- package/dist/es2017/utils/sync_or_async.d.ts +1 -0
- package/dist/es2017/utils/sync_or_async.d.ts.map +1 -0
- package/dist/es2017/utils/task_canceller.d.ts +1 -1
- package/dist/es2017/utils/task_canceller.d.ts.map +1 -0
- package/dist/es2017/utils/task_canceller.js +2 -2
- package/dist/es2017/utils/warn_once.d.ts +1 -0
- package/dist/es2017/utils/warn_once.d.ts.map +1 -0
- package/dist/es2017/utils/weak_map_memory.d.ts +1 -0
- package/dist/es2017/utils/weak_map_memory.d.ts.map +1 -0
- package/dist/es2017/utils/wrapInPromise.d.ts +1 -0
- package/dist/es2017/utils/wrapInPromise.d.ts.map +1 -0
- package/dist/es2017/utils/xml-parser.d.ts +1 -0
- package/dist/es2017/utils/xml-parser.d.ts.map +1 -0
- package/dist/es2017/worker_entry_point.d.ts +1 -0
- package/dist/es2017/worker_entry_point.d.ts.map +1 -0
- package/dist/mpd-parser.wasm +0 -0
- package/dist/rx-player.js +17 -55660
- package/dist/worker.js +7 -7
- package/package.json +23 -45
- package/src/README.md +364 -0
- 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/compat/README.md +35 -0
- package/src/compat/__tests__/add_text_track.test.ts +114 -0
- package/src/compat/__tests__/browser_compatibility_types.test.ts +118 -0
- package/src/compat/__tests__/browser_version.test.ts +72 -0
- package/src/compat/__tests__/can_patch_isobmff.test.ts +33 -0
- package/src/compat/__tests__/can_rely_on_video_visibility_and_size.test.ts +61 -0
- package/src/compat/__tests__/can_reuse_media_keys.test.ts +36 -0
- package/src/compat/__tests__/change_source_buffer_type.test.ts +39 -0
- package/src/compat/__tests__/clear_element_src.test.ts +239 -0
- package/src/compat/__tests__/enable_audio_track.test.ts +336 -0
- package/src/compat/__tests__/generate_init_data.test.ts +20 -0
- package/src/compat/__tests__/is_codec_supported.test.ts +65 -0
- package/src/compat/__tests__/is_seeking_approximate.test.ts +33 -0
- package/src/compat/__tests__/is_vtt_cue.test.ts +57 -0
- package/src/compat/__tests__/make_vtt_cue.test.ts +80 -0
- package/src/compat/__tests__/patch_webkit_source_buffer.test.ts +97 -0
- package/src/compat/__tests__/remove_cue.test.ts +217 -0
- package/src/compat/__tests__/should_favour_custom_safari_EME.test.ts +112 -0
- package/src/compat/__tests__/should_reload_media_source_on_decipherability_update.test.ts +38 -0
- package/src/compat/__tests__/should_renew_media_key_system_access.test.ts +40 -0
- package/src/compat/__tests__/should_unset_media_keys.test.ts +37 -0
- package/src/compat/__tests__/should_validate_metadata.test.ts +40 -0
- package/src/compat/__tests__/should_wait_for_data_before_loaded.test.ts +66 -0
- package/src/compat/__tests__/should_wait_for_have_enough_data.test.ts +37 -0
- package/src/compat/add_class_name.ts +42 -0
- package/src/compat/add_text_track.ts +56 -0
- package/src/compat/browser_compatibility_types.ts +215 -0
- package/src/compat/browser_detection.ts +181 -0
- package/src/compat/browser_version.ts +44 -0
- package/src/compat/can_patch_isobmff.ts +30 -0
- package/src/compat/can_rely_on_request_media_key_system_access.ts +42 -0
- package/src/compat/can_rely_on_video_visibility_and_size.ts +52 -0
- package/src/compat/can_reuse_media_keys.ts +17 -0
- package/src/compat/can_seek_directly_after_loaded_metadata.ts +9 -0
- package/src/compat/change_source_buffer_type.ts +69 -0
- package/src/compat/clear_element_src.ts +55 -0
- package/src/compat/eme/close_session.ts +113 -0
- package/src/compat/eme/constants.ts +21 -0
- package/src/compat/eme/custom_key_system_access.ts +67 -0
- package/src/compat/eme/custom_media_keys/ie11_media_keys.ts +200 -0
- package/src/compat/eme/custom_media_keys/index.ts +22 -0
- package/src/compat/eme/custom_media_keys/moz_media_keys_constructor.ts +86 -0
- package/src/compat/eme/custom_media_keys/ms_media_keys_constructor.ts +67 -0
- package/src/compat/eme/custom_media_keys/old_webkit_media_keys.ts +242 -0
- package/src/compat/eme/custom_media_keys/types.ts +61 -0
- package/src/compat/eme/custom_media_keys/webkit_media_keys.ts +306 -0
- package/src/compat/eme/custom_media_keys/webkit_media_keys_constructor.ts +48 -0
- package/src/compat/eme/eme-api-implementation.ts +321 -0
- package/src/compat/eme/generate_key_request.ts +161 -0
- package/src/compat/eme/get_init_data.ts +159 -0
- package/src/compat/eme/get_uuid_kid_from_keystatus_kid.ts +35 -0
- package/src/compat/eme/get_webkit_fairplay_initdata.ts +72 -0
- package/src/compat/eme/index.ts +39 -0
- package/src/compat/eme/load_session.ts +73 -0
- package/src/compat/eme/set_media_keys.ts +49 -0
- package/src/compat/enable_audio_track.ts +33 -0
- package/src/compat/event_listeners.ts +633 -0
- package/src/compat/generate_init_data.ts +69 -0
- package/src/compat/get_start_date.ts +46 -0
- package/src/compat/has_issues_with_high_media_source_duration.ts +27 -0
- package/src/compat/has_mse_in_worker.ts +6 -0
- package/src/compat/has_webassembly.ts +7 -0
- package/src/compat/has_worker_api.ts +15 -0
- package/src/compat/is_codec_supported.ts +67 -0
- package/src/compat/is_debug_mode_enabled.ts +12 -0
- package/src/compat/is_seeking_approximate.ts +32 -0
- package/src/compat/is_vtt_cue.ts +31 -0
- package/src/compat/make_vtt_cue.ts +51 -0
- package/src/compat/may_media_element_fail_on_undecipherable_data.ts +18 -0
- package/src/compat/on_height_width_change.ts +126 -0
- package/src/compat/patch_webkit_source_buffer.ts +93 -0
- package/src/compat/remove_cue.ts +64 -0
- package/src/compat/should_await_set_media_keys.ts +20 -0
- package/src/compat/should_favour_custom_safari_EME.ts +29 -0
- package/src/compat/should_reload_media_source_on_decipherability_update.ts +31 -0
- package/src/compat/should_renew_media_key_system_access.ts +26 -0
- package/src/compat/should_unset_media_keys.ts +27 -0
- package/src/compat/should_validate_metadata.ts +27 -0
- package/src/compat/should_wait_for_data_before_loaded.ts +33 -0
- package/src/compat/should_wait_for_have_enough_data.ts +17 -0
- package/src/config.ts +26 -0
- package/src/core/README.md +53 -0
- package/src/core/adaptive/README.md +154 -0
- package/src/core/adaptive/__tests__/buffer_based_chooser.test.ts +539 -0
- package/src/core/adaptive/adaptive_representation_selector.ts +850 -0
- package/src/core/adaptive/buffer_based_chooser.ts +266 -0
- package/src/core/adaptive/guess_based_chooser.ts +324 -0
- package/src/core/adaptive/index.ts +47 -0
- package/src/core/adaptive/network_analyzer.ts +437 -0
- package/src/core/adaptive/utils/__tests__/bandwith_estimator.test.ts +117 -0
- package/src/core/adaptive/utils/__tests__/ewma.test.ts +64 -0
- package/src/core/adaptive/utils/__tests__/filter_by_bitrate.test.ts +41 -0
- package/src/core/adaptive/utils/__tests__/filter_by_resolution.test.ts +83 -0
- package/src/core/adaptive/utils/__tests__/get_buffer_levels.test.ts +35 -0
- package/src/core/adaptive/utils/__tests__/select_optimal_representation.test.ts +48 -0
- package/src/core/adaptive/utils/bandwidth_estimator.ts +86 -0
- package/src/core/adaptive/utils/ewma.ts +58 -0
- package/src/core/adaptive/utils/filter_by_bitrate.ts +46 -0
- package/src/core/adaptive/utils/filter_by_resolution.ts +65 -0
- package/src/core/adaptive/utils/get_buffer_levels.ts +55 -0
- package/src/core/adaptive/utils/last_estimate_storage.ts +79 -0
- package/src/core/adaptive/utils/pending_requests_store.ts +157 -0
- package/src/core/adaptive/utils/representation_score_calculator.ts +174 -0
- package/src/core/adaptive/utils/select_optimal_representation.ts +44 -0
- package/src/core/fetchers/README.md +83 -0
- package/src/core/fetchers/cdn_prioritizer.ts +209 -0
- package/src/core/fetchers/index.ts +36 -0
- package/src/core/fetchers/manifest/index.ts +25 -0
- package/src/core/fetchers/manifest/manifest_fetcher.ts +836 -0
- package/src/core/fetchers/segment/__tests__/initialization_segment_cache.test.ts +301 -0
- package/src/core/fetchers/segment/__tests__/task_prioritizer.test.ts +942 -0
- package/src/core/fetchers/segment/index.ts +22 -0
- package/src/core/fetchers/segment/initialization_segment_cache.ts +65 -0
- package/src/core/fetchers/segment/prioritized_segment_fetcher.ts +105 -0
- package/src/core/fetchers/segment/segment_fetcher.ts +528 -0
- package/src/core/fetchers/segment/segment_fetcher_creator.ts +122 -0
- package/src/core/fetchers/segment/task_prioritizer.ts +461 -0
- package/src/core/fetchers/utils/error_selector.ts +34 -0
- package/src/core/fetchers/utils/schedule_request.ts +445 -0
- package/src/core/main/README.md +18 -0
- package/src/core/main/common/DecipherabilityFreezeDetector.ts +147 -0
- package/src/core/main/common/content_time_boundaries_observer.ts +656 -0
- package/src/core/main/common/create_content_time_boundaries_observer.ts +71 -0
- package/src/core/main/common/get_buffered_data_per_media_buffer.ts +49 -0
- package/src/core/main/worker/content_preparer.ts +422 -0
- package/src/core/main/worker/globals.ts +38 -0
- package/src/core/main/worker/index.ts +2 -0
- package/src/core/main/worker/send_message.ts +26 -0
- package/src/core/main/worker/track_choice_setter.ts +170 -0
- package/src/core/main/worker/worker_main.ts +929 -0
- package/src/core/main/worker/worker_text_displayer_interface.ts +162 -0
- package/src/core/segment_sinks/README.md +203 -0
- package/src/core/segment_sinks/garbage_collector.ts +197 -0
- package/src/core/segment_sinks/implementations/audio_video/audio_video_segment_buffer.ts +372 -0
- package/src/core/segment_sinks/implementations/audio_video/index.ts +18 -0
- package/src/core/segment_sinks/implementations/index.ts +22 -0
- package/src/core/segment_sinks/implementations/text/index.ts +5 -0
- package/src/core/segment_sinks/implementations/text/text_segment_buffer.ts +242 -0
- package/src/core/segment_sinks/implementations/types.ts +347 -0
- package/src/core/segment_sinks/implementations/utils/manual_time_ranges.ts +76 -0
- package/src/core/segment_sinks/index.ts +66 -0
- package/src/core/segment_sinks/inventory/buffered_history.ts +126 -0
- package/src/core/segment_sinks/inventory/index.ts +25 -0
- package/src/core/segment_sinks/inventory/segment_inventory.ts +1386 -0
- package/src/core/segment_sinks/inventory/types.ts +43 -0
- package/src/core/segment_sinks/inventory/utils.ts +59 -0
- package/src/core/segment_sinks/segment_buffers_store.ts +422 -0
- package/src/core/stream/README.md +56 -0
- package/src/core/stream/adaptation/adaptation_stream.ts +495 -0
- package/src/core/stream/adaptation/get_representations_switch_strategy.ts +171 -0
- package/src/core/stream/adaptation/index.ts +20 -0
- package/src/core/stream/adaptation/types.ts +210 -0
- package/src/core/stream/index.ts +44 -0
- package/src/core/stream/orchestrator/README.md +337 -0
- package/src/core/stream/orchestrator/get_time_ranges_for_content.ts +75 -0
- package/src/core/stream/orchestrator/index.ts +31 -0
- package/src/core/stream/orchestrator/stream_orchestrator.ts +787 -0
- package/src/core/stream/period/index.ts +20 -0
- package/src/core/stream/period/period_stream.ts +579 -0
- package/src/core/stream/period/types.ts +124 -0
- package/src/core/stream/period/utils/get_adaptation_switch_strategy.ts +196 -0
- package/src/core/stream/representation/README.md +22 -0
- package/src/core/stream/representation/index.ts +20 -0
- package/src/core/stream/representation/representation_stream.ts +511 -0
- package/src/core/stream/representation/types.ts +339 -0
- package/src/core/stream/representation/utils/append_segment_to_buffer.ts +94 -0
- package/src/core/stream/representation/utils/check_for_discontinuity.ts +325 -0
- package/src/core/stream/representation/utils/downloading_queue.ts +644 -0
- package/src/core/stream/representation/utils/get_buffer_status.ts +307 -0
- package/src/core/stream/representation/utils/get_needed_segments.ts +671 -0
- package/src/core/stream/representation/utils/get_segment_priority.ts +43 -0
- package/src/core/stream/representation/utils/push_init_segment.ts +88 -0
- package/src/core/stream/representation/utils/push_media_segment.ts +119 -0
- package/src/core/types.ts +53 -0
- package/src/default_config.ts +1196 -0
- package/src/errors/README.md +17 -0
- package/src/errors/__tests__/encrypted_media_error.test.ts +30 -0
- package/src/errors/__tests__/error_message.test.ts +8 -0
- package/src/errors/__tests__/format_error.test.ts +54 -0
- package/src/errors/__tests__/is_known_error.test.ts +39 -0
- package/src/errors/__tests__/media_error.test.ts +39 -0
- package/src/errors/__tests__/network_error.test.ts +53 -0
- package/src/errors/__tests__/other_error.test.ts +38 -0
- package/src/errors/custom_loader_error.ts +45 -0
- package/src/errors/encrypted_media_error.ts +98 -0
- package/src/errors/error_codes.ts +146 -0
- package/src/errors/error_message.ts +25 -0
- package/src/errors/format_error.ts +41 -0
- package/src/errors/index.ts +53 -0
- package/src/errors/is_known_error.ts +37 -0
- package/src/errors/media_error.ts +109 -0
- package/src/errors/network_error.ts +91 -0
- package/src/errors/other_error.ts +65 -0
- package/src/errors/source_buffer_error.ts +59 -0
- package/src/errors/worker_initialization_error.ts +32 -0
- package/src/experimental/README.md +19 -0
- package/src/experimental/features/__tests__/index.test.ts +11 -0
- package/src/experimental/features/__tests__/local.test.ts +21 -0
- package/src/experimental/features/__tests__/metaplaylist.test.ts +21 -0
- package/src/experimental/features/__tests__/multi_thread.test.ts +18 -0
- package/src/experimental/features/index.ts +19 -0
- package/src/experimental/features/local.ts +29 -0
- package/src/experimental/features/metaplaylist.ts +29 -0
- package/src/experimental/features/multi_thread.ts +13 -0
- package/src/experimental/index.ts +3 -0
- package/src/experimental/tools/VideoThumbnailLoader/features/dash.ts +23 -0
- package/src/experimental/tools/VideoThumbnailLoader/features/metaplaylist.ts +23 -0
- package/src/experimental/tools/VideoThumbnailLoader/index.ts +19 -0
- package/src/experimental/tools/VideoThumbnailLoader/load_and_push_segment.ts +75 -0
- package/src/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.ts +83 -0
- package/src/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.ts +50 -0
- package/src/experimental/tools/VideoThumbnailLoader/types.ts +32 -0
- package/src/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.ts +438 -0
- package/src/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.ts +34 -0
- package/src/experimental/tools/createMetaplaylist/get_duration_from_manifest.ts +136 -0
- package/src/experimental/tools/createMetaplaylist/index.ts +75 -0
- package/src/experimental/tools/index.ts +21 -0
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/capabilities.test.ts +24 -0
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/DRMInfos.test.ts +116 -0
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/HDCPPolicy.test.ts +127 -0
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/decodingInfos.test.ts +372 -0
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/defaultCodecFinder.test.ts +137 -0
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/mediaContentType.test.ts +274 -0
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/mediaDisplayInfos.test.ts +174 -0
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/utils.test.ts +242 -0
- package/src/experimental/tools/mediaCapabilitiesProber/api/index.ts +192 -0
- package/src/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.ts +143 -0
- package/src/experimental/tools/mediaCapabilitiesProber/capabilities.ts +129 -0
- package/src/experimental/tools/mediaCapabilitiesProber/index.ts +20 -0
- package/src/experimental/tools/mediaCapabilitiesProber/log.ts +21 -0
- package/src/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.ts +71 -0
- package/src/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.ts +103 -0
- package/src/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.ts +106 -0
- package/src/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.ts +70 -0
- package/src/experimental/tools/mediaCapabilitiesProber/probers/index.ts +40 -0
- package/src/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.ts +71 -0
- package/src/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.ts +102 -0
- package/src/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.ts +111 -0
- package/src/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.ts +61 -0
- package/src/experimental/tools/mediaCapabilitiesProber/types.ts +75 -0
- package/src/experimental/tools/mediaCapabilitiesProber/utils.ts +112 -0
- package/src/features/README.md +10 -0
- package/src/features/__tests__/add_features.test.ts +57 -0
- package/src/features/add_features.ts +38 -0
- package/src/features/features_object.ts +38 -0
- package/src/features/index.ts +38 -0
- package/src/features/list/__tests__/dash.test.ts +27 -0
- package/src/features/list/__tests__/dash_wasm.test.ts +32 -0
- package/src/features/list/__tests__/debug_element.test.ts +13 -0
- package/src/features/list/__tests__/directfile.test.ts +19 -0
- package/src/features/list/__tests__/eme.test.ts +13 -0
- package/src/features/list/__tests__/html_sami_parser.test.ts +20 -0
- package/src/features/list/__tests__/html_srt_parser.test.ts +19 -0
- package/src/features/list/__tests__/html_text_buffer.test.ts +13 -0
- package/src/features/list/__tests__/html_ttml_parser.test.ts +19 -0
- package/src/features/list/__tests__/html_vtt_parser.test.ts +19 -0
- package/src/features/list/__tests__/index.test.ts +56 -0
- package/src/features/list/__tests__/native_sami_parser.test.ts +20 -0
- package/src/features/list/__tests__/native_srt_parser.test.ts +19 -0
- package/src/features/list/__tests__/native_text_buffer.test.ts +13 -0
- package/src/features/list/__tests__/native_ttml_parser.test.ts +19 -0
- package/src/features/list/__tests__/native_vtt_parser.test.ts +19 -0
- package/src/features/list/__tests__/smooth.test.ts +21 -0
- package/src/features/list/dash.ts +37 -0
- package/src/features/list/dash_wasm.ts +41 -0
- package/src/features/list/debug_element.ts +13 -0
- package/src/features/list/directfile.ts +31 -0
- package/src/features/list/eme.ts +29 -0
- package/src/features/list/html_sami_parser.ts +31 -0
- package/src/features/list/html_srt_parser.ts +31 -0
- package/src/features/list/html_text_buffer.ts +29 -0
- package/src/features/list/html_ttml_parser.ts +31 -0
- package/src/features/list/html_vtt_parser.ts +31 -0
- package/src/features/list/index.ts +33 -0
- package/src/features/list/media_source_main.ts +13 -0
- package/src/features/list/native_sami_parser.ts +31 -0
- package/src/features/list/native_srt_parser.ts +31 -0
- package/src/features/list/native_text_buffer.ts +29 -0
- package/src/features/list/native_ttml_parser.ts +31 -0
- package/src/features/list/native_vtt_parser.ts +31 -0
- package/src/features/list/smooth.ts +35 -0
- package/src/features/types.ts +187 -0
- package/src/globals.dev.d.ts +17 -0
- package/src/globals.prod.d.ts +17 -0
- package/src/index.ts +67 -0
- package/src/log.ts +22 -0
- package/src/main_thread/README.md +42 -0
- package/src/main_thread/api/README.md +32 -0
- package/src/main_thread/api/__tests__/option_utils.test.ts +1094 -0
- package/src/main_thread/api/__tests__/public_api.test.ts +481 -0
- package/src/main_thread/api/__tests__/utils.test.ts +176 -0
- package/src/main_thread/api/debug/buffer_graph.ts +243 -0
- package/src/main_thread/api/debug/buffer_size_graph.ts +127 -0
- package/src/main_thread/api/debug/constants.ts +2 -0
- package/src/main_thread/api/debug/index.ts +3 -0
- package/src/main_thread/api/debug/modules/general_info.ts +214 -0
- package/src/main_thread/api/debug/modules/segment_buffer_content.ts +186 -0
- package/src/main_thread/api/debug/modules/segment_buffer_size.ts +43 -0
- package/src/main_thread/api/debug/render.ts +40 -0
- package/src/main_thread/api/debug/utils.ts +100 -0
- package/src/main_thread/api/index.ts +18 -0
- package/src/main_thread/api/option_utils.ts +462 -0
- package/src/main_thread/api/public_api.ts +3295 -0
- package/src/main_thread/api/utils.ts +255 -0
- package/src/main_thread/decrypt/README.md +28 -0
- package/src/main_thread/decrypt/__tests__/__global__/content_decryptor.test.ts +45 -0
- package/src/main_thread/decrypt/__tests__/__global__/find_key_system.test.ts +60 -0
- package/src/main_thread/decrypt/__tests__/__global__/get_license.test.ts +488 -0
- package/src/main_thread/decrypt/__tests__/__global__/init_data.test.ts +733 -0
- package/src/main_thread/decrypt/__tests__/__global__/media_key_system_access.test.ts +833 -0
- package/src/main_thread/decrypt/__tests__/__global__/media_keys.test.ts +362 -0
- package/src/main_thread/decrypt/__tests__/__global__/server_certificate.test.ts +260 -0
- package/src/main_thread/decrypt/__tests__/__global__/utils.ts +525 -0
- package/src/main_thread/decrypt/attach_media_keys.ts +117 -0
- package/src/main_thread/decrypt/clear_on_stop.ts +48 -0
- package/src/main_thread/decrypt/content_decryptor.ts +1274 -0
- package/src/main_thread/decrypt/create_or_load_session.ts +138 -0
- package/src/main_thread/decrypt/create_session.ts +213 -0
- package/src/main_thread/decrypt/dispose_decryption_resources.ts +39 -0
- package/src/main_thread/decrypt/find_key_system.ts +430 -0
- package/src/main_thread/decrypt/get_key_system_configuration.ts +36 -0
- package/src/main_thread/decrypt/get_media_keys.ts +144 -0
- package/src/main_thread/decrypt/index.ts +29 -0
- package/src/main_thread/decrypt/init_media_keys.ts +53 -0
- package/src/main_thread/decrypt/session_events_listener.ts +360 -0
- package/src/main_thread/decrypt/set_server_certificate.ts +107 -0
- package/src/main_thread/decrypt/types.ts +411 -0
- package/src/main_thread/decrypt/utils/__tests__/are_init_values_compatible.test.ts +162 -0
- package/src/main_thread/decrypt/utils/__tests__/clean_old_loaded_sessions.test.ts +152 -0
- package/src/main_thread/decrypt/utils/__tests__/clean_old_stored_persistent_info.test.ts +128 -0
- package/src/main_thread/decrypt/utils/are_init_values_compatible.ts +162 -0
- package/src/main_thread/decrypt/utils/check_key_statuses.ts +230 -0
- package/src/main_thread/decrypt/utils/clean_old_loaded_sessions.ts +45 -0
- package/src/main_thread/decrypt/utils/clean_old_stored_persistent_info.ts +50 -0
- package/src/main_thread/decrypt/utils/get_drm_system_id.ts +41 -0
- package/src/main_thread/decrypt/utils/init_data_values_container.ts +129 -0
- package/src/main_thread/decrypt/utils/is_session_usable.ts +67 -0
- package/src/main_thread/decrypt/utils/key_id_comparison.ts +57 -0
- package/src/main_thread/decrypt/utils/key_session_record.ts +172 -0
- package/src/main_thread/decrypt/utils/loaded_sessions_store.ts +511 -0
- package/src/main_thread/decrypt/utils/media_keys_infos_store.ts +84 -0
- package/src/main_thread/decrypt/utils/persistent_sessions_store.ts +373 -0
- package/src/main_thread/decrypt/utils/serializable_bytes.ts +56 -0
- package/src/main_thread/decrypt/utils/server_certificate_store.ts +146 -0
- package/src/main_thread/init/README.md +90 -0
- package/src/main_thread/init/directfile_content_initializer.ts +331 -0
- package/src/main_thread/init/index.ts +22 -0
- package/src/main_thread/init/media_source_content_initializer.ts +1147 -0
- package/src/main_thread/init/multi_thread_content_initializer.ts +2060 -0
- package/src/main_thread/init/send_message.ts +15 -0
- package/src/main_thread/init/types.ts +250 -0
- package/src/main_thread/init/utils/__tests__/are_same_stream_events.test.ts +55 -0
- package/src/main_thread/init/utils/__tests__/refresh_scheduled_events_list.test.ts +73 -0
- package/src/main_thread/init/utils/create_core_playback_observer.ts +196 -0
- package/src/main_thread/init/utils/create_media_source.ts +123 -0
- package/src/main_thread/init/utils/get_initial_time.ts +169 -0
- package/src/main_thread/init/utils/get_loaded_reference.ts +85 -0
- package/src/main_thread/init/utils/initial_seek_and_play.ts +287 -0
- package/src/main_thread/init/utils/initialize_content_decryption.ts +201 -0
- package/src/main_thread/init/utils/main_thread_text_displayer_interface.ts +59 -0
- package/src/main_thread/init/utils/rebuffering_controller.ts +637 -0
- package/src/main_thread/init/utils/stream_events_emitter/are_same_stream_events.ts +38 -0
- package/src/main_thread/init/utils/stream_events_emitter/index.ts +19 -0
- package/src/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.ts +93 -0
- package/src/main_thread/init/utils/stream_events_emitter/stream_events_emitter.ts +259 -0
- package/src/main_thread/init/utils/stream_events_emitter/types.ts +46 -0
- package/src/main_thread/init/utils/throw_on_media_error.ts +76 -0
- package/src/main_thread/text_displayer/html/__tests__/text_track_cues_store.test.ts +310 -0
- package/src/main_thread/text_displayer/html/__tests__/utils.test.ts +377 -0
- package/src/main_thread/text_displayer/html/html_parsers.ts +35 -0
- package/src/main_thread/text_displayer/html/html_text_displayer.ts +436 -0
- package/src/main_thread/text_displayer/html/index.ts +2 -0
- package/src/main_thread/text_displayer/html/text_track_cues_store.ts +380 -0
- package/src/main_thread/text_displayer/html/update_proportional_elements.ts +76 -0
- package/src/main_thread/text_displayer/html/utils.ts +166 -0
- package/src/main_thread/text_displayer/index.ts +3 -0
- package/src/main_thread/text_displayer/manual_time_ranges.ts +60 -0
- package/src/main_thread/text_displayer/native/index.ts +2 -0
- package/src/main_thread/text_displayer/native/native_parsers.ts +31 -0
- package/src/main_thread/text_displayer/native/native_text_displayer.ts +254 -0
- package/src/main_thread/text_displayer/types.ts +74 -0
- package/src/main_thread/tracks_store/README.md +21 -0
- package/src/main_thread/tracks_store/__tests__/media_element_tracks_store.test.ts +172 -0
- package/src/main_thread/tracks_store/index.ts +22 -0
- package/src/main_thread/tracks_store/media_element_tracks_store.ts +811 -0
- package/src/main_thread/tracks_store/track_dispatcher.ts +296 -0
- package/src/main_thread/tracks_store/tracks_store.ts +1493 -0
- package/src/main_thread/types.ts +15 -0
- package/src/manifest/README.md +11 -0
- package/src/manifest/classes/README.md +55 -0
- package/src/manifest/classes/__tests__/adaptation.test.ts +390 -0
- package/src/manifest/classes/__tests__/manifest.test.ts +523 -0
- package/src/manifest/classes/__tests__/period.test.ts +967 -0
- package/src/manifest/classes/__tests__/representation.test.ts +482 -0
- package/src/manifest/classes/__tests__/update_period_in_place.test.ts +1318 -0
- package/src/manifest/classes/__tests__/update_periods.test.ts +959 -0
- package/src/manifest/classes/adaptation.ts +286 -0
- package/src/manifest/classes/index.ts +53 -0
- package/src/manifest/classes/manifest.ts +707 -0
- package/src/manifest/classes/period.ts +267 -0
- package/src/manifest/classes/representation.ts +487 -0
- package/src/manifest/classes/representation_index/__tests__/static.test.ts +64 -0
- package/src/manifest/classes/representation_index/index.ts +26 -0
- package/src/manifest/classes/representation_index/static.ts +169 -0
- package/src/manifest/classes/representation_index/types.ts +458 -0
- package/src/manifest/classes/types.ts +30 -0
- package/src/manifest/classes/update_period_in_place.ts +163 -0
- package/src/manifest/classes/update_periods.ts +279 -0
- package/src/manifest/classes/utils.ts +71 -0
- package/src/manifest/index.ts +45 -0
- package/src/manifest/types.ts +407 -0
- package/src/manifest/utils.ts +672 -0
- package/src/minimal.ts +47 -0
- package/src/mse/README.md +30 -0
- package/src/mse/index.ts +7 -0
- package/src/mse/main_codec_support_prober.ts +52 -0
- package/src/mse/main_media_source_interface.ts +595 -0
- package/src/mse/types.ts +314 -0
- package/src/mse/utils/end_of_stream.ts +126 -0
- package/src/mse/utils/media_source_duration_updater.ts +366 -0
- package/src/mse/worker_codec_support_prober.ts +75 -0
- package/src/mse/worker_media_source_interface.ts +471 -0
- package/src/multithread_types.ts +999 -0
- package/src/parsers/README.md +20 -0
- package/src/parsers/containers/isobmff/__tests__/find_complete_box.test.ts +42 -0
- package/src/parsers/containers/isobmff/constants.ts +24 -0
- package/src/parsers/containers/isobmff/create_box.ts +72 -0
- package/src/parsers/containers/isobmff/drm/index.ts +17 -0
- package/src/parsers/containers/isobmff/drm/playready.ts +38 -0
- package/src/parsers/containers/isobmff/extract_complete_chunks.ts +74 -0
- package/src/parsers/containers/isobmff/find_complete_box.ts +58 -0
- package/src/parsers/containers/isobmff/get_box.ts +276 -0
- package/src/parsers/containers/isobmff/index.ts +40 -0
- package/src/parsers/containers/isobmff/read.ts +96 -0
- package/src/parsers/containers/isobmff/take_pssh_out.ts +97 -0
- package/src/parsers/containers/isobmff/utils.ts +576 -0
- package/src/parsers/containers/matroska/index.ts +18 -0
- package/src/parsers/containers/matroska/utils.ts +325 -0
- package/src/parsers/images/bif.ts +145 -0
- package/src/parsers/manifest/dash/common/__tests__/attach_trickmode_track.test.ts +48 -0
- package/src/parsers/manifest/dash/common/__tests__/convert_supplemental_codecs.test.ts +34 -0
- package/src/parsers/manifest/dash/common/__tests__/flatten_overlapping_period.test.ts +143 -0
- package/src/parsers/manifest/dash/common/__tests__/get_clock_offset.test.ts +52 -0
- package/src/parsers/manifest/dash/common/__tests__/get_http_utc-timing_url.test.ts +150 -0
- package/src/parsers/manifest/dash/common/__tests__/get_periods_time_infos.test.ts +91 -0
- package/src/parsers/manifest/dash/common/__tests__/manifest_bounds_calculator.test.ts +265 -0
- package/src/parsers/manifest/dash/common/__tests__/parse_availability_start_time.test.ts +65 -0
- package/src/parsers/manifest/dash/common/attach_trickmode_track.ts +54 -0
- package/src/parsers/manifest/dash/common/content_protection_parser.ts +255 -0
- package/src/parsers/manifest/dash/common/convert_supplemental_codecs.ts +25 -0
- package/src/parsers/manifest/dash/common/flatten_overlapping_periods.ts +89 -0
- package/src/parsers/manifest/dash/common/get_clock_offset.ts +40 -0
- package/src/parsers/manifest/dash/common/get_hdr_information.ts +86 -0
- package/src/parsers/manifest/dash/common/get_http_utc-timing_url.ts +44 -0
- package/src/parsers/manifest/dash/common/get_minimum_and_maximum_positions.ts +41 -0
- package/src/parsers/manifest/dash/common/get_periods_time_infos.ts +93 -0
- package/src/parsers/manifest/dash/common/index.ts +37 -0
- package/src/parsers/manifest/dash/common/indexes/__tests__/tokens.test.ts +48 -0
- package/src/parsers/manifest/dash/common/indexes/base.ts +451 -0
- package/src/parsers/manifest/dash/common/indexes/get_init_segment.ts +58 -0
- package/src/parsers/manifest/dash/common/indexes/get_segments_from_timeline.ts +149 -0
- package/src/parsers/manifest/dash/common/indexes/index.ts +37 -0
- package/src/parsers/manifest/dash/common/indexes/list.ts +361 -0
- package/src/parsers/manifest/dash/common/indexes/template.ts +675 -0
- package/src/parsers/manifest/dash/common/indexes/timeline/__tests__/parse_s_element.test.ts +180 -0
- package/src/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.ts +57 -0
- package/src/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.ts +115 -0
- package/src/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.ts +73 -0
- package/src/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.ts +171 -0
- package/src/parsers/manifest/dash/common/indexes/timeline/index.ts +20 -0
- package/src/parsers/manifest/dash/common/indexes/timeline/parse_s_element.ts +118 -0
- package/src/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.ts +1095 -0
- package/src/parsers/manifest/dash/common/indexes/tokens.ts +127 -0
- package/src/parsers/manifest/dash/common/indexes/utils.ts +30 -0
- package/src/parsers/manifest/dash/common/infer_adaptation_type.ts +140 -0
- package/src/parsers/manifest/dash/common/manifest_bounds_calculator.ts +174 -0
- package/src/parsers/manifest/dash/common/parse_adaptation_sets.ts +573 -0
- package/src/parsers/manifest/dash/common/parse_availability_start_time.ts +37 -0
- package/src/parsers/manifest/dash/common/parse_mpd.ts +428 -0
- package/src/parsers/manifest/dash/common/parse_periods.ts +388 -0
- package/src/parsers/manifest/dash/common/parse_representation_index.ts +215 -0
- package/src/parsers/manifest/dash/common/parse_representations.ts +305 -0
- package/src/parsers/manifest/dash/common/resolve_base_urls.ts +58 -0
- package/src/parsers/manifest/dash/fast-js-parser/__tests__/parse_from_xml_string.test.ts +25 -0
- package/src/parsers/manifest/dash/fast-js-parser/index.ts +18 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/AdaptationSet.ts +427 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/BaseURL.ts +36 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/ContentComponent.ts +50 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.ts +101 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/EventStream.ts +123 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/Initialization.ts +52 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.ts +228 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/Period.ts +191 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.ts +262 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentBase.ts +134 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentList.ts +52 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTemplate.ts +104 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTimeline.ts +37 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentURL.ts +66 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/__tests__/AdaptationSet.test.ts +519 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/__tests__/ContentComponent.test.ts +48 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/__tests__/ContentProtection.test.ts +180 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/__tests__/Initialization.test.ts +105 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/__tests__/SegmentURL.test.ts +145 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/__tests__/utils.test.ts +188 -0
- package/src/parsers/manifest/dash/fast-js-parser/node_parsers/utils.ts +399 -0
- package/src/parsers/manifest/dash/fast-js-parser/parse_from_xml_string.ts +135 -0
- package/src/parsers/manifest/dash/index.ts +22 -0
- package/src/parsers/manifest/dash/native-parser/__tests__/parse_from_document.test.ts +28 -0
- package/src/parsers/manifest/dash/native-parser/index.ts +18 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/AdaptationSet.ts +425 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/BaseURL.ts +34 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/ContentComponent.ts +49 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/ContentProtection.ts +99 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/EventStream.ts +118 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/Initialization.ts +47 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/MPD.ts +198 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/Period.ts +163 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/Representation.ts +257 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/SegmentBase.ts +129 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/SegmentList.ts +50 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/SegmentTemplate.ts +102 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/SegmentTimeline.ts +33 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/SegmentURL.ts +61 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/__tests__/AdaptationSet.test.ts +617 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/__tests__/ContentComponent.test.ts +52 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/__tests__/ContentProtection.test.ts +246 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/__tests__/Initialization.test.ts +116 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/__tests__/SegmentTimeline.test.ts +104 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/__tests__/SegmentURL.test.ts +165 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/__tests__/utils.test.ts +201 -0
- package/src/parsers/manifest/dash/native-parser/node_parsers/utils.ts +385 -0
- package/src/parsers/manifest/dash/native-parser/parse_from_document.ts +125 -0
- package/src/parsers/manifest/dash/node_parser_types.ts +440 -0
- package/src/parsers/manifest/dash/parsers_types.ts +90 -0
- package/src/parsers/manifest/dash/wasm-parser/Cargo.lock +25 -0
- package/src/parsers/manifest/dash/wasm-parser/Cargo.toml +16 -0
- package/src/parsers/manifest/dash/wasm-parser/README.md +243 -0
- package/src/parsers/manifest/dash/wasm-parser/index.ts +20 -0
- package/src/parsers/manifest/dash/wasm-parser/rs/errors.rs +28 -0
- package/src/parsers/manifest/dash/wasm-parser/rs/events.rs +382 -0
- package/src/parsers/manifest/dash/wasm-parser/rs/lib.rs +85 -0
- package/src/parsers/manifest/dash/wasm-parser/rs/processor/attributes.rs +416 -0
- package/src/parsers/manifest/dash/wasm-parser/rs/processor/mod.rs +472 -0
- package/src/parsers/manifest/dash/wasm-parser/rs/processor/s_element.rs +72 -0
- package/src/parsers/manifest/dash/wasm-parser/rs/reader.rs +17 -0
- package/src/parsers/manifest/dash/wasm-parser/rs/reportable.rs +147 -0
- package/src/parsers/manifest/dash/wasm-parser/rs/utils.rs +266 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.ts +495 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.ts +376 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.ts +38 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.ts +52 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.ts +64 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.ts +137 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/MPD.ts +191 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/Period.ts +208 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/Representation.ts +252 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.ts +44 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.ts +111 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.ts +56 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.ts +132 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.ts +63 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/XLink.ts +64 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/index.ts +17 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/root.ts +69 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/parsers_stack.ts +82 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/types.ts +299 -0
- package/src/parsers/manifest/dash/wasm-parser/ts/utils.ts +48 -0
- package/src/parsers/manifest/index.ts +17 -0
- package/src/parsers/manifest/local/index.ts +25 -0
- package/src/parsers/manifest/local/parse_local_manifest.ts +180 -0
- package/src/parsers/manifest/local/representation_index.ts +254 -0
- package/src/parsers/manifest/local/types.ts +293 -0
- package/src/parsers/manifest/metaplaylist/index.ts +25 -0
- package/src/parsers/manifest/metaplaylist/metaplaylist_parser.ts +366 -0
- package/src/parsers/manifest/metaplaylist/representation_index.ts +274 -0
- package/src/parsers/manifest/smooth/create_parser.ts +723 -0
- package/src/parsers/manifest/smooth/get_codecs.ts +52 -0
- package/src/parsers/manifest/smooth/index.ts +23 -0
- package/src/parsers/manifest/smooth/parse_C_nodes.ts +68 -0
- package/src/parsers/manifest/smooth/parse_protection_node.ts +83 -0
- package/src/parsers/manifest/smooth/representation_index.ts +547 -0
- package/src/parsers/manifest/smooth/shared_smooth_segment_timeline.ts +246 -0
- package/src/parsers/manifest/smooth/utils/add_segment_infos.ts +78 -0
- package/src/parsers/manifest/smooth/utils/parseBoolean.ts +29 -0
- package/src/parsers/manifest/smooth/utils/reduceChildren.ts +36 -0
- package/src/parsers/manifest/smooth/utils/tokens.ts +44 -0
- package/src/parsers/manifest/types.ts +403 -0
- package/src/parsers/manifest/utils/__tests__/get_first_time_from_adaptations.test.ts +224 -0
- package/src/parsers/manifest/utils/__tests__/get_last_time_from_adaptation.test.ts +224 -0
- package/src/parsers/manifest/utils/__tests__/index_helpers.test.ts +25 -0
- package/src/parsers/manifest/utils/__tests__/update_segment_timeline.test.ts +613 -0
- package/src/parsers/manifest/utils/check_manifest_ids.ts +79 -0
- package/src/parsers/manifest/utils/clear_timeline_from_position.ts +77 -0
- package/src/parsers/manifest/utils/get_first_time_from_adaptation.ts +49 -0
- package/src/parsers/manifest/utils/get_last_time_from_adaptation.ts +51 -0
- package/src/parsers/manifest/utils/get_maximum_positions.ts +88 -0
- package/src/parsers/manifest/utils/get_minimum_position.ts +81 -0
- package/src/parsers/manifest/utils/index_helpers.ts +203 -0
- package/src/parsers/manifest/utils/update_segment_timeline.ts +145 -0
- package/src/parsers/texttracks/index.ts +21 -0
- package/src/parsers/texttracks/sami/html.ts +220 -0
- package/src/parsers/texttracks/sami/native.ts +190 -0
- package/src/parsers/texttracks/srt/__tests__/find_end_of_cue_block.test.ts +84 -0
- package/src/parsers/texttracks/srt/__tests__/get_cue_blocks.test.ts +88 -0
- package/src/parsers/texttracks/srt/__tests__/parse_cue.test.ts +87 -0
- package/src/parsers/texttracks/srt/__tests__/parse_timestamp.test.ts +21 -0
- package/src/parsers/texttracks/srt/find_end_of_cue_block.ts +46 -0
- package/src/parsers/texttracks/srt/get_cue_blocks.ts +50 -0
- package/src/parsers/texttracks/srt/html.ts +183 -0
- package/src/parsers/texttracks/srt/native.ts +72 -0
- package/src/parsers/texttracks/srt/parse_cue.ts +72 -0
- package/src/parsers/texttracks/srt/parse_timestamp.ts +35 -0
- package/src/parsers/texttracks/ttml/__tests__/resolve_styles_inheritance.test.ts +257 -0
- package/src/parsers/texttracks/ttml/get_parameters.ts +101 -0
- package/src/parsers/texttracks/ttml/get_styling.ts +145 -0
- package/src/parsers/texttracks/ttml/get_time_delimiters.ts +50 -0
- package/src/parsers/texttracks/ttml/html/__tests__/__global__/html_ttml_parser.test.ts +187 -0
- package/src/parsers/texttracks/ttml/html/__tests__/generate_css_test_outline.test.ts +19 -0
- package/src/parsers/texttracks/ttml/html/__tests__/ttml_color_to_css_color.test.ts +38 -0
- package/src/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.ts +69 -0
- package/src/parsers/texttracks/ttml/html/apply_extent.ts +56 -0
- package/src/parsers/texttracks/ttml/html/apply_font_size.ts +59 -0
- package/src/parsers/texttracks/ttml/html/apply_line_height.ts +48 -0
- package/src/parsers/texttracks/ttml/html/apply_origin.ts +55 -0
- package/src/parsers/texttracks/ttml/html/apply_padding.ts +134 -0
- package/src/parsers/texttracks/ttml/html/create_element.ts +552 -0
- package/src/parsers/texttracks/ttml/html/generate_css_test_outline.ts +48 -0
- package/src/parsers/texttracks/ttml/html/index.ts +23 -0
- package/src/parsers/texttracks/ttml/html/parse_cue.ts +62 -0
- package/src/parsers/texttracks/ttml/html/parse_ttml_to_div.ts +56 -0
- package/src/parsers/texttracks/ttml/html/ttml_color_to_css_color.ts +92 -0
- package/src/parsers/texttracks/ttml/native/index.ts +23 -0
- package/src/parsers/texttracks/ttml/native/parse_cue.ts +231 -0
- package/src/parsers/texttracks/ttml/native/parse_ttml_to_vtt.ts +39 -0
- package/src/parsers/texttracks/ttml/parse_ttml.ts +216 -0
- package/src/parsers/texttracks/ttml/regexps.ts +61 -0
- package/src/parsers/texttracks/ttml/resolve_styles_inheritance.ts +81 -0
- package/src/parsers/texttracks/ttml/time_parsing.ts +145 -0
- package/src/parsers/texttracks/ttml/xml_utils.ts +169 -0
- package/src/parsers/texttracks/types.ts +38 -0
- package/src/parsers/texttracks/webvtt/__tests__/get_cue_blocks.test.ts +165 -0
- package/src/parsers/texttracks/webvtt/__tests__/get_style_blocks.test.ts +45 -0
- package/src/parsers/texttracks/webvtt/__tests__/parse_cue_block.test.ts +187 -0
- package/src/parsers/texttracks/webvtt/__tests__/parse_timestamp.test.ts +24 -0
- package/src/parsers/texttracks/webvtt/__tests__/utils.test.ts +374 -0
- package/src/parsers/texttracks/webvtt/get_cue_blocks.ts +48 -0
- package/src/parsers/texttracks/webvtt/get_style_blocks.ts +57 -0
- package/src/parsers/texttracks/webvtt/html/__tests__/convert_payload_to_html.test.ts +94 -0
- package/src/parsers/texttracks/webvtt/html/__tests__/create_default_style_elements.test.ts +27 -0
- package/src/parsers/texttracks/webvtt/html/__tests__/create_style_attribute.test.ts +140 -0
- package/src/parsers/texttracks/webvtt/html/__tests__/create_styled_element.test.ts +104 -0
- package/src/parsers/texttracks/webvtt/html/__tests__/parse_style_block.test.ts +279 -0
- package/src/parsers/texttracks/webvtt/html/__tests__/parse_webvtt_to_div.test.ts +156 -0
- package/src/parsers/texttracks/webvtt/html/__tests__/to_html.test.ts +206 -0
- package/src/parsers/texttracks/webvtt/html/convert_payload_to_html.ts +43 -0
- package/src/parsers/texttracks/webvtt/html/create_default_style_elements.ts +26 -0
- package/src/parsers/texttracks/webvtt/html/create_style_attribute.ts +219 -0
- package/src/parsers/texttracks/webvtt/html/create_styled_element.ts +88 -0
- package/src/parsers/texttracks/webvtt/html/index.ts +25 -0
- package/src/parsers/texttracks/webvtt/html/parse_style_block.ts +80 -0
- package/src/parsers/texttracks/webvtt/html/parse_webvtt_to_div.ts +63 -0
- package/src/parsers/texttracks/webvtt/html/to_html.ts +91 -0
- package/src/parsers/texttracks/webvtt/native/index.ts +23 -0
- package/src/parsers/texttracks/webvtt/native/parse_vtt_to_cues.ts +68 -0
- package/src/parsers/texttracks/webvtt/native/set_settings_on_cue.ts +96 -0
- package/src/parsers/texttracks/webvtt/native/to_native_cue.ts +32 -0
- package/src/parsers/texttracks/webvtt/parse_cue_block.ts +128 -0
- package/src/parsers/texttracks/webvtt/parse_timestamp.ts +37 -0
- package/src/parsers/texttracks/webvtt/utils.ts +139 -0
- package/src/playback_observer/index.ts +12 -0
- package/src/playback_observer/media_element_playback_observer.ts +947 -0
- package/src/playback_observer/types.ts +238 -0
- package/src/playback_observer/utils/generate_read_only_observer.ts +64 -0
- package/src/playback_observer/utils/observation_position.ts +116 -0
- package/src/playback_observer/worker_playback_observer.ts +140 -0
- package/src/public_types.ts +1077 -0
- package/src/tools/README.md +7 -0
- package/src/tools/TextTrackRenderer/index.ts +27 -0
- package/src/tools/TextTrackRenderer/text_track_renderer.ts +105 -0
- package/src/tools/index.ts +21 -0
- package/src/tools/parseBIFThumbnails/index.ts +42 -0
- package/src/tools/string_utils/index.ts +24 -0
- package/src/transports/README.md +251 -0
- package/src/transports/dash/add_segment_integrity_checks_to_loader.ts +97 -0
- package/src/transports/dash/construct_segment_url.ts +32 -0
- package/src/transports/dash/get_events_out_of_emsgs.ts +113 -0
- package/src/transports/dash/index.ts +23 -0
- package/src/transports/dash/init_segment_loader.ts +125 -0
- package/src/transports/dash/low_latency_segment_loader.ts +93 -0
- package/src/transports/dash/manifest_parser.ts +376 -0
- package/src/transports/dash/pipelines.ts +69 -0
- package/src/transports/dash/segment_loader.ts +273 -0
- package/src/transports/dash/segment_parser.ts +204 -0
- package/src/transports/dash/text_loader.ts +123 -0
- package/src/transports/dash/text_parser.ts +250 -0
- package/src/transports/index.ts +17 -0
- package/src/transports/local/index.ts +18 -0
- package/src/transports/local/pipelines.ts +96 -0
- package/src/transports/local/segment_loader.ts +213 -0
- package/src/transports/local/segment_parser.ts +106 -0
- package/src/transports/local/text_parser.ts +197 -0
- package/src/transports/metaplaylist/README.md +89 -0
- package/src/transports/metaplaylist/index.ts +23 -0
- package/src/transports/metaplaylist/manifest_loader.ts +63 -0
- package/src/transports/metaplaylist/pipelines.ts +400 -0
- package/src/transports/smooth/extract_timings_infos.ts +134 -0
- package/src/transports/smooth/index.ts +23 -0
- package/src/transports/smooth/is_mp4_embedded_track.ts +25 -0
- package/src/transports/smooth/isobmff/__tests__/create_boxes.test.ts +323 -0
- package/src/transports/smooth/isobmff/create_audio_init_segment.ts +88 -0
- package/src/transports/smooth/isobmff/create_boxes.ts +526 -0
- package/src/transports/smooth/isobmff/create_init_segment.ts +92 -0
- package/src/transports/smooth/isobmff/create_traf_box.ts +36 -0
- package/src/transports/smooth/isobmff/create_video_init_segment.ts +78 -0
- package/src/transports/smooth/isobmff/get_aaces_header.ts +50 -0
- package/src/transports/smooth/isobmff/index.ts +31 -0
- package/src/transports/smooth/isobmff/parse_tfrf.ts +54 -0
- package/src/transports/smooth/isobmff/parse_tfxd.ts +38 -0
- package/src/transports/smooth/isobmff/patch_segment.ts +174 -0
- package/src/transports/smooth/pipelines.ts +416 -0
- package/src/transports/smooth/segment_loader.ts +326 -0
- package/src/transports/smooth/utils.ts +47 -0
- package/src/transports/types.ts +802 -0
- package/src/transports/utils/__tests__/byte_range.test.ts +36 -0
- package/src/transports/utils/__tests__/check_isobmff_integrity.test.ts +143 -0
- package/src/transports/utils/__tests__/infer_segment_container.test.ts +66 -0
- package/src/transports/utils/byte_range.ts +24 -0
- package/src/transports/utils/call_custom_manifest_loader.ts +145 -0
- package/src/transports/utils/check_isobmff_integrity.ts +50 -0
- package/src/transports/utils/generate_manifest_loader.ts +97 -0
- package/src/transports/utils/get_isobmff_timing_infos.ts +90 -0
- package/src/transports/utils/infer_segment_container.ts +47 -0
- package/src/transports/utils/parse_text_track.ts +160 -0
- package/src/utils/README.md +12 -0
- package/src/utils/__tests__/are_arrays_of_numbers_equal.test.ts +69 -0
- package/src/utils/__tests__/are_codecs_compatible.test.ts +59 -0
- package/src/utils/__tests__/array_find.test.ts +112 -0
- package/src/utils/__tests__/array_find_index.test.ts +111 -0
- package/src/utils/__tests__/array_includes.test.ts +115 -0
- package/src/utils/__tests__/assert.test.ts +244 -0
- package/src/utils/__tests__/base64.test.ts +204 -0
- package/src/utils/__tests__/byte_parsing.test.ts +205 -0
- package/src/utils/__tests__/deep_merge.test.ts +48 -0
- package/src/utils/__tests__/event_emitter.test.ts +537 -0
- package/src/utils/__tests__/flat_map.test.ts +60 -0
- package/src/utils/__tests__/get_fuzzed_delay.test.ts +17 -0
- package/src/utils/__tests__/hash_buffer.test.ts +28 -0
- package/src/utils/__tests__/id_generator.test.ts +68 -0
- package/src/utils/__tests__/is_non_empty_string.test.ts +28 -0
- package/src/utils/__tests__/is_null_or_undefined.test.ts +18 -0
- package/src/utils/__tests__/logger.test.ts +197 -0
- package/src/utils/__tests__/noop.test.ts +8 -0
- package/src/utils/__tests__/object_assign.test.ts +59 -0
- package/src/utils/__tests__/object_values.test.ts +11 -0
- package/src/utils/__tests__/ranges.test.ts +1150 -0
- package/src/utils/__tests__/resolve_url.test.ts +157 -0
- package/src/utils/__tests__/retry_promise_with_backoff.test.ts +40 -0
- package/src/utils/__tests__/sorted_list.test.ts +302 -0
- package/src/utils/__tests__/starts_with.test.ts +50 -0
- package/src/utils/__tests__/string_parsing.test.ts +273 -0
- package/src/utils/__tests__/warn_once.test.ts +23 -0
- package/src/utils/__tests__/weak_map_memory.test.ts +169 -0
- package/src/utils/__tests__/xml-parser.test.ts +441 -0
- package/src/utils/are_arrays_of_numbers_equal.ts +39 -0
- package/src/utils/are_codecs_compatible.ts +51 -0
- package/src/utils/array_find.ts +52 -0
- package/src/utils/array_find_index.ts +54 -0
- package/src/utils/array_includes.ts +89 -0
- package/src/utils/assert.ts +112 -0
- package/src/utils/base64.ts +211 -0
- package/src/utils/byte_parsing.ts +274 -0
- package/src/utils/cancellable_sleep.ts +41 -0
- package/src/utils/create_cancellable_promise.ts +63 -0
- package/src/utils/deep_merge.ts +52 -0
- package/src/utils/event_emitter.ts +155 -0
- package/src/utils/flat_map.ts +47 -0
- package/src/utils/get_fuzzed_delay.ts +27 -0
- package/src/utils/global_scope.ts +22 -0
- package/src/utils/hash_buffer.ts +42 -0
- package/src/utils/id_generator.ts +35 -0
- package/src/utils/is_node.ts +21 -0
- package/src/utils/is_non_empty_string.ts +23 -0
- package/src/utils/is_null_or_undefined.ts +27 -0
- package/src/utils/is_worker.ts +8 -0
- package/src/utils/languages/ISO_639-1_to_ISO_639-3.ts +207 -0
- package/src/utils/languages/ISO_639-2_to_ISO_639-3.ts +43 -0
- package/src/utils/languages/__tests__/normalize.test.ts +326 -0
- package/src/utils/languages/index.ts +24 -0
- package/src/utils/languages/normalize.ts +155 -0
- package/src/utils/logger.ts +116 -0
- package/src/utils/monotonic_timestamp.ts +43 -0
- package/src/utils/noop.ts +26 -0
- package/src/utils/object_assign.ts +90 -0
- package/src/utils/object_values.ts +29 -0
- package/src/utils/queue_microtask.ts +5 -0
- package/src/utils/ranges.ts +571 -0
- package/src/utils/reference.ts +395 -0
- package/src/utils/request/__tests__/request_error.test.ts +30 -0
- package/src/utils/request/fetch.ts +292 -0
- package/src/utils/request/index.ts +34 -0
- package/src/utils/request/request_error.ts +91 -0
- package/src/utils/request/xhr.ts +325 -0
- package/src/utils/resolve_url.ts +280 -0
- package/src/utils/retry_promise_with_backoff.ts +100 -0
- package/src/utils/sleep.ts +14 -0
- package/src/utils/slice_uint8array.ts +45 -0
- package/src/utils/sorted_list.ts +240 -0
- package/src/utils/starts_with.ts +43 -0
- package/src/utils/string_parsing.ts +432 -0
- package/src/utils/sync_or_async.ts +94 -0
- package/src/utils/task_canceller.ts +367 -0
- package/src/utils/warn_once.ts +34 -0
- package/src/utils/weak_map_memory.ts +89 -0
- package/src/utils/wrapInPromise.ts +22 -0
- package/src/utils/xml-parser.ts +396 -0
- package/src/worker_entry_point.ts +7 -0
- package/vitest.config.mjs +97 -0
- package/vitest.config.unit.mjs +24 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker_es5.d.ts +0 -3
- package/dist/commonjs/__GENERATED_CODE/embedded_worker_es5.js +0 -6
- package/dist/commonjs/main_thread/decrypt/__tests__/__global__/utils.d.ts +0 -184
- package/dist/commonjs/main_thread/decrypt/__tests__/__global__/utils.js +0 -439
- package/dist/es2017/__GENERATED_CODE/embedded_worker_es5.d.ts +0 -3
- package/dist/es2017/__GENERATED_CODE/embedded_worker_es5.js +0 -3
- package/dist/es2017/main_thread/decrypt/__tests__/__global__/utils.d.ts +0 -184
- package/dist/es2017/main_thread/decrypt/__tests__/__global__/utils.js +0 -378
- package/dist/rx-player.min.js +0 -2
- package/dist/rx-player.min.js.LICENSE.txt +0 -1
- package/dist/worker.es5.js +0 -2
- package/dist/worker.es5.js.LICENSE.txt +0 -1
|
@@ -0,0 +1,1095 @@
|
|
|
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
|
+
import config from "../../../../../../config";
|
|
18
|
+
import { NetworkError } from "../../../../../../errors";
|
|
19
|
+
import log from "../../../../../../log";
|
|
20
|
+
import type {
|
|
21
|
+
IRepresentationIndex,
|
|
22
|
+
ISegment,
|
|
23
|
+
IRepresentation,
|
|
24
|
+
} from "../../../../../../manifest";
|
|
25
|
+
import type { IPlayerError } from "../../../../../../public_types";
|
|
26
|
+
import assert from "../../../../../../utils/assert";
|
|
27
|
+
import isNullOrUndefined from "../../../../../../utils/is_null_or_undefined";
|
|
28
|
+
import getMonotonicTimeStamp from "../../../../../../utils/monotonic_timestamp";
|
|
29
|
+
import type { ITNode } from "../../../../../../utils/xml-parser";
|
|
30
|
+
import type { IEMSG } from "../../../../../containers/isobmff";
|
|
31
|
+
import clearTimelineFromPosition from "../../../../utils/clear_timeline_from_position";
|
|
32
|
+
import type { IIndexSegment } from "../../../../utils/index_helpers";
|
|
33
|
+
import {
|
|
34
|
+
checkDiscontinuity,
|
|
35
|
+
fromIndexTime,
|
|
36
|
+
getIndexSegmentEnd,
|
|
37
|
+
toIndexTime,
|
|
38
|
+
} from "../../../../utils/index_helpers";
|
|
39
|
+
import updateSegmentTimeline from "../../../../utils/update_segment_timeline";
|
|
40
|
+
import type { ISegmentTimelineElement } from "../../../node_parser_types";
|
|
41
|
+
import type ManifestBoundsCalculator from "../../manifest_bounds_calculator";
|
|
42
|
+
import getInitSegment from "../get_init_segment";
|
|
43
|
+
import getSegmentsFromTimeline from "../get_segments_from_timeline";
|
|
44
|
+
import { constructRepresentationUrl } from "../tokens";
|
|
45
|
+
import { getSegmentTimeRoundingError } from "../utils";
|
|
46
|
+
import constructTimelineFromElements from "./construct_timeline_from_elements";
|
|
47
|
+
import constructTimelineFromPreviousTimeline from "./construct_timeline_from_previous_timeline";
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Index property defined for a SegmentTimeline RepresentationIndex
|
|
51
|
+
* This object contains every property needed to generate an ISegment for a
|
|
52
|
+
* given media time.
|
|
53
|
+
*/
|
|
54
|
+
export interface ITimelineIndex {
|
|
55
|
+
/** If `false`, the last segment anounced might be still incomplete. */
|
|
56
|
+
availabilityTimeComplete: boolean;
|
|
57
|
+
/** Minimum availabilityTimeOffset concerning the segments of this Representation. */
|
|
58
|
+
availabilityTimeOffset: number;
|
|
59
|
+
/** Byte range for a possible index of segments in the server. */
|
|
60
|
+
indexRange?: [number, number] | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Temporal offset, in the current timescale (see timescale), to add to the
|
|
63
|
+
* presentation time (time a segment has at decoding time) to obtain the
|
|
64
|
+
* corresponding media time (original time of the media segment in the index
|
|
65
|
+
* and on the media file).
|
|
66
|
+
* For example, to look for a segment beginning at a second `T` on a
|
|
67
|
+
* HTMLMediaElement, we actually will look for a segment in the index
|
|
68
|
+
* beginning at:
|
|
69
|
+
* ```
|
|
70
|
+
* T * timescale + indexTimeOffset
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
indexTimeOffset: number;
|
|
74
|
+
/** Information on the initialization segment. */
|
|
75
|
+
initialization?:
|
|
76
|
+
| {
|
|
77
|
+
/**
|
|
78
|
+
* URL path, to add to the wanted CDN, to access the initialization segment.
|
|
79
|
+
* `null` if no URL exists.
|
|
80
|
+
*/
|
|
81
|
+
url: string | null;
|
|
82
|
+
/** possible byte range to request it. */
|
|
83
|
+
range?: [number, number] | undefined;
|
|
84
|
+
}
|
|
85
|
+
| undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Template for the URL suffix (to concatenate to the wanted CDN), to access any
|
|
88
|
+
* media segment.
|
|
89
|
+
* Can contain tokens to replace to convert it to real URLs.
|
|
90
|
+
*
|
|
91
|
+
* `null` if no URL exists.
|
|
92
|
+
*/
|
|
93
|
+
segmentUrlTemplate: string | null;
|
|
94
|
+
/** Number from which the first segments in this index starts with. */
|
|
95
|
+
startNumber?: number | undefined;
|
|
96
|
+
/** Number associated to the last segment in this index. */
|
|
97
|
+
endNumber?: number | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* Every segments defined in this index.
|
|
100
|
+
* `null` at the beginning as this property is parsed lazily (only when first
|
|
101
|
+
* needed) for performances reasons.
|
|
102
|
+
*
|
|
103
|
+
* /!\ Please note that this structure should follow the exact same structure
|
|
104
|
+
* than a SegmentTimeline element in the corresponding MPD.
|
|
105
|
+
* This means:
|
|
106
|
+
* - It should have the same amount of elements in its array than there was
|
|
107
|
+
* `<S>` elements in the SegmentTimeline.
|
|
108
|
+
* - Each of those same elements should have the same start time, the same
|
|
109
|
+
* duration and the same repeat counter than what could be deduced from
|
|
110
|
+
* the SegmentTimeline.
|
|
111
|
+
* This is needed to be able to run parsing optimization when refreshing the
|
|
112
|
+
* MPD. Not doing so could lead to the RxPlayer not being able to play the
|
|
113
|
+
* stream anymore.
|
|
114
|
+
*/
|
|
115
|
+
timeline: IIndexSegment[] | null;
|
|
116
|
+
/**
|
|
117
|
+
* Timescale to convert a time given here into seconds.
|
|
118
|
+
* This is done by this simple operation:
|
|
119
|
+
* ``timeInSeconds = timeInIndex * timescale``
|
|
120
|
+
*/
|
|
121
|
+
timescale: number;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* `index` Argument for a SegmentTimeline RepresentationIndex.
|
|
126
|
+
* Most of the properties here are already defined in ITimelineIndex.
|
|
127
|
+
*/
|
|
128
|
+
export interface ITimelineIndexIndexArgument {
|
|
129
|
+
indexRange?: [number, number] | undefined;
|
|
130
|
+
initialization?:
|
|
131
|
+
| { media?: string | undefined; range?: [number, number] | undefined }
|
|
132
|
+
| undefined;
|
|
133
|
+
media?: string | undefined;
|
|
134
|
+
startNumber?: number | undefined;
|
|
135
|
+
endNumber?: number | undefined;
|
|
136
|
+
timescale?: number | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* Offset present in the index to convert from the mediaTime (time declared in
|
|
139
|
+
* the media segments and in this index) to the presentationTime (time wanted
|
|
140
|
+
* when decoding the segment). Basically by doing something along the line
|
|
141
|
+
* of:
|
|
142
|
+
* ```
|
|
143
|
+
* presentationTimeInSeconds =
|
|
144
|
+
* mediaTimeInSeconds -
|
|
145
|
+
* presentationTimeOffsetInSeconds +
|
|
146
|
+
* periodStartInSeconds
|
|
147
|
+
* ```
|
|
148
|
+
* The time given here is in the current
|
|
149
|
+
* timescale (see timescale)
|
|
150
|
+
*/
|
|
151
|
+
presentationTimeOffset?: number | undefined;
|
|
152
|
+
|
|
153
|
+
timelineParser?: (() => ITNode[] | HTMLCollection) | undefined;
|
|
154
|
+
timeline?: ISegmentTimelineElement[] | undefined;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/** Aditional context needed by a SegmentTimeline RepresentationIndex. */
|
|
158
|
+
export interface ITimelineIndexContextArgument {
|
|
159
|
+
/**
|
|
160
|
+
* If `false`, declared segments in the MPD might still be not completely generated.
|
|
161
|
+
* If `true`, they are completely generated.
|
|
162
|
+
*
|
|
163
|
+
* If `undefined`, the corresponding property was not set in the MPD and it is
|
|
164
|
+
* thus assumed that they are all generated.
|
|
165
|
+
* It might however be semantically different than `true` in the RxPlayer as it
|
|
166
|
+
* means that the packager didn't include that information in the MPD.
|
|
167
|
+
*/
|
|
168
|
+
availabilityTimeComplete: boolean | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* availability time offset of the concerned Adaptation.
|
|
171
|
+
*
|
|
172
|
+
* If `undefined`, the corresponding property was not set in the MPD and it is
|
|
173
|
+
* thus assumed to be equal to `0`.
|
|
174
|
+
* It might however be semantically different than `0` in the RxPlayer as it
|
|
175
|
+
* means that the packager didn't include that information in the MPD.
|
|
176
|
+
*/
|
|
177
|
+
availabilityTimeOffset: number | undefined;
|
|
178
|
+
/** Allows to obtain the minimum and maximum positions of a content. */
|
|
179
|
+
manifestBoundsCalculator: ManifestBoundsCalculator;
|
|
180
|
+
/** Start of the period linked to this RepresentationIndex, in seconds. */
|
|
181
|
+
periodStart: number;
|
|
182
|
+
/** End of the period linked to this RepresentationIndex, in seconds. */
|
|
183
|
+
periodEnd: number | undefined;
|
|
184
|
+
/** Whether the corresponding Manifest can be updated and changed. */
|
|
185
|
+
isDynamic: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Time at which the XML file containing this index was received.
|
|
188
|
+
*/
|
|
189
|
+
receivedTime?: number | undefined;
|
|
190
|
+
/** ID of the Representation concerned. */
|
|
191
|
+
representationId?: string | undefined;
|
|
192
|
+
/** Bitrate of the Representation concerned. */
|
|
193
|
+
representationBitrate?: number | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* The parser should take this previous version of the
|
|
196
|
+
* `TimelineRepresentationIndex` - which was from the same Representation
|
|
197
|
+
* parsed at an earlier time - as a base to speed-up the parsing process.
|
|
198
|
+
* /!\ If unexpected differences exist between both, there is a risk of
|
|
199
|
+
* de-synchronization with what is actually on the server,
|
|
200
|
+
* Use with moderation.
|
|
201
|
+
*/
|
|
202
|
+
unsafelyBaseOnPreviousRepresentation: IRepresentation | null;
|
|
203
|
+
/** Function that tells if an EMSG is whitelisted by the manifest */
|
|
204
|
+
isEMSGWhitelisted: (inbandEvent: IEMSG) => boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Set to `true` if the linked Period is the chronologically last one in the
|
|
207
|
+
* Manifest.
|
|
208
|
+
*/
|
|
209
|
+
isLastPeriod: boolean;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export interface ILastSegmentInformation {
|
|
213
|
+
/** End of the timeline on `time`, timescaled. */
|
|
214
|
+
lastPosition?: number | undefined;
|
|
215
|
+
|
|
216
|
+
/** Defines the time at which `lastPosition` was last calculated. */
|
|
217
|
+
time: number;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* `IRepresentationIndex` implementation for a DASH `SegmentTimeline` segment
|
|
222
|
+
* indexing scheme.
|
|
223
|
+
* @class TimelineRepresentationIndex
|
|
224
|
+
*/
|
|
225
|
+
export default class TimelineRepresentationIndex implements IRepresentationIndex {
|
|
226
|
+
/** Underlying structure to retrieve segment information. */
|
|
227
|
+
protected _index: ITimelineIndex;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Time of the last Manifest update.
|
|
231
|
+
* The unit is the monotonically-raising timestamp used by the RxPlayer.
|
|
232
|
+
*/
|
|
233
|
+
private _lastUpdate: number;
|
|
234
|
+
|
|
235
|
+
/** Absolute start of the period, timescaled and converted to index time. */
|
|
236
|
+
private _scaledPeriodStart: number;
|
|
237
|
+
|
|
238
|
+
/** Absolute end of the period, timescaled and converted to index time. */
|
|
239
|
+
private _scaledPeriodEnd: number | undefined;
|
|
240
|
+
|
|
241
|
+
/** Whether this RepresentationIndex can change over time. */
|
|
242
|
+
private _isDynamic: boolean;
|
|
243
|
+
|
|
244
|
+
/** Retrieve the maximum and minimum position of the whole content. */
|
|
245
|
+
private _manifestBoundsCalculator: ManifestBoundsCalculator;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Lazily get the S elements from this timeline.
|
|
249
|
+
* `null` once this call has been done once, to free memory.
|
|
250
|
+
*/
|
|
251
|
+
private _parseTimeline: (() => ITNode[] | HTMLCollection) | null;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* This variable represents the same `TimelineRepresentationIndex` at the
|
|
255
|
+
* previous Manifest update.
|
|
256
|
+
* Note that it is not always set.
|
|
257
|
+
* This can be used as a base to speed-up the creation of the underlying
|
|
258
|
+
* index structure as it can be really heavy for long Manifests.
|
|
259
|
+
* To avoid taking too much memory, this variable is reset to `null` once used.
|
|
260
|
+
*/
|
|
261
|
+
private _unsafelyBaseOnPreviousIndex: TimelineRepresentationIndex | null;
|
|
262
|
+
|
|
263
|
+
/* Function that tells if an EMSG is whitelisted by the manifest */
|
|
264
|
+
private _isEMSGWhitelisted: (inbandEvent: IEMSG) => boolean;
|
|
265
|
+
|
|
266
|
+
/** `true` if the linked Period is the chronologically last one in the Manifest. */
|
|
267
|
+
private _isLastPeriod: boolean;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* @param {Object} index
|
|
271
|
+
* @param {Object} context
|
|
272
|
+
*/
|
|
273
|
+
constructor(
|
|
274
|
+
index: ITimelineIndexIndexArgument,
|
|
275
|
+
context: ITimelineIndexContextArgument,
|
|
276
|
+
) {
|
|
277
|
+
if (!TimelineRepresentationIndex.isTimelineIndexArgument(index)) {
|
|
278
|
+
throw new Error(
|
|
279
|
+
"The given index is not compatible with a " + "TimelineRepresentationIndex.",
|
|
280
|
+
);
|
|
281
|
+
}
|
|
282
|
+
const {
|
|
283
|
+
availabilityTimeComplete,
|
|
284
|
+
availabilityTimeOffset,
|
|
285
|
+
manifestBoundsCalculator,
|
|
286
|
+
isDynamic,
|
|
287
|
+
isLastPeriod,
|
|
288
|
+
representationId,
|
|
289
|
+
representationBitrate,
|
|
290
|
+
periodStart,
|
|
291
|
+
periodEnd,
|
|
292
|
+
isEMSGWhitelisted,
|
|
293
|
+
} = context;
|
|
294
|
+
const timescale = index.timescale ?? 1;
|
|
295
|
+
|
|
296
|
+
const presentationTimeOffset = index.presentationTimeOffset ?? 0;
|
|
297
|
+
const scaledStart = periodStart * timescale;
|
|
298
|
+
const indexTimeOffset = presentationTimeOffset - scaledStart;
|
|
299
|
+
|
|
300
|
+
this._manifestBoundsCalculator = manifestBoundsCalculator;
|
|
301
|
+
|
|
302
|
+
this._isEMSGWhitelisted = isEMSGWhitelisted;
|
|
303
|
+
this._isLastPeriod = isLastPeriod;
|
|
304
|
+
this._lastUpdate = context.receivedTime ?? getMonotonicTimeStamp();
|
|
305
|
+
|
|
306
|
+
this._unsafelyBaseOnPreviousIndex = null;
|
|
307
|
+
if (
|
|
308
|
+
context.unsafelyBaseOnPreviousRepresentation !== null &&
|
|
309
|
+
context.unsafelyBaseOnPreviousRepresentation.index instanceof
|
|
310
|
+
TimelineRepresentationIndex
|
|
311
|
+
) {
|
|
312
|
+
// avoid too much nested references, to keep memory down
|
|
313
|
+
context.unsafelyBaseOnPreviousRepresentation.index._unsafelyBaseOnPreviousIndex =
|
|
314
|
+
null;
|
|
315
|
+
this._unsafelyBaseOnPreviousIndex =
|
|
316
|
+
context.unsafelyBaseOnPreviousRepresentation.index;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
this._isDynamic = isDynamic;
|
|
320
|
+
this._parseTimeline = index.timelineParser ?? null;
|
|
321
|
+
const initializationUrl =
|
|
322
|
+
index.initialization?.media === undefined
|
|
323
|
+
? null
|
|
324
|
+
: constructRepresentationUrl(
|
|
325
|
+
index.initialization.media,
|
|
326
|
+
representationId,
|
|
327
|
+
representationBitrate,
|
|
328
|
+
);
|
|
329
|
+
|
|
330
|
+
const segmentUrlTemplate =
|
|
331
|
+
index.media === undefined
|
|
332
|
+
? null
|
|
333
|
+
: constructRepresentationUrl(
|
|
334
|
+
index.media,
|
|
335
|
+
representationId,
|
|
336
|
+
representationBitrate,
|
|
337
|
+
);
|
|
338
|
+
|
|
339
|
+
let actualAvailabilityTimeOffset;
|
|
340
|
+
// Technically, it seems (although it is not clear) that an MPD may contain
|
|
341
|
+
// future segments and it's the job of a player to not request segments later
|
|
342
|
+
// than the time at which they should be available.
|
|
343
|
+
// In practice, we don't do that for various reasons: precision issues,
|
|
344
|
+
// various DASH spec interpretations by packagers and players...
|
|
345
|
+
//
|
|
346
|
+
// So as a compromise, if nothing in the MPD indicates that future segments
|
|
347
|
+
// may be announced (see code below), we will act as if ALL segments in this
|
|
348
|
+
// TimelineRepresentationIndex are requestable
|
|
349
|
+
if (availabilityTimeOffset === undefined && availabilityTimeComplete === undefined) {
|
|
350
|
+
actualAvailabilityTimeOffset = Infinity; // Meaning: we can request
|
|
351
|
+
// everything in the index
|
|
352
|
+
} else {
|
|
353
|
+
actualAvailabilityTimeOffset = availabilityTimeOffset ?? 0;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
this._index = {
|
|
357
|
+
availabilityTimeComplete: availabilityTimeComplete ?? true,
|
|
358
|
+
availabilityTimeOffset: actualAvailabilityTimeOffset,
|
|
359
|
+
indexRange: index.indexRange,
|
|
360
|
+
indexTimeOffset,
|
|
361
|
+
initialization: isNullOrUndefined(index.initialization)
|
|
362
|
+
? undefined
|
|
363
|
+
: {
|
|
364
|
+
url: initializationUrl,
|
|
365
|
+
range: index.initialization.range,
|
|
366
|
+
},
|
|
367
|
+
segmentUrlTemplate,
|
|
368
|
+
startNumber: index.startNumber,
|
|
369
|
+
endNumber: index.endNumber,
|
|
370
|
+
timeline:
|
|
371
|
+
index.timeline === undefined
|
|
372
|
+
? null
|
|
373
|
+
: updateTimelineFromEndNumber(
|
|
374
|
+
index.timeline,
|
|
375
|
+
index.startNumber,
|
|
376
|
+
index.endNumber,
|
|
377
|
+
),
|
|
378
|
+
timescale,
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
this._scaledPeriodStart = toIndexTime(periodStart, this._index);
|
|
382
|
+
this._scaledPeriodEnd =
|
|
383
|
+
periodEnd === undefined ? undefined : toIndexTime(periodEnd, this._index);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Construct init Segment.
|
|
388
|
+
* @returns {Object}
|
|
389
|
+
*/
|
|
390
|
+
getInitSegment(): ISegment {
|
|
391
|
+
return getInitSegment(this._index, this._isEMSGWhitelisted);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Asks for segments to download for a given time range.
|
|
396
|
+
* @param {Number} from - Beginning of the time wanted, in seconds
|
|
397
|
+
* @param {Number} duration - duration wanted, in seconds
|
|
398
|
+
* @returns {Array.<Object>}
|
|
399
|
+
*/
|
|
400
|
+
getSegments(from: number, duration: number): ISegment[] {
|
|
401
|
+
this._refreshTimeline(); // clear timeline if needed
|
|
402
|
+
if (this._index.timeline === null) {
|
|
403
|
+
this._index.timeline = this._getTimeline();
|
|
404
|
+
}
|
|
405
|
+
return getSegmentsFromTimeline(
|
|
406
|
+
this._index as typeof this._index & { timeline: IIndexSegment[] },
|
|
407
|
+
from,
|
|
408
|
+
duration,
|
|
409
|
+
this._manifestBoundsCalculator,
|
|
410
|
+
this._scaledPeriodEnd,
|
|
411
|
+
this._isEMSGWhitelisted,
|
|
412
|
+
);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Returns true if the index should be refreshed.
|
|
417
|
+
* @returns {Boolean}
|
|
418
|
+
*/
|
|
419
|
+
shouldRefresh(): false {
|
|
420
|
+
// DASH Manifest based on a SegmentTimeline should have minimumUpdatePeriod
|
|
421
|
+
// attribute which should be sufficient to know when to refresh it.
|
|
422
|
+
return false;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* Returns the starting time, in seconds, of the earliest segment currently
|
|
427
|
+
* available.
|
|
428
|
+
* Returns null if nothing is in the index
|
|
429
|
+
* @returns {Number|null}
|
|
430
|
+
*/
|
|
431
|
+
getFirstAvailablePosition(): number | null {
|
|
432
|
+
this._refreshTimeline();
|
|
433
|
+
if (this._index.timeline === null) {
|
|
434
|
+
this._index.timeline = this._getTimeline();
|
|
435
|
+
}
|
|
436
|
+
const timeline = this._index.timeline;
|
|
437
|
+
return timeline.length === 0
|
|
438
|
+
? null
|
|
439
|
+
: fromIndexTime(Math.max(this._scaledPeriodStart, timeline[0].start), this._index);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Returns the ending time, in seconds, of the last segment currently
|
|
444
|
+
* available.
|
|
445
|
+
* Returns null if nothing is in the index
|
|
446
|
+
* @returns {Number|null}
|
|
447
|
+
*/
|
|
448
|
+
getLastAvailablePosition(): number | null {
|
|
449
|
+
this._refreshTimeline();
|
|
450
|
+
if (this._index.timeline === null) {
|
|
451
|
+
this._index.timeline = this._getTimeline();
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
const lastReqSegInfo = getLastRequestableSegmentInfo(
|
|
455
|
+
// Needed typecast for TypeScript
|
|
456
|
+
this._index as typeof this._index & { timeline: IIndexSegment[] },
|
|
457
|
+
this._manifestBoundsCalculator,
|
|
458
|
+
this._scaledPeriodEnd,
|
|
459
|
+
);
|
|
460
|
+
if (lastReqSegInfo === null) {
|
|
461
|
+
return null;
|
|
462
|
+
}
|
|
463
|
+
const lastScaledPosition = Math.min(
|
|
464
|
+
lastReqSegInfo.end,
|
|
465
|
+
this._scaledPeriodEnd ?? Infinity,
|
|
466
|
+
);
|
|
467
|
+
return fromIndexTime(lastScaledPosition, this._index);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Returns the absolute end in seconds this RepresentationIndex can reach once
|
|
472
|
+
* all segments are available.
|
|
473
|
+
* @returns {number|null|undefined}
|
|
474
|
+
*/
|
|
475
|
+
getEnd(): number | undefined | null {
|
|
476
|
+
if (this._isDynamic && !this._isLastPeriod) {
|
|
477
|
+
return undefined;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
this._refreshTimeline();
|
|
481
|
+
if (this._index.timeline === null) {
|
|
482
|
+
this._index.timeline = this._getTimeline();
|
|
483
|
+
}
|
|
484
|
+
if (this._index.timeline.length <= 0) {
|
|
485
|
+
return null;
|
|
486
|
+
}
|
|
487
|
+
const lastSegment = this._index.timeline[this._index.timeline.length - 1];
|
|
488
|
+
const lastTime = Math.min(
|
|
489
|
+
getIndexSegmentEnd(lastSegment, null, this._scaledPeriodEnd),
|
|
490
|
+
this._scaledPeriodEnd ?? Infinity,
|
|
491
|
+
);
|
|
492
|
+
return fromIndexTime(lastTime, this._index);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Returns:
|
|
497
|
+
* - `true` if in the given time interval, at least one new segment is
|
|
498
|
+
* expected to be available in the future.
|
|
499
|
+
* - `false` either if all segments in that time interval are already
|
|
500
|
+
* available for download or if none will ever be available for it.
|
|
501
|
+
* - `undefined` when it is not possible to tell.
|
|
502
|
+
* @param {number} start
|
|
503
|
+
* @param {number} end
|
|
504
|
+
* @returns {boolean|undefined}
|
|
505
|
+
*/
|
|
506
|
+
awaitSegmentBetween(start: number, end: number): boolean | undefined {
|
|
507
|
+
assert(start <= end);
|
|
508
|
+
if (!this._isDynamic) {
|
|
509
|
+
return false; // No segment will be newly available in the future
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
this._refreshTimeline();
|
|
513
|
+
if (this._index.timeline === null) {
|
|
514
|
+
this._index.timeline = this._getTimeline();
|
|
515
|
+
}
|
|
516
|
+
const { timescale, timeline } = this._index;
|
|
517
|
+
const segmentTimeRounding = getSegmentTimeRoundingError(timescale);
|
|
518
|
+
const scaledWantedEnd = toIndexTime(end, this._index);
|
|
519
|
+
const lastReqSegInfo = getLastRequestableSegmentInfo(
|
|
520
|
+
// Needed typecast for TypeScript
|
|
521
|
+
this._index as typeof this._index & { timeline: IIndexSegment[] },
|
|
522
|
+
this._manifestBoundsCalculator,
|
|
523
|
+
this._scaledPeriodEnd,
|
|
524
|
+
);
|
|
525
|
+
if (lastReqSegInfo !== null) {
|
|
526
|
+
const lastReqSegmentEnd = Math.min(
|
|
527
|
+
lastReqSegInfo.end,
|
|
528
|
+
this._scaledPeriodEnd ?? Infinity,
|
|
529
|
+
);
|
|
530
|
+
const roundedReqSegmentEnd = lastReqSegmentEnd + segmentTimeRounding;
|
|
531
|
+
if (
|
|
532
|
+
roundedReqSegmentEnd >=
|
|
533
|
+
Math.min(scaledWantedEnd, this._scaledPeriodEnd ?? Infinity)
|
|
534
|
+
) {
|
|
535
|
+
return false; // everything up to that point is already requestable
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
const scaledWantedStart = toIndexTime(start, this._index);
|
|
540
|
+
if (
|
|
541
|
+
timeline.length > 0 &&
|
|
542
|
+
lastReqSegInfo !== null &&
|
|
543
|
+
!lastReqSegInfo.isLastOfTimeline
|
|
544
|
+
) {
|
|
545
|
+
// There are some future segments already anounced in the MPD
|
|
546
|
+
|
|
547
|
+
const lastSegment = timeline[timeline.length - 1];
|
|
548
|
+
const lastSegmentEnd = getIndexSegmentEnd(lastSegment, null, this._scaledPeriodEnd);
|
|
549
|
+
const roundedLastSegEnd = lastSegmentEnd + segmentTimeRounding;
|
|
550
|
+
if (scaledWantedStart < roundedLastSegEnd + segmentTimeRounding) {
|
|
551
|
+
return true; // The MPD's timeline already contains one such element,
|
|
552
|
+
// It is just not requestable yet
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
if (!this._isLastPeriod) {
|
|
557
|
+
// Let's consider - perhaps wrongly, that Periods which aren't the last
|
|
558
|
+
// one have all of their segments announced.
|
|
559
|
+
return false;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
if (this._scaledPeriodEnd === undefined) {
|
|
563
|
+
return scaledWantedEnd + segmentTimeRounding > this._scaledPeriodStart
|
|
564
|
+
? undefined // There may be future segments at this point
|
|
565
|
+
: false; // Before the current Period
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
// `true` if within the boundaries of this Period. `false` otherwise.
|
|
569
|
+
return (
|
|
570
|
+
scaledWantedStart - segmentTimeRounding < this._scaledPeriodEnd &&
|
|
571
|
+
scaledWantedEnd + segmentTimeRounding > this._scaledPeriodStart
|
|
572
|
+
);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Returns true if a Segment returned by this index is still considered
|
|
577
|
+
* available.
|
|
578
|
+
* Returns false if it is not available anymore.
|
|
579
|
+
* Returns undefined if we cannot know whether it is still available or not.
|
|
580
|
+
* @param {Object} segment
|
|
581
|
+
* @returns {Boolean|undefined}
|
|
582
|
+
*/
|
|
583
|
+
isSegmentStillAvailable(segment: ISegment): boolean | undefined {
|
|
584
|
+
if (segment.isInit) {
|
|
585
|
+
return true;
|
|
586
|
+
}
|
|
587
|
+
this._refreshTimeline();
|
|
588
|
+
if (this._index.timeline === null) {
|
|
589
|
+
this._index.timeline = this._getTimeline();
|
|
590
|
+
}
|
|
591
|
+
return isSegmentStillAvailable(
|
|
592
|
+
segment,
|
|
593
|
+
// Needed typecast for TypeScript
|
|
594
|
+
this._index as typeof this._index & {
|
|
595
|
+
timeline: IIndexSegment[];
|
|
596
|
+
},
|
|
597
|
+
this._manifestBoundsCalculator,
|
|
598
|
+
this._scaledPeriodEnd,
|
|
599
|
+
);
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Checks if the time given is in a discontinuity. That is:
|
|
604
|
+
* - We're on the upper bound of the current range (end of the range - time
|
|
605
|
+
* is inferior to the timescale)
|
|
606
|
+
* - The next range starts after the end of the current range.
|
|
607
|
+
* @param {Number} time
|
|
608
|
+
* @returns {Number|null}
|
|
609
|
+
*/
|
|
610
|
+
checkDiscontinuity(time: number): number | null {
|
|
611
|
+
this._refreshTimeline();
|
|
612
|
+
let timeline = this._index.timeline;
|
|
613
|
+
if (timeline === null) {
|
|
614
|
+
timeline = this._getTimeline();
|
|
615
|
+
this._index.timeline = timeline;
|
|
616
|
+
}
|
|
617
|
+
return checkDiscontinuity(
|
|
618
|
+
{
|
|
619
|
+
timeline,
|
|
620
|
+
timescale: this._index.timescale,
|
|
621
|
+
indexTimeOffset: this._index.indexTimeOffset,
|
|
622
|
+
},
|
|
623
|
+
time,
|
|
624
|
+
this._scaledPeriodEnd,
|
|
625
|
+
);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* @param {Error} error
|
|
630
|
+
* @returns {Boolean}
|
|
631
|
+
*/
|
|
632
|
+
canBeOutOfSyncError(error: IPlayerError): boolean {
|
|
633
|
+
if (!this._isDynamic) {
|
|
634
|
+
return false;
|
|
635
|
+
}
|
|
636
|
+
return error instanceof NetworkError && error.isHttpError(404);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Replace this RepresentationIndex with one from a new version of the
|
|
641
|
+
* Manifest.
|
|
642
|
+
* @param {Object} newIndex
|
|
643
|
+
*/
|
|
644
|
+
_replace(newIndex: TimelineRepresentationIndex): void {
|
|
645
|
+
this._parseTimeline = newIndex._parseTimeline;
|
|
646
|
+
this._index = newIndex._index;
|
|
647
|
+
this._isDynamic = newIndex._isDynamic;
|
|
648
|
+
this._scaledPeriodStart = newIndex._scaledPeriodStart;
|
|
649
|
+
this._scaledPeriodEnd = newIndex._scaledPeriodEnd;
|
|
650
|
+
this._lastUpdate = newIndex._lastUpdate;
|
|
651
|
+
this._manifestBoundsCalculator = newIndex._manifestBoundsCalculator;
|
|
652
|
+
this._isLastPeriod = newIndex._isLastPeriod;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Update this RepresentationIndex with a shorter version of it coming from a
|
|
657
|
+
* new version of the MPD.
|
|
658
|
+
* @param {Object} newIndex
|
|
659
|
+
*/
|
|
660
|
+
_update(newIndex: TimelineRepresentationIndex): void {
|
|
661
|
+
if (this._index.timeline === null) {
|
|
662
|
+
this._index.timeline = this._getTimeline();
|
|
663
|
+
}
|
|
664
|
+
if (newIndex._index.timeline === null) {
|
|
665
|
+
newIndex._index.timeline = newIndex._getTimeline();
|
|
666
|
+
}
|
|
667
|
+
const hasReplaced = updateSegmentTimeline(
|
|
668
|
+
this._index.timeline,
|
|
669
|
+
newIndex._index.timeline,
|
|
670
|
+
);
|
|
671
|
+
if (hasReplaced) {
|
|
672
|
+
this._index.startNumber = newIndex._index.startNumber;
|
|
673
|
+
}
|
|
674
|
+
this._index.availabilityTimeOffset = newIndex._index.availabilityTimeOffset;
|
|
675
|
+
this._index.availabilityTimeComplete = newIndex._index.availabilityTimeComplete;
|
|
676
|
+
this._index.endNumber = newIndex._index.endNumber;
|
|
677
|
+
this._isDynamic = newIndex._isDynamic;
|
|
678
|
+
this._scaledPeriodStart = newIndex._scaledPeriodStart;
|
|
679
|
+
this._scaledPeriodEnd = newIndex._scaledPeriodEnd;
|
|
680
|
+
this._lastUpdate = newIndex._lastUpdate;
|
|
681
|
+
this._isLastPeriod = newIndex._isLastPeriod;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Returns `false` if this RepresentationIndex currently contains its last
|
|
686
|
+
* segment.
|
|
687
|
+
* Returns `true` if it's still pending.
|
|
688
|
+
* @returns {Boolean}
|
|
689
|
+
*/
|
|
690
|
+
isStillAwaitingFutureSegments(): boolean {
|
|
691
|
+
if (!this._isDynamic) {
|
|
692
|
+
return false;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
this._refreshTimeline();
|
|
696
|
+
if (this._index.timeline === null) {
|
|
697
|
+
this._index.timeline = this._getTimeline();
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
const { timeline } = this._index;
|
|
701
|
+
if (timeline.length === 0) {
|
|
702
|
+
// No segment announced in this Period
|
|
703
|
+
if (this._scaledPeriodEnd !== undefined) {
|
|
704
|
+
const liveEdge = this._manifestBoundsCalculator.getEstimatedLiveEdge();
|
|
705
|
+
if (
|
|
706
|
+
liveEdge !== undefined &&
|
|
707
|
+
toIndexTime(liveEdge, this._index) > this._scaledPeriodEnd
|
|
708
|
+
) {
|
|
709
|
+
// This Period is over, we're not awaiting anything
|
|
710
|
+
return false;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
// Let's just consider that we're awaiting only for when this is the last Period.
|
|
714
|
+
return this._isLastPeriod;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
const segmentTimeRounding = getSegmentTimeRoundingError(this._index.timescale);
|
|
718
|
+
const lastReqSegInfo = getLastRequestableSegmentInfo(
|
|
719
|
+
// Needed typecast for TypeScript
|
|
720
|
+
this._index as typeof this._index & { timeline: IIndexSegment[] },
|
|
721
|
+
this._manifestBoundsCalculator,
|
|
722
|
+
this._scaledPeriodEnd,
|
|
723
|
+
);
|
|
724
|
+
|
|
725
|
+
if (lastReqSegInfo !== null && !lastReqSegInfo.isLastOfTimeline) {
|
|
726
|
+
// There might be non-yet requestable segments in the manifest
|
|
727
|
+
const lastReqSegmentEnd = Math.min(
|
|
728
|
+
lastReqSegInfo.end,
|
|
729
|
+
this._scaledPeriodEnd ?? Infinity,
|
|
730
|
+
);
|
|
731
|
+
if (
|
|
732
|
+
this._scaledPeriodEnd !== undefined &&
|
|
733
|
+
lastReqSegmentEnd + segmentTimeRounding >= this._scaledPeriodEnd
|
|
734
|
+
) {
|
|
735
|
+
// The last requestable segment ends after the end of the Period anyway
|
|
736
|
+
return false;
|
|
737
|
+
}
|
|
738
|
+
return true; // There are not-yet requestable segments
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
if (!this._isLastPeriod) {
|
|
742
|
+
// This index is not linked to the current last Period in the MPD, in
|
|
743
|
+
// which case it is inferred that all segments have been announced.
|
|
744
|
+
//
|
|
745
|
+
// Note that this condition might break very very rare use cases where old
|
|
746
|
+
// Periods are still being generated, yet it should fix more cases than it
|
|
747
|
+
// breaks.
|
|
748
|
+
return false;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
if (this._scaledPeriodEnd === undefined) {
|
|
752
|
+
// This is the last Period of a dynamic content whose end is unknown.
|
|
753
|
+
// Just return true.
|
|
754
|
+
return true;
|
|
755
|
+
}
|
|
756
|
+
const lastSegment = timeline[timeline.length - 1];
|
|
757
|
+
const lastSegmentEnd = getIndexSegmentEnd(lastSegment, null, this._scaledPeriodEnd);
|
|
758
|
+
// We're awaiting future segments only if the current end is before the end
|
|
759
|
+
// of the Period
|
|
760
|
+
return lastSegmentEnd + segmentTimeRounding < this._scaledPeriodEnd;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* @returns {Boolean}
|
|
765
|
+
*/
|
|
766
|
+
isInitialized(): true {
|
|
767
|
+
return true;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
initialize(): void {
|
|
771
|
+
log.error("A `TimelineRepresentationIndex` does not need to be initialized");
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
addPredictedSegments(): void {
|
|
775
|
+
log.warn("Cannot add predicted segments to a `TimelineRepresentationIndex`");
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Returns `true` if the given object can be used as an "index" argument to
|
|
780
|
+
* create a new `TimelineRepresentationIndex`.
|
|
781
|
+
* @param {Object} index
|
|
782
|
+
* @returns {boolean}
|
|
783
|
+
*/
|
|
784
|
+
static isTimelineIndexArgument(index: ITimelineIndexIndexArgument): boolean {
|
|
785
|
+
return typeof index.timelineParser === "function" || Array.isArray(index.timeline);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Clean-up timeline to remove segment information which should not be
|
|
790
|
+
* available due to timeshifting.
|
|
791
|
+
*/
|
|
792
|
+
private _refreshTimeline(): void {
|
|
793
|
+
if (this._index.timeline === null) {
|
|
794
|
+
this._index.timeline = this._getTimeline();
|
|
795
|
+
}
|
|
796
|
+
if (!this._isDynamic) {
|
|
797
|
+
return;
|
|
798
|
+
}
|
|
799
|
+
const firstPosition = this._manifestBoundsCalculator.getEstimatedMinimumSegmentTime();
|
|
800
|
+
if (isNullOrUndefined(firstPosition)) {
|
|
801
|
+
return; // we don't know yet
|
|
802
|
+
}
|
|
803
|
+
const scaledFirstPosition = toIndexTime(firstPosition, this._index);
|
|
804
|
+
const nbEltsRemoved = clearTimelineFromPosition(
|
|
805
|
+
this._index.timeline,
|
|
806
|
+
scaledFirstPosition,
|
|
807
|
+
);
|
|
808
|
+
if (this._index.startNumber !== undefined) {
|
|
809
|
+
this._index.startNumber += nbEltsRemoved;
|
|
810
|
+
} else if (this._index.endNumber !== undefined) {
|
|
811
|
+
this._index.startNumber = nbEltsRemoved + 1;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Allows to generate the "timeline" for this RepresentationIndex.
|
|
817
|
+
* Call this function when the timeline is unknown.
|
|
818
|
+
* This function was added to only perform that task lazily, i.e. only when
|
|
819
|
+
* first needed.
|
|
820
|
+
* After calling it, every now unneeded variable will be freed from memory.
|
|
821
|
+
* This means that calling _getTimeline more than once will just return an
|
|
822
|
+
* empty array.
|
|
823
|
+
*
|
|
824
|
+
* /!\ Please note that this structure should follow the exact same structure
|
|
825
|
+
* than a SegmentTimeline element in the corresponding MPD.
|
|
826
|
+
* This means:
|
|
827
|
+
* - It should have the same amount of elements in its array than there was
|
|
828
|
+
* `<S>` elements in the SegmentTimeline.
|
|
829
|
+
* - Each of those same elements should have the same start time, the same
|
|
830
|
+
* duration and the same repeat counter than what could be deduced from
|
|
831
|
+
* the SegmentTimeline.
|
|
832
|
+
* This is needed to be able to run parsing optimization when refreshing the
|
|
833
|
+
* MPD. Not doing so could lead to the RxPlayer not being able to play the
|
|
834
|
+
* stream anymore.
|
|
835
|
+
* @returns {Array.<Object>}
|
|
836
|
+
*/
|
|
837
|
+
private _getTimeline(): IIndexSegment[] {
|
|
838
|
+
if (this._parseTimeline === null) {
|
|
839
|
+
if (this._index.timeline !== null) {
|
|
840
|
+
return this._index.timeline;
|
|
841
|
+
}
|
|
842
|
+
log.error("DASH: Timeline already lazily parsed.");
|
|
843
|
+
return [];
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
const newElements = this._parseTimeline();
|
|
847
|
+
this._parseTimeline = null; // Free memory
|
|
848
|
+
|
|
849
|
+
const { MIN_DASH_S_ELEMENTS_TO_PARSE_UNSAFELY } = config.getCurrent();
|
|
850
|
+
if (
|
|
851
|
+
this._unsafelyBaseOnPreviousIndex === null ||
|
|
852
|
+
newElements.length < MIN_DASH_S_ELEMENTS_TO_PARSE_UNSAFELY
|
|
853
|
+
) {
|
|
854
|
+
// Just completely parse the current timeline
|
|
855
|
+
return updateTimelineFromEndNumber(
|
|
856
|
+
constructTimelineFromElements(newElements),
|
|
857
|
+
this._index.startNumber,
|
|
858
|
+
this._index.endNumber,
|
|
859
|
+
);
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
// Construct previously parsed timeline if not already done
|
|
863
|
+
let prevTimeline: IIndexSegment[];
|
|
864
|
+
if (this._unsafelyBaseOnPreviousIndex._index.timeline === null) {
|
|
865
|
+
prevTimeline = this._unsafelyBaseOnPreviousIndex._getTimeline();
|
|
866
|
+
this._unsafelyBaseOnPreviousIndex._index.timeline = prevTimeline;
|
|
867
|
+
} else {
|
|
868
|
+
prevTimeline = this._unsafelyBaseOnPreviousIndex._index.timeline;
|
|
869
|
+
}
|
|
870
|
+
this._unsafelyBaseOnPreviousIndex = null; // Free memory
|
|
871
|
+
|
|
872
|
+
return updateTimelineFromEndNumber(
|
|
873
|
+
constructTimelineFromPreviousTimeline(newElements, prevTimeline),
|
|
874
|
+
this._index.startNumber,
|
|
875
|
+
this._index.endNumber,
|
|
876
|
+
);
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* Take the original SegmentTimeline's parsed timeline and, if an `endNumber` is
|
|
882
|
+
* specified, filter segments which possess a number superior to that number.
|
|
883
|
+
*
|
|
884
|
+
* This should only be useful in only rare and broken MPDs, but we aim to
|
|
885
|
+
* respect the specification even in those cases.
|
|
886
|
+
*
|
|
887
|
+
* @param {Array.<Object>} timeline
|
|
888
|
+
* @param {number|undefined} startNumber
|
|
889
|
+
* @param {Array.<Object>} endNumber
|
|
890
|
+
* @returns {number|undefined}
|
|
891
|
+
*/
|
|
892
|
+
function updateTimelineFromEndNumber(
|
|
893
|
+
timeline: IIndexSegment[],
|
|
894
|
+
startNumber: number | undefined,
|
|
895
|
+
endNumber: number | undefined,
|
|
896
|
+
): IIndexSegment[] {
|
|
897
|
+
if (endNumber === undefined) {
|
|
898
|
+
return timeline;
|
|
899
|
+
}
|
|
900
|
+
let currNumber = startNumber ?? 1;
|
|
901
|
+
for (let idx = 0; idx < timeline.length; idx++) {
|
|
902
|
+
const seg = timeline[idx];
|
|
903
|
+
currNumber += seg.repeatCount + 1;
|
|
904
|
+
if (currNumber > endNumber) {
|
|
905
|
+
if (currNumber === endNumber + 1) {
|
|
906
|
+
return timeline.slice(0, idx + 1);
|
|
907
|
+
} else {
|
|
908
|
+
const newTimeline = timeline.slice(0, idx);
|
|
909
|
+
const lastElt = { ...seg };
|
|
910
|
+
const beginningNumber = currNumber - seg.repeatCount - 1;
|
|
911
|
+
lastElt.repeatCount = Math.max(0, endNumber - beginningNumber);
|
|
912
|
+
newTimeline.push(lastElt);
|
|
913
|
+
return newTimeline;
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
return timeline;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Returns true if a Segment returned by the corresponding index is still
|
|
922
|
+
* considered available.
|
|
923
|
+
* Returns false if it is not available anymore.
|
|
924
|
+
* Returns undefined if we cannot know whether it is still available or not.
|
|
925
|
+
* /!\ We do not check the mediaURLs of the segment.
|
|
926
|
+
* @param {Object} segment
|
|
927
|
+
* @param {Object} index
|
|
928
|
+
* @param {Object} manifestBoundsCalculator
|
|
929
|
+
* @param {number|undefined} scaledPeriodEnd
|
|
930
|
+
* @returns {Boolean|undefined}
|
|
931
|
+
*/
|
|
932
|
+
export function isSegmentStillAvailable(
|
|
933
|
+
segment: ISegment,
|
|
934
|
+
index: {
|
|
935
|
+
availabilityTimeOffset: number;
|
|
936
|
+
timeline: IIndexSegment[];
|
|
937
|
+
indexTimeOffset: number;
|
|
938
|
+
timescale: number;
|
|
939
|
+
},
|
|
940
|
+
manifestBoundsCalculator: ManifestBoundsCalculator,
|
|
941
|
+
scaledPeriodEnd: number | undefined,
|
|
942
|
+
): boolean | undefined {
|
|
943
|
+
const lastReqSegInfo = getLastRequestableSegmentInfo(
|
|
944
|
+
index,
|
|
945
|
+
manifestBoundsCalculator,
|
|
946
|
+
scaledPeriodEnd,
|
|
947
|
+
);
|
|
948
|
+
if (lastReqSegInfo === null) {
|
|
949
|
+
return false;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
for (let i = 0; i < index.timeline.length; i++) {
|
|
953
|
+
if (lastReqSegInfo.timelineIdx < i) {
|
|
954
|
+
return false;
|
|
955
|
+
}
|
|
956
|
+
const tSegment = index.timeline[i];
|
|
957
|
+
const tSegmentTime = (tSegment.start - index.indexTimeOffset) / index.timescale;
|
|
958
|
+
if (tSegmentTime > segment.time) {
|
|
959
|
+
return false; // We went over it without finding it
|
|
960
|
+
} else if (tSegmentTime === segment.time) {
|
|
961
|
+
if (tSegment.range === undefined) {
|
|
962
|
+
return segment.range === undefined;
|
|
963
|
+
}
|
|
964
|
+
return (
|
|
965
|
+
!isNullOrUndefined(segment.range) &&
|
|
966
|
+
tSegment.range[0] === segment.range[0] &&
|
|
967
|
+
tSegment.range[1] === segment.range[1]
|
|
968
|
+
);
|
|
969
|
+
} else {
|
|
970
|
+
// tSegment.start < segment.time
|
|
971
|
+
if (tSegment.repeatCount >= 0 && tSegment.duration !== undefined) {
|
|
972
|
+
const timeDiff = tSegmentTime - tSegment.start;
|
|
973
|
+
const repeat = timeDiff / tSegment.duration - 1;
|
|
974
|
+
return repeat % 1 === 0 && repeat <= lastReqSegInfo.newRepeatCount;
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
return false;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Returns from the given RepresentationIndex information on the last segment
|
|
983
|
+
* that may be requested currently.
|
|
984
|
+
*
|
|
985
|
+
* Returns `null` if there's no such segment.
|
|
986
|
+
* @param {Object} index
|
|
987
|
+
* @param {Object} manifestBoundsCalculator
|
|
988
|
+
* @param {number|undefined} scaledPeriodEnd
|
|
989
|
+
* @returns {number|null}
|
|
990
|
+
*/
|
|
991
|
+
export function getLastRequestableSegmentInfo(
|
|
992
|
+
index: {
|
|
993
|
+
availabilityTimeOffset: number;
|
|
994
|
+
timeline: IIndexSegment[];
|
|
995
|
+
timescale: number;
|
|
996
|
+
},
|
|
997
|
+
manifestBoundsCalculator: ManifestBoundsCalculator,
|
|
998
|
+
scaledPeriodEnd: number | undefined,
|
|
999
|
+
): ILastRequestableSegmentInfo | null {
|
|
1000
|
+
if (index.timeline.length <= 0) {
|
|
1001
|
+
return null;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
if (index.availabilityTimeOffset === Infinity) {
|
|
1005
|
+
// availabilityTimeOffset to Infinity == Everything is requestable in the timeline.
|
|
1006
|
+
const lastIndex = index.timeline.length - 1;
|
|
1007
|
+
const lastElem = index.timeline[lastIndex];
|
|
1008
|
+
return {
|
|
1009
|
+
isLastOfTimeline: true,
|
|
1010
|
+
timelineIdx: lastIndex,
|
|
1011
|
+
newRepeatCount: lastElem.repeatCount,
|
|
1012
|
+
end: getIndexSegmentEnd(lastElem, null, scaledPeriodEnd),
|
|
1013
|
+
};
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
const adjustedMaxSeconds = manifestBoundsCalculator.getEstimatedMaximumPosition(
|
|
1017
|
+
index.availabilityTimeOffset,
|
|
1018
|
+
);
|
|
1019
|
+
if (adjustedMaxSeconds === undefined) {
|
|
1020
|
+
const lastIndex = index.timeline.length - 1;
|
|
1021
|
+
const lastElem = index.timeline[lastIndex];
|
|
1022
|
+
return {
|
|
1023
|
+
isLastOfTimeline: true,
|
|
1024
|
+
timelineIdx: lastIndex,
|
|
1025
|
+
newRepeatCount: lastElem.repeatCount,
|
|
1026
|
+
end: getIndexSegmentEnd(lastElem, null, scaledPeriodEnd),
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1029
|
+
for (let i = index.timeline.length - 1; i >= index.timeline.length; i--) {
|
|
1030
|
+
const element = index.timeline[i];
|
|
1031
|
+
const endOfFirstOccurence = element.start + element.duration;
|
|
1032
|
+
if (fromIndexTime(endOfFirstOccurence, index) <= adjustedMaxSeconds) {
|
|
1033
|
+
const endTime = getIndexSegmentEnd(element, index.timeline[i + 1], scaledPeriodEnd);
|
|
1034
|
+
if (fromIndexTime(endTime, index) <= adjustedMaxSeconds) {
|
|
1035
|
+
return {
|
|
1036
|
+
isLastOfTimeline: i === index.timeline.length - 1,
|
|
1037
|
+
timelineIdx: i,
|
|
1038
|
+
newRepeatCount: element.repeatCount,
|
|
1039
|
+
end: endOfFirstOccurence,
|
|
1040
|
+
};
|
|
1041
|
+
} else {
|
|
1042
|
+
// We have to find the right repeatCount
|
|
1043
|
+
const maxIndexTime = toIndexTime(adjustedMaxSeconds, index);
|
|
1044
|
+
const diffToSegStart = maxIndexTime - element.start;
|
|
1045
|
+
const nbOfSegs = Math.floor(diffToSegStart / element.duration);
|
|
1046
|
+
assert(nbOfSegs >= 1);
|
|
1047
|
+
return {
|
|
1048
|
+
isLastOfTimeline: false,
|
|
1049
|
+
timelineIdx: i,
|
|
1050
|
+
newRepeatCount: nbOfSegs - 1,
|
|
1051
|
+
end: element.start + nbOfSegs * element.duration,
|
|
1052
|
+
};
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
return null;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* Information on the last requestable segment deduced from a timeline array of
|
|
1061
|
+
* segment information.
|
|
1062
|
+
*/
|
|
1063
|
+
export interface ILastRequestableSegmentInfo {
|
|
1064
|
+
/**
|
|
1065
|
+
* If `true`, we know that the last requestable segment is equal to the last
|
|
1066
|
+
* segment that can be deduced from the corresponding given timeline.
|
|
1067
|
+
* Written another way, there seem to be no segment announced in the timeline
|
|
1068
|
+
* that are not yet requestable.
|
|
1069
|
+
*
|
|
1070
|
+
* If `false`, we know that the last requestable segment is not the last
|
|
1071
|
+
* segment that can be deduced from the corresponding timeline.
|
|
1072
|
+
* Written another way, there are supplementary segments in the timeline which
|
|
1073
|
+
* are not yet requestable.
|
|
1074
|
+
*
|
|
1075
|
+
* Note that if the last requestable segment has its information from the last
|
|
1076
|
+
* element from the timeline but it's not the last segment that would be
|
|
1077
|
+
* deduced from the `repeatCount` property, then this value is set to `false`.
|
|
1078
|
+
*/
|
|
1079
|
+
isLastOfTimeline: boolean;
|
|
1080
|
+
/**
|
|
1081
|
+
* End time at which the last requestable segment ends, in the corresponding
|
|
1082
|
+
* index timescale (__NOT__ in seconds).
|
|
1083
|
+
*/
|
|
1084
|
+
end: number;
|
|
1085
|
+
/**
|
|
1086
|
+
* The index in `timeline` of the last requestable segment.
|
|
1087
|
+
* Note that its `repeatCount` may be updated and put as `newRepeatCount`.
|
|
1088
|
+
*/
|
|
1089
|
+
timelineIdx: number;
|
|
1090
|
+
/**
|
|
1091
|
+
* The new `repeatCount` value for that last segment. May be equal or
|
|
1092
|
+
* different from the timeline element found at `timelineIdx`.
|
|
1093
|
+
*/
|
|
1094
|
+
newRepeatCount: number;
|
|
1095
|
+
}
|