rx-player 4.5.0-dev.2026012301 → 4.5.0-dev.2026012302
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/VERSION +1 -1
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.d.ts +4 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +1 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.js +6 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts +4 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts.map +1 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.js +6 -0
- package/dist/commonjs/__GENERATED_CODE/index.d.ts +3 -0
- package/dist/commonjs/__GENERATED_CODE/index.d.ts.map +1 -0
- package/dist/commonjs/__GENERATED_CODE/index.js +7 -0
- package/dist/commonjs/compat/add_class_name.d.ts +23 -0
- package/dist/commonjs/compat/add_class_name.d.ts.map +1 -0
- package/dist/commonjs/compat/add_class_name.js +39 -0
- package/dist/commonjs/compat/add_text_track.d.ts +32 -0
- package/dist/commonjs/compat/add_text_track.d.ts.map +1 -0
- package/dist/commonjs/compat/add_text_track.js +52 -0
- package/dist/commonjs/compat/browser_compatibility_types.d.ts +384 -0
- package/dist/commonjs/compat/browser_compatibility_types.d.ts.map +1 -0
- package/dist/commonjs/compat/browser_compatibility_types.js +47 -0
- package/dist/commonjs/compat/browser_version.d.ts +25 -0
- package/dist/commonjs/compat/browser_version.d.ts.map +1 -0
- package/dist/commonjs/compat/browser_version.js +43 -0
- package/dist/commonjs/compat/can_patch_isobmff.d.ts +26 -0
- package/dist/commonjs/compat/can_patch_isobmff.d.ts.map +1 -0
- package/dist/commonjs/compat/can_patch_isobmff.js +32 -0
- package/dist/commonjs/compat/can_preload_before_play.d.ts +11 -0
- package/dist/commonjs/compat/can_preload_before_play.d.ts.map +1 -0
- package/dist/commonjs/compat/can_preload_before_play.js +23 -0
- package/dist/commonjs/compat/can_rely_on_request_media_key_system_access.d.ts +41 -0
- package/dist/commonjs/compat/can_rely_on_request_media_key_system_access.d.ts.map +1 -0
- package/dist/commonjs/compat/can_rely_on_request_media_key_system_access.js +56 -0
- package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.d.ts +38 -0
- package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.d.ts.map +1 -0
- package/dist/commonjs/compat/can_rely_on_video_visibility_and_size.js +52 -0
- package/dist/commonjs/compat/can_reuse_media_keys.d.ts +20 -0
- package/dist/commonjs/compat/can_reuse_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/can_reuse_media_keys.js +33 -0
- package/dist/commonjs/compat/change_source_buffer_type.d.ts +49 -0
- package/dist/commonjs/compat/change_source_buffer_type.d.ts.map +1 -0
- package/dist/commonjs/compat/change_source_buffer_type.js +40 -0
- package/dist/commonjs/compat/clear_element_src.d.ts +22 -0
- package/dist/commonjs/compat/clear_element_src.d.ts.map +1 -0
- package/dist/commonjs/compat/clear_element_src.js +56 -0
- package/dist/commonjs/compat/disable_remote_playback_on_managed_media_source.d.ts +18 -0
- package/dist/commonjs/compat/disable_remote_playback_on_managed_media_source.d.ts.map +1 -0
- package/dist/commonjs/compat/disable_remote_playback_on_managed_media_source.js +37 -0
- package/dist/commonjs/compat/eme/close_session.d.ts +31 -0
- package/dist/commonjs/compat/eme/close_session.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/close_session.js +169 -0
- package/dist/commonjs/compat/eme/constants.d.ts +17 -0
- package/dist/commonjs/compat/eme/constants.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/constants.js +22 -0
- package/dist/commonjs/compat/eme/custom_key_system_access.d.ts +50 -0
- package/dist/commonjs/compat/eme/custom_key_system_access.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_key_system_access.js +49 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.d.ts +32 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.js +181 -0
- package/dist/commonjs/compat/eme/custom_media_keys/index.d.ts +7 -0
- package/dist/commonjs/compat/eme/custom_media_keys/index.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/index.js +16 -0
- package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +28 -0
- package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.js +61 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts +44 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/ms_media_keys_constructor.js +28 -0
- package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts +42 -0
- package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.js +195 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.d.ts +33 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.js +233 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts +23 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.js +30 -0
- package/dist/commonjs/compat/eme/eme-api-implementation.d.ts +78 -0
- package/dist/commonjs/compat/eme/eme-api-implementation.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/eme-api-implementation.js +241 -0
- package/dist/commonjs/compat/eme/generate_key_request.d.ts +55 -0
- package/dist/commonjs/compat/eme/generate_key_request.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/generate_key_request.js +148 -0
- package/dist/commonjs/compat/eme/get_init_data.d.ts +60 -0
- package/dist/commonjs/compat/eme/get_init_data.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/get_init_data.js +113 -0
- package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts +24 -0
- package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.js +36 -0
- package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.d.ts +26 -0
- package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.js +57 -0
- package/dist/commonjs/compat/eme/index.d.ts +26 -0
- package/dist/commonjs/compat/eme/index.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/index.js +28 -0
- package/dist/commonjs/compat/eme/load_session.d.ts +31 -0
- package/dist/commonjs/compat/eme/load_session.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/load_session.js +102 -0
- package/dist/commonjs/compat/eme/set_media_keys.d.ts +10 -0
- package/dist/commonjs/compat/eme/set_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/eme/set_media_keys.js +36 -0
- package/dist/commonjs/compat/enable_audio_track.d.ts +12 -0
- package/dist/commonjs/compat/enable_audio_track.d.ts.map +1 -0
- package/dist/commonjs/compat/enable_audio_track.js +29 -0
- package/dist/commonjs/compat/env_detector.d.ts +100 -0
- package/dist/commonjs/compat/env_detector.d.ts.map +1 -0
- package/dist/commonjs/compat/env_detector.js +189 -0
- package/dist/commonjs/compat/event_listeners.d.ts +175 -0
- package/dist/commonjs/compat/event_listeners.d.ts.map +1 -0
- package/dist/commonjs/compat/event_listeners.js +437 -0
- package/dist/commonjs/compat/generate_init_data.d.ts +14 -0
- package/dist/commonjs/compat/generate_init_data.d.ts.map +1 -0
- package/dist/commonjs/compat/generate_init_data.js +60 -0
- package/dist/commonjs/compat/get_start_date.d.ts +32 -0
- package/dist/commonjs/compat/get_start_date.d.ts.map +1 -0
- package/dist/commonjs/compat/get_start_date.js +47 -0
- package/dist/commonjs/compat/has_issues_with_high_media_source_duration.d.ts +22 -0
- package/dist/commonjs/compat/has_issues_with_high_media_source_duration.d.ts.map +1 -0
- package/dist/commonjs/compat/has_issues_with_high_media_source_duration.js +32 -0
- package/dist/commonjs/compat/has_mse_in_worker.d.ts +3 -0
- package/dist/commonjs/compat/has_mse_in_worker.d.ts.map +1 -0
- package/dist/commonjs/compat/has_mse_in_worker.js +6 -0
- package/dist/commonjs/compat/has_webassembly.d.ts +7 -0
- package/dist/commonjs/compat/has_webassembly.d.ts.map +1 -0
- package/dist/commonjs/compat/has_webassembly.js +8 -0
- package/dist/commonjs/compat/has_worker_api.d.ts +10 -0
- package/dist/commonjs/compat/has_worker_api.d.ts.map +1 -0
- package/dist/commonjs/compat/has_worker_api.js +17 -0
- package/dist/commonjs/compat/is_codec_supported.d.ts +28 -0
- package/dist/commonjs/compat/is_codec_supported.d.ts.map +1 -0
- package/dist/commonjs/compat/is_codec_supported.js +70 -0
- package/dist/commonjs/compat/is_seeking_approximate.d.ts +29 -0
- package/dist/commonjs/compat/is_seeking_approximate.d.ts.map +1 -0
- package/dist/commonjs/compat/is_seeking_approximate.js +36 -0
- package/dist/commonjs/compat/is_vtt_cue.d.ts +23 -0
- package/dist/commonjs/compat/is_vtt_cue.d.ts.map +1 -0
- package/dist/commonjs/compat/is_vtt_cue.js +27 -0
- package/dist/commonjs/compat/make_vtt_cue.d.ts +27 -0
- package/dist/commonjs/compat/make_vtt_cue.d.ts.map +1 -0
- package/dist/commonjs/compat/make_vtt_cue.js +47 -0
- package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.d.ts +17 -0
- package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.d.ts.map +1 -0
- package/dist/commonjs/compat/may_media_element_fail_on_undecipherable_data.js +25 -0
- package/dist/commonjs/compat/on_height_width_change.d.ts +34 -0
- package/dist/commonjs/compat/on_height_width_change.d.ts.map +1 -0
- package/dist/commonjs/compat/on_height_width_change.js +75 -0
- package/dist/commonjs/compat/patch_webkit_source_buffer.d.ts +17 -0
- package/dist/commonjs/compat/patch_webkit_source_buffer.d.ts.map +1 -0
- package/dist/commonjs/compat/patch_webkit_source_buffer.js +65 -0
- package/dist/commonjs/compat/remove_cue.d.ts +23 -0
- package/dist/commonjs/compat/remove_cue.d.ts.map +1 -0
- package/dist/commonjs/compat/remove_cue.js +66 -0
- package/dist/commonjs/compat/reset_media_element.d.ts +26 -0
- package/dist/commonjs/compat/reset_media_element.d.ts.map +1 -0
- package/dist/commonjs/compat/reset_media_element.js +43 -0
- package/dist/commonjs/compat/should_await_set_media_keys.d.ts +17 -0
- package/dist/commonjs/compat/should_await_set_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/should_await_set_media_keys.js +27 -0
- package/dist/commonjs/compat/should_favour_custom_safari_EME.d.ts +24 -0
- package/dist/commonjs/compat/should_favour_custom_safari_EME.d.ts.map +1 -0
- package/dist/commonjs/compat/should_favour_custom_safari_EME.js +37 -0
- package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.d.ts +27 -0
- package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.d.ts.map +1 -0
- package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.js +35 -0
- package/dist/commonjs/compat/should_renew_media_key_system_access.d.ts +22 -0
- package/dist/commonjs/compat/should_renew_media_key_system_access.d.ts.map +1 -0
- package/dist/commonjs/compat/should_renew_media_key_system_access.js +35 -0
- package/dist/commonjs/compat/should_unset_media_keys.d.ts +23 -0
- package/dist/commonjs/compat/should_unset_media_keys.d.ts.map +1 -0
- package/dist/commonjs/compat/should_unset_media_keys.js +30 -0
- package/dist/commonjs/compat/should_validate_metadata.d.ts +23 -0
- package/dist/commonjs/compat/should_validate_metadata.d.ts.map +1 -0
- package/dist/commonjs/compat/should_validate_metadata.js +30 -0
- package/dist/commonjs/compat/should_wait_for_data_before_loaded.d.ts +25 -0
- package/dist/commonjs/compat/should_wait_for_data_before_loaded.d.ts.map +1 -0
- package/dist/commonjs/compat/should_wait_for_data_before_loaded.js +42 -0
- package/dist/commonjs/compat/should_wait_for_have_enough_data.d.ts +14 -0
- package/dist/commonjs/compat/should_wait_for_have_enough_data.d.ts.map +1 -0
- package/dist/commonjs/compat/should_wait_for_have_enough_data.js +22 -0
- package/dist/commonjs/config.d.ts +21 -0
- package/dist/commonjs/config.d.ts.map +1 -0
- package/dist/commonjs/config.js +73 -0
- package/dist/commonjs/core/adaptive/adaptive_representation_selector.d.ts +294 -0
- package/dist/commonjs/core/adaptive/adaptive_representation_selector.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/adaptive_representation_selector.js +411 -0
- package/dist/commonjs/core/adaptive/buffer_based_chooser.d.ts +90 -0
- package/dist/commonjs/core/adaptive/buffer_based_chooser.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/buffer_based_chooser.js +202 -0
- package/dist/commonjs/core/adaptive/guess_based_chooser.d.ts +96 -0
- package/dist/commonjs/core/adaptive/guess_based_chooser.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/guess_based_chooser.js +272 -0
- package/dist/commonjs/core/adaptive/index.d.ts +20 -0
- package/dist/commonjs/core/adaptive/index.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/index.js +19 -0
- package/dist/commonjs/core/adaptive/network_analyzer.d.ts +74 -0
- package/dist/commonjs/core/adaptive/network_analyzer.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/network_analyzer.js +355 -0
- package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.d.ts +48 -0
- package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.js +72 -0
- package/dist/commonjs/core/adaptive/utils/ewma.d.ts +40 -0
- package/dist/commonjs/core/adaptive/utils/ewma.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/ewma.js +53 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.d.ts +26 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.js +40 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_resolution.d.ts +32 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_resolution.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/filter_by_resolution.js +51 -0
- package/dist/commonjs/core/adaptive/utils/get_buffer_levels.d.ts +25 -0
- package/dist/commonjs/core/adaptive/utils/get_buffer_levels.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/get_buffer_levels.js +53 -0
- package/dist/commonjs/core/adaptive/utils/last_estimate_storage.d.ts +62 -0
- package/dist/commonjs/core/adaptive/utils/last_estimate_storage.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/last_estimate_storage.js +39 -0
- package/dist/commonjs/core/adaptive/utils/pending_requests_store.d.ts +111 -0
- package/dist/commonjs/core/adaptive/utils/pending_requests_store.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/pending_requests_store.js +79 -0
- package/dist/commonjs/core/adaptive/utils/representation_score_calculator.d.ts +105 -0
- package/dist/commonjs/core/adaptive/utils/representation_score_calculator.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/representation_score_calculator.js +121 -0
- package/dist/commonjs/core/adaptive/utils/select_optimal_representation.d.ts +28 -0
- package/dist/commonjs/core/adaptive/utils/select_optimal_representation.d.ts.map +1 -0
- package/dist/commonjs/core/adaptive/utils/select_optimal_representation.js +39 -0
- package/dist/commonjs/core/cmcd/cmcd_data_builder.d.ts +133 -0
- package/dist/commonjs/core/cmcd/cmcd_data_builder.d.ts.map +1 -0
- package/dist/commonjs/core/cmcd/cmcd_data_builder.js +368 -0
- package/dist/commonjs/core/cmcd/index.d.ts +4 -0
- package/dist/commonjs/core/cmcd/index.d.ts.map +1 -0
- package/dist/commonjs/core/cmcd/index.js +4 -0
- package/dist/commonjs/core/entry/FreezeResolver.d.ts +176 -0
- package/dist/commonjs/core/entry/FreezeResolver.d.ts.map +1 -0
- package/dist/commonjs/core/entry/FreezeResolver.js +455 -0
- package/dist/commonjs/core/entry/content_preparer.d.ts +194 -0
- package/dist/commonjs/core/entry/content_preparer.d.ts.map +1 -0
- package/dist/commonjs/core/entry/content_preparer.js +457 -0
- package/dist/commonjs/core/entry/content_time_boundaries_observer.d.ts +195 -0
- package/dist/commonjs/core/entry/content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/commonjs/core/entry/content_time_boundaries_observer.js +561 -0
- package/dist/commonjs/core/entry/core_entry.d.ts +39 -0
- package/dist/commonjs/core/entry/core_entry.d.ts.map +1 -0
- package/dist/commonjs/core/entry/core_entry.js +1002 -0
- package/dist/commonjs/core/entry/core_text_displayer_interface.d.ts +65 -0
- package/dist/commonjs/core/entry/core_text_displayer_interface.d.ts.map +1 -0
- package/dist/commonjs/core/entry/core_text_displayer_interface.js +126 -0
- package/dist/commonjs/core/entry/create_content_time_boundaries_observer.d.ts +28 -0
- package/dist/commonjs/core/entry/create_content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/commonjs/core/entry/create_content_time_boundaries_observer.js +48 -0
- package/dist/commonjs/core/entry/get_buffered_data_per_media_buffer.d.ts +15 -0
- package/dist/commonjs/core/entry/get_buffered_data_per_media_buffer.d.ts.map +1 -0
- package/dist/commonjs/core/entry/get_buffered_data_per_media_buffer.js +37 -0
- package/dist/commonjs/core/entry/get_thumbnail_data.d.ts +13 -0
- package/dist/commonjs/core/entry/get_thumbnail_data.d.ts.map +1 -0
- package/dist/commonjs/core/entry/get_thumbnail_data.js +71 -0
- package/dist/commonjs/core/entry/index.d.ts +6 -0
- package/dist/commonjs/core/entry/index.d.ts.map +1 -0
- package/dist/commonjs/core/entry/index.js +4 -0
- package/dist/commonjs/core/entry/synchronize_sinks_on_observation.d.ts +11 -0
- package/dist/commonjs/core/entry/synchronize_sinks_on_observation.d.ts.map +1 -0
- package/dist/commonjs/core/entry/synchronize_sinks_on_observation.js +20 -0
- package/dist/commonjs/core/entry/track_choice_setter.d.ts +20 -0
- package/dist/commonjs/core/entry/track_choice_setter.d.ts.map +1 -0
- package/dist/commonjs/core/entry/track_choice_setter.js +152 -0
- package/dist/commonjs/core/entry/utils.d.ts +3 -0
- package/dist/commonjs/core/entry/utils.d.ts.map +1 -0
- package/dist/commonjs/core/entry/utils.js +11 -0
- package/dist/commonjs/core/fetchers/cdn_prioritizer.d.ts +108 -0
- package/dist/commonjs/core/fetchers/cdn_prioritizer.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/cdn_prioritizer.js +215 -0
- package/dist/commonjs/core/fetchers/index.d.ts +25 -0
- package/dist/commonjs/core/fetchers/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/index.js +26 -0
- package/dist/commonjs/core/fetchers/manifest/index.d.ts +20 -0
- package/dist/commonjs/core/fetchers/manifest/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/manifest/index.js +19 -0
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.d.ts +239 -0
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.js +660 -0
- package/dist/commonjs/core/fetchers/segment/index.d.ts +22 -0
- package/dist/commonjs/core/fetchers/segment/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/index.js +19 -0
- package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.d.ts +43 -0
- package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.js +53 -0
- package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.d.ts +40 -0
- package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.js +70 -0
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts +200 -0
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.js +330 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue.d.ts +242 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue.js +457 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue_creator.d.ts +98 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue_creator.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/segment_queue_creator.js +77 -0
- package/dist/commonjs/core/fetchers/segment/task_prioritizer.d.ts +155 -0
- package/dist/commonjs/core/fetchers/segment/task_prioritizer.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/segment/task_prioritizer.js +381 -0
- package/dist/commonjs/core/fetchers/thumbnails/index.d.ts +5 -0
- package/dist/commonjs/core/fetchers/thumbnails/index.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/thumbnails/index.js +4 -0
- package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.d.ts +79 -0
- package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.js +259 -0
- package/dist/commonjs/core/fetchers/utils/error_selector.d.ts +23 -0
- package/dist/commonjs/core/fetchers/utils/error_selector.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/utils/error_selector.js +34 -0
- package/dist/commonjs/core/fetchers/utils/schedule_request.d.ts +99 -0
- package/dist/commonjs/core/fetchers/utils/schedule_request.d.ts.map +1 -0
- package/dist/commonjs/core/fetchers/utils/schedule_request.js +391 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.d.ts +44 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.js +253 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts +136 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.js +362 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.d.ts +18 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.js +19 -0
- package/dist/commonjs/core/segment_sinks/implementations/index.d.ts +21 -0
- package/dist/commonjs/core/segment_sinks/implementations/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/index.js +35 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/index.d.ts +5 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/index.js +4 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_sink.d.ts +101 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_sink.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_sink.js +291 -0
- package/dist/commonjs/core/segment_sinks/implementations/types.d.ts +311 -0
- package/dist/commonjs/core/segment_sinks/implementations/types.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/types.js +117 -0
- package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts +30 -0
- package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/implementations/utils/manual_time_ranges.js +67 -0
- package/dist/commonjs/core/segment_sinks/index.d.ts +25 -0
- package/dist/commonjs/core/segment_sinks/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/index.js +28 -0
- package/dist/commonjs/core/segment_sinks/inventory/buffered_history.d.ts +90 -0
- package/dist/commonjs/core/segment_sinks/inventory/buffered_history.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/buffered_history.js +114 -0
- package/dist/commonjs/core/segment_sinks/inventory/index.d.ts +24 -0
- package/dist/commonjs/core/segment_sinks/inventory/index.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/index.js +23 -0
- package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.d.ts +240 -0
- package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.js +1124 -0
- package/dist/commonjs/core/segment_sinks/inventory/types.d.ts +33 -0
- package/dist/commonjs/core/segment_sinks/inventory/types.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/types.js +17 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.d.ts +34 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.js +74 -0
- package/dist/commonjs/core/segment_sinks/segment_sinks_store.d.ts +204 -0
- package/dist/commonjs/core/segment_sinks/segment_sinks_store.d.ts.map +1 -0
- package/dist/commonjs/core/segment_sinks/segment_sinks_store.js +369 -0
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts +34 -0
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.js +592 -0
- package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.d.ts +54 -0
- package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.js +147 -0
- package/dist/commonjs/core/stream/adaptation/index.d.ts +19 -0
- package/dist/commonjs/core/stream/adaptation/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/index.js +19 -0
- package/dist/commonjs/core/stream/adaptation/types.d.ts +200 -0
- package/dist/commonjs/core/stream/adaptation/types.d.ts.map +1 -0
- package/dist/commonjs/core/stream/adaptation/types.js +2 -0
- package/dist/commonjs/core/stream/index.d.ts +23 -0
- package/dist/commonjs/core/stream/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/index.js +19 -0
- package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.d.ts +31 -0
- package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.d.ts.map +1 -0
- package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.js +119 -0
- package/dist/commonjs/core/stream/orchestrator/index.d.ts +20 -0
- package/dist/commonjs/core/stream/orchestrator/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/orchestrator/index.js +19 -0
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.d.ts +176 -0
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.d.ts.map +1 -0
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.js +676 -0
- package/dist/commonjs/core/stream/period/index.d.ts +19 -0
- package/dist/commonjs/core/stream/period/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/index.js +19 -0
- package/dist/commonjs/core/stream/period/period_stream.d.ts +50 -0
- package/dist/commonjs/core/stream/period/period_stream.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/period_stream.js +545 -0
- package/dist/commonjs/core/stream/period/types.d.ts +120 -0
- package/dist/commonjs/core/stream/period/types.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/types.js +2 -0
- package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +68 -0
- package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.d.ts.map +1 -0
- package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.js +167 -0
- package/dist/commonjs/core/stream/representation/index.d.ts +19 -0
- package/dist/commonjs/core/stream/representation/index.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/index.js +19 -0
- package/dist/commonjs/core/stream/representation/representation_stream.d.ts +54 -0
- package/dist/commonjs/core/stream/representation/representation_stream.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/representation_stream.js +421 -0
- package/dist/commonjs/core/stream/representation/types.d.ts +319 -0
- package/dist/commonjs/core/stream/representation/types.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/types.js +2 -0
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.d.ts +36 -0
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.js +137 -0
- package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.d.ts +54 -0
- package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.js +248 -0
- package/dist/commonjs/core/stream/representation/utils/get_buffer_status.d.ts +73 -0
- package/dist/commonjs/core/stream/representation/utils/get_buffer_status.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/get_buffer_status.js +228 -0
- package/dist/commonjs/core/stream/representation/utils/get_needed_segments.d.ts +92 -0
- package/dist/commonjs/core/stream/representation/utils/get_needed_segments.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/get_needed_segments.js +480 -0
- package/dist/commonjs/core/stream/representation/utils/get_segment_priority.d.ts +29 -0
- package/dist/commonjs/core/stream/representation/utils/get_segment_priority.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/get_segment_priority.js +41 -0
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.d.ts +42 -0
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.js +86 -0
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.d.ts +43 -0
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.d.ts.map +1 -0
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.js +110 -0
- package/dist/commonjs/core/types.d.ts +538 -0
- package/dist/commonjs/core/types.d.ts.map +1 -0
- package/dist/commonjs/core/types.js +3 -0
- package/dist/commonjs/default_config.d.ts +1200 -0
- package/dist/commonjs/default_config.d.ts.map +1 -0
- package/dist/commonjs/default_config.js +1236 -0
- package/dist/commonjs/errors/custom_loader_error.d.ts +36 -0
- package/dist/commonjs/errors/custom_loader_error.d.ts.map +1 -0
- package/dist/commonjs/errors/custom_loader_error.js +60 -0
- package/dist/commonjs/errors/encrypted_media_error.d.ts +72 -0
- package/dist/commonjs/errors/encrypted_media_error.d.ts.map +1 -0
- package/dist/commonjs/errors/encrypted_media_error.js +76 -0
- package/dist/commonjs/errors/error_codes.d.ts +33 -0
- package/dist/commonjs/errors/error_codes.d.ts.map +1 -0
- package/dist/commonjs/errors/error_codes.js +72 -0
- package/dist/commonjs/errors/error_message.d.ts +23 -0
- package/dist/commonjs/errors/error_message.d.ts.map +1 -0
- package/dist/commonjs/errors/error_message.js +27 -0
- package/dist/commonjs/errors/format_error.d.ts +21 -0
- package/dist/commonjs/errors/format_error.d.ts.map +1 -0
- package/dist/commonjs/errors/format_error.js +33 -0
- package/dist/commonjs/errors/index.d.ts +32 -0
- package/dist/commonjs/errors/index.d.ts.map +1 -0
- package/dist/commonjs/errors/index.js +38 -0
- package/dist/commonjs/errors/is_known_error.d.ts +23 -0
- package/dist/commonjs/errors/is_known_error.d.ts.map +1 -0
- package/dist/commonjs/errors/is_known_error.js +35 -0
- package/dist/commonjs/errors/media_error.d.ts +60 -0
- package/dist/commonjs/errors/media_error.d.ts.map +1 -0
- package/dist/commonjs/errors/media_error.js +74 -0
- package/dist/commonjs/errors/network_error.d.ts +59 -0
- package/dist/commonjs/errors/network_error.d.ts.map +1 -0
- package/dist/commonjs/errors/network_error.js +86 -0
- package/dist/commonjs/errors/other_error.d.ts +47 -0
- package/dist/commonjs/errors/other_error.d.ts.map +1 -0
- package/dist/commonjs/errors/other_error.js +72 -0
- package/dist/commonjs/errors/source_buffer_error.d.ts +40 -0
- package/dist/commonjs/errors/source_buffer_error.d.ts.map +1 -0
- package/dist/commonjs/errors/source_buffer_error.js +63 -0
- package/dist/commonjs/errors/worker_initialization_error.d.ts +19 -0
- package/dist/commonjs/errors/worker_initialization_error.d.ts.map +1 -0
- package/dist/commonjs/errors/worker_initialization_error.js +42 -0
- package/dist/commonjs/experimental/features/index.d.ts +19 -0
- package/dist/commonjs/experimental/features/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/index.js +24 -0
- package/dist/commonjs/experimental/features/local.d.ts +20 -0
- package/dist/commonjs/experimental/features/local.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/local.js +31 -0
- package/dist/commonjs/experimental/features/metaplaylist.d.ts +20 -0
- package/dist/commonjs/experimental/features/metaplaylist.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/metaplaylist.js +31 -0
- package/dist/commonjs/experimental/features/multi_thread.d.ts +9 -0
- package/dist/commonjs/experimental/features/multi_thread.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/multi_thread.js +16 -0
- package/dist/commonjs/experimental/features/worker/index.d.ts +3 -0
- package/dist/commonjs/experimental/features/worker/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/features/worker/index.js +10 -0
- package/dist/commonjs/experimental/index.d.ts +3 -0
- package/dist/commonjs/experimental/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/index.js +5 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/eme.d.ts +225 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/eme.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/eme.js +879 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/html5.d.ts +376 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/html5.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/html5.js +970 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/index.d.ts +3 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/index.js +4 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/mse.d.ts +217 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/mse.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/mse.js +702 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/utils.d.ts +33 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/utils.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/DummyMediaElement/utils.js +510 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +18 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.js +23 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +18 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.js +23 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.d.ts +19 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.js +22 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +27 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.js +63 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +27 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.js +75 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +30 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.js +43 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.d.ts +26 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.js +17 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +55 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +385 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts +25 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.js +50 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts +24 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.js +163 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/index.d.ts +31 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/createMetaplaylist/index.js +53 -0
- package/dist/commonjs/experimental/tools/index.d.ts +20 -0
- package/dist/commonjs/experimental/tools/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/index.js +24 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api.d.ts +73 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api.js +286 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.d.ts +19 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.js +19 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.d.ts +19 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/log.js +20 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +21 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.js +112 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +22 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.js +117 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts +30 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +97 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts +24 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.js +184 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +22 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.js +52 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +22 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.js +39 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.d.ts +56 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.js +17 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.d.ts +35 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.d.ts.map +1 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.js +104 -0
- package/dist/commonjs/features/add_features.d.ts +21 -0
- package/dist/commonjs/features/add_features.d.ts.map +1 -0
- package/dist/commonjs/features/add_features.js +59 -0
- package/dist/commonjs/features/features_object.d.ts +23 -0
- package/dist/commonjs/features/features_object.d.ts.map +1 -0
- package/dist/commonjs/features/features_object.js +35 -0
- package/dist/commonjs/features/index.d.ts +36 -0
- package/dist/commonjs/features/index.d.ts.map +1 -0
- package/dist/commonjs/features/index.js +36 -0
- package/dist/commonjs/features/list/dash.d.ts +24 -0
- package/dist/commonjs/features/list/dash.d.ts.map +1 -0
- package/dist/commonjs/features/list/dash.js +39 -0
- package/dist/commonjs/features/list/dash_wasm.d.ts +24 -0
- package/dist/commonjs/features/list/dash_wasm.d.ts.map +1 -0
- package/dist/commonjs/features/list/dash_wasm.js +42 -0
- package/dist/commonjs/features/list/debug_element.d.ts +9 -0
- package/dist/commonjs/features/list/debug_element.d.ts.map +1 -0
- package/dist/commonjs/features/list/debug_element.js +12 -0
- package/dist/commonjs/features/list/directfile.d.ts +25 -0
- package/dist/commonjs/features/list/directfile.d.ts.map +1 -0
- package/dist/commonjs/features/list/directfile.js +29 -0
- package/dist/commonjs/features/list/eme.d.ts +24 -0
- package/dist/commonjs/features/list/eme.d.ts.map +1 -0
- package/dist/commonjs/features/list/eme.js +27 -0
- package/dist/commonjs/features/list/html_sami_parser.d.ts +24 -0
- package/dist/commonjs/features/list/html_sami_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_sami_parser.js +29 -0
- package/dist/commonjs/features/list/html_srt_parser.d.ts +24 -0
- package/dist/commonjs/features/list/html_srt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_srt_parser.js +29 -0
- package/dist/commonjs/features/list/html_text_buffer.d.ts +24 -0
- package/dist/commonjs/features/list/html_text_buffer.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_text_buffer.js +27 -0
- package/dist/commonjs/features/list/html_ttml_parser.d.ts +24 -0
- package/dist/commonjs/features/list/html_ttml_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_ttml_parser.js +29 -0
- package/dist/commonjs/features/list/html_vtt_parser.d.ts +24 -0
- package/dist/commonjs/features/list/html_vtt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/html_vtt_parser.js +30 -0
- package/dist/commonjs/features/list/index.d.ts +33 -0
- package/dist/commonjs/features/list/index.d.ts.map +1 -0
- package/dist/commonjs/features/list/index.js +52 -0
- package/dist/commonjs/features/list/media_source_main.d.ts +9 -0
- package/dist/commonjs/features/list/media_source_main.d.ts.map +1 -0
- package/dist/commonjs/features/list/media_source_main.js +18 -0
- package/dist/commonjs/features/list/native_sami_parser.d.ts +24 -0
- package/dist/commonjs/features/list/native_sami_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_sami_parser.js +29 -0
- package/dist/commonjs/features/list/native_srt_parser.d.ts +24 -0
- package/dist/commonjs/features/list/native_srt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_srt_parser.js +29 -0
- package/dist/commonjs/features/list/native_text_buffer.d.ts +24 -0
- package/dist/commonjs/features/list/native_text_buffer.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_text_buffer.js +27 -0
- package/dist/commonjs/features/list/native_ttml_parser.d.ts +24 -0
- package/dist/commonjs/features/list/native_ttml_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_ttml_parser.js +29 -0
- package/dist/commonjs/features/list/native_vtt_parser.d.ts +24 -0
- package/dist/commonjs/features/list/native_vtt_parser.d.ts.map +1 -0
- package/dist/commonjs/features/list/native_vtt_parser.js +30 -0
- package/dist/commonjs/features/list/smooth.d.ts +24 -0
- package/dist/commonjs/features/list/smooth.d.ts.map +1 -0
- package/dist/commonjs/features/list/smooth.js +37 -0
- package/dist/commonjs/features/types.d.ts +162 -0
- package/dist/commonjs/features/types.d.ts.map +1 -0
- package/dist/commonjs/features/types.js +17 -0
- package/dist/commonjs/importable_worker.d.ts +25 -0
- package/dist/commonjs/importable_worker.d.ts.map +1 -0
- package/dist/commonjs/importable_worker.js +159 -0
- package/dist/commonjs/index.d.ts +18 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +44 -0
- package/dist/commonjs/initialize_worker.d.ts +10 -0
- package/dist/commonjs/initialize_worker.d.ts.map +1 -0
- package/dist/commonjs/initialize_worker.js +73 -0
- package/dist/commonjs/log.d.ts +19 -0
- package/dist/commonjs/log.d.ts.map +1 -0
- package/dist/commonjs/log.js +21 -0
- package/dist/commonjs/main_thread/api/debug/buffer_graph.d.ts +29 -0
- package/dist/commonjs/main_thread/api/debug/buffer_graph.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/buffer_graph.js +213 -0
- package/dist/commonjs/main_thread/api/debug/buffer_size_graph.d.ts +11 -0
- package/dist/commonjs/main_thread/api/debug/buffer_size_graph.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/buffer_size_graph.js +131 -0
- package/dist/commonjs/main_thread/api/debug/constants.d.ts +3 -0
- package/dist/commonjs/main_thread/api/debug/constants.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/constants.js +5 -0
- package/dist/commonjs/main_thread/api/debug/index.d.ts +3 -0
- package/dist/commonjs/main_thread/api/debug/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/index.js +4 -0
- package/dist/commonjs/main_thread/api/debug/modules/general_info.d.ts +4 -0
- package/dist/commonjs/main_thread/api/debug/modules/general_info.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/modules/general_info.js +236 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.d.ts +5 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.js +194 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.d.ts +4 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.js +38 -0
- package/dist/commonjs/main_thread/api/debug/render.d.ts +4 -0
- package/dist/commonjs/main_thread/api/debug/render.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/render.js +35 -0
- package/dist/commonjs/main_thread/api/debug/utils.d.ts +40 -0
- package/dist/commonjs/main_thread/api/debug/utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/debug/utils.js +85 -0
- package/dist/commonjs/main_thread/api/index.d.ts +18 -0
- package/dist/commonjs/main_thread/api/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/index.js +19 -0
- package/dist/commonjs/main_thread/api/option_utils.d.ts +172 -0
- package/dist/commonjs/main_thread/api/option_utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/option_utils.js +384 -0
- package/dist/commonjs/main_thread/api/public_api.d.ts +1046 -0
- package/dist/commonjs/main_thread/api/public_api.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/public_api.js +3094 -0
- package/dist/commonjs/main_thread/api/utils.d.ts +67 -0
- package/dist/commonjs/main_thread/api/utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/api/utils.js +186 -0
- package/dist/commonjs/main_thread/core_interface/base.d.ts +13 -0
- package/dist/commonjs/main_thread/core_interface/base.d.ts.map +1 -0
- package/dist/commonjs/main_thread/core_interface/base.js +32 -0
- package/dist/commonjs/main_thread/core_interface/monothread.d.ts +13 -0
- package/dist/commonjs/main_thread/core_interface/monothread.d.ts.map +1 -0
- package/dist/commonjs/main_thread/core_interface/monothread.js +56 -0
- package/dist/commonjs/main_thread/core_interface/multithread.d.ts +25 -0
- package/dist/commonjs/main_thread/core_interface/multithread.d.ts.map +1 -0
- package/dist/commonjs/main_thread/core_interface/multithread.js +67 -0
- package/dist/commonjs/main_thread/core_interface/types.d.ts +6 -0
- package/dist/commonjs/main_thread/core_interface/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/core_interface/types.js +2 -0
- package/dist/commonjs/main_thread/decrypt/clear_on_stop.d.ts +24 -0
- package/dist/commonjs/main_thread/decrypt/clear_on_stop.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/clear_on_stop.js +91 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.d.ts +240 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.js +1172 -0
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.d.ts +65 -0
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.js +140 -0
- package/dist/commonjs/main_thread/decrypt/create_session.d.ts +55 -0
- package/dist/commonjs/main_thread/decrypt/create_session.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/create_session.js +217 -0
- package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.d.ts +23 -0
- package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.js +67 -0
- package/dist/commonjs/main_thread/decrypt/find_key_system.d.ts +86 -0
- package/dist/commonjs/main_thread/decrypt/find_key_system.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/find_key_system.js +594 -0
- package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.d.ts +24 -0
- package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/get_key_system_configuration.js +35 -0
- package/dist/commonjs/main_thread/decrypt/get_media_keys.d.ts +55 -0
- package/dist/commonjs/main_thread/decrypt/get_media_keys.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/get_media_keys.js +178 -0
- package/dist/commonjs/main_thread/decrypt/index.d.ts +27 -0
- package/dist/commonjs/main_thread/decrypt/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/index.js +45 -0
- package/dist/commonjs/main_thread/decrypt/init_media_keys.d.ts +30 -0
- package/dist/commonjs/main_thread/decrypt/init_media_keys.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/init_media_keys.js +88 -0
- package/dist/commonjs/main_thread/decrypt/session_events_listener.d.ts +77 -0
- package/dist/commonjs/main_thread/decrypt/session_events_listener.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/session_events_listener.js +364 -0
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.d.ts +58 -0
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.js +158 -0
- package/dist/commonjs/main_thread/decrypt/types.d.ts +380 -0
- package/dist/commonjs/main_thread/decrypt/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/types.js +58 -0
- package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.d.ts +35 -0
- package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/are_init_values_compatible.js +144 -0
- package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.d.ts +54 -0
- package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.js +228 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts +27 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.js +92 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts +33 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_stored_persistent_info.js +46 -0
- package/dist/commonjs/main_thread/decrypt/utils/get_drm_system_id.d.ts +21 -0
- package/dist/commonjs/main_thread/decrypt/utils/get_drm_system_id.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/get_drm_system_id.js +40 -0
- package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.d.ts +70 -0
- package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.js +137 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts +14 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_compatible_codec_supported.js +53 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.d.ts +25 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.js +57 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.d.ts +32 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_id_comparison.js +95 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_session_record.d.ts +105 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_session_record.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_session_record.js +189 -0
- package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.d.ts +214 -0
- package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.js +535 -0
- package/dist/commonjs/main_thread/decrypt/utils/media_keys_attacher.d.ts +85 -0
- package/dist/commonjs/main_thread/decrypt/utils/media_keys_attacher.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/media_keys_attacher.js +286 -0
- package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.d.ts +93 -0
- package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.js +404 -0
- package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.d.ts +45 -0
- package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.js +50 -0
- package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.d.ts +65 -0
- package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/decrypt/utils/server_certificate_store.js +123 -0
- package/dist/commonjs/main_thread/init/directfile_content_initializer.d.ts +116 -0
- package/dist/commonjs/main_thread/init/directfile_content_initializer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/directfile_content_initializer.js +301 -0
- package/dist/commonjs/main_thread/init/index.d.ts +18 -0
- package/dist/commonjs/main_thread/init/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/index.js +20 -0
- package/dist/commonjs/main_thread/init/media_source_content_initializer.d.ts +330 -0
- package/dist/commonjs/main_thread/init/media_source_content_initializer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/media_source_content_initializer.js +1724 -0
- package/dist/commonjs/main_thread/init/types.d.ts +240 -0
- package/dist/commonjs/main_thread/init/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/types.js +53 -0
- package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.d.ts +96 -0
- package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.js +113 -0
- package/dist/commonjs/main_thread/init/utils/get_initial_time.d.ts +77 -0
- package/dist/commonjs/main_thread/init/utils/get_initial_time.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/get_initial_time.js +152 -0
- package/dist/commonjs/main_thread/init/utils/get_loaded_reference.d.ts +28 -0
- package/dist/commonjs/main_thread/init/utils/get_loaded_reference.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/get_loaded_reference.js +66 -0
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts +63 -0
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.js +228 -0
- package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.d.ts +99 -0
- package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.js +121 -0
- package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.d.ts +36 -0
- package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.js +54 -0
- package/dist/commonjs/main_thread/init/utils/rebuffering_controller.d.ts +118 -0
- package/dist/commonjs/main_thread/init/utils/rebuffering_controller.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/rebuffering_controller.js +496 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts +40 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/are_same_stream_events.js +35 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/index.d.ts +19 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/index.js +19 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +26 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +129 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts +57 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.js +233 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.d.ts +42 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.js +17 -0
- package/dist/commonjs/main_thread/init/utils/throw_on_media_error.d.ts +25 -0
- package/dist/commonjs/main_thread/init/utils/throw_on_media_error.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/throw_on_media_error.js +66 -0
- package/dist/commonjs/main_thread/init/utils/update_manifest_codec_support.d.ts +35 -0
- package/dist/commonjs/main_thread/init/utils/update_manifest_codec_support.d.ts.map +1 -0
- package/dist/commonjs/main_thread/init/utils/update_manifest_codec_support.js +222 -0
- package/dist/commonjs/main_thread/render_thumbnail.d.ts +27 -0
- package/dist/commonjs/main_thread/render_thumbnail.d.ts.map +1 -0
- package/dist/commonjs/main_thread/render_thumbnail.js +266 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_parsers.d.ts +20 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_parsers.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_parsers.js +25 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_text_displayer.d.ts +105 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_text_displayer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_text_displayer.js +370 -0
- package/dist/commonjs/main_thread/text_displayer/html/index.d.ts +3 -0
- package/dist/commonjs/main_thread/text_displayer/html/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/index.js +4 -0
- package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.d.ts +66 -0
- package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.js +408 -0
- package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.d.ts +16 -0
- package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.js +64 -0
- package/dist/commonjs/main_thread/text_displayer/html/utils.d.ts +55 -0
- package/dist/commonjs/main_thread/text_displayer/html/utils.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/html/utils.js +141 -0
- package/dist/commonjs/main_thread/text_displayer/index.d.ts +3 -0
- package/dist/commonjs/main_thread/text_displayer/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/index.js +2 -0
- package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.d.ts +15 -0
- package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.js +48 -0
- package/dist/commonjs/main_thread/text_displayer/native/index.d.ts +3 -0
- package/dist/commonjs/main_thread/text_displayer/native/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/native/index.js +4 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_parsers.d.ts +16 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_parsers.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_parsers.js +25 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_text_displayer.d.ts +59 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_text_displayer.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_text_displayer.js +226 -0
- package/dist/commonjs/main_thread/text_displayer/types.d.ts +74 -0
- package/dist/commonjs/main_thread/text_displayer/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/text_displayer/types.js +2 -0
- package/dist/commonjs/main_thread/tracks_store/index.d.ts +21 -0
- package/dist/commonjs/main_thread/tracks_store/index.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/index.js +34 -0
- package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.d.ts +208 -0
- package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.js +709 -0
- package/dist/commonjs/main_thread/tracks_store/track_dispatcher.d.ts +108 -0
- package/dist/commonjs/main_thread/tracks_store/track_dispatcher.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/track_dispatcher.js +179 -0
- package/dist/commonjs/main_thread/tracks_store/tracks_store.d.ts +538 -0
- package/dist/commonjs/main_thread/tracks_store/tracks_store.d.ts.map +1 -0
- package/dist/commonjs/main_thread/tracks_store/tracks_store.js +1497 -0
- package/dist/commonjs/main_thread/types.d.ts +566 -0
- package/dist/commonjs/main_thread/types.d.ts.map +1 -0
- package/dist/commonjs/main_thread/types.js +2 -0
- package/dist/commonjs/manifest/classes/adaptation.d.ts +135 -0
- package/dist/commonjs/manifest/classes/adaptation.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/adaptation.js +260 -0
- package/dist/commonjs/manifest/classes/codec_support_cache.d.ts +45 -0
- package/dist/commonjs/manifest/classes/codec_support_cache.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/codec_support_cache.js +84 -0
- package/dist/commonjs/manifest/classes/index.d.ts +32 -0
- package/dist/commonjs/manifest/classes/index.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/index.js +46 -0
- package/dist/commonjs/manifest/classes/manifest.d.ts +425 -0
- package/dist/commonjs/manifest/classes/manifest.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/manifest.js +561 -0
- package/dist/commonjs/manifest/classes/period.d.ts +157 -0
- package/dist/commonjs/manifest/classes/period.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/period.js +283 -0
- package/dist/commonjs/manifest/classes/representation.d.ts +271 -0
- package/dist/commonjs/manifest/classes/representation.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation.js +402 -0
- package/dist/commonjs/manifest/classes/representation_index/index.d.ts +20 -0
- package/dist/commonjs/manifest/classes/representation_index/index.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation_index/index.js +20 -0
- package/dist/commonjs/manifest/classes/representation_index/static.d.ts +117 -0
- package/dist/commonjs/manifest/classes/representation_index/static.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation_index/static.js +164 -0
- package/dist/commonjs/manifest/classes/representation_index/types.d.ts +441 -0
- package/dist/commonjs/manifest/classes/representation_index/types.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/representation_index/types.js +17 -0
- package/dist/commonjs/manifest/classes/types.d.ts +30 -0
- package/dist/commonjs/manifest/classes/types.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/types.js +33 -0
- package/dist/commonjs/manifest/classes/update_period_in_place.d.ts +63 -0
- package/dist/commonjs/manifest/classes/update_period_in_place.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/update_period_in_place.js +237 -0
- package/dist/commonjs/manifest/classes/update_periods.d.ts +51 -0
- package/dist/commonjs/manifest/classes/update_periods.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/update_periods.js +228 -0
- package/dist/commonjs/manifest/classes/utils.d.ts +47 -0
- package/dist/commonjs/manifest/classes/utils.d.ts.map +1 -0
- package/dist/commonjs/manifest/classes/utils.js +49 -0
- package/dist/commonjs/manifest/index.d.ts +17 -0
- package/dist/commonjs/manifest/index.d.ts.map +1 -0
- package/dist/commonjs/manifest/index.js +21 -0
- package/dist/commonjs/manifest/types.d.ts +466 -0
- package/dist/commonjs/manifest/types.d.ts.map +1 -0
- package/dist/commonjs/manifest/types.js +2 -0
- package/dist/commonjs/manifest/utils.d.ts +184 -0
- package/dist/commonjs/manifest/utils.d.ts.map +1 -0
- package/dist/commonjs/manifest/utils.js +844 -0
- package/dist/commonjs/minimal.d.ts +21 -0
- package/dist/commonjs/minimal.d.ts.map +1 -0
- package/dist/commonjs/minimal.js +30 -0
- package/dist/commonjs/mse/index.d.ts +3 -0
- package/dist/commonjs/mse/index.d.ts.map +1 -0
- package/dist/commonjs/mse/index.js +2 -0
- package/dist/commonjs/mse/main_media_source_interface.d.ts +133 -0
- package/dist/commonjs/mse/main_media_source_interface.d.ts.map +1 -0
- package/dist/commonjs/mse/main_media_source_interface.js +610 -0
- package/dist/commonjs/mse/types.d.ts +303 -0
- package/dist/commonjs/mse/types.d.ts.map +1 -0
- package/dist/commonjs/mse/types.js +2 -0
- package/dist/commonjs/mse/utils/end_of_stream.d.ts +35 -0
- package/dist/commonjs/mse/utils/end_of_stream.d.ts.map +1 -0
- package/dist/commonjs/mse/utils/end_of_stream.js +118 -0
- package/dist/commonjs/mse/utils/media_source_duration_updater.d.ts +63 -0
- package/dist/commonjs/mse/utils/media_source_duration_updater.d.ts.map +1 -0
- package/dist/commonjs/mse/utils/media_source_duration_updater.js +277 -0
- package/dist/commonjs/mse/worker_media_source_interface.d.ts +116 -0
- package/dist/commonjs/mse/worker_media_source_interface.d.ts.map +1 -0
- package/dist/commonjs/mse/worker_media_source_interface.js +382 -0
- package/dist/commonjs/parsers/containers/isobmff/constants.d.ts +24 -0
- package/dist/commonjs/parsers/containers/isobmff/constants.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/constants.js +26 -0
- package/dist/commonjs/parsers/containers/isobmff/create_box.d.ts +31 -0
- package/dist/commonjs/parsers/containers/isobmff/create_box.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/create_box.js +93 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/index.d.ts +17 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/index.js +20 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/playready.d.ts +22 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/playready.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/drm/playready.js +38 -0
- package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.d.ts +30 -0
- package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/extract_complete_chunks.js +89 -0
- package/dist/commonjs/parsers/containers/isobmff/find_complete_box.d.ts +26 -0
- package/dist/commonjs/parsers/containers/isobmff/find_complete_box.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/find_complete_box.js +57 -0
- package/dist/commonjs/parsers/containers/isobmff/get_box.d.ts +107 -0
- package/dist/commonjs/parsers/containers/isobmff/get_box.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/get_box.js +254 -0
- package/dist/commonjs/parsers/containers/isobmff/index.d.ts +26 -0
- package/dist/commonjs/parsers/containers/isobmff/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/index.js +47 -0
- package/dist/commonjs/parsers/containers/isobmff/read.d.ts +58 -0
- package/dist/commonjs/parsers/containers/isobmff/read.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/read.js +94 -0
- package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.d.ts +42 -0
- package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.js +86 -0
- package/dist/commonjs/parsers/containers/isobmff/utils.d.ts +143 -0
- package/dist/commonjs/parsers/containers/isobmff/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/isobmff/utils.js +608 -0
- package/dist/commonjs/parsers/containers/matroska/index.d.ts +18 -0
- package/dist/commonjs/parsers/containers/matroska/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/matroska/index.js +21 -0
- package/dist/commonjs/parsers/containers/matroska/utils.d.ts +35 -0
- package/dist/commonjs/parsers/containers/matroska/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/containers/matroska/utils.js +277 -0
- package/dist/commonjs/parsers/images/bif.d.ts +40 -0
- package/dist/commonjs/parsers/images/bif.d.ts.map +1 -0
- package/dist/commonjs/parsers/images/bif.js +103 -0
- package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.d.ts +29 -0
- package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.js +98 -0
- package/dist/commonjs/parsers/manifest/dash/common/content_protection_parser.d.ts +99 -0
- package/dist/commonjs/parsers/manifest/dash/common/content_protection_parser.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/content_protection_parser.js +261 -0
- package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts +18 -0
- package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.js +27 -0
- package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +44 -0
- package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.js +85 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.d.ts +30 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_clock_offset.js +41 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.d.ts +51 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.js +86 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.js +30 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.js +36 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.d.ts +44 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.js +71 -0
- package/dist/commonjs/parsers/manifest/dash/common/index.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/common/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/index.js +25 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts +267 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/base.js +289 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +33 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.js +47 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts +40 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.js +112 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/index.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/index.js +26 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts +209 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/list.js +247 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts +272 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/template.js +453 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +28 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.js +46 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts +19 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.js +82 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts +38 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.js +66 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts +43 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.js +143 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/index.d.ts +20 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/index.js +19 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +37 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.js +90 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +448 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +702 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.d.ts +41 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.js +112 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/indexes/utils.js +31 -0
- package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts +48 -0
- package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.js +164 -0
- package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts +120 -0
- package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.js +138 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +56 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.js +508 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.js +34 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.d.ts +99 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.js +345 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_periods.d.ts +71 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_periods.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_periods.js +341 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.d.ts +87 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.js +131 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representations.d.ts +51 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representations.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/parse_representations.js +300 -0
- package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.d.ts +27 -0
- package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.js +49 -0
- package/dist/commonjs/parsers/manifest/dash/index.d.ts +17 -0
- package/dist/commonjs/parsers/manifest/dash/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/index.js +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/index.d.ts +18 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/index.js +19 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.js +406 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.js +33 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.js +70 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.js +125 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.js +153 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.js +70 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.js +235 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.js +197 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.js +268 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.js +152 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentList.js +60 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.js +125 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.js +36 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.js +82 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts +176 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.js +381 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_xml_string.js +142 -0
- package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts +404 -0
- package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/node_parser_types.js +17 -0
- package/dist/commonjs/parsers/manifest/dash/parsers_types.d.ts +84 -0
- package/dist/commonjs/parsers/manifest/dash/parsers_types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/parsers_types.js +17 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.d.ts +20 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/index.js +19 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +112 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.js +425 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts +33 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +276 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.js +33 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.js +44 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.js +61 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +34 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.js +116 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts +4 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.js +12 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts +29 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.js +168 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +34 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.js +152 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +33 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +183 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.js +38 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts +19 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.js +91 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts +27 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.js +48 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts +19 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.js +104 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.js +55 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts +30 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.js +50 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts +17 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/index.js +20 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts +28 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.js +53 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts +39 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/parsers_stack.js +62 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.d.ts +149 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.js +17 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.d.ts +30 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.js +43 -0
- package/dist/commonjs/parsers/manifest/index.d.ts +17 -0
- package/dist/commonjs/parsers/manifest/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/index.js +17 -0
- package/dist/commonjs/parsers/manifest/local/index.d.ts +19 -0
- package/dist/commonjs/parsers/manifest/local/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/index.js +19 -0
- package/dist/commonjs/parsers/manifest/local/parse_local_manifest.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/local/parse_local_manifest.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/parse_local_manifest.js +140 -0
- package/dist/commonjs/parsers/manifest/local/representation_index.d.ts +99 -0
- package/dist/commonjs/parsers/manifest/local/representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/representation_index.js +297 -0
- package/dist/commonjs/parsers/manifest/local/types.d.ts +288 -0
- package/dist/commonjs/parsers/manifest/local/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/local/types.js +17 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/index.d.ts +20 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/index.js +19 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +65 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.js +322 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts +165 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.js +239 -0
- package/dist/commonjs/parsers/manifest/smooth/create_parser.d.ts +34 -0
- package/dist/commonjs/parsers/manifest/smooth/create_parser.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/create_parser.js +548 -0
- package/dist/commonjs/parsers/manifest/smooth/get_codecs.d.ts +27 -0
- package/dist/commonjs/parsers/manifest/smooth/get_codecs.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/get_codecs.js +54 -0
- package/dist/commonjs/parsers/manifest/smooth/index.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/smooth/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/index.js +22 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.d.ts +28 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.js +72 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.d.ts +31 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.js +97 -0
- package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts +242 -0
- package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/representation_index.js +424 -0
- package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +120 -0
- package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.js +182 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.d.ts +39 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.js +66 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.d.ts +21 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.js +33 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/reduceChildren.js +57 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/tokens.d.ts +29 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/tokens.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/smooth/utils/tokens.js +37 -0
- package/dist/commonjs/parsers/manifest/types.d.ts +443 -0
- package/dist/commonjs/parsers/manifest/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/types.js +17 -0
- package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.js +83 -0
- package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.d.ts +26 -0
- package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.js +76 -0
- package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +28 -0
- package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.js +69 -0
- package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +30 -0
- package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.js +71 -0
- package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.d.ts +25 -0
- package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.js +69 -0
- package/dist/commonjs/parsers/manifest/utils/get_minimum_position.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/utils/get_minimum_position.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/get_minimum_position.js +65 -0
- package/dist/commonjs/parsers/manifest/utils/index_helpers.d.ts +89 -0
- package/dist/commonjs/parsers/manifest/utils/index_helpers.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/index_helpers.js +154 -0
- package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.d.ts +34 -0
- package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.d.ts.map +1 -0
- package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.js +157 -0
- package/dist/commonjs/parsers/texttracks/index.d.ts +17 -0
- package/dist/commonjs/parsers/texttracks/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/index.js +17 -0
- package/dist/commonjs/parsers/texttracks/sami/html.d.ts +32 -0
- package/dist/commonjs/parsers/texttracks/sami/html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/sami/html.js +220 -0
- package/dist/commonjs/parsers/texttracks/sami/native.d.ts +37 -0
- package/dist/commonjs/parsers/texttracks/sami/native.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/sami/native.js +184 -0
- package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.d.ts +30 -0
- package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/find_end_of_cue_block.js +42 -0
- package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.d.ts +23 -0
- package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/get_cue_blocks.js +50 -0
- package/dist/commonjs/parsers/texttracks/srt/html.d.ts +28 -0
- package/dist/commonjs/parsers/texttracks/srt/html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/html.js +192 -0
- package/dist/commonjs/parsers/texttracks/srt/native.d.ts +30 -0
- package/dist/commonjs/parsers/texttracks/srt/native.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/native.js +66 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_cue.d.ts +31 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_cue.js +75 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/srt/parse_timestamp.js +36 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_parameters.d.ts +33 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_parameters.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_parameters.js +90 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_styling.d.ts +42 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_styling.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_styling.js +136 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.d.ts +27 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.js +43 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts +49 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.js +65 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.js +60 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.js +59 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.d.ts +21 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.js +48 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.d.ts +21 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.js +59 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.d.ts +21 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.js +138 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/create_element.d.ts +33 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/create_element.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/create_element.js +477 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts +27 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.js +44 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/index.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/index.js +23 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.d.ts +27 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.js +43 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +36 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.js +87 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.js +76 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/index.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/index.js +23 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.d.ts +25 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.js +200 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +24 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.js +70 -0
- package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.d.ts +44 -0
- package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.js +187 -0
- package/dist/commonjs/parsers/texttracks/ttml/regexps.d.ts +29 -0
- package/dist/commonjs/parsers/texttracks/ttml/regexps.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/regexps.js +49 -0
- package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +50 -0
- package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.js +107 -0
- package/dist/commonjs/parsers/texttracks/ttml/time_parsing.d.ts +31 -0
- package/dist/commonjs/parsers/texttracks/ttml/time_parsing.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/time_parsing.js +126 -0
- package/dist/commonjs/parsers/texttracks/ttml/xml_utils.d.ts +71 -0
- package/dist/commonjs/parsers/texttracks/ttml/xml_utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/ttml/xml_utils.js +186 -0
- package/dist/commonjs/parsers/texttracks/types.d.ts +80 -0
- package/dist/commonjs/parsers/texttracks/types.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/types.js +17 -0
- package/dist/commonjs/parsers/texttracks/webvtt/create_default_style_elements.d.ts +3 -0
- package/dist/commonjs/parsers/texttracks/webvtt/create_default_style_elements.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/create_default_style_elements.js +25 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.d.ts +25 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_cue_blocks.js +47 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.d.ts +25 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.js +55 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +23 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.js +38 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.js +172 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.d.ts +25 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.js +84 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/index.d.ts +28 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/index.js +26 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts +13 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_mp4.js +22 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts +33 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.js +69 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.d.ts +50 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.js +73 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/index.d.ts +23 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/index.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/index.js +26 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts +30 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.js +94 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts +13 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.js +24 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +24 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.js +83 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.d.ts +33 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.js +30 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.d.ts +40 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.js +104 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.js +154 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_style_block.d.ts +28 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_style_block.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_style_block.js +75 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.d.ts +22 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.js +36 -0
- package/dist/commonjs/parsers/texttracks/webvtt/utils.d.ts +58 -0
- package/dist/commonjs/parsers/texttracks/webvtt/utils.d.ts.map +1 -0
- package/dist/commonjs/parsers/texttracks/webvtt/utils.js +121 -0
- package/dist/commonjs/playback_observer/core_playback_observer.d.ts +85 -0
- package/dist/commonjs/playback_observer/core_playback_observer.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/core_playback_observer.js +47 -0
- package/dist/commonjs/playback_observer/index.d.ts +7 -0
- package/dist/commonjs/playback_observer/index.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/index.js +5 -0
- package/dist/commonjs/playback_observer/media_element_playback_observer.d.ts +288 -0
- package/dist/commonjs/playback_observer/media_element_playback_observer.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/media_element_playback_observer.js +845 -0
- package/dist/commonjs/playback_observer/types.d.ts +226 -0
- package/dist/commonjs/playback_observer/types.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/types.js +2 -0
- package/dist/commonjs/playback_observer/utils/generate_read_only_observer.d.ts +12 -0
- package/dist/commonjs/playback_observer/utils/generate_read_only_observer.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/utils/generate_read_only_observer.js +42 -0
- package/dist/commonjs/playback_observer/utils/observation_position.d.ts +99 -0
- package/dist/commonjs/playback_observer/utils/observation_position.d.ts.map +1 -0
- package/dist/commonjs/playback_observer/utils/observation_position.js +99 -0
- package/dist/commonjs/public_types.d.ts +1289 -0
- package/dist/commonjs/public_types.d.ts.map +1 -0
- package/dist/commonjs/public_types.js +6 -0
- package/dist/commonjs/tools/TextTrackRenderer/index.d.ts +24 -0
- package/dist/commonjs/tools/TextTrackRenderer/index.d.ts.map +1 -0
- package/dist/commonjs/tools/TextTrackRenderer/index.js +29 -0
- package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.d.ts +80 -0
- package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.d.ts.map +1 -0
- package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.js +85 -0
- package/dist/commonjs/tools/index.d.ts +20 -0
- package/dist/commonjs/tools/index.d.ts.map +1 -0
- package/dist/commonjs/tools/index.js +23 -0
- package/dist/commonjs/tools/parseBIFThumbnails/index.d.ts +30 -0
- package/dist/commonjs/tools/parseBIFThumbnails/index.d.ts.map +1 -0
- package/dist/commonjs/tools/parseBIFThumbnails/index.js +33 -0
- package/dist/commonjs/tools/string_utils/index.d.ts +17 -0
- package/dist/commonjs/tools/string_utils/index.d.ts.map +1 -0
- package/dist/commonjs/tools/string_utils/index.js +25 -0
- package/dist/commonjs/transports/dash/construct_segment_url.d.ts +19 -0
- package/dist/commonjs/transports/dash/construct_segment_url.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/construct_segment_url.js +28 -0
- package/dist/commonjs/transports/dash/get_events_out_of_emsgs.d.ts +29 -0
- package/dist/commonjs/transports/dash/get_events_out_of_emsgs.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/get_events_out_of_emsgs.js +96 -0
- package/dist/commonjs/transports/dash/index.d.ts +22 -0
- package/dist/commonjs/transports/dash/index.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/index.js +23 -0
- package/dist/commonjs/transports/dash/init_segment_loader.d.ts +29 -0
- package/dist/commonjs/transports/dash/init_segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/init_segment_loader.js +135 -0
- package/dist/commonjs/transports/dash/integrity_checks.d.ts +18 -0
- package/dist/commonjs/transports/dash/integrity_checks.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/integrity_checks.js +209 -0
- package/dist/commonjs/transports/dash/load_chunked_segment_data.d.ts +40 -0
- package/dist/commonjs/transports/dash/load_chunked_segment_data.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/load_chunked_segment_data.js +126 -0
- package/dist/commonjs/transports/dash/manifest_parser.d.ts +19 -0
- package/dist/commonjs/transports/dash/manifest_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/manifest_parser.js +298 -0
- package/dist/commonjs/transports/dash/pipelines.d.ts +24 -0
- package/dist/commonjs/transports/dash/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/pipelines.js +68 -0
- package/dist/commonjs/transports/dash/segment_loader.d.ts +39 -0
- package/dist/commonjs/transports/dash/segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/segment_loader.js +275 -0
- package/dist/commonjs/transports/dash/segment_parser.d.ts +24 -0
- package/dist/commonjs/transports/dash/segment_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/segment_parser.js +160 -0
- package/dist/commonjs/transports/dash/text_loader.d.ts +26 -0
- package/dist/commonjs/transports/dash/text_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/text_loader.js +166 -0
- package/dist/commonjs/transports/dash/text_parser.d.ts +26 -0
- package/dist/commonjs/transports/dash/text_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/text_parser.js +194 -0
- package/dist/commonjs/transports/dash/thumbnails.d.ts +21 -0
- package/dist/commonjs/transports/dash/thumbnails.d.ts.map +1 -0
- package/dist/commonjs/transports/dash/thumbnails.js +127 -0
- package/dist/commonjs/transports/index.d.ts +17 -0
- package/dist/commonjs/transports/index.d.ts.map +1 -0
- package/dist/commonjs/transports/index.js +17 -0
- package/dist/commonjs/transports/local/index.d.ts +18 -0
- package/dist/commonjs/transports/local/index.d.ts.map +1 -0
- package/dist/commonjs/transports/local/index.js +19 -0
- package/dist/commonjs/transports/local/pipelines.d.ts +23 -0
- package/dist/commonjs/transports/local/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/local/pipelines.js +81 -0
- package/dist/commonjs/transports/local/segment_loader.d.ts +29 -0
- package/dist/commonjs/transports/local/segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/local/segment_loader.js +155 -0
- package/dist/commonjs/transports/local/segment_parser.d.ts +21 -0
- package/dist/commonjs/transports/local/segment_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/local/segment_parser.js +90 -0
- package/dist/commonjs/transports/local/text_parser.d.ts +28 -0
- package/dist/commonjs/transports/local/text_parser.d.ts.map +1 -0
- package/dist/commonjs/transports/local/text_parser.js +165 -0
- package/dist/commonjs/transports/metaplaylist/index.d.ts +22 -0
- package/dist/commonjs/transports/metaplaylist/index.d.ts.map +1 -0
- package/dist/commonjs/transports/metaplaylist/index.js +23 -0
- package/dist/commonjs/transports/metaplaylist/manifest_loader.d.ts +27 -0
- package/dist/commonjs/transports/metaplaylist/manifest_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/metaplaylist/manifest_loader.js +57 -0
- package/dist/commonjs/transports/metaplaylist/pipelines.d.ts +18 -0
- package/dist/commonjs/transports/metaplaylist/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/metaplaylist/pipelines.js +268 -0
- package/dist/commonjs/transports/smooth/extract_timings_infos.d.ts +63 -0
- package/dist/commonjs/transports/smooth/extract_timings_infos.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/extract_timings_infos.js +104 -0
- package/dist/commonjs/transports/smooth/index.d.ts +22 -0
- package/dist/commonjs/transports/smooth/index.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/index.js +23 -0
- package/dist/commonjs/transports/smooth/is_mp4_embedded_track.d.ts +23 -0
- package/dist/commonjs/transports/smooth/is_mp4_embedded_track.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/is_mp4_embedded_track.js +27 -0
- package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.d.ts +29 -0
- package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.js +54 -0
- package/dist/commonjs/transports/smooth/isobmff/create_boxes.d.ts +172 -0
- package/dist/commonjs/transports/smooth/isobmff/create_boxes.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_boxes.js +368 -0
- package/dist/commonjs/transports/smooth/isobmff/create_init_segment.d.ts +32 -0
- package/dist/commonjs/transports/smooth/isobmff/create_init_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_init_segment.js +66 -0
- package/dist/commonjs/transports/smooth/isobmff/create_traf_box.d.ts +17 -0
- package/dist/commonjs/transports/smooth/isobmff/create_traf_box.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_traf_box.js +27 -0
- package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.d.ts +30 -0
- package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/create_video_init_segment.js +76 -0
- package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.d.ts +28 -0
- package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.js +46 -0
- package/dist/commonjs/transports/smooth/isobmff/index.d.ts +24 -0
- package/dist/commonjs/transports/smooth/isobmff/index.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/index.js +28 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.d.ts +25 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.js +50 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.d.ts +25 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.js +34 -0
- package/dist/commonjs/transports/smooth/isobmff/patch_segment.d.ts +24 -0
- package/dist/commonjs/transports/smooth/isobmff/patch_segment.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/isobmff/patch_segment.js +131 -0
- package/dist/commonjs/transports/smooth/pipelines.d.ts +18 -0
- package/dist/commonjs/transports/smooth/pipelines.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/pipelines.js +374 -0
- package/dist/commonjs/transports/smooth/segment_loader.d.ts +28 -0
- package/dist/commonjs/transports/smooth/segment_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/segment_loader.js +299 -0
- package/dist/commonjs/transports/smooth/utils.d.ts +27 -0
- package/dist/commonjs/transports/smooth/utils.d.ts.map +1 -0
- package/dist/commonjs/transports/smooth/utils.js +39 -0
- package/dist/commonjs/transports/types.d.ts +772 -0
- package/dist/commonjs/transports/types.d.ts.map +1 -0
- package/dist/commonjs/transports/types.js +17 -0
- package/dist/commonjs/transports/utils/add_query_string.d.ts +13 -0
- package/dist/commonjs/transports/utils/add_query_string.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/add_query_string.js +54 -0
- package/dist/commonjs/transports/utils/byte_range.d.ts +22 -0
- package/dist/commonjs/transports/utils/byte_range.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/byte_range.js +43 -0
- package/dist/commonjs/transports/utils/call_custom_manifest_loader.d.ts +20 -0
- package/dist/commonjs/transports/utils/call_custom_manifest_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/call_custom_manifest_loader.js +99 -0
- package/dist/commonjs/transports/utils/check_isobmff_integrity.d.ts +24 -0
- package/dist/commonjs/transports/utils/check_isobmff_integrity.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/check_isobmff_integrity.js +49 -0
- package/dist/commonjs/transports/utils/generate_manifest_loader.d.ts +27 -0
- package/dist/commonjs/transports/utils/generate_manifest_loader.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/generate_manifest_loader.js +89 -0
- package/dist/commonjs/transports/utils/get_isobmff_timing_infos.d.ts +30 -0
- package/dist/commonjs/transports/utils/get_isobmff_timing_infos.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/get_isobmff_timing_infos.js +70 -0
- package/dist/commonjs/transports/utils/infer_segment_container.d.ts +30 -0
- package/dist/commonjs/transports/utils/infer_segment_container.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/infer_segment_container.js +45 -0
- package/dist/commonjs/transports/utils/parse_text_track.d.ts +53 -0
- package/dist/commonjs/transports/utils/parse_text_track.d.ts.map +1 -0
- package/dist/commonjs/transports/utils/parse_text_track.js +161 -0
- package/dist/commonjs/utils/are_arrays_of_numbers_equal.d.ts +23 -0
- package/dist/commonjs/utils/are_arrays_of_numbers_equal.d.ts.map +1 -0
- package/dist/commonjs/utils/are_arrays_of_numbers_equal.js +38 -0
- package/dist/commonjs/utils/are_codecs_compatible.d.ts +30 -0
- package/dist/commonjs/utils/are_codecs_compatible.d.ts.map +1 -0
- package/dist/commonjs/utils/are_codecs_compatible.js +76 -0
- package/dist/commonjs/utils/array_find.d.ts +24 -0
- package/dist/commonjs/utils/array_find.d.ts.map +1 -0
- package/dist/commonjs/utils/array_find.js +40 -0
- package/dist/commonjs/utils/array_find_index.d.ts +24 -0
- package/dist/commonjs/utils/array_find_index.d.ts.map +1 -0
- package/dist/commonjs/utils/array_find_index.js +39 -0
- package/dist/commonjs/utils/array_includes.d.ts +54 -0
- package/dist/commonjs/utils/array_includes.d.ts.map +1 -0
- package/dist/commonjs/utils/array_includes.js +80 -0
- package/dist/commonjs/utils/assert.d.ts +75 -0
- package/dist/commonjs/utils/assert.d.ts.map +1 -0
- package/dist/commonjs/utils/assert.js +117 -0
- package/dist/commonjs/utils/base64.d.ts +15 -0
- package/dist/commonjs/utils/base64.d.ts.map +1 -0
- package/dist/commonjs/utils/base64.js +212 -0
- package/dist/commonjs/utils/buffer_source_to_uint8.d.ts +8 -0
- package/dist/commonjs/utils/buffer_source_to_uint8.d.ts.map +1 -0
- package/dist/commonjs/utils/buffer_source_to_uint8.js +18 -0
- package/dist/commonjs/utils/byte_parsing.d.ts +132 -0
- package/dist/commonjs/utils/byte_parsing.d.ts.map +1 -0
- package/dist/commonjs/utils/byte_parsing.js +273 -0
- package/dist/commonjs/utils/cancellable_sleep.d.ts +31 -0
- package/dist/commonjs/utils/cancellable_sleep.d.ts.map +1 -0
- package/dist/commonjs/utils/cancellable_sleep.js +38 -0
- package/dist/commonjs/utils/create_cancellable_promise.d.ts +27 -0
- package/dist/commonjs/utils/create_cancellable_promise.d.ts.map +1 -0
- package/dist/commonjs/utils/create_cancellable_promise.js +55 -0
- package/dist/commonjs/utils/create_uuid.d.ts +9 -0
- package/dist/commonjs/utils/create_uuid.d.ts.map +1 -0
- package/dist/commonjs/utils/create_uuid.js +32 -0
- package/dist/commonjs/utils/deep_merge.d.ts +10 -0
- package/dist/commonjs/utils/deep_merge.d.ts.map +1 -0
- package/dist/commonjs/utils/deep_merge.js +73 -0
- package/dist/commonjs/utils/event_emitter.d.ts +59 -0
- package/dist/commonjs/utils/event_emitter.d.ts.map +1 -0
- package/dist/commonjs/utils/event_emitter.js +149 -0
- package/dist/commonjs/utils/flat_map.d.ts +23 -0
- package/dist/commonjs/utils/flat_map.d.ts.map +1 -0
- package/dist/commonjs/utils/flat_map.js +63 -0
- package/dist/commonjs/utils/get_fuzzed_delay.d.ts +22 -0
- package/dist/commonjs/utils/get_fuzzed_delay.d.ts.map +1 -0
- package/dist/commonjs/utils/get_fuzzed_delay.js +28 -0
- package/dist/commonjs/utils/global_scope.d.ts +10 -0
- package/dist/commonjs/utils/global_scope.d.ts.map +1 -0
- package/dist/commonjs/utils/global_scope.js +22 -0
- package/dist/commonjs/utils/hash_buffer.d.ts +33 -0
- package/dist/commonjs/utils/hash_buffer.d.ts.map +1 -0
- package/dist/commonjs/utils/hash_buffer.js +44 -0
- package/dist/commonjs/utils/id_generator.d.ts +22 -0
- package/dist/commonjs/utils/id_generator.d.ts.map +1 -0
- package/dist/commonjs/utils/id_generator.js +35 -0
- package/dist/commonjs/utils/is_node.d.ts +19 -0
- package/dist/commonjs/utils/is_node.d.ts.map +1 -0
- package/dist/commonjs/utils/is_node.js +21 -0
- package/dist/commonjs/utils/is_non_empty_string.d.ts +21 -0
- package/dist/commonjs/utils/is_non_empty_string.d.ts.map +1 -0
- package/dist/commonjs/utils/is_non_empty_string.js +25 -0
- package/dist/commonjs/utils/is_null_or_undefined.d.ts +25 -0
- package/dist/commonjs/utils/is_null_or_undefined.d.ts.map +1 -0
- package/dist/commonjs/utils/is_null_or_undefined.js +29 -0
- package/dist/commonjs/utils/is_worker.d.ts +6 -0
- package/dist/commonjs/utils/is_worker.d.ts.map +1 -0
- package/dist/commonjs/utils/is_worker.js +7 -0
- package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.d.ts +23 -0
- package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.js +207 -0
- package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.d.ts +23 -0
- package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.js +43 -0
- package/dist/commonjs/utils/languages/index.d.ts +21 -0
- package/dist/commonjs/utils/languages/index.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/index.js +22 -0
- package/dist/commonjs/utils/languages/normalize.d.ts +70 -0
- package/dist/commonjs/utils/languages/normalize.d.ts.map +1 -0
- package/dist/commonjs/utils/languages/normalize.js +125 -0
- package/dist/commonjs/utils/logger.d.ts +157 -0
- package/dist/commonjs/utils/logger.d.ts.map +1 -0
- package/dist/commonjs/utils/logger.js +229 -0
- package/dist/commonjs/utils/monotonic_timestamp.d.ts +23 -0
- package/dist/commonjs/utils/monotonic_timestamp.d.ts.map +1 -0
- package/dist/commonjs/utils/monotonic_timestamp.js +40 -0
- package/dist/commonjs/utils/noop.d.ts +24 -0
- package/dist/commonjs/utils/noop.d.ts.map +1 -0
- package/dist/commonjs/utils/noop.js +27 -0
- package/dist/commonjs/utils/object_assign.d.ts +47 -0
- package/dist/commonjs/utils/object_assign.d.ts.map +1 -0
- package/dist/commonjs/utils/object_assign.js +75 -0
- package/dist/commonjs/utils/object_values.d.ts +31 -0
- package/dist/commonjs/utils/object_values.d.ts.map +1 -0
- package/dist/commonjs/utils/object_values.js +27 -0
- package/dist/commonjs/utils/queue_microtask.d.ts +3 -0
- package/dist/commonjs/utils/queue_microtask.d.ts.map +1 -0
- package/dist/commonjs/utils/queue_microtask.js +7 -0
- package/dist/commonjs/utils/ranges.d.ts +214 -0
- package/dist/commonjs/utils/ranges.d.ts.map +1 -0
- package/dist/commonjs/utils/ranges.js +519 -0
- package/dist/commonjs/utils/reference.d.ts +215 -0
- package/dist/commonjs/utils/reference.d.ts.map +1 -0
- package/dist/commonjs/utils/reference.js +333 -0
- package/dist/commonjs/utils/request/fetch.d.ts +81 -0
- package/dist/commonjs/utils/request/fetch.d.ts.map +1 -0
- package/dist/commonjs/utils/request/fetch.js +255 -0
- package/dist/commonjs/utils/request/index.d.ts +25 -0
- package/dist/commonjs/utils/request/index.d.ts.map +1 -0
- package/dist/commonjs/utils/request/index.js +27 -0
- package/dist/commonjs/utils/request/request_error.d.ts +47 -0
- package/dist/commonjs/utils/request/request_error.d.ts.map +1 -0
- package/dist/commonjs/utils/request/request_error.js +89 -0
- package/dist/commonjs/utils/request/xhr.d.ts +100 -0
- package/dist/commonjs/utils/request/xhr.d.ts.map +1 -0
- package/dist/commonjs/utils/request/xhr.js +205 -0
- package/dist/commonjs/utils/retry_promise_with_backoff.d.ts +55 -0
- package/dist/commonjs/utils/retry_promise_with_backoff.d.ts.map +1 -0
- package/dist/commonjs/utils/retry_promise_with_backoff.js +135 -0
- package/dist/commonjs/utils/sleep.d.ts +11 -0
- package/dist/commonjs/utils/sleep.d.ts.map +1 -0
- package/dist/commonjs/utils/sleep.js +17 -0
- package/dist/commonjs/utils/slice_uint8array.d.ts +28 -0
- package/dist/commonjs/utils/slice_uint8array.d.ts.map +1 -0
- package/dist/commonjs/utils/slice_uint8array.js +44 -0
- package/dist/commonjs/utils/sorted_list.d.ts +128 -0
- package/dist/commonjs/utils/sorted_list.d.ts.map +1 -0
- package/dist/commonjs/utils/sorted_list.js +185 -0
- package/dist/commonjs/utils/starts_with.d.ts +27 -0
- package/dist/commonjs/utils/starts_with.d.ts.map +1 -0
- package/dist/commonjs/utils/starts_with.js +38 -0
- package/dist/commonjs/utils/string_parsing.d.ts +89 -0
- package/dist/commonjs/utils/string_parsing.d.ts.map +1 -0
- package/dist/commonjs/utils/string_parsing.js +382 -0
- package/dist/commonjs/utils/sync_or_async.d.ts +71 -0
- package/dist/commonjs/utils/sync_or_async.d.ts.map +1 -0
- package/dist/commonjs/utils/sync_or_async.js +53 -0
- package/dist/commonjs/utils/task_canceller.d.ts +290 -0
- package/dist/commonjs/utils/task_canceller.d.ts.map +1 -0
- package/dist/commonjs/utils/task_canceller.js +375 -0
- package/dist/commonjs/utils/url-utils.d.ts +50 -0
- package/dist/commonjs/utils/url-utils.d.ts.map +1 -0
- package/dist/commonjs/utils/url-utils.js +356 -0
- package/dist/commonjs/utils/warn_once.d.ts +24 -0
- package/dist/commonjs/utils/warn_once.d.ts.map +1 -0
- package/dist/commonjs/utils/warn_once.js +34 -0
- package/dist/commonjs/utils/weak_map_memory.d.ts +71 -0
- package/dist/commonjs/utils/weak_map_memory.d.ts.map +1 -0
- package/dist/commonjs/utils/weak_map_memory.js +87 -0
- package/dist/commonjs/utils/wrapInPromise.d.ts +8 -0
- package/dist/commonjs/utils/wrapInPromise.d.ts.map +1 -0
- package/dist/commonjs/utils/wrapInPromise.js +25 -0
- package/dist/commonjs/utils/xml-parser.d.ts +71 -0
- package/dist/commonjs/utils/xml-parser.d.ts.map +1 -0
- package/dist/commonjs/utils/xml-parser.js +358 -0
- package/dist/commonjs/worker_entry_point.d.ts +2 -0
- package/dist/commonjs/worker_entry_point.d.ts.map +1 -0
- package/dist/commonjs/worker_entry_point.js +10 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts +4 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +1 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.js +3 -0
- package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts +4 -0
- package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts.map +1 -0
- package/dist/es2017/__GENERATED_CODE/embedded_worker.js +3 -0
- package/dist/es2017/__GENERATED_CODE/index.d.ts +3 -0
- package/dist/es2017/__GENERATED_CODE/index.d.ts.map +1 -0
- package/dist/es2017/__GENERATED_CODE/index.js +2 -0
- package/dist/es2017/compat/add_class_name.d.ts +23 -0
- package/dist/es2017/compat/add_class_name.d.ts.map +1 -0
- package/dist/es2017/compat/add_class_name.js +36 -0
- package/dist/es2017/compat/add_text_track.d.ts +32 -0
- package/dist/es2017/compat/add_text_track.d.ts.map +1 -0
- package/dist/es2017/compat/add_text_track.js +49 -0
- package/dist/es2017/compat/browser_compatibility_types.d.ts +384 -0
- package/dist/es2017/compat/browser_compatibility_types.d.ts.map +1 -0
- package/dist/es2017/compat/browser_compatibility_types.js +42 -0
- package/dist/es2017/compat/browser_version.d.ts +25 -0
- package/dist/es2017/compat/browser_version.d.ts.map +1 -0
- package/dist/es2017/compat/browser_version.js +41 -0
- package/dist/es2017/compat/can_patch_isobmff.d.ts +26 -0
- package/dist/es2017/compat/can_patch_isobmff.d.ts.map +1 -0
- package/dist/es2017/compat/can_patch_isobmff.js +29 -0
- package/dist/es2017/compat/can_preload_before_play.d.ts +11 -0
- package/dist/es2017/compat/can_preload_before_play.d.ts.map +1 -0
- package/dist/es2017/compat/can_preload_before_play.js +20 -0
- package/dist/es2017/compat/can_rely_on_request_media_key_system_access.d.ts +41 -0
- package/dist/es2017/compat/can_rely_on_request_media_key_system_access.d.ts.map +1 -0
- package/dist/es2017/compat/can_rely_on_request_media_key_system_access.js +53 -0
- package/dist/es2017/compat/can_rely_on_video_visibility_and_size.d.ts +38 -0
- package/dist/es2017/compat/can_rely_on_video_visibility_and_size.d.ts.map +1 -0
- package/dist/es2017/compat/can_rely_on_video_visibility_and_size.js +49 -0
- package/dist/es2017/compat/can_reuse_media_keys.d.ts +20 -0
- package/dist/es2017/compat/can_reuse_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/can_reuse_media_keys.js +30 -0
- package/dist/es2017/compat/change_source_buffer_type.d.ts +49 -0
- package/dist/es2017/compat/change_source_buffer_type.d.ts.map +1 -0
- package/dist/es2017/compat/change_source_buffer_type.js +37 -0
- package/dist/es2017/compat/clear_element_src.d.ts +22 -0
- package/dist/es2017/compat/clear_element_src.d.ts.map +1 -0
- package/dist/es2017/compat/clear_element_src.js +53 -0
- package/dist/es2017/compat/disable_remote_playback_on_managed_media_source.d.ts +18 -0
- package/dist/es2017/compat/disable_remote_playback_on_managed_media_source.d.ts.map +1 -0
- package/dist/es2017/compat/disable_remote_playback_on_managed_media_source.js +34 -0
- package/dist/es2017/compat/eme/close_session.d.ts +31 -0
- package/dist/es2017/compat/eme/close_session.d.ts.map +1 -0
- package/dist/es2017/compat/eme/close_session.js +102 -0
- package/dist/es2017/compat/eme/constants.d.ts +17 -0
- package/dist/es2017/compat/eme/constants.d.ts.map +1 -0
- package/dist/es2017/compat/eme/constants.js +19 -0
- package/dist/es2017/compat/eme/custom_key_system_access.d.ts +50 -0
- package/dist/es2017/compat/eme/custom_key_system_access.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_key_system_access.js +40 -0
- package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.d.ts +32 -0
- package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.js +149 -0
- package/dist/es2017/compat/eme/custom_media_keys/index.d.ts +7 -0
- package/dist/es2017/compat/eme/custom_media_keys/index.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/index.js +6 -0
- package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +28 -0
- package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.js +58 -0
- package/dist/es2017/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts +44 -0
- package/dist/es2017/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/ms_media_keys_constructor.js +26 -0
- package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts +42 -0
- package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.js +166 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.d.ts +33 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.js +203 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts +23 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts.map +1 -0
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.js +27 -0
- package/dist/es2017/compat/eme/eme-api-implementation.d.ts +78 -0
- package/dist/es2017/compat/eme/eme-api-implementation.d.ts.map +1 -0
- package/dist/es2017/compat/eme/eme-api-implementation.js +207 -0
- package/dist/es2017/compat/eme/generate_key_request.d.ts +55 -0
- package/dist/es2017/compat/eme/generate_key_request.d.ts.map +1 -0
- package/dist/es2017/compat/eme/generate_key_request.js +144 -0
- package/dist/es2017/compat/eme/get_init_data.d.ts +60 -0
- package/dist/es2017/compat/eme/get_init_data.d.ts.map +1 -0
- package/dist/es2017/compat/eme/get_init_data.js +110 -0
- package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts +24 -0
- package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts.map +1 -0
- package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.js +33 -0
- package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.d.ts +26 -0
- package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.d.ts.map +1 -0
- package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.js +54 -0
- package/dist/es2017/compat/eme/index.d.ts +26 -0
- package/dist/es2017/compat/eme/index.d.ts.map +1 -0
- package/dist/es2017/compat/eme/index.js +22 -0
- package/dist/es2017/compat/eme/load_session.d.ts +31 -0
- package/dist/es2017/compat/eme/load_session.d.ts.map +1 -0
- package/dist/es2017/compat/eme/load_session.js +53 -0
- package/dist/es2017/compat/eme/set_media_keys.d.ts +10 -0
- package/dist/es2017/compat/eme/set_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/eme/set_media_keys.js +33 -0
- package/dist/es2017/compat/enable_audio_track.d.ts +12 -0
- package/dist/es2017/compat/enable_audio_track.d.ts.map +1 -0
- package/dist/es2017/compat/enable_audio_track.js +26 -0
- package/dist/es2017/compat/env_detector.d.ts +100 -0
- package/dist/es2017/compat/env_detector.d.ts.map +1 -0
- package/dist/es2017/compat/env_detector.js +185 -0
- package/dist/es2017/compat/event_listeners.d.ts +175 -0
- package/dist/es2017/compat/event_listeners.d.ts.map +1 -0
- package/dist/es2017/compat/event_listeners.js +411 -0
- package/dist/es2017/compat/generate_init_data.d.ts +14 -0
- package/dist/es2017/compat/generate_init_data.d.ts.map +1 -0
- package/dist/es2017/compat/generate_init_data.js +56 -0
- package/dist/es2017/compat/get_start_date.d.ts +32 -0
- package/dist/es2017/compat/get_start_date.d.ts.map +1 -0
- package/dist/es2017/compat/get_start_date.js +44 -0
- package/dist/es2017/compat/has_issues_with_high_media_source_duration.d.ts +22 -0
- package/dist/es2017/compat/has_issues_with_high_media_source_duration.d.ts.map +1 -0
- package/dist/es2017/compat/has_issues_with_high_media_source_duration.js +29 -0
- package/dist/es2017/compat/has_mse_in_worker.d.ts +3 -0
- package/dist/es2017/compat/has_mse_in_worker.d.ts.map +1 -0
- package/dist/es2017/compat/has_mse_in_worker.js +4 -0
- package/dist/es2017/compat/has_webassembly.d.ts +7 -0
- package/dist/es2017/compat/has_webassembly.d.ts.map +1 -0
- package/dist/es2017/compat/has_webassembly.js +6 -0
- package/dist/es2017/compat/has_worker_api.d.ts +10 -0
- package/dist/es2017/compat/has_worker_api.d.ts.map +1 -0
- package/dist/es2017/compat/has_worker_api.js +14 -0
- package/dist/es2017/compat/is_codec_supported.d.ts +28 -0
- package/dist/es2017/compat/is_codec_supported.d.ts.map +1 -0
- package/dist/es2017/compat/is_codec_supported.js +67 -0
- package/dist/es2017/compat/is_seeking_approximate.d.ts +29 -0
- package/dist/es2017/compat/is_seeking_approximate.d.ts.map +1 -0
- package/dist/es2017/compat/is_seeking_approximate.js +33 -0
- package/dist/es2017/compat/is_vtt_cue.d.ts +23 -0
- package/dist/es2017/compat/is_vtt_cue.d.ts.map +1 -0
- package/dist/es2017/compat/is_vtt_cue.js +24 -0
- package/dist/es2017/compat/make_vtt_cue.d.ts +27 -0
- package/dist/es2017/compat/make_vtt_cue.d.ts.map +1 -0
- package/dist/es2017/compat/make_vtt_cue.js +44 -0
- package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.d.ts +17 -0
- package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.d.ts.map +1 -0
- package/dist/es2017/compat/may_media_element_fail_on_undecipherable_data.js +22 -0
- package/dist/es2017/compat/on_height_width_change.d.ts +34 -0
- package/dist/es2017/compat/on_height_width_change.d.ts.map +1 -0
- package/dist/es2017/compat/on_height_width_change.js +72 -0
- package/dist/es2017/compat/patch_webkit_source_buffer.d.ts +17 -0
- package/dist/es2017/compat/patch_webkit_source_buffer.d.ts.map +1 -0
- package/dist/es2017/compat/patch_webkit_source_buffer.js +61 -0
- package/dist/es2017/compat/remove_cue.d.ts +23 -0
- package/dist/es2017/compat/remove_cue.d.ts.map +1 -0
- package/dist/es2017/compat/remove_cue.js +63 -0
- package/dist/es2017/compat/reset_media_element.d.ts +26 -0
- package/dist/es2017/compat/reset_media_element.d.ts.map +1 -0
- package/dist/es2017/compat/reset_media_element.js +40 -0
- package/dist/es2017/compat/should_await_set_media_keys.d.ts +17 -0
- package/dist/es2017/compat/should_await_set_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/should_await_set_media_keys.js +24 -0
- package/dist/es2017/compat/should_favour_custom_safari_EME.d.ts +24 -0
- package/dist/es2017/compat/should_favour_custom_safari_EME.d.ts.map +1 -0
- package/dist/es2017/compat/should_favour_custom_safari_EME.js +34 -0
- package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.d.ts +27 -0
- package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.d.ts.map +1 -0
- package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.js +32 -0
- package/dist/es2017/compat/should_renew_media_key_system_access.d.ts +22 -0
- package/dist/es2017/compat/should_renew_media_key_system_access.d.ts.map +1 -0
- package/dist/es2017/compat/should_renew_media_key_system_access.js +32 -0
- package/dist/es2017/compat/should_unset_media_keys.d.ts +23 -0
- package/dist/es2017/compat/should_unset_media_keys.d.ts.map +1 -0
- package/dist/es2017/compat/should_unset_media_keys.js +27 -0
- package/dist/es2017/compat/should_validate_metadata.d.ts +23 -0
- package/dist/es2017/compat/should_validate_metadata.d.ts.map +1 -0
- package/dist/es2017/compat/should_validate_metadata.js +27 -0
- package/dist/es2017/compat/should_wait_for_data_before_loaded.d.ts +25 -0
- package/dist/es2017/compat/should_wait_for_data_before_loaded.d.ts.map +1 -0
- package/dist/es2017/compat/should_wait_for_data_before_loaded.js +39 -0
- package/dist/es2017/compat/should_wait_for_have_enough_data.d.ts +14 -0
- package/dist/es2017/compat/should_wait_for_have_enough_data.d.ts.map +1 -0
- package/dist/es2017/compat/should_wait_for_have_enough_data.js +19 -0
- package/dist/es2017/config.d.ts +21 -0
- package/dist/es2017/config.d.ts.map +1 -0
- package/dist/es2017/config.js +28 -0
- package/dist/es2017/core/adaptive/adaptive_representation_selector.d.ts +294 -0
- package/dist/es2017/core/adaptive/adaptive_representation_selector.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/adaptive_representation_selector.js +407 -0
- package/dist/es2017/core/adaptive/buffer_based_chooser.d.ts +90 -0
- package/dist/es2017/core/adaptive/buffer_based_chooser.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/buffer_based_chooser.js +198 -0
- package/dist/es2017/core/adaptive/guess_based_chooser.d.ts +96 -0
- package/dist/es2017/core/adaptive/guess_based_chooser.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/guess_based_chooser.js +239 -0
- package/dist/es2017/core/adaptive/index.d.ts +20 -0
- package/dist/es2017/core/adaptive/index.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/index.js +17 -0
- package/dist/es2017/core/adaptive/network_analyzer.d.ts +74 -0
- package/dist/es2017/core/adaptive/network_analyzer.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/network_analyzer.js +347 -0
- package/dist/es2017/core/adaptive/utils/bandwidth_estimator.d.ts +48 -0
- package/dist/es2017/core/adaptive/utils/bandwidth_estimator.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/bandwidth_estimator.js +68 -0
- package/dist/es2017/core/adaptive/utils/ewma.d.ts +40 -0
- package/dist/es2017/core/adaptive/utils/ewma.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/ewma.js +49 -0
- package/dist/es2017/core/adaptive/utils/filter_by_bitrate.d.ts +26 -0
- package/dist/es2017/core/adaptive/utils/filter_by_bitrate.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/filter_by_bitrate.js +37 -0
- package/dist/es2017/core/adaptive/utils/filter_by_resolution.d.ts +32 -0
- package/dist/es2017/core/adaptive/utils/filter_by_resolution.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/filter_by_resolution.js +44 -0
- package/dist/es2017/core/adaptive/utils/get_buffer_levels.d.ts +25 -0
- package/dist/es2017/core/adaptive/utils/get_buffer_levels.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/get_buffer_levels.js +50 -0
- package/dist/es2017/core/adaptive/utils/last_estimate_storage.d.ts +62 -0
- package/dist/es2017/core/adaptive/utils/last_estimate_storage.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/last_estimate_storage.js +35 -0
- package/dist/es2017/core/adaptive/utils/pending_requests_store.d.ts +111 -0
- package/dist/es2017/core/adaptive/utils/pending_requests_store.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/pending_requests_store.js +75 -0
- package/dist/es2017/core/adaptive/utils/representation_score_calculator.d.ts +105 -0
- package/dist/es2017/core/adaptive/utils/representation_score_calculator.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/representation_score_calculator.js +117 -0
- package/dist/es2017/core/adaptive/utils/select_optimal_representation.d.ts +28 -0
- package/dist/es2017/core/adaptive/utils/select_optimal_representation.d.ts.map +1 -0
- package/dist/es2017/core/adaptive/utils/select_optimal_representation.js +36 -0
- package/dist/es2017/core/cmcd/cmcd_data_builder.d.ts +133 -0
- package/dist/es2017/core/cmcd/cmcd_data_builder.d.ts.map +1 -0
- package/dist/es2017/core/cmcd/cmcd_data_builder.js +340 -0
- package/dist/es2017/core/cmcd/index.d.ts +4 -0
- package/dist/es2017/core/cmcd/index.d.ts.map +1 -0
- package/dist/es2017/core/cmcd/index.js +2 -0
- package/dist/es2017/core/entry/FreezeResolver.d.ts +176 -0
- package/dist/es2017/core/entry/FreezeResolver.d.ts.map +1 -0
- package/dist/es2017/core/entry/FreezeResolver.js +387 -0
- package/dist/es2017/core/entry/content_preparer.d.ts +194 -0
- package/dist/es2017/core/entry/content_preparer.d.ts.map +1 -0
- package/dist/es2017/core/entry/content_preparer.js +375 -0
- package/dist/es2017/core/entry/content_time_boundaries_observer.d.ts +195 -0
- package/dist/es2017/core/entry/content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/es2017/core/entry/content_time_boundaries_observer.js +476 -0
- package/dist/es2017/core/entry/core_entry.d.ts +39 -0
- package/dist/es2017/core/entry/core_entry.d.ts.map +1 -0
- package/dist/es2017/core/entry/core_entry.js +927 -0
- package/dist/es2017/core/entry/core_text_displayer_interface.d.ts +65 -0
- package/dist/es2017/core/entry/core_text_displayer_interface.d.ts.map +1 -0
- package/dist/es2017/core/entry/core_text_displayer_interface.js +120 -0
- package/dist/es2017/core/entry/create_content_time_boundaries_observer.d.ts +28 -0
- package/dist/es2017/core/entry/create_content_time_boundaries_observer.d.ts.map +1 -0
- package/dist/es2017/core/entry/create_content_time_boundaries_observer.js +41 -0
- package/dist/es2017/core/entry/get_buffered_data_per_media_buffer.d.ts +15 -0
- package/dist/es2017/core/entry/get_buffered_data_per_media_buffer.d.ts.map +1 -0
- package/dist/es2017/core/entry/get_buffered_data_per_media_buffer.js +34 -0
- package/dist/es2017/core/entry/get_thumbnail_data.d.ts +13 -0
- package/dist/es2017/core/entry/get_thumbnail_data.d.ts.map +1 -0
- package/dist/es2017/core/entry/get_thumbnail_data.js +27 -0
- package/dist/es2017/core/entry/index.d.ts +6 -0
- package/dist/es2017/core/entry/index.d.ts.map +1 -0
- package/dist/es2017/core/entry/index.js +2 -0
- package/dist/es2017/core/entry/synchronize_sinks_on_observation.d.ts +11 -0
- package/dist/es2017/core/entry/synchronize_sinks_on_observation.d.ts.map +1 -0
- package/dist/es2017/core/entry/synchronize_sinks_on_observation.js +17 -0
- package/dist/es2017/core/entry/track_choice_setter.d.ts +20 -0
- package/dist/es2017/core/entry/track_choice_setter.d.ts.map +1 -0
- package/dist/es2017/core/entry/track_choice_setter.js +126 -0
- package/dist/es2017/core/entry/utils.d.ts +3 -0
- package/dist/es2017/core/entry/utils.d.ts.map +1 -0
- package/dist/es2017/core/entry/utils.js +8 -0
- package/dist/es2017/core/fetchers/cdn_prioritizer.d.ts +108 -0
- package/dist/es2017/core/fetchers/cdn_prioritizer.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/cdn_prioritizer.js +154 -0
- package/dist/es2017/core/fetchers/index.d.ts +25 -0
- package/dist/es2017/core/fetchers/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/index.js +20 -0
- package/dist/es2017/core/fetchers/manifest/index.d.ts +20 -0
- package/dist/es2017/core/fetchers/manifest/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/manifest/index.js +17 -0
- package/dist/es2017/core/fetchers/manifest/manifest_fetcher.d.ts +239 -0
- package/dist/es2017/core/fetchers/manifest/manifest_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/manifest/manifest_fetcher.js +541 -0
- package/dist/es2017/core/fetchers/segment/index.d.ts +22 -0
- package/dist/es2017/core/fetchers/segment/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/index.js +17 -0
- package/dist/es2017/core/fetchers/segment/initialization_segment_cache.d.ts +43 -0
- package/dist/es2017/core/fetchers/segment/initialization_segment_cache.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/initialization_segment_cache.js +48 -0
- package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.d.ts +40 -0
- package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.js +67 -0
- package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts +200 -0
- package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/segment_fetcher.js +302 -0
- package/dist/es2017/core/fetchers/segment/segment_queue.d.ts +242 -0
- package/dist/es2017/core/fetchers/segment/segment_queue.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/segment_queue.js +433 -0
- package/dist/es2017/core/fetchers/segment/segment_queue_creator.d.ts +98 -0
- package/dist/es2017/core/fetchers/segment/segment_queue_creator.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/segment_queue_creator.js +73 -0
- package/dist/es2017/core/fetchers/segment/task_prioritizer.d.ts +155 -0
- package/dist/es2017/core/fetchers/segment/task_prioritizer.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/segment/task_prioritizer.js +328 -0
- package/dist/es2017/core/fetchers/thumbnails/index.d.ts +5 -0
- package/dist/es2017/core/fetchers/thumbnails/index.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/thumbnails/index.js +2 -0
- package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.d.ts +79 -0
- package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.js +200 -0
- package/dist/es2017/core/fetchers/utils/error_selector.d.ts +23 -0
- package/dist/es2017/core/fetchers/utils/error_selector.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/utils/error_selector.js +31 -0
- package/dist/es2017/core/fetchers/utils/schedule_request.d.ts +99 -0
- package/dist/es2017/core/fetchers/utils/schedule_request.d.ts.map +1 -0
- package/dist/es2017/core/fetchers/utils/schedule_request.js +331 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.d.ts +44 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.js +148 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts +136 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_sink.js +269 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/index.d.ts +18 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/index.js +17 -0
- package/dist/es2017/core/segment_sinks/implementations/index.d.ts +21 -0
- package/dist/es2017/core/segment_sinks/implementations/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/index.js +18 -0
- package/dist/es2017/core/segment_sinks/implementations/text/index.d.ts +5 -0
- package/dist/es2017/core/segment_sinks/implementations/text/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/text/index.js +2 -0
- package/dist/es2017/core/segment_sinks/implementations/text/text_segment_sink.d.ts +101 -0
- package/dist/es2017/core/segment_sinks/implementations/text/text_segment_sink.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/text/text_segment_sink.js +190 -0
- package/dist/es2017/core/segment_sinks/implementations/types.d.ts +311 -0
- package/dist/es2017/core/segment_sinks/implementations/types.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/types.js +112 -0
- package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts +30 -0
- package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.js +63 -0
- package/dist/es2017/core/segment_sinks/index.d.ts +25 -0
- package/dist/es2017/core/segment_sinks/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/index.js +21 -0
- package/dist/es2017/core/segment_sinks/inventory/buffered_history.d.ts +90 -0
- package/dist/es2017/core/segment_sinks/inventory/buffered_history.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/buffered_history.js +88 -0
- package/dist/es2017/core/segment_sinks/inventory/index.d.ts +24 -0
- package/dist/es2017/core/segment_sinks/inventory/index.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/index.js +18 -0
- package/dist/es2017/core/segment_sinks/inventory/segment_inventory.d.ts +240 -0
- package/dist/es2017/core/segment_sinks/inventory/segment_inventory.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/segment_inventory.js +1075 -0
- package/dist/es2017/core/segment_sinks/inventory/types.d.ts +33 -0
- package/dist/es2017/core/segment_sinks/inventory/types.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/types.js +16 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.d.ts +34 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.js +48 -0
- package/dist/es2017/core/segment_sinks/segment_sinks_store.d.ts +204 -0
- package/dist/es2017/core/segment_sinks/segment_sinks_store.d.ts.map +1 -0
- package/dist/es2017/core/segment_sinks/segment_sinks_store.js +329 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts +34 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.js +471 -0
- package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.d.ts +54 -0
- package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.js +112 -0
- package/dist/es2017/core/stream/adaptation/index.d.ts +19 -0
- package/dist/es2017/core/stream/adaptation/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/index.js +17 -0
- package/dist/es2017/core/stream/adaptation/types.d.ts +200 -0
- package/dist/es2017/core/stream/adaptation/types.d.ts.map +1 -0
- package/dist/es2017/core/stream/adaptation/types.js +1 -0
- package/dist/es2017/core/stream/index.d.ts +23 -0
- package/dist/es2017/core/stream/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/index.js +17 -0
- package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.d.ts +31 -0
- package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.d.ts.map +1 -0
- package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.js +76 -0
- package/dist/es2017/core/stream/orchestrator/index.d.ts +20 -0
- package/dist/es2017/core/stream/orchestrator/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/orchestrator/index.js +17 -0
- package/dist/es2017/core/stream/orchestrator/stream_orchestrator.d.ts +176 -0
- package/dist/es2017/core/stream/orchestrator/stream_orchestrator.d.ts.map +1 -0
- package/dist/es2017/core/stream/orchestrator/stream_orchestrator.js +550 -0
- package/dist/es2017/core/stream/period/index.d.ts +19 -0
- package/dist/es2017/core/stream/period/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/index.js +17 -0
- package/dist/es2017/core/stream/period/period_stream.d.ts +50 -0
- package/dist/es2017/core/stream/period/period_stream.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/period_stream.js +432 -0
- package/dist/es2017/core/stream/period/types.d.ts +120 -0
- package/dist/es2017/core/stream/period/types.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/types.js +1 -0
- package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +68 -0
- package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.d.ts.map +1 -0
- package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.js +130 -0
- package/dist/es2017/core/stream/representation/index.d.ts +19 -0
- package/dist/es2017/core/stream/representation/index.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/index.js +17 -0
- package/dist/es2017/core/stream/representation/representation_stream.d.ts +54 -0
- package/dist/es2017/core/stream/representation/representation_stream.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/representation_stream.js +395 -0
- package/dist/es2017/core/stream/representation/types.d.ts +319 -0
- package/dist/es2017/core/stream/representation/types.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/types.js +1 -0
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.d.ts +36 -0
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.js +79 -0
- package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.d.ts +54 -0
- package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.js +245 -0
- package/dist/es2017/core/stream/representation/utils/get_buffer_status.d.ts +73 -0
- package/dist/es2017/core/stream/representation/utils/get_buffer_status.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/get_buffer_status.js +198 -0
- package/dist/es2017/core/stream/representation/utils/get_needed_segments.d.ts +92 -0
- package/dist/es2017/core/stream/representation/utils/get_needed_segments.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/get_needed_segments.js +450 -0
- package/dist/es2017/core/stream/representation/utils/get_segment_priority.d.ts +29 -0
- package/dist/es2017/core/stream/representation/utils/get_segment_priority.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/get_segment_priority.js +38 -0
- package/dist/es2017/core/stream/representation/utils/push_init_segment.d.ts +42 -0
- package/dist/es2017/core/stream/representation/utils/push_init_segment.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/push_init_segment.js +36 -0
- package/dist/es2017/core/stream/representation/utils/push_media_segment.d.ts +43 -0
- package/dist/es2017/core/stream/representation/utils/push_media_segment.d.ts.map +1 -0
- package/dist/es2017/core/stream/representation/utils/push_media_segment.js +63 -0
- package/dist/es2017/core/types.d.ts +538 -0
- package/dist/es2017/core/types.d.ts.map +1 -0
- package/dist/es2017/core/types.js +2 -0
- package/dist/es2017/default_config.d.ts +1200 -0
- package/dist/es2017/default_config.d.ts.map +1 -0
- package/dist/es2017/default_config.js +1234 -0
- package/dist/es2017/errors/custom_loader_error.d.ts +36 -0
- package/dist/es2017/errors/custom_loader_error.d.ts.map +1 -0
- package/dist/es2017/errors/custom_loader_error.js +39 -0
- package/dist/es2017/errors/encrypted_media_error.d.ts +72 -0
- package/dist/es2017/errors/encrypted_media_error.d.ts.map +1 -0
- package/dist/es2017/errors/encrypted_media_error.js +55 -0
- package/dist/es2017/errors/error_codes.d.ts +33 -0
- package/dist/es2017/errors/error_codes.d.ts.map +1 -0
- package/dist/es2017/errors/error_codes.js +68 -0
- package/dist/es2017/errors/error_message.d.ts +23 -0
- package/dist/es2017/errors/error_message.d.ts.map +1 -0
- package/dist/es2017/errors/error_message.js +24 -0
- package/dist/es2017/errors/format_error.d.ts +21 -0
- package/dist/es2017/errors/format_error.d.ts.map +1 -0
- package/dist/es2017/errors/format_error.js +29 -0
- package/dist/es2017/errors/index.d.ts +32 -0
- package/dist/es2017/errors/index.d.ts.map +1 -0
- package/dist/es2017/errors/index.js +25 -0
- package/dist/es2017/errors/is_known_error.d.ts +23 -0
- package/dist/es2017/errors/is_known_error.d.ts.map +1 -0
- package/dist/es2017/errors/is_known_error.js +32 -0
- package/dist/es2017/errors/media_error.d.ts +60 -0
- package/dist/es2017/errors/media_error.d.ts.map +1 -0
- package/dist/es2017/errors/media_error.js +53 -0
- package/dist/es2017/errors/network_error.d.ts +59 -0
- package/dist/es2017/errors/network_error.d.ts.map +1 -0
- package/dist/es2017/errors/network_error.js +65 -0
- package/dist/es2017/errors/other_error.d.ts +47 -0
- package/dist/es2017/errors/other_error.d.ts.map +1 -0
- package/dist/es2017/errors/other_error.js +51 -0
- package/dist/es2017/errors/source_buffer_error.d.ts +40 -0
- package/dist/es2017/errors/source_buffer_error.d.ts.map +1 -0
- package/dist/es2017/errors/source_buffer_error.js +42 -0
- package/dist/es2017/errors/worker_initialization_error.d.ts +19 -0
- package/dist/es2017/errors/worker_initialization_error.d.ts.map +1 -0
- package/dist/es2017/errors/worker_initialization_error.js +21 -0
- package/dist/es2017/experimental/features/index.d.ts +19 -0
- package/dist/es2017/experimental/features/index.d.ts.map +1 -0
- package/dist/es2017/experimental/features/index.js +18 -0
- package/dist/es2017/experimental/features/local.d.ts +20 -0
- package/dist/es2017/experimental/features/local.d.ts.map +1 -0
- package/dist/es2017/experimental/features/local.js +29 -0
- package/dist/es2017/experimental/features/metaplaylist.d.ts +20 -0
- package/dist/es2017/experimental/features/metaplaylist.d.ts.map +1 -0
- package/dist/es2017/experimental/features/metaplaylist.js +29 -0
- package/dist/es2017/experimental/features/multi_thread.d.ts +9 -0
- package/dist/es2017/experimental/features/multi_thread.d.ts.map +1 -0
- package/dist/es2017/experimental/features/multi_thread.js +14 -0
- package/dist/es2017/experimental/features/worker/index.d.ts +3 -0
- package/dist/es2017/experimental/features/worker/index.d.ts.map +1 -0
- package/dist/es2017/experimental/features/worker/index.js +4 -0
- package/dist/es2017/experimental/index.d.ts +3 -0
- package/dist/es2017/experimental/index.d.ts.map +1 -0
- package/dist/es2017/experimental/index.js +2 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/eme.d.ts +225 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/eme.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/eme.js +790 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/html5.d.ts +376 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/html5.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/html5.js +863 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/index.d.ts +3 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/index.js +2 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/mse.d.ts +217 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/mse.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/mse.js +586 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/utils.d.ts +33 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/utils.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/DummyMediaElement/utils.js +457 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +18 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.js +20 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +18 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.js +20 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.d.ts +19 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.js +18 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +27 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.js +60 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +27 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.js +72 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +30 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.js +40 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.d.ts +26 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.js +16 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +55 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +281 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts +25 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.js +29 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts +24 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.js +116 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/index.d.ts +31 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/createMetaplaylist/index.js +51 -0
- package/dist/es2017/experimental/tools/index.d.ts +20 -0
- package/dist/es2017/experimental/tools/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/index.js +19 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api.d.ts +73 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api.js +196 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.d.ts +19 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.js +17 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.d.ts +19 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/log.js +18 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +21 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.js +58 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +22 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.js +66 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts +30 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +60 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts +24 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/isTypeSupportedWithFeatures.js +140 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +22 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.js +49 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +22 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.js +36 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.d.ts +56 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.js +16 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.d.ts +35 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.d.ts.map +1 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.js +82 -0
- package/dist/es2017/features/add_features.d.ts +21 -0
- package/dist/es2017/features/add_features.d.ts.map +1 -0
- package/dist/es2017/features/add_features.js +34 -0
- package/dist/es2017/features/features_object.d.ts +23 -0
- package/dist/es2017/features/features_object.d.ts.map +1 -0
- package/dist/es2017/features/features_object.js +33 -0
- package/dist/es2017/features/index.d.ts +36 -0
- package/dist/es2017/features/index.d.ts.map +1 -0
- package/dist/es2017/features/index.js +33 -0
- package/dist/es2017/features/list/dash.d.ts +24 -0
- package/dist/es2017/features/list/dash.d.ts.map +1 -0
- package/dist/es2017/features/list/dash.js +37 -0
- package/dist/es2017/features/list/dash_wasm.d.ts +24 -0
- package/dist/es2017/features/list/dash_wasm.d.ts.map +1 -0
- package/dist/es2017/features/list/dash_wasm.js +39 -0
- package/dist/es2017/features/list/debug_element.d.ts +9 -0
- package/dist/es2017/features/list/debug_element.d.ts.map +1 -0
- package/dist/es2017/features/list/debug_element.js +10 -0
- package/dist/es2017/features/list/directfile.d.ts +25 -0
- package/dist/es2017/features/list/directfile.d.ts.map +1 -0
- package/dist/es2017/features/list/directfile.js +27 -0
- package/dist/es2017/features/list/eme.d.ts +24 -0
- package/dist/es2017/features/list/eme.d.ts.map +1 -0
- package/dist/es2017/features/list/eme.js +25 -0
- package/dist/es2017/features/list/html_sami_parser.d.ts +24 -0
- package/dist/es2017/features/list/html_sami_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_sami_parser.js +27 -0
- package/dist/es2017/features/list/html_srt_parser.d.ts +24 -0
- package/dist/es2017/features/list/html_srt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_srt_parser.js +27 -0
- package/dist/es2017/features/list/html_text_buffer.d.ts +24 -0
- package/dist/es2017/features/list/html_text_buffer.d.ts.map +1 -0
- package/dist/es2017/features/list/html_text_buffer.js +25 -0
- package/dist/es2017/features/list/html_ttml_parser.d.ts +24 -0
- package/dist/es2017/features/list/html_ttml_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_ttml_parser.js +27 -0
- package/dist/es2017/features/list/html_vtt_parser.d.ts +24 -0
- package/dist/es2017/features/list/html_vtt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/html_vtt_parser.js +28 -0
- package/dist/es2017/features/list/index.d.ts +33 -0
- package/dist/es2017/features/list/index.d.ts.map +1 -0
- package/dist/es2017/features/list/index.js +32 -0
- package/dist/es2017/features/list/media_source_main.d.ts +9 -0
- package/dist/es2017/features/list/media_source_main.d.ts.map +1 -0
- package/dist/es2017/features/list/media_source_main.js +16 -0
- package/dist/es2017/features/list/native_sami_parser.d.ts +24 -0
- package/dist/es2017/features/list/native_sami_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_sami_parser.js +27 -0
- package/dist/es2017/features/list/native_srt_parser.d.ts +24 -0
- package/dist/es2017/features/list/native_srt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_srt_parser.js +27 -0
- package/dist/es2017/features/list/native_text_buffer.d.ts +24 -0
- package/dist/es2017/features/list/native_text_buffer.d.ts.map +1 -0
- package/dist/es2017/features/list/native_text_buffer.js +25 -0
- package/dist/es2017/features/list/native_ttml_parser.d.ts +24 -0
- package/dist/es2017/features/list/native_ttml_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_ttml_parser.js +27 -0
- package/dist/es2017/features/list/native_vtt_parser.d.ts +24 -0
- package/dist/es2017/features/list/native_vtt_parser.d.ts.map +1 -0
- package/dist/es2017/features/list/native_vtt_parser.js +28 -0
- package/dist/es2017/features/list/smooth.d.ts +24 -0
- package/dist/es2017/features/list/smooth.d.ts.map +1 -0
- package/dist/es2017/features/list/smooth.js +35 -0
- package/dist/es2017/features/types.d.ts +162 -0
- package/dist/es2017/features/types.d.ts.map +1 -0
- package/dist/es2017/features/types.js +16 -0
- package/dist/es2017/importable_worker.d.ts +25 -0
- package/dist/es2017/importable_worker.d.ts.map +1 -0
- package/dist/es2017/importable_worker.js +107 -0
- package/dist/es2017/index.d.ts +18 -0
- package/dist/es2017/index.d.ts.map +1 -0
- package/dist/es2017/index.js +42 -0
- package/dist/es2017/initialize_worker.d.ts +10 -0
- package/dist/es2017/initialize_worker.d.ts.map +1 -0
- package/dist/es2017/initialize_worker.js +70 -0
- package/dist/es2017/log.d.ts +19 -0
- package/dist/es2017/log.d.ts.map +1 -0
- package/dist/es2017/log.js +19 -0
- package/dist/es2017/main_thread/api/debug/buffer_graph.d.ts +29 -0
- package/dist/es2017/main_thread/api/debug/buffer_graph.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/buffer_graph.js +175 -0
- package/dist/es2017/main_thread/api/debug/buffer_size_graph.d.ts +11 -0
- package/dist/es2017/main_thread/api/debug/buffer_size_graph.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/buffer_size_graph.js +102 -0
- package/dist/es2017/main_thread/api/debug/constants.d.ts +3 -0
- package/dist/es2017/main_thread/api/debug/constants.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/constants.js +2 -0
- package/dist/es2017/main_thread/api/debug/index.d.ts +3 -0
- package/dist/es2017/main_thread/api/debug/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/index.js +2 -0
- package/dist/es2017/main_thread/api/debug/modules/general_info.d.ts +4 -0
- package/dist/es2017/main_thread/api/debug/modules/general_info.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/modules/general_info.js +192 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.d.ts +5 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.js +169 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.d.ts +4 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.js +35 -0
- package/dist/es2017/main_thread/api/debug/render.d.ts +4 -0
- package/dist/es2017/main_thread/api/debug/render.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/render.js +32 -0
- package/dist/es2017/main_thread/api/debug/utils.d.ts +40 -0
- package/dist/es2017/main_thread/api/debug/utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/debug/utils.js +54 -0
- package/dist/es2017/main_thread/api/index.d.ts +18 -0
- package/dist/es2017/main_thread/api/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/index.js +17 -0
- package/dist/es2017/main_thread/api/option_utils.d.ts +172 -0
- package/dist/es2017/main_thread/api/option_utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/option_utils.js +358 -0
- package/dist/es2017/main_thread/api/public_api.d.ts +1046 -0
- package/dist/es2017/main_thread/api/public_api.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/public_api.js +2852 -0
- package/dist/es2017/main_thread/api/utils.d.ts +67 -0
- package/dist/es2017/main_thread/api/utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/api/utils.js +179 -0
- package/dist/es2017/main_thread/core_interface/base.d.ts +13 -0
- package/dist/es2017/main_thread/core_interface/base.d.ts.map +1 -0
- package/dist/es2017/main_thread/core_interface/base.js +28 -0
- package/dist/es2017/main_thread/core_interface/monothread.d.ts +13 -0
- package/dist/es2017/main_thread/core_interface/monothread.d.ts.map +1 -0
- package/dist/es2017/main_thread/core_interface/monothread.js +32 -0
- package/dist/es2017/main_thread/core_interface/multithread.d.ts +25 -0
- package/dist/es2017/main_thread/core_interface/multithread.d.ts.map +1 -0
- package/dist/es2017/main_thread/core_interface/multithread.js +45 -0
- package/dist/es2017/main_thread/core_interface/types.d.ts +6 -0
- package/dist/es2017/main_thread/core_interface/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/core_interface/types.js +1 -0
- package/dist/es2017/main_thread/decrypt/clear_on_stop.d.ts +24 -0
- package/dist/es2017/main_thread/decrypt/clear_on_stop.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/clear_on_stop.js +42 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.d.ts +240 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.js +924 -0
- package/dist/es2017/main_thread/decrypt/create_or_load_session.d.ts +65 -0
- package/dist/es2017/main_thread/decrypt/create_or_load_session.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/create_or_load_session.js +88 -0
- package/dist/es2017/main_thread/decrypt/create_session.d.ts +55 -0
- package/dist/es2017/main_thread/decrypt/create_session.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/create_session.js +152 -0
- package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.d.ts +23 -0
- package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.js +24 -0
- package/dist/es2017/main_thread/decrypt/find_key_system.d.ts +86 -0
- package/dist/es2017/main_thread/decrypt/find_key_system.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/find_key_system.js +446 -0
- package/dist/es2017/main_thread/decrypt/get_key_system_configuration.d.ts +24 -0
- package/dist/es2017/main_thread/decrypt/get_key_system_configuration.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/get_key_system_configuration.js +32 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.d.ts +55 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.js +114 -0
- package/dist/es2017/main_thread/decrypt/index.d.ts +27 -0
- package/dist/es2017/main_thread/decrypt/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/index.js +26 -0
- package/dist/es2017/main_thread/decrypt/init_media_keys.d.ts +30 -0
- package/dist/es2017/main_thread/decrypt/init_media_keys.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/init_media_keys.js +38 -0
- package/dist/es2017/main_thread/decrypt/session_events_listener.d.ts +77 -0
- package/dist/es2017/main_thread/decrypt/session_events_listener.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/session_events_listener.js +273 -0
- package/dist/es2017/main_thread/decrypt/set_server_certificate.d.ts +58 -0
- package/dist/es2017/main_thread/decrypt/set_server_certificate.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/set_server_certificate.js +96 -0
- package/dist/es2017/main_thread/decrypt/types.d.ts +380 -0
- package/dist/es2017/main_thread/decrypt/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/types.js +55 -0
- package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.d.ts +35 -0
- package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/are_init_values_compatible.js +141 -0
- package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.d.ts +54 -0
- package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.js +180 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts +27 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.js +42 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts +33 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_stored_persistent_info.js +43 -0
- package/dist/es2017/main_thread/decrypt/utils/get_drm_system_id.d.ts +21 -0
- package/dist/es2017/main_thread/decrypt/utils/get_drm_system_id.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/get_drm_system_id.js +37 -0
- package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.d.ts +70 -0
- package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.js +105 -0
- package/dist/es2017/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts +14 -0
- package/dist/es2017/main_thread/decrypt/utils/is_compatible_codec_supported.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/is_compatible_codec_supported.js +28 -0
- package/dist/es2017/main_thread/decrypt/utils/is_session_usable.d.ts +25 -0
- package/dist/es2017/main_thread/decrypt/utils/is_session_usable.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/is_session_usable.js +54 -0
- package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.d.ts +32 -0
- package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/key_id_comparison.js +48 -0
- package/dist/es2017/main_thread/decrypt/utils/key_session_record.d.ts +105 -0
- package/dist/es2017/main_thread/decrypt/utils/key_session_record.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/key_session_record.js +152 -0
- package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.d.ts +214 -0
- package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.js +382 -0
- package/dist/es2017/main_thread/decrypt/utils/media_keys_attacher.d.ts +85 -0
- package/dist/es2017/main_thread/decrypt/utils/media_keys_attacher.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/media_keys_attacher.js +184 -0
- package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.d.ts +93 -0
- package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.js +369 -0
- package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.d.ts +45 -0
- package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.js +46 -0
- package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.d.ts +65 -0
- package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/decrypt/utils/server_certificate_store.js +121 -0
- package/dist/es2017/main_thread/init/directfile_content_initializer.d.ts +116 -0
- package/dist/es2017/main_thread/init/directfile_content_initializer.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/directfile_content_initializer.js +267 -0
- package/dist/es2017/main_thread/init/index.d.ts +18 -0
- package/dist/es2017/main_thread/init/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/index.js +16 -0
- package/dist/es2017/main_thread/init/media_source_content_initializer.d.ts +330 -0
- package/dist/es2017/main_thread/init/media_source_content_initializer.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/media_source_content_initializer.js +1570 -0
- package/dist/es2017/main_thread/init/types.d.ts +240 -0
- package/dist/es2017/main_thread/init/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/types.js +29 -0
- package/dist/es2017/main_thread/init/utils/create_core_playback_observer.d.ts +96 -0
- package/dist/es2017/main_thread/init/utils/create_core_playback_observer.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/create_core_playback_observer.js +107 -0
- package/dist/es2017/main_thread/init/utils/get_initial_time.d.ts +77 -0
- package/dist/es2017/main_thread/init/utils/get_initial_time.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/get_initial_time.js +149 -0
- package/dist/es2017/main_thread/init/utils/get_loaded_reference.d.ts +28 -0
- package/dist/es2017/main_thread/init/utils/get_loaded_reference.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/get_loaded_reference.js +63 -0
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts +63 -0
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.js +224 -0
- package/dist/es2017/main_thread/init/utils/initialize_content_decryption.d.ts +99 -0
- package/dist/es2017/main_thread/init/utils/initialize_content_decryption.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/initialize_content_decryption.js +118 -0
- package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.d.ts +36 -0
- package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.js +50 -0
- package/dist/es2017/main_thread/init/utils/rebuffering_controller.d.ts +118 -0
- package/dist/es2017/main_thread/init/utils/rebuffering_controller.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/rebuffering_controller.js +450 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts +40 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/are_same_stream_events.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/are_same_stream_events.js +33 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/index.d.ts +19 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/index.js +17 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +26 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +82 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts +57 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.js +178 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.d.ts +42 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.js +16 -0
- package/dist/es2017/main_thread/init/utils/throw_on_media_error.d.ts +25 -0
- package/dist/es2017/main_thread/init/utils/throw_on_media_error.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/throw_on_media_error.js +63 -0
- package/dist/es2017/main_thread/init/utils/update_manifest_codec_support.d.ts +35 -0
- package/dist/es2017/main_thread/init/utils/update_manifest_codec_support.d.ts.map +1 -0
- package/dist/es2017/main_thread/init/utils/update_manifest_codec_support.js +147 -0
- package/dist/es2017/main_thread/render_thumbnail.d.ts +27 -0
- package/dist/es2017/main_thread/render_thumbnail.d.ts.map +1 -0
- package/dist/es2017/main_thread/render_thumbnail.js +198 -0
- package/dist/es2017/main_thread/text_displayer/html/html_parsers.d.ts +20 -0
- package/dist/es2017/main_thread/text_displayer/html/html_parsers.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/html_parsers.js +22 -0
- package/dist/es2017/main_thread/text_displayer/html/html_text_displayer.d.ts +105 -0
- package/dist/es2017/main_thread/text_displayer/html/html_text_displayer.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/html_text_displayer.js +310 -0
- package/dist/es2017/main_thread/text_displayer/html/index.d.ts +3 -0
- package/dist/es2017/main_thread/text_displayer/html/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/index.js +2 -0
- package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.d.ts +66 -0
- package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.js +356 -0
- package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.d.ts +16 -0
- package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.js +61 -0
- package/dist/es2017/main_thread/text_displayer/html/utils.d.ts +55 -0
- package/dist/es2017/main_thread/text_displayer/html/utils.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/html/utils.js +133 -0
- package/dist/es2017/main_thread/text_displayer/index.d.ts +3 -0
- package/dist/es2017/main_thread/text_displayer/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/index.js +1 -0
- package/dist/es2017/main_thread/text_displayer/manual_time_ranges.d.ts +15 -0
- package/dist/es2017/main_thread/text_displayer/manual_time_ranges.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/manual_time_ranges.js +44 -0
- package/dist/es2017/main_thread/text_displayer/native/index.d.ts +3 -0
- package/dist/es2017/main_thread/text_displayer/native/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/native/index.js +2 -0
- package/dist/es2017/main_thread/text_displayer/native/native_parsers.d.ts +16 -0
- package/dist/es2017/main_thread/text_displayer/native/native_parsers.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/native/native_parsers.js +22 -0
- package/dist/es2017/main_thread/text_displayer/native/native_text_displayer.d.ts +59 -0
- package/dist/es2017/main_thread/text_displayer/native/native_text_displayer.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/native/native_text_displayer.js +200 -0
- package/dist/es2017/main_thread/text_displayer/types.d.ts +74 -0
- package/dist/es2017/main_thread/text_displayer/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/text_displayer/types.js +1 -0
- package/dist/es2017/main_thread/tracks_store/index.d.ts +21 -0
- package/dist/es2017/main_thread/tracks_store/index.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/index.js +18 -0
- package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.d.ts +208 -0
- package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.js +681 -0
- package/dist/es2017/main_thread/tracks_store/track_dispatcher.d.ts +108 -0
- package/dist/es2017/main_thread/tracks_store/track_dispatcher.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/track_dispatcher.js +156 -0
- package/dist/es2017/main_thread/tracks_store/tracks_store.d.ts +538 -0
- package/dist/es2017/main_thread/tracks_store/tracks_store.d.ts.map +1 -0
- package/dist/es2017/main_thread/tracks_store/tracks_store.js +1354 -0
- package/dist/es2017/main_thread/types.d.ts +566 -0
- package/dist/es2017/main_thread/types.d.ts.map +1 -0
- package/dist/es2017/main_thread/types.js +1 -0
- package/dist/es2017/manifest/classes/adaptation.d.ts +135 -0
- package/dist/es2017/manifest/classes/adaptation.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/adaptation.js +219 -0
- package/dist/es2017/manifest/classes/codec_support_cache.d.ts +45 -0
- package/dist/es2017/manifest/classes/codec_support_cache.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/codec_support_cache.js +58 -0
- package/dist/es2017/manifest/classes/index.d.ts +32 -0
- package/dist/es2017/manifest/classes/index.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/index.js +24 -0
- package/dist/es2017/manifest/classes/manifest.d.ts +425 -0
- package/dist/es2017/manifest/classes/manifest.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/manifest.js +436 -0
- package/dist/es2017/manifest/classes/period.d.ts +157 -0
- package/dist/es2017/manifest/classes/period.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/period.js +215 -0
- package/dist/es2017/manifest/classes/representation.d.ts +271 -0
- package/dist/es2017/manifest/classes/representation.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation.js +366 -0
- package/dist/es2017/manifest/classes/representation_index/index.d.ts +20 -0
- package/dist/es2017/manifest/classes/representation_index/index.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation_index/index.js +17 -0
- package/dist/es2017/manifest/classes/representation_index/static.d.ts +117 -0
- package/dist/es2017/manifest/classes/representation_index/static.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation_index/static.js +160 -0
- package/dist/es2017/manifest/classes/representation_index/types.d.ts +441 -0
- package/dist/es2017/manifest/classes/representation_index/types.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/representation_index/types.js +16 -0
- package/dist/es2017/manifest/classes/types.d.ts +30 -0
- package/dist/es2017/manifest/classes/types.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/types.js +30 -0
- package/dist/es2017/manifest/classes/update_period_in_place.d.ts +63 -0
- package/dist/es2017/manifest/classes/update_period_in_place.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/update_period_in_place.js +168 -0
- package/dist/es2017/manifest/classes/update_periods.d.ts +51 -0
- package/dist/es2017/manifest/classes/update_periods.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/update_periods.js +193 -0
- package/dist/es2017/manifest/classes/utils.d.ts +47 -0
- package/dist/es2017/manifest/classes/utils.d.ts.map +1 -0
- package/dist/es2017/manifest/classes/utils.js +45 -0
- package/dist/es2017/manifest/index.d.ts +17 -0
- package/dist/es2017/manifest/index.d.ts.map +1 -0
- package/dist/es2017/manifest/index.js +3 -0
- package/dist/es2017/manifest/types.d.ts +466 -0
- package/dist/es2017/manifest/types.d.ts.map +1 -0
- package/dist/es2017/manifest/types.js +1 -0
- package/dist/es2017/manifest/utils.d.ts +184 -0
- package/dist/es2017/manifest/utils.d.ts.map +1 -0
- package/dist/es2017/manifest/utils.js +558 -0
- package/dist/es2017/minimal.d.ts +21 -0
- package/dist/es2017/minimal.d.ts.map +1 -0
- package/dist/es2017/minimal.js +28 -0
- package/dist/es2017/mse/index.d.ts +3 -0
- package/dist/es2017/mse/index.d.ts.map +1 -0
- package/dist/es2017/mse/index.js +1 -0
- package/dist/es2017/mse/main_media_source_interface.d.ts +133 -0
- package/dist/es2017/mse/main_media_source_interface.d.ts.map +1 -0
- package/dist/es2017/mse/main_media_source_interface.js +513 -0
- package/dist/es2017/mse/types.d.ts +303 -0
- package/dist/es2017/mse/types.d.ts.map +1 -0
- package/dist/es2017/mse/types.js +1 -0
- package/dist/es2017/mse/utils/end_of_stream.d.ts +35 -0
- package/dist/es2017/mse/utils/end_of_stream.d.ts.map +1 -0
- package/dist/es2017/mse/utils/end_of_stream.js +92 -0
- package/dist/es2017/mse/utils/media_source_duration_updater.d.ts +63 -0
- package/dist/es2017/mse/utils/media_source_duration_updater.d.ts.map +1 -0
- package/dist/es2017/mse/utils/media_source_duration_updater.js +270 -0
- package/dist/es2017/mse/worker_media_source_interface.d.ts +116 -0
- package/dist/es2017/mse/worker_media_source_interface.d.ts.map +1 -0
- package/dist/es2017/mse/worker_media_source_interface.js +317 -0
- package/dist/es2017/parsers/containers/isobmff/constants.d.ts +24 -0
- package/dist/es2017/parsers/containers/isobmff/constants.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/constants.js +23 -0
- package/dist/es2017/parsers/containers/isobmff/create_box.d.ts +31 -0
- package/dist/es2017/parsers/containers/isobmff/create_box.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/create_box.js +65 -0
- package/dist/es2017/parsers/containers/isobmff/drm/index.d.ts +17 -0
- package/dist/es2017/parsers/containers/isobmff/drm/index.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/drm/index.js +16 -0
- package/dist/es2017/parsers/containers/isobmff/drm/playready.d.ts +22 -0
- package/dist/es2017/parsers/containers/isobmff/drm/playready.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/drm/playready.js +35 -0
- package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.d.ts +30 -0
- package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/extract_complete_chunks.js +85 -0
- package/dist/es2017/parsers/containers/isobmff/find_complete_box.d.ts +26 -0
- package/dist/es2017/parsers/containers/isobmff/find_complete_box.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/find_complete_box.js +54 -0
- package/dist/es2017/parsers/containers/isobmff/get_box.d.ts +107 -0
- package/dist/es2017/parsers/containers/isobmff/get_box.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/get_box.js +224 -0
- package/dist/es2017/parsers/containers/isobmff/index.d.ts +26 -0
- package/dist/es2017/parsers/containers/isobmff/index.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/index.js +24 -0
- package/dist/es2017/parsers/containers/isobmff/read.d.ts +58 -0
- package/dist/es2017/parsers/containers/isobmff/read.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/read.js +87 -0
- package/dist/es2017/parsers/containers/isobmff/take_pssh_out.d.ts +42 -0
- package/dist/es2017/parsers/containers/isobmff/take_pssh_out.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/take_pssh_out.js +82 -0
- package/dist/es2017/parsers/containers/isobmff/utils.d.ts +143 -0
- package/dist/es2017/parsers/containers/isobmff/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/isobmff/utils.js +537 -0
- package/dist/es2017/parsers/containers/matroska/index.d.ts +18 -0
- package/dist/es2017/parsers/containers/matroska/index.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/matroska/index.js +16 -0
- package/dist/es2017/parsers/containers/matroska/utils.d.ts +35 -0
- package/dist/es2017/parsers/containers/matroska/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/containers/matroska/utils.js +256 -0
- package/dist/es2017/parsers/images/bif.d.ts +40 -0
- package/dist/es2017/parsers/images/bif.d.ts.map +1 -0
- package/dist/es2017/parsers/images/bif.js +101 -0
- package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.d.ts +29 -0
- package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.js +44 -0
- package/dist/es2017/parsers/manifest/dash/common/content_protection_parser.d.ts +99 -0
- package/dist/es2017/parsers/manifest/dash/common/content_protection_parser.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/content_protection_parser.js +198 -0
- package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts +18 -0
- package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.js +24 -0
- package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +44 -0
- package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.js +82 -0
- package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.d.ts +30 -0
- package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_clock_offset.js +38 -0
- package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.d.ts +51 -0
- package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.js +67 -0
- package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.js +25 -0
- package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts +26 -0
- package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.js +33 -0
- package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.d.ts +44 -0
- package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.js +68 -0
- package/dist/es2017/parsers/manifest/dash/common/index.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/common/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/index.js +19 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts +267 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/base.js +285 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +33 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.js +44 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts +40 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.js +109 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/index.d.ts +26 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/index.js +20 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts +209 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/list.js +227 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts +272 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/template.js +449 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +28 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.js +43 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts +19 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.js +79 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts +38 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.js +63 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts +43 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.js +140 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/index.d.ts +20 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/index.js +17 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +37 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.js +65 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +448 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +685 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.d.ts +41 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.js +107 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/utils.d.ts +26 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/indexes/utils.js +28 -0
- package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts +48 -0
- package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.js +154 -0
- package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts +120 -0
- package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.js +134 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +56 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.js +434 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.js +31 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_mpd.d.ts +99 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_mpd.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_mpd.js +291 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_periods.d.ts +71 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_periods.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_periods.js +266 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.d.ts +87 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.js +100 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representations.d.ts +51 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representations.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/parse_representations.js +236 -0
- package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.d.ts +27 -0
- package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.js +46 -0
- package/dist/es2017/parsers/manifest/dash/index.d.ts +17 -0
- package/dist/es2017/parsers/manifest/dash/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/index.js +16 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/index.d.ts +18 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/index.js +17 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.js +365 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.js +30 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.js +45 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.js +84 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.js +101 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.js +45 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.js +194 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.js +156 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.js +227 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.js +111 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentList.js +41 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.js +84 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.js +33 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.js +57 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts +176 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.js +309 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_xml_string.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_xml_string.js +114 -0
- package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts +404 -0
- package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/node_parser_types.js +16 -0
- package/dist/es2017/parsers/manifest/dash/parsers_types.d.ts +84 -0
- package/dist/es2017/parsers/manifest/dash/parsers_types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/parsers_types.js +16 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/index.d.ts +20 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/index.js +17 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +112 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.js +355 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts +33 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +272 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.js +30 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.js +41 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.js +58 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +34 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.js +112 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts +4 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.js +9 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts +29 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.js +164 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +34 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.js +148 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +33 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +179 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts +25 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.js +35 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts +19 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.js +88 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts +27 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.js +45 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts +19 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.js +101 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts +26 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.js +52 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts +30 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.js +47 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts +17 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/index.js +16 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts +28 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.js +50 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts +39 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/parsers_stack.js +58 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.d.ts +149 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.js +16 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.d.ts +30 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.js +40 -0
- package/dist/es2017/parsers/manifest/index.d.ts +17 -0
- package/dist/es2017/parsers/manifest/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/index.js +16 -0
- package/dist/es2017/parsers/manifest/local/index.d.ts +19 -0
- package/dist/es2017/parsers/manifest/local/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/index.js +17 -0
- package/dist/es2017/parsers/manifest/local/parse_local_manifest.d.ts +23 -0
- package/dist/es2017/parsers/manifest/local/parse_local_manifest.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/parse_local_manifest.js +133 -0
- package/dist/es2017/parsers/manifest/local/representation_index.d.ts +99 -0
- package/dist/es2017/parsers/manifest/local/representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/representation_index.js +243 -0
- package/dist/es2017/parsers/manifest/local/types.d.ts +288 -0
- package/dist/es2017/parsers/manifest/local/types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/local/types.js +16 -0
- package/dist/es2017/parsers/manifest/metaplaylist/index.d.ts +20 -0
- package/dist/es2017/parsers/manifest/metaplaylist/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/index.js +17 -0
- package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +65 -0
- package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.js +265 -0
- package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts +165 -0
- package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/metaplaylist/representation_index.js +234 -0
- package/dist/es2017/parsers/manifest/smooth/create_parser.d.ts +34 -0
- package/dist/es2017/parsers/manifest/smooth/create_parser.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/create_parser.js +520 -0
- package/dist/es2017/parsers/manifest/smooth/get_codecs.d.ts +27 -0
- package/dist/es2017/parsers/manifest/smooth/get_codecs.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/get_codecs.js +50 -0
- package/dist/es2017/parsers/manifest/smooth/index.d.ts +22 -0
- package/dist/es2017/parsers/manifest/smooth/index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/index.js +19 -0
- package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.d.ts +28 -0
- package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.js +69 -0
- package/dist/es2017/parsers/manifest/smooth/parse_protection_node.d.ts +31 -0
- package/dist/es2017/parsers/manifest/smooth/parse_protection_node.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/parse_protection_node.js +71 -0
- package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts +242 -0
- package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/representation_index.js +420 -0
- package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +120 -0
- package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.js +156 -0
- package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.d.ts +39 -0
- package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.js +63 -0
- package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.d.ts +21 -0
- package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.js +30 -0
- package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.d.ts +25 -0
- package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/reduceChildren.js +32 -0
- package/dist/es2017/parsers/manifest/smooth/utils/tokens.d.ts +29 -0
- package/dist/es2017/parsers/manifest/smooth/utils/tokens.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/smooth/utils/tokens.js +34 -0
- package/dist/es2017/parsers/manifest/types.d.ts +443 -0
- package/dist/es2017/parsers/manifest/types.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/types.js +16 -0
- package/dist/es2017/parsers/manifest/utils/check_manifest_ids.d.ts +26 -0
- package/dist/es2017/parsers/manifest/utils/check_manifest_ids.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/check_manifest_ids.js +80 -0
- package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.d.ts +26 -0
- package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.js +73 -0
- package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +28 -0
- package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.js +44 -0
- package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +30 -0
- package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.js +46 -0
- package/dist/es2017/parsers/manifest/utils/get_maximum_positions.d.ts +25 -0
- package/dist/es2017/parsers/manifest/utils/get_maximum_positions.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_maximum_positions.js +66 -0
- package/dist/es2017/parsers/manifest/utils/get_minimum_position.d.ts +22 -0
- package/dist/es2017/parsers/manifest/utils/get_minimum_position.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/get_minimum_position.js +62 -0
- package/dist/es2017/parsers/manifest/utils/index_helpers.d.ts +89 -0
- package/dist/es2017/parsers/manifest/utils/index_helpers.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/index_helpers.js +146 -0
- package/dist/es2017/parsers/manifest/utils/update_segment_timeline.d.ts +34 -0
- package/dist/es2017/parsers/manifest/utils/update_segment_timeline.d.ts.map +1 -0
- package/dist/es2017/parsers/manifest/utils/update_segment_timeline.js +129 -0
- package/dist/es2017/parsers/texttracks/index.d.ts +17 -0
- package/dist/es2017/parsers/texttracks/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/index.js +16 -0
- package/dist/es2017/parsers/texttracks/sami/html.d.ts +32 -0
- package/dist/es2017/parsers/texttracks/sami/html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/sami/html.js +201 -0
- package/dist/es2017/parsers/texttracks/sami/native.d.ts +37 -0
- package/dist/es2017/parsers/texttracks/sami/native.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/sami/native.js +165 -0
- package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.d.ts +30 -0
- package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/find_end_of_cue_block.js +39 -0
- package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.d.ts +23 -0
- package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/get_cue_blocks.js +47 -0
- package/dist/es2017/parsers/texttracks/srt/html.d.ts +28 -0
- package/dist/es2017/parsers/texttracks/srt/html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/html.js +167 -0
- package/dist/es2017/parsers/texttracks/srt/native.d.ts +30 -0
- package/dist/es2017/parsers/texttracks/srt/native.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/native.js +63 -0
- package/dist/es2017/parsers/texttracks/srt/parse_cue.d.ts +31 -0
- package/dist/es2017/parsers/texttracks/srt/parse_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/parse_cue.js +55 -0
- package/dist/es2017/parsers/texttracks/srt/parse_timestamp.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/srt/parse_timestamp.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/srt/parse_timestamp.js +33 -0
- package/dist/es2017/parsers/texttracks/ttml/get_parameters.d.ts +33 -0
- package/dist/es2017/parsers/texttracks/ttml/get_parameters.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_parameters.js +87 -0
- package/dist/es2017/parsers/texttracks/ttml/get_styling.d.ts +42 -0
- package/dist/es2017/parsers/texttracks/ttml/get_styling.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_styling.js +127 -0
- package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.d.ts +27 -0
- package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.js +40 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts +49 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.js +61 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.js +57 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.js +56 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.d.ts +21 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.js +45 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.d.ts +21 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.js +56 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.d.ts +21 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.js +135 -0
- package/dist/es2017/parsers/texttracks/ttml/html/create_element.d.ts +33 -0
- package/dist/es2017/parsers/texttracks/ttml/html/create_element.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/create_element.js +448 -0
- package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts +27 -0
- package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.js +41 -0
- package/dist/es2017/parsers/texttracks/ttml/html/index.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/ttml/html/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/index.js +21 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.d.ts +27 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.js +40 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +36 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.js +62 -0
- package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.js +73 -0
- package/dist/es2017/parsers/texttracks/ttml/native/index.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/ttml/native/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/index.js +21 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.d.ts +25 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.js +197 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +24 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.js +45 -0
- package/dist/es2017/parsers/texttracks/ttml/parse_ttml.d.ts +44 -0
- package/dist/es2017/parsers/texttracks/ttml/parse_ttml.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/parse_ttml.js +156 -0
- package/dist/es2017/parsers/texttracks/ttml/regexps.d.ts +29 -0
- package/dist/es2017/parsers/texttracks/ttml/regexps.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/regexps.js +35 -0
- package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +50 -0
- package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.js +79 -0
- package/dist/es2017/parsers/texttracks/ttml/time_parsing.d.ts +31 -0
- package/dist/es2017/parsers/texttracks/ttml/time_parsing.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/time_parsing.js +124 -0
- package/dist/es2017/parsers/texttracks/ttml/xml_utils.d.ts +71 -0
- package/dist/es2017/parsers/texttracks/ttml/xml_utils.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/ttml/xml_utils.js +150 -0
- package/dist/es2017/parsers/texttracks/types.d.ts +80 -0
- package/dist/es2017/parsers/texttracks/types.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/types.js +16 -0
- package/dist/es2017/parsers/texttracks/webvtt/create_default_style_elements.d.ts +3 -0
- package/dist/es2017/parsers/texttracks/webvtt/create_default_style_elements.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/create_default_style_elements.js +22 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.d.ts +25 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.js +44 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.d.ts +25 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.js +52 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +23 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.js +35 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.js +166 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.d.ts +25 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.js +81 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/index.d.ts +28 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/index.js +26 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts +13 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_mp4.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_mp4.js +18 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts +33 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_plain_text.js +66 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/to_html.d.ts +50 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/to_html.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/html/to_html.js +70 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/index.d.ts +23 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/index.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/index.js +22 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts +30 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_plain_text_to_cues.js +69 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts +13 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_webvtt_mp4_to_cues.js +20 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +24 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.js +80 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.d.ts +33 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.js +27 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.d.ts +40 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.js +100 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_mp4_embedded_wvtt.js +129 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_style_block.d.ts +28 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_style_block.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_style_block.js +66 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.d.ts +22 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.js +33 -0
- package/dist/es2017/parsers/texttracks/webvtt/utils.d.ts +58 -0
- package/dist/es2017/parsers/texttracks/webvtt/utils.d.ts.map +1 -0
- package/dist/es2017/parsers/texttracks/webvtt/utils.js +114 -0
- package/dist/es2017/playback_observer/core_playback_observer.d.ts +85 -0
- package/dist/es2017/playback_observer/core_playback_observer.d.ts.map +1 -0
- package/dist/es2017/playback_observer/core_playback_observer.js +43 -0
- package/dist/es2017/playback_observer/index.d.ts +7 -0
- package/dist/es2017/playback_observer/index.d.ts.map +1 -0
- package/dist/es2017/playback_observer/index.js +2 -0
- package/dist/es2017/playback_observer/media_element_playback_observer.d.ts +288 -0
- package/dist/es2017/playback_observer/media_element_playback_observer.d.ts.map +1 -0
- package/dist/es2017/playback_observer/media_element_playback_observer.js +835 -0
- package/dist/es2017/playback_observer/types.d.ts +226 -0
- package/dist/es2017/playback_observer/types.d.ts.map +1 -0
- package/dist/es2017/playback_observer/types.js +1 -0
- package/dist/es2017/playback_observer/utils/generate_read_only_observer.d.ts +12 -0
- package/dist/es2017/playback_observer/utils/generate_read_only_observer.d.ts.map +1 -0
- package/dist/es2017/playback_observer/utils/generate_read_only_observer.js +39 -0
- package/dist/es2017/playback_observer/utils/observation_position.d.ts +99 -0
- package/dist/es2017/playback_observer/utils/observation_position.d.ts.map +1 -0
- package/dist/es2017/playback_observer/utils/observation_position.js +95 -0
- package/dist/es2017/public_types.d.ts +1289 -0
- package/dist/es2017/public_types.d.ts.map +1 -0
- package/dist/es2017/public_types.js +5 -0
- package/dist/es2017/tools/TextTrackRenderer/index.d.ts +24 -0
- package/dist/es2017/tools/TextTrackRenderer/index.d.ts.map +1 -0
- package/dist/es2017/tools/TextTrackRenderer/index.js +22 -0
- package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.d.ts +80 -0
- package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.d.ts.map +1 -0
- package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.js +80 -0
- package/dist/es2017/tools/index.d.ts +20 -0
- package/dist/es2017/tools/index.d.ts.map +1 -0
- package/dist/es2017/tools/index.js +20 -0
- package/dist/es2017/tools/parseBIFThumbnails/index.d.ts +30 -0
- package/dist/es2017/tools/parseBIFThumbnails/index.d.ts.map +1 -0
- package/dist/es2017/tools/parseBIFThumbnails/index.js +30 -0
- package/dist/es2017/tools/string_utils/index.d.ts +17 -0
- package/dist/es2017/tools/string_utils/index.d.ts.map +1 -0
- package/dist/es2017/tools/string_utils/index.js +16 -0
- package/dist/es2017/transports/dash/construct_segment_url.d.ts +19 -0
- package/dist/es2017/transports/dash/construct_segment_url.d.ts.map +1 -0
- package/dist/es2017/transports/dash/construct_segment_url.js +25 -0
- package/dist/es2017/transports/dash/get_events_out_of_emsgs.d.ts +29 -0
- package/dist/es2017/transports/dash/get_events_out_of_emsgs.d.ts.map +1 -0
- package/dist/es2017/transports/dash/get_events_out_of_emsgs.js +93 -0
- package/dist/es2017/transports/dash/index.d.ts +22 -0
- package/dist/es2017/transports/dash/index.d.ts.map +1 -0
- package/dist/es2017/transports/dash/index.js +21 -0
- package/dist/es2017/transports/dash/init_segment_loader.d.ts +29 -0
- package/dist/es2017/transports/dash/init_segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/init_segment_loader.js +104 -0
- package/dist/es2017/transports/dash/integrity_checks.d.ts +18 -0
- package/dist/es2017/transports/dash/integrity_checks.d.ts.map +1 -0
- package/dist/es2017/transports/dash/integrity_checks.js +150 -0
- package/dist/es2017/transports/dash/load_chunked_segment_data.d.ts +40 -0
- package/dist/es2017/transports/dash/load_chunked_segment_data.d.ts.map +1 -0
- package/dist/es2017/transports/dash/load_chunked_segment_data.js +77 -0
- package/dist/es2017/transports/dash/manifest_parser.d.ts +19 -0
- package/dist/es2017/transports/dash/manifest_parser.d.ts.map +1 -0
- package/dist/es2017/transports/dash/manifest_parser.js +295 -0
- package/dist/es2017/transports/dash/pipelines.d.ts +24 -0
- package/dist/es2017/transports/dash/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/dash/pipelines.js +65 -0
- package/dist/es2017/transports/dash/segment_loader.d.ts +39 -0
- package/dist/es2017/transports/dash/segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/segment_loader.js +214 -0
- package/dist/es2017/transports/dash/segment_parser.d.ts +24 -0
- package/dist/es2017/transports/dash/segment_parser.d.ts.map +1 -0
- package/dist/es2017/transports/dash/segment_parser.js +156 -0
- package/dist/es2017/transports/dash/text_loader.d.ts +26 -0
- package/dist/es2017/transports/dash/text_loader.d.ts.map +1 -0
- package/dist/es2017/transports/dash/text_loader.js +106 -0
- package/dist/es2017/transports/dash/text_parser.d.ts +26 -0
- package/dist/es2017/transports/dash/text_parser.d.ts.map +1 -0
- package/dist/es2017/transports/dash/text_parser.js +190 -0
- package/dist/es2017/transports/dash/thumbnails.d.ts +21 -0
- package/dist/es2017/transports/dash/thumbnails.d.ts.map +1 -0
- package/dist/es2017/transports/dash/thumbnails.js +72 -0
- package/dist/es2017/transports/index.d.ts +17 -0
- package/dist/es2017/transports/index.d.ts.map +1 -0
- package/dist/es2017/transports/index.js +16 -0
- package/dist/es2017/transports/local/index.d.ts +18 -0
- package/dist/es2017/transports/local/index.d.ts.map +1 -0
- package/dist/es2017/transports/local/index.js +17 -0
- package/dist/es2017/transports/local/pipelines.d.ts +23 -0
- package/dist/es2017/transports/local/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/local/pipelines.js +76 -0
- package/dist/es2017/transports/local/segment_loader.d.ts +29 -0
- package/dist/es2017/transports/local/segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/local/segment_loader.js +152 -0
- package/dist/es2017/transports/local/segment_parser.d.ts +21 -0
- package/dist/es2017/transports/local/segment_parser.d.ts.map +1 -0
- package/dist/es2017/transports/local/segment_parser.js +87 -0
- package/dist/es2017/transports/local/text_parser.d.ts +28 -0
- package/dist/es2017/transports/local/text_parser.d.ts.map +1 -0
- package/dist/es2017/transports/local/text_parser.js +162 -0
- package/dist/es2017/transports/metaplaylist/index.d.ts +22 -0
- package/dist/es2017/transports/metaplaylist/index.d.ts.map +1 -0
- package/dist/es2017/transports/metaplaylist/index.js +21 -0
- package/dist/es2017/transports/metaplaylist/manifest_loader.d.ts +27 -0
- package/dist/es2017/transports/metaplaylist/manifest_loader.d.ts.map +1 -0
- package/dist/es2017/transports/metaplaylist/manifest_loader.js +53 -0
- package/dist/es2017/transports/metaplaylist/pipelines.d.ts +18 -0
- package/dist/es2017/transports/metaplaylist/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/metaplaylist/pipelines.js +250 -0
- package/dist/es2017/transports/smooth/extract_timings_infos.d.ts +63 -0
- package/dist/es2017/transports/smooth/extract_timings_infos.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/extract_timings_infos.js +79 -0
- package/dist/es2017/transports/smooth/index.d.ts +22 -0
- package/dist/es2017/transports/smooth/index.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/index.js +21 -0
- package/dist/es2017/transports/smooth/is_mp4_embedded_track.d.ts +23 -0
- package/dist/es2017/transports/smooth/is_mp4_embedded_track.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/is_mp4_embedded_track.js +24 -0
- package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.d.ts +29 -0
- package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.js +51 -0
- package/dist/es2017/transports/smooth/isobmff/create_boxes.d.ts +172 -0
- package/dist/es2017/transports/smooth/isobmff/create_boxes.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_boxes.js +319 -0
- package/dist/es2017/transports/smooth/isobmff/create_init_segment.d.ts +32 -0
- package/dist/es2017/transports/smooth/isobmff/create_init_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_init_segment.js +63 -0
- package/dist/es2017/transports/smooth/isobmff/create_traf_box.d.ts +17 -0
- package/dist/es2017/transports/smooth/isobmff/create_traf_box.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_traf_box.js +24 -0
- package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.d.ts +30 -0
- package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/create_video_init_segment.js +57 -0
- package/dist/es2017/transports/smooth/isobmff/get_aaces_header.d.ts +28 -0
- package/dist/es2017/transports/smooth/isobmff/get_aaces_header.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/get_aaces_header.js +43 -0
- package/dist/es2017/transports/smooth/isobmff/index.d.ts +24 -0
- package/dist/es2017/transports/smooth/isobmff/index.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/index.js +21 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfrf.d.ts +25 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfrf.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfrf.js +47 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfxd.d.ts +25 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfxd.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/parse_tfxd.js +31 -0
- package/dist/es2017/transports/smooth/isobmff/patch_segment.d.ts +24 -0
- package/dist/es2017/transports/smooth/isobmff/patch_segment.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/isobmff/patch_segment.js +128 -0
- package/dist/es2017/transports/smooth/pipelines.d.ts +18 -0
- package/dist/es2017/transports/smooth/pipelines.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/pipelines.js +358 -0
- package/dist/es2017/transports/smooth/segment_loader.d.ts +28 -0
- package/dist/es2017/transports/smooth/segment_loader.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/segment_loader.js +238 -0
- package/dist/es2017/transports/smooth/utils.d.ts +27 -0
- package/dist/es2017/transports/smooth/utils.d.ts.map +1 -0
- package/dist/es2017/transports/smooth/utils.js +36 -0
- package/dist/es2017/transports/types.d.ts +772 -0
- package/dist/es2017/transports/types.d.ts.map +1 -0
- package/dist/es2017/transports/types.js +16 -0
- package/dist/es2017/transports/utils/add_query_string.d.ts +13 -0
- package/dist/es2017/transports/utils/add_query_string.d.ts.map +1 -0
- package/dist/es2017/transports/utils/add_query_string.js +51 -0
- package/dist/es2017/transports/utils/byte_range.d.ts +22 -0
- package/dist/es2017/transports/utils/byte_range.d.ts.map +1 -0
- package/dist/es2017/transports/utils/byte_range.js +23 -0
- package/dist/es2017/transports/utils/call_custom_manifest_loader.d.ts +20 -0
- package/dist/es2017/transports/utils/call_custom_manifest_loader.d.ts.map +1 -0
- package/dist/es2017/transports/utils/call_custom_manifest_loader.js +96 -0
- package/dist/es2017/transports/utils/check_isobmff_integrity.d.ts +24 -0
- package/dist/es2017/transports/utils/check_isobmff_integrity.d.ts.map +1 -0
- package/dist/es2017/transports/utils/check_isobmff_integrity.js +46 -0
- package/dist/es2017/transports/utils/generate_manifest_loader.d.ts +27 -0
- package/dist/es2017/transports/utils/generate_manifest_loader.d.ts.map +1 -0
- package/dist/es2017/transports/utils/generate_manifest_loader.js +85 -0
- package/dist/es2017/transports/utils/get_isobmff_timing_infos.d.ts +30 -0
- package/dist/es2017/transports/utils/get_isobmff_timing_infos.d.ts.map +1 -0
- package/dist/es2017/transports/utils/get_isobmff_timing_infos.js +67 -0
- package/dist/es2017/transports/utils/infer_segment_container.d.ts +30 -0
- package/dist/es2017/transports/utils/infer_segment_container.d.ts.map +1 -0
- package/dist/es2017/transports/utils/infer_segment_container.js +42 -0
- package/dist/es2017/transports/utils/parse_text_track.d.ts +53 -0
- package/dist/es2017/transports/utils/parse_text_track.d.ts.map +1 -0
- package/dist/es2017/transports/utils/parse_text_track.js +154 -0
- package/dist/es2017/utils/are_arrays_of_numbers_equal.d.ts +23 -0
- package/dist/es2017/utils/are_arrays_of_numbers_equal.d.ts.map +1 -0
- package/dist/es2017/utils/are_arrays_of_numbers_equal.js +35 -0
- package/dist/es2017/utils/are_codecs_compatible.d.ts +30 -0
- package/dist/es2017/utils/are_codecs_compatible.d.ts.map +1 -0
- package/dist/es2017/utils/are_codecs_compatible.js +57 -0
- package/dist/es2017/utils/array_find.d.ts +24 -0
- package/dist/es2017/utils/array_find.d.ts.map +1 -0
- package/dist/es2017/utils/array_find.js +37 -0
- package/dist/es2017/utils/array_find_index.d.ts +24 -0
- package/dist/es2017/utils/array_find_index.d.ts.map +1 -0
- package/dist/es2017/utils/array_find_index.js +36 -0
- package/dist/es2017/utils/array_includes.d.ts +54 -0
- package/dist/es2017/utils/array_includes.d.ts.map +1 -0
- package/dist/es2017/utils/array_includes.js +75 -0
- package/dist/es2017/utils/assert.d.ts +75 -0
- package/dist/es2017/utils/assert.d.ts.map +1 -0
- package/dist/es2017/utils/assert.js +91 -0
- package/dist/es2017/utils/base64.d.ts +15 -0
- package/dist/es2017/utils/base64.d.ts.map +1 -0
- package/dist/es2017/utils/base64.js +208 -0
- package/dist/es2017/utils/buffer_source_to_uint8.d.ts +8 -0
- package/dist/es2017/utils/buffer_source_to_uint8.d.ts.map +1 -0
- package/dist/es2017/utils/buffer_source_to_uint8.js +15 -0
- package/dist/es2017/utils/byte_parsing.d.ts +132 -0
- package/dist/es2017/utils/byte_parsing.d.ts.map +1 -0
- package/dist/es2017/utils/byte_parsing.js +252 -0
- package/dist/es2017/utils/cancellable_sleep.d.ts +31 -0
- package/dist/es2017/utils/cancellable_sleep.d.ts.map +1 -0
- package/dist/es2017/utils/cancellable_sleep.js +35 -0
- package/dist/es2017/utils/create_cancellable_promise.d.ts +27 -0
- package/dist/es2017/utils/create_cancellable_promise.d.ts.map +1 -0
- package/dist/es2017/utils/create_cancellable_promise.js +52 -0
- package/dist/es2017/utils/create_uuid.d.ts +9 -0
- package/dist/es2017/utils/create_uuid.d.ts.map +1 -0
- package/dist/es2017/utils/create_uuid.js +29 -0
- package/dist/es2017/utils/deep_merge.d.ts +10 -0
- package/dist/es2017/utils/deep_merge.d.ts.map +1 -0
- package/dist/es2017/utils/deep_merge.js +40 -0
- package/dist/es2017/utils/event_emitter.d.ts +59 -0
- package/dist/es2017/utils/event_emitter.d.ts.map +1 -0
- package/dist/es2017/utils/event_emitter.js +120 -0
- package/dist/es2017/utils/flat_map.d.ts +23 -0
- package/dist/es2017/utils/flat_map.d.ts.map +1 -0
- package/dist/es2017/utils/flat_map.js +35 -0
- package/dist/es2017/utils/get_fuzzed_delay.d.ts +22 -0
- package/dist/es2017/utils/get_fuzzed_delay.d.ts.map +1 -0
- package/dist/es2017/utils/get_fuzzed_delay.js +25 -0
- package/dist/es2017/utils/global_scope.d.ts +10 -0
- package/dist/es2017/utils/global_scope.d.ts.map +1 -0
- package/dist/es2017/utils/global_scope.js +20 -0
- package/dist/es2017/utils/hash_buffer.d.ts +33 -0
- package/dist/es2017/utils/hash_buffer.d.ts.map +1 -0
- package/dist/es2017/utils/hash_buffer.js +41 -0
- package/dist/es2017/utils/id_generator.d.ts +22 -0
- package/dist/es2017/utils/id_generator.d.ts.map +1 -0
- package/dist/es2017/utils/id_generator.js +32 -0
- package/dist/es2017/utils/is_node.d.ts +19 -0
- package/dist/es2017/utils/is_node.d.ts.map +1 -0
- package/dist/es2017/utils/is_node.js +19 -0
- package/dist/es2017/utils/is_non_empty_string.d.ts +21 -0
- package/dist/es2017/utils/is_non_empty_string.d.ts.map +1 -0
- package/dist/es2017/utils/is_non_empty_string.js +22 -0
- package/dist/es2017/utils/is_null_or_undefined.d.ts +25 -0
- package/dist/es2017/utils/is_null_or_undefined.d.ts.map +1 -0
- package/dist/es2017/utils/is_null_or_undefined.js +26 -0
- package/dist/es2017/utils/is_worker.d.ts +6 -0
- package/dist/es2017/utils/is_worker.d.ts.map +1 -0
- package/dist/es2017/utils/is_worker.js +5 -0
- package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.d.ts +23 -0
- package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.d.ts.map +1 -0
- package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.js +205 -0
- package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.d.ts +23 -0
- package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.d.ts.map +1 -0
- package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.js +41 -0
- package/dist/es2017/utils/languages/index.d.ts +21 -0
- package/dist/es2017/utils/languages/index.d.ts.map +1 -0
- package/dist/es2017/utils/languages/index.js +18 -0
- package/dist/es2017/utils/languages/normalize.d.ts +70 -0
- package/dist/es2017/utils/languages/normalize.d.ts.map +1 -0
- package/dist/es2017/utils/languages/normalize.js +122 -0
- package/dist/es2017/utils/logger.d.ts +157 -0
- package/dist/es2017/utils/logger.d.ts.map +1 -0
- package/dist/es2017/utils/logger.js +166 -0
- package/dist/es2017/utils/monotonic_timestamp.d.ts +23 -0
- package/dist/es2017/utils/monotonic_timestamp.d.ts.map +1 -0
- package/dist/es2017/utils/monotonic_timestamp.js +36 -0
- package/dist/es2017/utils/noop.d.ts +24 -0
- package/dist/es2017/utils/noop.d.ts.map +1 -0
- package/dist/es2017/utils/noop.js +24 -0
- package/dist/es2017/utils/object_assign.d.ts +47 -0
- package/dist/es2017/utils/object_assign.d.ts.map +1 -0
- package/dist/es2017/utils/object_assign.js +47 -0
- package/dist/es2017/utils/object_values.d.ts +31 -0
- package/dist/es2017/utils/object_values.d.ts.map +1 -0
- package/dist/es2017/utils/object_values.js +25 -0
- package/dist/es2017/utils/queue_microtask.d.ts +3 -0
- package/dist/es2017/utils/queue_microtask.d.ts.map +1 -0
- package/dist/es2017/utils/queue_microtask.js +5 -0
- package/dist/es2017/utils/ranges.d.ts +214 -0
- package/dist/es2017/utils/ranges.d.ts.map +1 -0
- package/dist/es2017/utils/ranges.js +495 -0
- package/dist/es2017/utils/reference.d.ts +215 -0
- package/dist/es2017/utils/reference.d.ts.map +1 -0
- package/dist/es2017/utils/reference.js +282 -0
- package/dist/es2017/utils/request/fetch.d.ts +81 -0
- package/dist/es2017/utils/request/fetch.d.ts.map +1 -0
- package/dist/es2017/utils/request/fetch.js +206 -0
- package/dist/es2017/utils/request/index.d.ts +25 -0
- package/dist/es2017/utils/request/index.d.ts.map +1 -0
- package/dist/es2017/utils/request/index.js +20 -0
- package/dist/es2017/utils/request/request_error.d.ts +47 -0
- package/dist/es2017/utils/request/request_error.d.ts.map +1 -0
- package/dist/es2017/utils/request/request_error.js +66 -0
- package/dist/es2017/utils/request/xhr.d.ts +100 -0
- package/dist/es2017/utils/request/xhr.d.ts.map +1 -0
- package/dist/es2017/utils/request/xhr.js +202 -0
- package/dist/es2017/utils/retry_promise_with_backoff.d.ts +55 -0
- package/dist/es2017/utils/retry_promise_with_backoff.d.ts.map +1 -0
- package/dist/es2017/utils/retry_promise_with_backoff.js +81 -0
- package/dist/es2017/utils/sleep.d.ts +11 -0
- package/dist/es2017/utils/sleep.d.ts.map +1 -0
- package/dist/es2017/utils/sleep.js +14 -0
- package/dist/es2017/utils/slice_uint8array.d.ts +28 -0
- package/dist/es2017/utils/slice_uint8array.d.ts.map +1 -0
- package/dist/es2017/utils/slice_uint8array.js +42 -0
- package/dist/es2017/utils/sorted_list.d.ts +128 -0
- package/dist/es2017/utils/sorted_list.d.ts.map +1 -0
- package/dist/es2017/utils/sorted_list.js +177 -0
- package/dist/es2017/utils/starts_with.d.ts +27 -0
- package/dist/es2017/utils/starts_with.d.ts.map +1 -0
- package/dist/es2017/utils/starts_with.js +35 -0
- package/dist/es2017/utils/string_parsing.d.ts +89 -0
- package/dist/es2017/utils/string_parsing.d.ts.map +1 -0
- package/dist/es2017/utils/string_parsing.js +370 -0
- package/dist/es2017/utils/sync_or_async.d.ts +71 -0
- package/dist/es2017/utils/sync_or_async.d.ts.map +1 -0
- package/dist/es2017/utils/sync_or_async.js +51 -0
- package/dist/es2017/utils/task_canceller.d.ts +290 -0
- package/dist/es2017/utils/task_canceller.d.ts.map +1 -0
- package/dist/es2017/utils/task_canceller.js +329 -0
- package/dist/es2017/utils/url-utils.d.ts +50 -0
- package/dist/es2017/utils/url-utils.d.ts.map +1 -0
- package/dist/es2017/utils/url-utils.js +323 -0
- package/dist/es2017/utils/warn_once.d.ts +24 -0
- package/dist/es2017/utils/warn_once.d.ts.map +1 -0
- package/dist/es2017/utils/warn_once.js +31 -0
- package/dist/es2017/utils/weak_map_memory.d.ts +71 -0
- package/dist/es2017/utils/weak_map_memory.d.ts.map +1 -0
- package/dist/es2017/utils/weak_map_memory.js +83 -0
- package/dist/es2017/utils/wrapInPromise.d.ts +8 -0
- package/dist/es2017/utils/wrapInPromise.d.ts.map +1 -0
- package/dist/es2017/utils/wrapInPromise.js +22 -0
- package/dist/es2017/utils/xml-parser.d.ts +71 -0
- package/dist/es2017/utils/xml-parser.d.ts.map +1 -0
- package/dist/es2017/utils/xml-parser.js +324 -0
- package/dist/es2017/worker_entry_point.d.ts +2 -0
- package/dist/es2017/worker_entry_point.d.ts.map +1 -0
- package/dist/es2017/worker_entry_point.js +8 -0
- package/dist/mpd-parser.wasm +0 -0
- package/dist/worker.js +9 -0
- package/package.json +1 -1
- package/src/__GENERATED_CODE/embedded_dash_wasm.ts +3 -0
- package/src/__GENERATED_CODE/embedded_worker.ts +3 -0
- package/src/__GENERATED_CODE/index.ts +2 -0
- package/src/main_thread/api/public_api.ts +2 -2
|
@@ -0,0 +1,1172 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2015 CANAL+ Group
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
var __extends = (this && this.__extends) || (function () {
|
|
18
|
+
var extendStatics = function (d, b) {
|
|
19
|
+
extendStatics = Object.setPrototypeOf ||
|
|
20
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
21
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
22
|
+
return extendStatics(d, b);
|
|
23
|
+
};
|
|
24
|
+
return function (d, b) {
|
|
25
|
+
if (typeof b !== "function" && b !== null)
|
|
26
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
27
|
+
extendStatics(d, b);
|
|
28
|
+
function __() { this.constructor = d; }
|
|
29
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
30
|
+
};
|
|
31
|
+
})();
|
|
32
|
+
var __assign = (this && this.__assign) || function () {
|
|
33
|
+
__assign = Object.assign || function(t) {
|
|
34
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
35
|
+
s = arguments[i];
|
|
36
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
37
|
+
t[p] = s[p];
|
|
38
|
+
}
|
|
39
|
+
return t;
|
|
40
|
+
};
|
|
41
|
+
return __assign.apply(this, arguments);
|
|
42
|
+
};
|
|
43
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
44
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
45
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
46
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
47
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
48
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
49
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
53
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
54
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
55
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
56
|
+
function step(op) {
|
|
57
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
58
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
59
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
60
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
61
|
+
switch (op[0]) {
|
|
62
|
+
case 0: case 1: t = op; break;
|
|
63
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
64
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
65
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
66
|
+
default:
|
|
67
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
68
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
69
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
70
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
71
|
+
if (t[2]) _.ops.pop();
|
|
72
|
+
_.trys.pop(); continue;
|
|
73
|
+
}
|
|
74
|
+
op = body.call(thisArg, _);
|
|
75
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
76
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
var __values = (this && this.__values) || function(o) {
|
|
80
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
81
|
+
if (m) return m.call(o);
|
|
82
|
+
if (o && typeof o.length === "number") return {
|
|
83
|
+
next: function () {
|
|
84
|
+
if (o && i >= o.length) o = void 0;
|
|
85
|
+
return { value: o && o[i++], done: !o };
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
89
|
+
};
|
|
90
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
91
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
92
|
+
if (!m) return o;
|
|
93
|
+
var i = m.call(o), r, ar = [], e;
|
|
94
|
+
try {
|
|
95
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
96
|
+
}
|
|
97
|
+
catch (error) { e = { error: error }; }
|
|
98
|
+
finally {
|
|
99
|
+
try {
|
|
100
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
101
|
+
}
|
|
102
|
+
finally { if (e) throw e.error; }
|
|
103
|
+
}
|
|
104
|
+
return ar;
|
|
105
|
+
};
|
|
106
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
107
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
108
|
+
if (ar || !(i in from)) {
|
|
109
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
110
|
+
ar[i] = from[i];
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
114
|
+
};
|
|
115
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
116
|
+
exports.getMissingKeyIds = getMissingKeyIds;
|
|
117
|
+
exports.getMissingKnownKeyIds = getMissingKnownKeyIds;
|
|
118
|
+
exports.getMissingInitDataKeyIds = getMissingInitDataKeyIds;
|
|
119
|
+
var eme_1 = require("../../compat/eme");
|
|
120
|
+
var config_1 = require("../../config");
|
|
121
|
+
var errors_1 = require("../../errors");
|
|
122
|
+
var log_1 = require("../../log");
|
|
123
|
+
var are_arrays_of_numbers_equal_1 = require("../../utils/are_arrays_of_numbers_equal");
|
|
124
|
+
var array_find_1 = require("../../utils/array_find");
|
|
125
|
+
var array_includes_1 = require("../../utils/array_includes");
|
|
126
|
+
var event_emitter_1 = require("../../utils/event_emitter");
|
|
127
|
+
var is_null_or_undefined_1 = require("../../utils/is_null_or_undefined");
|
|
128
|
+
var object_values_1 = require("../../utils/object_values");
|
|
129
|
+
var string_parsing_1 = require("../../utils/string_parsing");
|
|
130
|
+
var task_canceller_1 = require("../../utils/task_canceller");
|
|
131
|
+
var create_or_load_session_1 = require("./create_or_load_session");
|
|
132
|
+
var init_media_keys_1 = require("./init_media_keys");
|
|
133
|
+
var session_events_listener_1 = require("./session_events_listener");
|
|
134
|
+
var set_server_certificate_1 = require("./set_server_certificate");
|
|
135
|
+
var types_1 = require("./types");
|
|
136
|
+
var check_key_statuses_1 = require("./utils/check_key_statuses");
|
|
137
|
+
var clean_old_stored_persistent_info_1 = require("./utils/clean_old_stored_persistent_info");
|
|
138
|
+
var get_drm_system_id_1 = require("./utils/get_drm_system_id");
|
|
139
|
+
var init_data_values_container_1 = require("./utils/init_data_values_container");
|
|
140
|
+
var is_compatible_codec_supported_1 = require("./utils/is_compatible_codec_supported");
|
|
141
|
+
var key_id_comparison_1 = require("./utils/key_id_comparison");
|
|
142
|
+
var media_keys_attacher_1 = require("./utils/media_keys_attacher");
|
|
143
|
+
/**
|
|
144
|
+
* Module communicating with the Content Decryption Module (or CDM) to be able
|
|
145
|
+
* to decrypt contents.
|
|
146
|
+
*
|
|
147
|
+
* The `ContentDecryptor` starts communicating with the CDM, to initialize the
|
|
148
|
+
* key system, as soon as it is created.
|
|
149
|
+
*
|
|
150
|
+
* You can be notified of various events, such as fatal errors, by registering
|
|
151
|
+
* to one of its multiple events (@see IContentDecryptorEvent).
|
|
152
|
+
*
|
|
153
|
+
* @class ContentDecryptor
|
|
154
|
+
*/
|
|
155
|
+
var ContentDecryptor = /** @class */ (function (_super) {
|
|
156
|
+
__extends(ContentDecryptor, _super);
|
|
157
|
+
/**
|
|
158
|
+
* Create a new `ContentDecryptor`, and initialize its decryption capabilities
|
|
159
|
+
* right away.
|
|
160
|
+
* Goes into the `WaitingForAttachment` state once that initialization is
|
|
161
|
+
* done, after which you should call the `attach` method when you're ready for
|
|
162
|
+
* those decryption capabilities to be attached to the HTMLMediaElement.
|
|
163
|
+
*
|
|
164
|
+
* @param {Object} eme - current EME implementation
|
|
165
|
+
* @param {HTMLMediaElement} mediaElement - The MediaElement which will be
|
|
166
|
+
* associated to a MediaKeys object
|
|
167
|
+
* @param {Array.<Object>} ksOptions - key system configuration.
|
|
168
|
+
* The `ContentDecryptor` can be given one or multiple key system
|
|
169
|
+
* configurations. It will choose the appropriate one depending on user
|
|
170
|
+
* settings and browser support.
|
|
171
|
+
*/
|
|
172
|
+
function ContentDecryptor(eme, mediaElement, ksOptions) {
|
|
173
|
+
var _this = _super.call(this) || this;
|
|
174
|
+
log_1.default.debug("DRM", "Starting ContentDecryptor logic.");
|
|
175
|
+
var canceller = new task_canceller_1.default("ContentDecryptor");
|
|
176
|
+
_this._currentSessions = [];
|
|
177
|
+
_this._canceller = canceller;
|
|
178
|
+
_this._initDataQueue = [];
|
|
179
|
+
_this._stateData = {
|
|
180
|
+
state: types_1.ContentDecryptorState.Initializing,
|
|
181
|
+
isMediaKeysAttached: 0 /* MediaKeyAttachmentStatus.NotAttached */,
|
|
182
|
+
isInitDataQueueLocked: true,
|
|
183
|
+
data: null,
|
|
184
|
+
};
|
|
185
|
+
_this._supportedCodecWhenEncrypted = [];
|
|
186
|
+
_this.error = null;
|
|
187
|
+
_this._eme = eme;
|
|
188
|
+
_this._eme.onEncrypted(mediaElement, function (evt) {
|
|
189
|
+
log_1.default.debug("DRM", "Encrypted event received from media element.");
|
|
190
|
+
var initData = (0, eme_1.getInitData)(evt);
|
|
191
|
+
if (initData !== null) {
|
|
192
|
+
_this.onInitializationData(initData);
|
|
193
|
+
}
|
|
194
|
+
}, canceller.signal);
|
|
195
|
+
(0, init_media_keys_1.default)(_this._eme, mediaElement, ksOptions, canceller.signal)
|
|
196
|
+
.then(function (mediaKeysInfo) {
|
|
197
|
+
var options = mediaKeysInfo.options, mediaKeySystemAccess = mediaKeysInfo.mediaKeySystemAccess;
|
|
198
|
+
_this._supportedCodecWhenEncrypted = mediaKeysInfo.codecSupport;
|
|
199
|
+
/**
|
|
200
|
+
* String identifying the key system, allowing the rest of the code to
|
|
201
|
+
* only advertise the required initialization data for license requests.
|
|
202
|
+
*
|
|
203
|
+
* Note that we only set this value if retro-compatibility to older
|
|
204
|
+
* persistent logic in the RxPlayer is not important, as the
|
|
205
|
+
* optimizations this property unlocks can break the loading of
|
|
206
|
+
* MediaKeySessions persisted in older RxPlayer's versions.
|
|
207
|
+
*/
|
|
208
|
+
var systemId;
|
|
209
|
+
if ((0, is_null_or_undefined_1.default)(options.persistentLicenseConfig) ||
|
|
210
|
+
options.persistentLicenseConfig.disableRetroCompatibility === true) {
|
|
211
|
+
systemId = (0, get_drm_system_id_1.default)(mediaKeySystemAccess.keySystem);
|
|
212
|
+
}
|
|
213
|
+
_this.systemId = systemId;
|
|
214
|
+
if (_this._stateData.state === types_1.ContentDecryptorState.Initializing) {
|
|
215
|
+
log_1.default.debug("DRM", "Waiting for attachment.");
|
|
216
|
+
_this._stateData = {
|
|
217
|
+
state: types_1.ContentDecryptorState.WaitingForAttachment,
|
|
218
|
+
isInitDataQueueLocked: true,
|
|
219
|
+
isMediaKeysAttached: 0 /* MediaKeyAttachmentStatus.NotAttached */,
|
|
220
|
+
data: { mediaKeysInfo: mediaKeysInfo, mediaElement: mediaElement },
|
|
221
|
+
};
|
|
222
|
+
_this.trigger("stateChange", _this._stateData.state);
|
|
223
|
+
}
|
|
224
|
+
})
|
|
225
|
+
.catch(function (err) {
|
|
226
|
+
_this._onFatalError(err);
|
|
227
|
+
});
|
|
228
|
+
return _this;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Returns the current state of the ContentDecryptor.
|
|
232
|
+
* @see ContentDecryptorState
|
|
233
|
+
* @returns {Object}
|
|
234
|
+
*/
|
|
235
|
+
ContentDecryptor.prototype.getState = function () {
|
|
236
|
+
return this._stateData.state;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Attach the current decryption capabilities to the HTMLMediaElement.
|
|
240
|
+
* This method should only be called once the `ContentDecryptor` is in the
|
|
241
|
+
* `WaitingForAttachment` state.
|
|
242
|
+
*
|
|
243
|
+
* You might want to first set the HTMLMediaElement's `src` attribute before
|
|
244
|
+
* calling this method, and only push data to it once the `ReadyForContent`
|
|
245
|
+
* state is reached, for compatibility reasons.
|
|
246
|
+
*/
|
|
247
|
+
ContentDecryptor.prototype.attach = function () {
|
|
248
|
+
var _this = this;
|
|
249
|
+
if (this._stateData.state !== types_1.ContentDecryptorState.WaitingForAttachment) {
|
|
250
|
+
throw new Error("`attach` should only be called when " + "in the WaitingForAttachment state");
|
|
251
|
+
}
|
|
252
|
+
else if (this._stateData.isMediaKeysAttached !== 0 /* MediaKeyAttachmentStatus.NotAttached */) {
|
|
253
|
+
log_1.default.warn("DRM", "ContentDecryptor's `attach` method called more than once.");
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
var _a = this._stateData.data, mediaElement = _a.mediaElement, mediaKeysInfo = _a.mediaKeysInfo;
|
|
257
|
+
var options = mediaKeysInfo.options, mediaKeys = mediaKeysInfo.mediaKeys, mediaKeySystemAccess = mediaKeysInfo.mediaKeySystemAccess, stores = mediaKeysInfo.stores, askedConfiguration = mediaKeysInfo.askedConfiguration;
|
|
258
|
+
var shouldDisableLock = options.disableMediaKeysAttachmentLock === true;
|
|
259
|
+
if (shouldDisableLock) {
|
|
260
|
+
log_1.default.debug("DRM", "disabling MediaKeys attachment lock. Ready for content");
|
|
261
|
+
this._stateData = {
|
|
262
|
+
state: types_1.ContentDecryptorState.ReadyForContent,
|
|
263
|
+
isInitDataQueueLocked: true,
|
|
264
|
+
isMediaKeysAttached: 1 /* MediaKeyAttachmentStatus.Pending */,
|
|
265
|
+
data: { mediaKeysInfo: mediaKeysInfo, mediaElement: mediaElement },
|
|
266
|
+
};
|
|
267
|
+
this.trigger("stateChange", this._stateData.state);
|
|
268
|
+
// previous trigger might have lead to disposal
|
|
269
|
+
if (this._isStopped()) {
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
this._stateData.isMediaKeysAttached = 1 /* MediaKeyAttachmentStatus.Pending */;
|
|
274
|
+
var stateToAttach = {
|
|
275
|
+
emeImplementation: this._eme,
|
|
276
|
+
loadedSessionsStore: stores.loadedSessionsStore,
|
|
277
|
+
mediaKeySystemAccess: mediaKeySystemAccess,
|
|
278
|
+
mediaKeys: mediaKeys,
|
|
279
|
+
askedConfiguration: askedConfiguration,
|
|
280
|
+
keySystemOptions: options,
|
|
281
|
+
};
|
|
282
|
+
log_1.default.debug("DRM", "Attaching current MediaKeys");
|
|
283
|
+
media_keys_attacher_1.default.attach(mediaElement, stateToAttach)
|
|
284
|
+
.then(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
285
|
+
var serverCertificate, resSsc, prevState;
|
|
286
|
+
return __generator(this, function (_a) {
|
|
287
|
+
switch (_a.label) {
|
|
288
|
+
case 0:
|
|
289
|
+
if (this._isStopped()) {
|
|
290
|
+
// We might be stopped since then
|
|
291
|
+
return [2 /*return*/];
|
|
292
|
+
}
|
|
293
|
+
this._stateData.isMediaKeysAttached = 2 /* MediaKeyAttachmentStatus.Attached */;
|
|
294
|
+
serverCertificate = options.serverCertificate;
|
|
295
|
+
if (!!(0, is_null_or_undefined_1.default)(serverCertificate)) return [3 /*break*/, 2];
|
|
296
|
+
return [4 /*yield*/, (0, set_server_certificate_1.default)(mediaKeys, serverCertificate, mediaKeySystemAccess)];
|
|
297
|
+
case 1:
|
|
298
|
+
resSsc = _a.sent();
|
|
299
|
+
if (resSsc.type === "error") {
|
|
300
|
+
this.trigger("warning", resSsc.value);
|
|
301
|
+
}
|
|
302
|
+
_a.label = 2;
|
|
303
|
+
case 2:
|
|
304
|
+
if (this._isStopped()) {
|
|
305
|
+
// We might be stopped since then
|
|
306
|
+
return [2 /*return*/];
|
|
307
|
+
}
|
|
308
|
+
prevState = this._stateData.state;
|
|
309
|
+
this._stateData = {
|
|
310
|
+
state: types_1.ContentDecryptorState.ReadyForContent,
|
|
311
|
+
isMediaKeysAttached: 2 /* MediaKeyAttachmentStatus.Attached */,
|
|
312
|
+
isInitDataQueueLocked: false,
|
|
313
|
+
data: { mediaKeysData: mediaKeysInfo },
|
|
314
|
+
};
|
|
315
|
+
if (prevState !== types_1.ContentDecryptorState.ReadyForContent) {
|
|
316
|
+
this.trigger("stateChange", types_1.ContentDecryptorState.ReadyForContent);
|
|
317
|
+
}
|
|
318
|
+
if (!this._isStopped()) {
|
|
319
|
+
this._processCurrentInitDataQueue();
|
|
320
|
+
}
|
|
321
|
+
return [2 /*return*/];
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
}); })
|
|
325
|
+
.catch(function (err) {
|
|
326
|
+
_this._onFatalError(err);
|
|
327
|
+
});
|
|
328
|
+
};
|
|
329
|
+
/**
|
|
330
|
+
* Stop this `ContentDecryptor` instance:
|
|
331
|
+
* - stop listening and reacting to the various event listeners
|
|
332
|
+
* - abort all operations.
|
|
333
|
+
*
|
|
334
|
+
* Once disposed, a `ContentDecryptor` cannot be used anymore.
|
|
335
|
+
* @param {string | undefined} reason - Human-inspectable reason behind the
|
|
336
|
+
* dispose. Used for debugging matters, especially for debug log
|
|
337
|
+
* inspection.
|
|
338
|
+
*/
|
|
339
|
+
ContentDecryptor.prototype.dispose = function (reason) {
|
|
340
|
+
this.removeEventListener();
|
|
341
|
+
this._stateData = {
|
|
342
|
+
state: types_1.ContentDecryptorState.Disposed,
|
|
343
|
+
isMediaKeysAttached: undefined,
|
|
344
|
+
isInitDataQueueLocked: undefined,
|
|
345
|
+
data: null,
|
|
346
|
+
};
|
|
347
|
+
this._canceller.cancel(reason !== null && reason !== void 0 ? reason : "ContentDecryptor dispose");
|
|
348
|
+
this.trigger("stateChange", this._stateData.state);
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Returns `true` if the given mimeType and codec couple should be supported
|
|
352
|
+
* by the current key system.
|
|
353
|
+
* Returns `false` if it isn't.
|
|
354
|
+
*
|
|
355
|
+
* Returns `undefined` if we cannot determine if it is supported.
|
|
356
|
+
*
|
|
357
|
+
* @param {string} mimeType
|
|
358
|
+
* @param {string} codec
|
|
359
|
+
* @returns {boolean}
|
|
360
|
+
*/
|
|
361
|
+
ContentDecryptor.prototype.isCodecSupported = function (mimeType, codec) {
|
|
362
|
+
if (this._stateData.state === types_1.ContentDecryptorState.Initializing) {
|
|
363
|
+
log_1.default.error("DRM", "Asking for codec support while the ContentDecryptor is still initializing");
|
|
364
|
+
return undefined;
|
|
365
|
+
}
|
|
366
|
+
if (this._stateData.state === types_1.ContentDecryptorState.Error ||
|
|
367
|
+
this._stateData.state === types_1.ContentDecryptorState.Disposed) {
|
|
368
|
+
log_1.default.error("DRM", "Asking for codec support while the ContentDecryptor is disposed");
|
|
369
|
+
}
|
|
370
|
+
return (0, is_compatible_codec_supported_1.default)(mimeType, codec, this._supportedCodecWhenEncrypted);
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* Method to call when new protection initialization data is encounted on the
|
|
374
|
+
* content.
|
|
375
|
+
*
|
|
376
|
+
* When called, the `ContentDecryptor` will try to obtain the decryption key
|
|
377
|
+
* if not already obtained.
|
|
378
|
+
*
|
|
379
|
+
* @param {Object} initializationData
|
|
380
|
+
*/
|
|
381
|
+
ContentDecryptor.prototype.onInitializationData = function (initializationData) {
|
|
382
|
+
var _this = this;
|
|
383
|
+
if (this._stateData.isInitDataQueueLocked !== false) {
|
|
384
|
+
if (this._isStopped()) {
|
|
385
|
+
throw new Error("ContentDecryptor either disposed or stopped.");
|
|
386
|
+
}
|
|
387
|
+
this._initDataQueue.push(initializationData);
|
|
388
|
+
return;
|
|
389
|
+
}
|
|
390
|
+
var mediaKeysData = this._stateData.data.mediaKeysData;
|
|
391
|
+
var processedInitializationData = __assign(__assign({}, initializationData), { values: new init_data_values_container_1.default(initializationData.values) });
|
|
392
|
+
this._processInitializationData(processedInitializationData, mediaKeysData).catch(function (err) {
|
|
393
|
+
_this._onFatalError(err);
|
|
394
|
+
});
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* Async logic run each time new initialization data has to be processed.
|
|
398
|
+
* The promise return may reject, in which case a fatal error should be linked
|
|
399
|
+
* the current `ContentDecryptor`.
|
|
400
|
+
*
|
|
401
|
+
* The Promise's resolution however provides no semantic value.
|
|
402
|
+
* @param {Object} initializationData
|
|
403
|
+
* @returns {Promise.<void>}
|
|
404
|
+
*/
|
|
405
|
+
ContentDecryptor.prototype._processInitializationData = function (initializationData, mediaKeysData) {
|
|
406
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
407
|
+
var mediaKeySystemAccess, stores, options, firstCreatedSession, keyIds, hexKids, period, createdSessions, periodKeys, createdSessions_1, createdSessions_1_1, createdSess, periodKeysArr, periodKeysArr_1, periodKeysArr_1_1, kid, _loop_1, periodKeysArr_2, periodKeysArr_2_1, innerKid, wantedSessionType, _a, EME_DEFAULT_MAX_SIMULTANEOUS_MEDIA_KEY_SESSIONS, EME_MAX_STORED_PERSISTENT_SESSION_INFORMATION, maxSessionCacheSize, sessionRes, sessionInfo, _b, mediaKeySession, sessionType, isSessionPersisted, requestData, error_1, entry, indexInCurrent;
|
|
408
|
+
var e_1, _c, e_2, _d, e_3, _e;
|
|
409
|
+
var _this = this;
|
|
410
|
+
var _f, _g, _h;
|
|
411
|
+
return __generator(this, function (_j) {
|
|
412
|
+
switch (_j.label) {
|
|
413
|
+
case 0:
|
|
414
|
+
if (log_1.default.hasLevel("DEBUG")) {
|
|
415
|
+
log_1.default.debug("DRM", "processing init data", (_f = initializationData.content) === null || _f === void 0 ? void 0 : _f.adaptation.type, (_g = initializationData.content) === null || _g === void 0 ? void 0 : _g.representation.bitrate, ((_h = initializationData.keyIds) !== null && _h !== void 0 ? _h : []).map(function (k) { return (0, string_parsing_1.bytesToHex)(k); }).join(", "));
|
|
416
|
+
}
|
|
417
|
+
mediaKeySystemAccess = mediaKeysData.mediaKeySystemAccess, stores = mediaKeysData.stores, options = mediaKeysData.options;
|
|
418
|
+
if (this._tryToUseAlreadyCreatedSession(initializationData, mediaKeysData) ||
|
|
419
|
+
this._isStopped()) {
|
|
420
|
+
// _isStopped is voluntarly checked after here
|
|
421
|
+
return [2 /*return*/];
|
|
422
|
+
}
|
|
423
|
+
if (options.singleLicensePer === "content") {
|
|
424
|
+
firstCreatedSession = (0, array_find_1.default)(this._currentSessions, function (x) { return x.source === "created-session" /* MediaKeySessionLoadingType.Created */; });
|
|
425
|
+
if (firstCreatedSession !== undefined) {
|
|
426
|
+
keyIds = initializationData.keyIds;
|
|
427
|
+
if (keyIds === undefined) {
|
|
428
|
+
if (initializationData.content === undefined) {
|
|
429
|
+
log_1.default.warn("DRM", "Unable to fallback from a non-decipherable quality.");
|
|
430
|
+
}
|
|
431
|
+
else {
|
|
432
|
+
log_1.default.debug("DRM", "Blacklisting new init data (due to singleLicensePer content policy)");
|
|
433
|
+
this.trigger("blackListProtectionData", initializationData);
|
|
434
|
+
}
|
|
435
|
+
return [2 /*return*/];
|
|
436
|
+
}
|
|
437
|
+
firstCreatedSession.record.associateKeyIds(keyIds);
|
|
438
|
+
if (initializationData.content === undefined) {
|
|
439
|
+
log_1.default.warn("DRM", "Unable to fallback from a non-decipherable quality.");
|
|
440
|
+
}
|
|
441
|
+
else {
|
|
442
|
+
if (log_1.default.hasLevel("DEBUG")) {
|
|
443
|
+
hexKids = keyIds.reduce(function (acc, kid) { return "".concat(acc, ", ").concat((0, string_parsing_1.bytesToHex)(kid)); }, "");
|
|
444
|
+
log_1.default.debug("DRM", "Blacklisting new key ids", hexKids);
|
|
445
|
+
}
|
|
446
|
+
this.trigger("keyIdsCompatibilityUpdate", {
|
|
447
|
+
whitelistedKeyIds: [],
|
|
448
|
+
blacklistedKeyIds: keyIds,
|
|
449
|
+
delistedKeyIds: [],
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
return [2 /*return*/];
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
else if (options.singleLicensePer === "periods" &&
|
|
456
|
+
initializationData.content !== undefined) {
|
|
457
|
+
period = initializationData.content.period;
|
|
458
|
+
createdSessions = this._currentSessions.filter(function (x) { return x.source === "created-session" /* MediaKeySessionLoadingType.Created */; });
|
|
459
|
+
periodKeys = new Set();
|
|
460
|
+
addKeyIdsFromPeriod(periodKeys, period);
|
|
461
|
+
try {
|
|
462
|
+
for (createdSessions_1 = __values(createdSessions), createdSessions_1_1 = createdSessions_1.next(); !createdSessions_1_1.done; createdSessions_1_1 = createdSessions_1.next()) {
|
|
463
|
+
createdSess = createdSessions_1_1.value;
|
|
464
|
+
periodKeysArr = Array.from(periodKeys);
|
|
465
|
+
try {
|
|
466
|
+
for (periodKeysArr_1 = (e_2 = void 0, __values(periodKeysArr)), periodKeysArr_1_1 = periodKeysArr_1.next(); !periodKeysArr_1_1.done; periodKeysArr_1_1 = periodKeysArr_1.next()) {
|
|
467
|
+
kid = periodKeysArr_1_1.value;
|
|
468
|
+
if (createdSess.record.isAssociatedWithKeyId(kid)) {
|
|
469
|
+
createdSess.record.associateKeyIds(periodKeys.values());
|
|
470
|
+
_loop_1 = function (innerKid) {
|
|
471
|
+
if (!createdSess.keyStatuses.whitelisted.some(function (k) {
|
|
472
|
+
return (0, are_arrays_of_numbers_equal_1.default)(k, innerKid);
|
|
473
|
+
}) &&
|
|
474
|
+
!createdSess.keyStatuses.blacklisted.some(function (k) {
|
|
475
|
+
return (0, are_arrays_of_numbers_equal_1.default)(k, innerKid);
|
|
476
|
+
})) {
|
|
477
|
+
createdSess.keyStatuses.blacklisted.push(innerKid);
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
try {
|
|
481
|
+
// Re-loop through the Period's key ids to blacklist ones that are missing
|
|
482
|
+
// from `createdSess`'s `keyStatuses` and to update the content's
|
|
483
|
+
// decipherability.
|
|
484
|
+
for (periodKeysArr_2 = (e_3 = void 0, __values(periodKeysArr)), periodKeysArr_2_1 = periodKeysArr_2.next(); !periodKeysArr_2_1.done; periodKeysArr_2_1 = periodKeysArr_2.next()) {
|
|
485
|
+
innerKid = periodKeysArr_2_1.value;
|
|
486
|
+
_loop_1(innerKid);
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
490
|
+
finally {
|
|
491
|
+
try {
|
|
492
|
+
if (periodKeysArr_2_1 && !periodKeysArr_2_1.done && (_e = periodKeysArr_2.return)) _e.call(periodKeysArr_2);
|
|
493
|
+
}
|
|
494
|
+
finally { if (e_3) throw e_3.error; }
|
|
495
|
+
}
|
|
496
|
+
if (log_1.default.hasLevel("DEBUG")) {
|
|
497
|
+
log_1.default.debug("DRM", "Session already created for", (0, string_parsing_1.bytesToHex)(kid), 'under singleLicensePer "periods" policy');
|
|
498
|
+
}
|
|
499
|
+
this.trigger("keyIdsCompatibilityUpdate", {
|
|
500
|
+
whitelistedKeyIds: createdSess.keyStatuses.whitelisted,
|
|
501
|
+
blacklistedKeyIds: createdSess.keyStatuses.blacklisted,
|
|
502
|
+
delistedKeyIds: [],
|
|
503
|
+
});
|
|
504
|
+
return [2 /*return*/];
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
509
|
+
finally {
|
|
510
|
+
try {
|
|
511
|
+
if (periodKeysArr_1_1 && !periodKeysArr_1_1.done && (_d = periodKeysArr_1.return)) _d.call(periodKeysArr_1);
|
|
512
|
+
}
|
|
513
|
+
finally { if (e_2) throw e_2.error; }
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
518
|
+
finally {
|
|
519
|
+
try {
|
|
520
|
+
if (createdSessions_1_1 && !createdSessions_1_1.done && (_c = createdSessions_1.return)) _c.call(createdSessions_1);
|
|
521
|
+
}
|
|
522
|
+
finally { if (e_1) throw e_1.error; }
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
// /!\ Do not forget to unlock when done
|
|
526
|
+
// TODO this is error-prone and can lead to performance issue when loading
|
|
527
|
+
// persistent sessions.
|
|
528
|
+
// Can we find a better strategy?
|
|
529
|
+
this._lockInitDataQueue();
|
|
530
|
+
if (canCreatePersistentSession(mediaKeySystemAccess) &&
|
|
531
|
+
(!(0, is_null_or_undefined_1.default)(options.persistentLicenseConfig) ||
|
|
532
|
+
!canCreateTemporarySession(mediaKeySystemAccess))) {
|
|
533
|
+
wantedSessionType = "persistent-license";
|
|
534
|
+
}
|
|
535
|
+
else {
|
|
536
|
+
wantedSessionType = "temporary";
|
|
537
|
+
}
|
|
538
|
+
_a = config_1.default.getCurrent(), EME_DEFAULT_MAX_SIMULTANEOUS_MEDIA_KEY_SESSIONS = _a.EME_DEFAULT_MAX_SIMULTANEOUS_MEDIA_KEY_SESSIONS, EME_MAX_STORED_PERSISTENT_SESSION_INFORMATION = _a.EME_MAX_STORED_PERSISTENT_SESSION_INFORMATION;
|
|
539
|
+
maxSessionCacheSize = typeof options.maxSessionCacheSize === "number"
|
|
540
|
+
? options.maxSessionCacheSize
|
|
541
|
+
: EME_DEFAULT_MAX_SIMULTANEOUS_MEDIA_KEY_SESSIONS;
|
|
542
|
+
return [4 /*yield*/, (0, create_or_load_session_1.default)(initializationData, stores, wantedSessionType, maxSessionCacheSize, this._canceller.signal)];
|
|
543
|
+
case 1:
|
|
544
|
+
sessionRes = _j.sent();
|
|
545
|
+
if (this._isStopped()) {
|
|
546
|
+
return [2 /*return*/];
|
|
547
|
+
}
|
|
548
|
+
sessionInfo = {
|
|
549
|
+
record: sessionRes.value.keySessionRecord,
|
|
550
|
+
source: sessionRes.type,
|
|
551
|
+
keyStatuses: { whitelisted: [], blacklisted: [] },
|
|
552
|
+
blacklistedSessionError: null,
|
|
553
|
+
};
|
|
554
|
+
this._currentSessions.push(sessionInfo);
|
|
555
|
+
_b = sessionRes.value, mediaKeySession = _b.mediaKeySession, sessionType = _b.sessionType;
|
|
556
|
+
isSessionPersisted = false;
|
|
557
|
+
(0, session_events_listener_1.default)(mediaKeySession, options, mediaKeySystemAccess, {
|
|
558
|
+
onKeyUpdate: function (value) {
|
|
559
|
+
var linkedKeys = getKeyIdsLinkedToSession(initializationData, sessionInfo.record, options.singleLicensePer, sessionInfo.source === "created-session" /* MediaKeySessionLoadingType.Created */, value.whitelistedKeyIds, value.blacklistedKeyIds);
|
|
560
|
+
sessionInfo.record.associateKeyIds(linkedKeys.whitelisted);
|
|
561
|
+
sessionInfo.record.associateKeyIds(linkedKeys.blacklisted);
|
|
562
|
+
sessionInfo.keyStatuses = {
|
|
563
|
+
whitelisted: linkedKeys.whitelisted,
|
|
564
|
+
blacklisted: linkedKeys.blacklisted,
|
|
565
|
+
};
|
|
566
|
+
if (sessionInfo.record.getAssociatedKeyIds().length !== 0 &&
|
|
567
|
+
sessionType === "persistent-license" &&
|
|
568
|
+
stores.persistentSessionsStore !== null &&
|
|
569
|
+
!isSessionPersisted) {
|
|
570
|
+
var persistentSessionsStore = stores.persistentSessionsStore;
|
|
571
|
+
(0, clean_old_stored_persistent_info_1.default)(persistentSessionsStore, EME_MAX_STORED_PERSISTENT_SESSION_INFORMATION - 1);
|
|
572
|
+
persistentSessionsStore.add(initializationData, sessionInfo.record.getAssociatedKeyIds(), mediaKeySession);
|
|
573
|
+
isSessionPersisted = true;
|
|
574
|
+
}
|
|
575
|
+
if (initializationData.content !== undefined) {
|
|
576
|
+
_this.trigger("keyIdsCompatibilityUpdate", {
|
|
577
|
+
whitelistedKeyIds: linkedKeys.whitelisted,
|
|
578
|
+
blacklistedKeyIds: linkedKeys.blacklisted,
|
|
579
|
+
delistedKeyIds: [],
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
_this._unlockInitDataQueue();
|
|
583
|
+
},
|
|
584
|
+
onWarning: function (value) {
|
|
585
|
+
_this.trigger("warning", value);
|
|
586
|
+
},
|
|
587
|
+
onError: function (err) {
|
|
588
|
+
var _a;
|
|
589
|
+
if (err instanceof check_key_statuses_1.DecommissionedSessionError) {
|
|
590
|
+
log_1.default.warn("DRM", "A session's closing condition has been triggered");
|
|
591
|
+
_this._lockInitDataQueue();
|
|
592
|
+
var indexOf = _this._currentSessions.indexOf(sessionInfo);
|
|
593
|
+
if (indexOf >= 0) {
|
|
594
|
+
_this._currentSessions.splice(indexOf);
|
|
595
|
+
}
|
|
596
|
+
if (initializationData.content !== undefined) {
|
|
597
|
+
_this.trigger("keyIdsCompatibilityUpdate", {
|
|
598
|
+
whitelistedKeyIds: [],
|
|
599
|
+
blacklistedKeyIds: [],
|
|
600
|
+
delistedKeyIds: sessionInfo.record.getAssociatedKeyIds(),
|
|
601
|
+
});
|
|
602
|
+
}
|
|
603
|
+
(_a = stores.persistentSessionsStore) === null || _a === void 0 ? void 0 : _a.delete(mediaKeySession.sessionId);
|
|
604
|
+
stores.loadedSessionsStore
|
|
605
|
+
.closeSession(mediaKeySession)
|
|
606
|
+
.catch(function (e) {
|
|
607
|
+
var closeError = e instanceof Error ? e : "unknown error";
|
|
608
|
+
log_1.default.warn("DRM", "failed to close expired session", closeError);
|
|
609
|
+
})
|
|
610
|
+
.then(function () { return _this._unlockInitDataQueue(); })
|
|
611
|
+
.catch(function (retryError) { return _this._onFatalError(retryError); });
|
|
612
|
+
if (!_this._isStopped()) {
|
|
613
|
+
_this.trigger("warning", err.reason);
|
|
614
|
+
}
|
|
615
|
+
return;
|
|
616
|
+
}
|
|
617
|
+
if (!(err instanceof session_events_listener_1.BlacklistedSessionError)) {
|
|
618
|
+
_this._onFatalError(err);
|
|
619
|
+
return;
|
|
620
|
+
}
|
|
621
|
+
sessionInfo.blacklistedSessionError = err;
|
|
622
|
+
if (initializationData.content !== undefined) {
|
|
623
|
+
log_1.default.info("DRM", "blacklisting Representations based on protection data.");
|
|
624
|
+
_this.trigger("blackListProtectionData", initializationData);
|
|
625
|
+
}
|
|
626
|
+
_this._unlockInitDataQueue();
|
|
627
|
+
// TODO warning for blacklisted session?
|
|
628
|
+
},
|
|
629
|
+
}, this._canceller.signal);
|
|
630
|
+
if (options.singleLicensePer === undefined ||
|
|
631
|
+
options.singleLicensePer === "init-data") {
|
|
632
|
+
this._unlockInitDataQueue();
|
|
633
|
+
}
|
|
634
|
+
if (!(sessionRes.type === "created-session" /* MediaKeySessionLoadingType.Created */)) return [3 /*break*/, 5];
|
|
635
|
+
requestData = initializationData.values.constructRequestData();
|
|
636
|
+
_j.label = 2;
|
|
637
|
+
case 2:
|
|
638
|
+
_j.trys.push([2, 4, , 5]);
|
|
639
|
+
return [4 /*yield*/, stores.loadedSessionsStore.generateLicenseRequest(mediaKeySession, initializationData.type, requestData)];
|
|
640
|
+
case 3:
|
|
641
|
+
_j.sent();
|
|
642
|
+
return [3 /*break*/, 5];
|
|
643
|
+
case 4:
|
|
644
|
+
error_1 = _j.sent();
|
|
645
|
+
entry = stores.loadedSessionsStore.getEntryForSession(mediaKeySession);
|
|
646
|
+
if (entry === null || entry.closingStatus.type !== "none") {
|
|
647
|
+
indexInCurrent = this._currentSessions.indexOf(sessionInfo);
|
|
648
|
+
if (indexInCurrent >= 0) {
|
|
649
|
+
this._currentSessions.splice(indexInCurrent, 1);
|
|
650
|
+
}
|
|
651
|
+
return [2 /*return*/, Promise.resolve()];
|
|
652
|
+
}
|
|
653
|
+
throw new errors_1.EncryptedMediaError("KEY_GENERATE_REQUEST_ERROR", error_1 instanceof Error ? error_1.toString() : "Unknown error", {
|
|
654
|
+
keyStatuses: undefined,
|
|
655
|
+
keySystemConfiguration: mediaKeySystemAccess.getConfiguration(),
|
|
656
|
+
keySystem: mediaKeySystemAccess.keySystem,
|
|
657
|
+
});
|
|
658
|
+
case 5: return [2 /*return*/, Promise.resolve()];
|
|
659
|
+
}
|
|
660
|
+
});
|
|
661
|
+
});
|
|
662
|
+
};
|
|
663
|
+
ContentDecryptor.prototype._tryToUseAlreadyCreatedSession = function (initializationData, mediaKeysData) {
|
|
664
|
+
var stores = mediaKeysData.stores, options = mediaKeysData.options;
|
|
665
|
+
/**
|
|
666
|
+
* If set, a currently-used key session is already compatible to this
|
|
667
|
+
* initialization data.
|
|
668
|
+
*/
|
|
669
|
+
var compatibleSessionInfo = (0, array_find_1.default)(this._currentSessions, function (x) {
|
|
670
|
+
return x.record.isCompatibleWith(initializationData);
|
|
671
|
+
});
|
|
672
|
+
if (compatibleSessionInfo === undefined) {
|
|
673
|
+
return false;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* On Safari using Directfile, the old EME implementation triggers
|
|
677
|
+
* the "webkitneedkey" event instead of "encrypted". There's an issue in Safari
|
|
678
|
+
* where "webkitneedkey" fires too early before all tracks are added from an HLS playlist.
|
|
679
|
+
* Safari incorrectly assumes some keys are missing for these tracks,
|
|
680
|
+
* leading to repeated "webkitneedkey" events. Because RxPlayer recognizes
|
|
681
|
+
* it already has a session for these keys and ignores the events,
|
|
682
|
+
* the content remains frozen. To resolve this, the session is re-created.
|
|
683
|
+
*/
|
|
684
|
+
var forceSessionRecreation = initializationData.forceSessionRecreation;
|
|
685
|
+
if (forceSessionRecreation === true) {
|
|
686
|
+
this.removeSessionForInitData(initializationData, mediaKeysData);
|
|
687
|
+
return false;
|
|
688
|
+
}
|
|
689
|
+
// Check if the compatible session is blacklisted
|
|
690
|
+
var blacklistedSessionError = compatibleSessionInfo.blacklistedSessionError;
|
|
691
|
+
if (!(0, is_null_or_undefined_1.default)(blacklistedSessionError)) {
|
|
692
|
+
if (initializationData.type === undefined ||
|
|
693
|
+
initializationData.content === undefined) {
|
|
694
|
+
log_1.default.error("DRM", "This initialization data has already been blacklisted " +
|
|
695
|
+
"but the current content is not known.");
|
|
696
|
+
return true;
|
|
697
|
+
}
|
|
698
|
+
else {
|
|
699
|
+
log_1.default.info("DRM", "This initialization data has already been blacklisted. " +
|
|
700
|
+
"Blacklisting the related content.");
|
|
701
|
+
this.trigger("blackListProtectionData", initializationData);
|
|
702
|
+
return true;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
// Check if the current key id(s) has been blacklisted by this session
|
|
706
|
+
if (initializationData.keyIds !== undefined) {
|
|
707
|
+
/**
|
|
708
|
+
* If set to `true`, the Representation(s) linked to this
|
|
709
|
+
* initialization data's key id should be marked as "not decipherable".
|
|
710
|
+
*/
|
|
711
|
+
var isUndecipherable = void 0;
|
|
712
|
+
if (options.singleLicensePer === undefined ||
|
|
713
|
+
options.singleLicensePer === "init-data") {
|
|
714
|
+
// Note: In the default "init-data" mode, we only avoid a
|
|
715
|
+
// Representation if the key id was originally explicitely
|
|
716
|
+
// blacklisted (and not e.g. if its key was just not present in
|
|
717
|
+
// the license).
|
|
718
|
+
//
|
|
719
|
+
// This is to enforce v3.x.x retro-compatibility: we cannot
|
|
720
|
+
// fallback from a Representation unless some RxPlayer option
|
|
721
|
+
// documentating this behavior has been set.
|
|
722
|
+
var blacklisted = compatibleSessionInfo.keyStatuses.blacklisted;
|
|
723
|
+
isUndecipherable = (0, key_id_comparison_1.areSomeKeyIdsContainedIn)(initializationData.keyIds, blacklisted);
|
|
724
|
+
}
|
|
725
|
+
else {
|
|
726
|
+
// In any other mode, as soon as not all of this initialization
|
|
727
|
+
// data's linked key ids are explicitely whitelisted, we can mark
|
|
728
|
+
// the corresponding Representation as "not decipherable".
|
|
729
|
+
// This is because we've no such retro-compatibility guarantee to
|
|
730
|
+
// make there.
|
|
731
|
+
var whitelisted = compatibleSessionInfo.keyStatuses.whitelisted;
|
|
732
|
+
isUndecipherable = !(0, key_id_comparison_1.areAllKeyIdsContainedIn)(initializationData.keyIds, whitelisted);
|
|
733
|
+
}
|
|
734
|
+
if (isUndecipherable) {
|
|
735
|
+
if (initializationData.content === undefined) {
|
|
736
|
+
log_1.default.error("DRM", "Cannot forbid key id, the content is unknown.");
|
|
737
|
+
return true;
|
|
738
|
+
}
|
|
739
|
+
log_1.default.info("DRM", "Current initialization data is linked to blacklisted keys. " +
|
|
740
|
+
"Marking Representations as not decipherable");
|
|
741
|
+
this.trigger("keyIdsCompatibilityUpdate", {
|
|
742
|
+
whitelistedKeyIds: [],
|
|
743
|
+
blacklistedKeyIds: initializationData.keyIds,
|
|
744
|
+
delistedKeyIds: [],
|
|
745
|
+
});
|
|
746
|
+
return true;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
// If we reached here, it means that this initialization data is not
|
|
750
|
+
// blacklisted in any way.
|
|
751
|
+
// Search loaded session and put it on top of the cache if it exists.
|
|
752
|
+
var entry = stores.loadedSessionsStore.reuse(initializationData);
|
|
753
|
+
if (entry !== null) {
|
|
754
|
+
// TODO update decipherability to `true` if not?
|
|
755
|
+
log_1.default.debug("DRM", "Init data already processed. Skipping it.");
|
|
756
|
+
return true;
|
|
757
|
+
}
|
|
758
|
+
// Session not found in `loadedSessionsStore`, it might have been closed
|
|
759
|
+
// since.
|
|
760
|
+
// Remove from `this._currentSessions` and start again.
|
|
761
|
+
var indexOf = this._currentSessions.indexOf(compatibleSessionInfo);
|
|
762
|
+
if (indexOf === -1) {
|
|
763
|
+
log_1.default.error("DRM", "Unable to remove processed init data: not found.");
|
|
764
|
+
}
|
|
765
|
+
else {
|
|
766
|
+
log_1.default.debug("DRM", "A session from a processed init data is not available " +
|
|
767
|
+
"anymore. Re-processing it.");
|
|
768
|
+
this._currentSessions.splice(indexOf, 1);
|
|
769
|
+
}
|
|
770
|
+
return false;
|
|
771
|
+
};
|
|
772
|
+
/**
|
|
773
|
+
* Remove the session corresponding to the initData provided, and close it.
|
|
774
|
+
* It does nothing if no session was found for this initData.
|
|
775
|
+
* @param {Object} initData : The initialization data corresponding to the session
|
|
776
|
+
* that need to be removed
|
|
777
|
+
* @param {Object} mediaKeysData : The media keys data
|
|
778
|
+
*/
|
|
779
|
+
ContentDecryptor.prototype.removeSessionForInitData = function (initData, mediaKeysData) {
|
|
780
|
+
var stores = mediaKeysData.stores;
|
|
781
|
+
/** Remove the session and close it from the loadedSessionStore */
|
|
782
|
+
var entry = stores.loadedSessionsStore.reuse(initData);
|
|
783
|
+
if (entry !== null) {
|
|
784
|
+
stores.loadedSessionsStore
|
|
785
|
+
.closeSession(entry.mediaKeySession)
|
|
786
|
+
.catch(function () {
|
|
787
|
+
return log_1.default.error("DRM", "Cannot close the session from the loaded session store");
|
|
788
|
+
});
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* If set, a currently-used key session is already compatible to this
|
|
792
|
+
* initialization data.
|
|
793
|
+
*/
|
|
794
|
+
var compatibleSessionInfo = (0, array_find_1.default)(this._currentSessions, function (x) {
|
|
795
|
+
return x.record.isCompatibleWith(initData);
|
|
796
|
+
});
|
|
797
|
+
if (compatibleSessionInfo === undefined) {
|
|
798
|
+
return;
|
|
799
|
+
}
|
|
800
|
+
/** Remove the session from the currentSessions */
|
|
801
|
+
var indexOf = this._currentSessions.indexOf(compatibleSessionInfo);
|
|
802
|
+
if (indexOf !== -1) {
|
|
803
|
+
log_1.default.debug("DRM", "A session from a processed init is removed due to forceSessionRecreation policy.");
|
|
804
|
+
this._currentSessions.splice(indexOf, 1);
|
|
805
|
+
}
|
|
806
|
+
};
|
|
807
|
+
/**
|
|
808
|
+
* Callback that should be called if an error that made the current
|
|
809
|
+
* `ContentDecryptor` instance unusable arised.
|
|
810
|
+
* This callbacks takes care of resetting state and sending the right events.
|
|
811
|
+
*
|
|
812
|
+
* Once called, no further actions should be taken.
|
|
813
|
+
*
|
|
814
|
+
* @param {*} err - The error object which describes the issue. Will be
|
|
815
|
+
* formatted and sent in an "error" event.
|
|
816
|
+
*/
|
|
817
|
+
ContentDecryptor.prototype._onFatalError = function (err) {
|
|
818
|
+
if (this._canceller.isUsed()) {
|
|
819
|
+
return;
|
|
820
|
+
}
|
|
821
|
+
var formattedErr = err instanceof Error ? err : new errors_1.OtherError("NONE", "Unknown decryption error");
|
|
822
|
+
this.error = formattedErr;
|
|
823
|
+
this._initDataQueue.length = 0;
|
|
824
|
+
this._stateData = {
|
|
825
|
+
state: types_1.ContentDecryptorState.Error,
|
|
826
|
+
isMediaKeysAttached: undefined,
|
|
827
|
+
isInitDataQueueLocked: undefined,
|
|
828
|
+
data: null,
|
|
829
|
+
};
|
|
830
|
+
this._canceller.cancel("ContentDecryptor err");
|
|
831
|
+
this.trigger("error", formattedErr);
|
|
832
|
+
// The previous trigger might have lead to a disposal of the `ContentDecryptor`.
|
|
833
|
+
if (this._stateData.state === types_1.ContentDecryptorState.Error) {
|
|
834
|
+
this.trigger("stateChange", this._stateData.state);
|
|
835
|
+
}
|
|
836
|
+
};
|
|
837
|
+
/**
|
|
838
|
+
* Return `true` if the `ContentDecryptor` has either been disposed or
|
|
839
|
+
* encountered a fatal error which made it stop.
|
|
840
|
+
* @returns {boolean}
|
|
841
|
+
*/
|
|
842
|
+
ContentDecryptor.prototype._isStopped = function () {
|
|
843
|
+
return (this._stateData.state === types_1.ContentDecryptorState.Disposed ||
|
|
844
|
+
this._stateData.state === types_1.ContentDecryptorState.Error);
|
|
845
|
+
};
|
|
846
|
+
/**
|
|
847
|
+
* Start processing the next initialization data of the `_initDataQueue` if it
|
|
848
|
+
* isn't lock.
|
|
849
|
+
*/
|
|
850
|
+
ContentDecryptor.prototype._processCurrentInitDataQueue = function () {
|
|
851
|
+
while (this._stateData.isInitDataQueueLocked === false) {
|
|
852
|
+
var initData = this._initDataQueue.shift();
|
|
853
|
+
if (initData === undefined) {
|
|
854
|
+
return;
|
|
855
|
+
}
|
|
856
|
+
this.onInitializationData(initData);
|
|
857
|
+
}
|
|
858
|
+
};
|
|
859
|
+
/**
|
|
860
|
+
* Lock new initialization data (from the `_initDataQueue`) from being
|
|
861
|
+
* processed until `_unlockInitDataQueue` is called.
|
|
862
|
+
*
|
|
863
|
+
* You may want to call this method when performing operations which may have
|
|
864
|
+
* an impact on the handling of other initialization data.
|
|
865
|
+
*/
|
|
866
|
+
ContentDecryptor.prototype._lockInitDataQueue = function () {
|
|
867
|
+
if (this._stateData.isInitDataQueueLocked === false) {
|
|
868
|
+
this._stateData.isInitDataQueueLocked = true;
|
|
869
|
+
}
|
|
870
|
+
};
|
|
871
|
+
/**
|
|
872
|
+
* Unlock `_initDataQueue` and start processing the first element.
|
|
873
|
+
*
|
|
874
|
+
* Should have no effect if the `_initDataQueue` was not locked.
|
|
875
|
+
*/
|
|
876
|
+
ContentDecryptor.prototype._unlockInitDataQueue = function () {
|
|
877
|
+
if (this._stateData.isMediaKeysAttached !== 2 /* MediaKeyAttachmentStatus.Attached */) {
|
|
878
|
+
log_1.default.error("DRM", "Trying to unlock in the wrong state");
|
|
879
|
+
return;
|
|
880
|
+
}
|
|
881
|
+
this._stateData.isInitDataQueueLocked = false;
|
|
882
|
+
this._processCurrentInitDataQueue();
|
|
883
|
+
};
|
|
884
|
+
return ContentDecryptor;
|
|
885
|
+
}(event_emitter_1.default));
|
|
886
|
+
exports.default = ContentDecryptor;
|
|
887
|
+
/**
|
|
888
|
+
* Returns `true` if the given MediaKeySystemAccess can create
|
|
889
|
+
* "persistent-license" MediaKeySessions.
|
|
890
|
+
* @param {MediaKeySystemAccess} mediaKeySystemAccess
|
|
891
|
+
* @returns {Boolean}
|
|
892
|
+
*/
|
|
893
|
+
function canCreatePersistentSession(mediaKeySystemAccess) {
|
|
894
|
+
var sessionTypes = mediaKeySystemAccess.getConfiguration().sessionTypes;
|
|
895
|
+
return sessionTypes !== undefined && (0, array_includes_1.default)(sessionTypes, "persistent-license");
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* Returns `true` if the given MediaKeySystemAccess can create
|
|
899
|
+
* "temporary" MediaKeySessions.
|
|
900
|
+
* @param {MediaKeySystemAccess} mediaKeySystemAccess
|
|
901
|
+
* @returns {Boolean}
|
|
902
|
+
*/
|
|
903
|
+
function canCreateTemporarySession(mediaKeySystemAccess) {
|
|
904
|
+
var sessionTypes = mediaKeySystemAccess.getConfiguration().sessionTypes;
|
|
905
|
+
return sessionTypes !== undefined && (0, array_includes_1.default)(sessionTypes, "temporary");
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* Return the list of key IDs present in the `expectedKeyIds` array
|
|
909
|
+
* but that are not present in `actualKeyIds`.
|
|
910
|
+
* @param {Uint8Array[]} expectedKeyIds - Array of key IDs expected to be found.
|
|
911
|
+
* @param {Uint8Array[]} actualKeyIds - Array of key IDs to test.
|
|
912
|
+
* @returns {Uint8Array[]} An array of key IDs that are missing from `actualKeyIds`.
|
|
913
|
+
*/
|
|
914
|
+
function getMissingKeyIds(expectedKeyIds, actualKeyIds) {
|
|
915
|
+
return expectedKeyIds.filter(function (expected) {
|
|
916
|
+
return !actualKeyIds.some(function (actual) { return (0, are_arrays_of_numbers_equal_1.default)(actual, expected); });
|
|
917
|
+
});
|
|
918
|
+
}
|
|
919
|
+
/**
|
|
920
|
+
* Returns an array of all key IDs that are known by the `KeySessionRecord`
|
|
921
|
+
* but are missing in the provided array of key IDs `newKeyIds`.
|
|
922
|
+
* @param {KeySessionRecord} keySessionRecord - The KeySessionRecord containing known key IDs.
|
|
923
|
+
* @param {Uint8Array[]} newKeyIds - Array of key IDs.
|
|
924
|
+
* @returns {Uint8Array[]} An array of key IDs that are known by the `keySessionRecord`
|
|
925
|
+
* but are missing in the license.
|
|
926
|
+
*/
|
|
927
|
+
function getMissingKnownKeyIds(keySessionRecord, newKeyIds) {
|
|
928
|
+
var allKnownKeyIds = keySessionRecord.getAssociatedKeyIds();
|
|
929
|
+
var missingKeyIds = getMissingKeyIds(allKnownKeyIds, newKeyIds);
|
|
930
|
+
if (missingKeyIds.length > 0 && log_1.default.hasLevel("DEBUG")) {
|
|
931
|
+
log_1.default.debug("DRM", "KeySessionRecord's keys missing in the license, blacklisting them", missingKeyIds.map(function (m) { return (0, string_parsing_1.bytesToHex)(m); }).join(", "));
|
|
932
|
+
}
|
|
933
|
+
return missingKeyIds;
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
* Returns an array of all key IDs that are present in InitData
|
|
937
|
+
* but are missing in the provided array of key IDs `newKeyIds`.
|
|
938
|
+
* @param {IProcessedProtectionData} initializationData - The initialization data containing key IDs.
|
|
939
|
+
* @param {Uint8Array[]} newKeyIds - Array of key IDs.
|
|
940
|
+
* @returns {Uint8Array[]} An array of key IDs that are present in initializationData
|
|
941
|
+
* but are missing in the license.
|
|
942
|
+
*/
|
|
943
|
+
function getMissingInitDataKeyIds(initializationData, newKeyIds) {
|
|
944
|
+
var missingKeyIds = [];
|
|
945
|
+
var expectedKeyIds = initializationData.keyIds;
|
|
946
|
+
if (expectedKeyIds !== undefined) {
|
|
947
|
+
missingKeyIds = getMissingKeyIds(expectedKeyIds, newKeyIds);
|
|
948
|
+
}
|
|
949
|
+
if (missingKeyIds.length > 0 && log_1.default.hasLevel("DEBUG")) {
|
|
950
|
+
log_1.default.debug("DRM", "init data keys missing in the license, blacklisting them", missingKeyIds.map(function (m) { return (0, string_parsing_1.bytesToHex)(m); }).join(", "));
|
|
951
|
+
}
|
|
952
|
+
return missingKeyIds;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* Returns set of all usable and unusable keys - explicit or implicit - that are
|
|
956
|
+
* linked to a `MediaKeySession`.
|
|
957
|
+
*
|
|
958
|
+
* In the RxPlayer, there is a concept of "explicit" key ids, which are key ids
|
|
959
|
+
* found in a license whose status can be known through the `keyStatuses`
|
|
960
|
+
* property from a `MediaKeySession`, and of "implicit" key ids, which are key
|
|
961
|
+
* ids which were expected to be in a fetched license, but apparently weren't.
|
|
962
|
+
*
|
|
963
|
+
* @param {Object} initializationData - Initialization data object used to make
|
|
964
|
+
* the request for the current license.
|
|
965
|
+
* @param {Object} keySessionRecord - The `KeySessionRecord` associated with the
|
|
966
|
+
* session that has been loaded. It might give supplementary information on
|
|
967
|
+
* keys implicitly linked to the license.
|
|
968
|
+
* @param {string|undefined} singleLicensePer - Setting allowing to indicate the
|
|
969
|
+
* scope a given license should have.
|
|
970
|
+
* @param {boolean} isCurrentLicense - If `true` the license has been fetched
|
|
971
|
+
* especially for the current content.
|
|
972
|
+
*
|
|
973
|
+
* Knowing this allows to determine that if decryption keys that should have
|
|
974
|
+
* been referenced in the fetched license (according to the `singleLicensePer`
|
|
975
|
+
* setting) are missing, then the keys surely must have been voluntarly
|
|
976
|
+
* removed from the license.
|
|
977
|
+
*
|
|
978
|
+
* If it is however set to `false`, it means that the license is an older
|
|
979
|
+
* license that might have been linked to another content, thus we cannot make
|
|
980
|
+
* that assumption.
|
|
981
|
+
* @param {Array.<Uint8Array>} usableKeyIds - Key ids that are present in the
|
|
982
|
+
* license and can be used.
|
|
983
|
+
* @param {Array.<Uint8Array>} unusableKeyIds - Key ids that are present in the
|
|
984
|
+
* license yet cannot be used.
|
|
985
|
+
* @returns {Object} - Returns an object with the following properties:
|
|
986
|
+
* - `whitelisted`: Array of key ids for keys that are known to be usable
|
|
987
|
+
* - `blacklisted`: Array of key ids for keys that are considered unusable.
|
|
988
|
+
* The qualities linked to those keys should not be played.
|
|
989
|
+
*/
|
|
990
|
+
function getKeyIdsLinkedToSession(initializationData, keySessionRecord, singleLicensePer, isCurrentLicense, usableKeyIds, unusableKeyIds) {
|
|
991
|
+
var e_4, _a, e_5, _b, e_6, _c;
|
|
992
|
+
var _d;
|
|
993
|
+
/**
|
|
994
|
+
* Every key id associated with the MediaKeySession, starting with
|
|
995
|
+
* whitelisted ones.
|
|
996
|
+
*/
|
|
997
|
+
var keyIdsInLicense = __spreadArray(__spreadArray([], __read(usableKeyIds), false), __read(unusableKeyIds), false);
|
|
998
|
+
var missingKnownKeyIds = getMissingKnownKeyIds(keySessionRecord, keyIdsInLicense);
|
|
999
|
+
var associatedKeyIds = keyIdsInLicense.concat(missingKnownKeyIds);
|
|
1000
|
+
if (singleLicensePer !== undefined && singleLicensePer !== "init-data") {
|
|
1001
|
+
// We want to add the current key ids in the blacklist if it is
|
|
1002
|
+
// not already there.
|
|
1003
|
+
//
|
|
1004
|
+
// We only do that when `singleLicensePer` is set to something
|
|
1005
|
+
// else than the default `"init-data"` because this logic:
|
|
1006
|
+
// 1. might result in a quality fallback, which is a v3.x.x
|
|
1007
|
+
// breaking change if some APIs (like `singleLicensePer`)
|
|
1008
|
+
// aren't used.
|
|
1009
|
+
// 2. Rely on the EME spec regarding key statuses being well
|
|
1010
|
+
// implemented on all supported devices, which we're not
|
|
1011
|
+
// sure yet. Because in any other `singleLicensePer`, we
|
|
1012
|
+
// need a good implementation anyway, it doesn't matter
|
|
1013
|
+
// there.
|
|
1014
|
+
var missingInitDataKeyIds = getMissingInitDataKeyIds(initializationData, associatedKeyIds);
|
|
1015
|
+
associatedKeyIds.push.apply(associatedKeyIds, __spreadArray([], __read(missingInitDataKeyIds), false));
|
|
1016
|
+
var content = initializationData.content;
|
|
1017
|
+
if (isCurrentLicense && content !== undefined) {
|
|
1018
|
+
if (singleLicensePer === "content") {
|
|
1019
|
+
// Put it in a Set to automatically filter out duplicates (by ref)
|
|
1020
|
+
var contentKeys = new Set();
|
|
1021
|
+
var manifest = content.manifest;
|
|
1022
|
+
try {
|
|
1023
|
+
for (var _e = __values(manifest.periods), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
1024
|
+
var period = _f.value;
|
|
1025
|
+
addKeyIdsFromPeriod(contentKeys, period);
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
1029
|
+
finally {
|
|
1030
|
+
try {
|
|
1031
|
+
if (_f && !_f.done && (_a = _e.return)) _a.call(_e);
|
|
1032
|
+
}
|
|
1033
|
+
finally { if (e_4) throw e_4.error; }
|
|
1034
|
+
}
|
|
1035
|
+
mergeKeyIdSetIntoArray(contentKeys, associatedKeyIds);
|
|
1036
|
+
}
|
|
1037
|
+
else if (singleLicensePer === "periods") {
|
|
1038
|
+
var manifest = content.manifest;
|
|
1039
|
+
try {
|
|
1040
|
+
for (var _g = __values(manifest.periods), _h = _g.next(); !_h.done; _h = _g.next()) {
|
|
1041
|
+
var period = _h.value;
|
|
1042
|
+
var periodKeys = new Set();
|
|
1043
|
+
addKeyIdsFromPeriod(periodKeys, period);
|
|
1044
|
+
if (((_d = initializationData.content) === null || _d === void 0 ? void 0 : _d.period.id) === period.id) {
|
|
1045
|
+
mergeKeyIdSetIntoArray(periodKeys, associatedKeyIds);
|
|
1046
|
+
}
|
|
1047
|
+
else {
|
|
1048
|
+
var periodKeysArr = Array.from(periodKeys);
|
|
1049
|
+
var _loop_2 = function (kid) {
|
|
1050
|
+
var isFound = associatedKeyIds.some(function (k) {
|
|
1051
|
+
return (0, are_arrays_of_numbers_equal_1.default)(k, kid);
|
|
1052
|
+
});
|
|
1053
|
+
if (isFound) {
|
|
1054
|
+
mergeKeyIdSetIntoArray(periodKeys, associatedKeyIds);
|
|
1055
|
+
return "break";
|
|
1056
|
+
}
|
|
1057
|
+
};
|
|
1058
|
+
try {
|
|
1059
|
+
for (var periodKeysArr_3 = (e_6 = void 0, __values(periodKeysArr)), periodKeysArr_3_1 = periodKeysArr_3.next(); !periodKeysArr_3_1.done; periodKeysArr_3_1 = periodKeysArr_3.next()) {
|
|
1060
|
+
var kid = periodKeysArr_3_1.value;
|
|
1061
|
+
var state_1 = _loop_2(kid);
|
|
1062
|
+
if (state_1 === "break")
|
|
1063
|
+
break;
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
|
1067
|
+
finally {
|
|
1068
|
+
try {
|
|
1069
|
+
if (periodKeysArr_3_1 && !periodKeysArr_3_1.done && (_c = periodKeysArr_3.return)) _c.call(periodKeysArr_3);
|
|
1070
|
+
}
|
|
1071
|
+
finally { if (e_6) throw e_6.error; }
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
1077
|
+
finally {
|
|
1078
|
+
try {
|
|
1079
|
+
if (_h && !_h.done && (_b = _g.return)) _b.call(_g);
|
|
1080
|
+
}
|
|
1081
|
+
finally { if (e_5) throw e_5.error; }
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
return {
|
|
1087
|
+
whitelisted: usableKeyIds,
|
|
1088
|
+
/** associatedKeyIds starts with the whitelisted one. */
|
|
1089
|
+
blacklisted: associatedKeyIds.slice(usableKeyIds.length),
|
|
1090
|
+
};
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* Push all kei ids in the given `set` and add it to the `arr` Array only if it
|
|
1094
|
+
* isn't already present in it.
|
|
1095
|
+
* @param {Set.<Uint8Array>} set
|
|
1096
|
+
* @param {Array.<Uint8Array>} arr
|
|
1097
|
+
*/
|
|
1098
|
+
function mergeKeyIdSetIntoArray(set, arr) {
|
|
1099
|
+
var e_7, _a;
|
|
1100
|
+
var setArr = Array.from(set.values());
|
|
1101
|
+
var _loop_3 = function (kid) {
|
|
1102
|
+
var isFound = arr.some(function (k) { return (0, are_arrays_of_numbers_equal_1.default)(k, kid); });
|
|
1103
|
+
if (!isFound) {
|
|
1104
|
+
arr.push(kid);
|
|
1105
|
+
}
|
|
1106
|
+
};
|
|
1107
|
+
try {
|
|
1108
|
+
for (var setArr_1 = __values(setArr), setArr_1_1 = setArr_1.next(); !setArr_1_1.done; setArr_1_1 = setArr_1.next()) {
|
|
1109
|
+
var kid = setArr_1_1.value;
|
|
1110
|
+
_loop_3(kid);
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
|
1114
|
+
finally {
|
|
1115
|
+
try {
|
|
1116
|
+
if (setArr_1_1 && !setArr_1_1.done && (_a = setArr_1.return)) _a.call(setArr_1);
|
|
1117
|
+
}
|
|
1118
|
+
finally { if (e_7) throw e_7.error; }
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* Add to the given `set` all key ids found in the given `Period`.
|
|
1123
|
+
* @param {Set.<Uint8Array>} set
|
|
1124
|
+
* @param {Object} period
|
|
1125
|
+
*/
|
|
1126
|
+
function addKeyIdsFromPeriod(set, period) {
|
|
1127
|
+
var e_8, _a, e_9, _b, e_10, _c;
|
|
1128
|
+
var adaptationsByType = period.adaptations;
|
|
1129
|
+
var adaptations = (0, object_values_1.objectValues)(adaptationsByType).reduce(
|
|
1130
|
+
// Note: the second case cannot happen. TS is just being dumb here
|
|
1131
|
+
function (acc, adaps) { return (!(0, is_null_or_undefined_1.default)(adaps) ? acc.concat(adaps) : acc); }, []);
|
|
1132
|
+
try {
|
|
1133
|
+
for (var adaptations_1 = __values(adaptations), adaptations_1_1 = adaptations_1.next(); !adaptations_1_1.done; adaptations_1_1 = adaptations_1.next()) {
|
|
1134
|
+
var adaptation = adaptations_1_1.value;
|
|
1135
|
+
try {
|
|
1136
|
+
for (var _d = (e_9 = void 0, __values(adaptation.representations)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
1137
|
+
var representation = _e.value;
|
|
1138
|
+
if (representation.contentProtections !== undefined &&
|
|
1139
|
+
representation.contentProtections.keyIds !== undefined) {
|
|
1140
|
+
try {
|
|
1141
|
+
for (var _f = (e_10 = void 0, __values(representation.contentProtections.keyIds)), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
1142
|
+
var kid = _g.value;
|
|
1143
|
+
set.add(kid);
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
catch (e_10_1) { e_10 = { error: e_10_1 }; }
|
|
1147
|
+
finally {
|
|
1148
|
+
try {
|
|
1149
|
+
if (_g && !_g.done && (_c = _f.return)) _c.call(_f);
|
|
1150
|
+
}
|
|
1151
|
+
finally { if (e_10) throw e_10.error; }
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
catch (e_9_1) { e_9 = { error: e_9_1 }; }
|
|
1157
|
+
finally {
|
|
1158
|
+
try {
|
|
1159
|
+
if (_e && !_e.done && (_b = _d.return)) _b.call(_d);
|
|
1160
|
+
}
|
|
1161
|
+
finally { if (e_9) throw e_9.error; }
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
catch (e_8_1) { e_8 = { error: e_8_1 }; }
|
|
1166
|
+
finally {
|
|
1167
|
+
try {
|
|
1168
|
+
if (adaptations_1_1 && !adaptations_1_1.done && (_a = adaptations_1.return)) _a.call(adaptations_1);
|
|
1169
|
+
}
|
|
1170
|
+
finally { if (e_8) throw e_8.error; }
|
|
1171
|
+
}
|
|
1172
|
+
}
|