rx-player 4.0.0-dev.2023120600 → 4.0.0-dev.2024022000
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/.prettierrc +4 -0
- package/CHANGELOG.md +1757 -990
- package/MAINTAINERS.md +9 -12
- package/README.md +107 -153
- package/VERSION +1 -1
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.d.ts +3 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.js +6 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts +3 -0
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.js +6 -0
- package/dist/commonjs/__GENERATED_CODE/index.d.ts +2 -0
- package/dist/commonjs/__GENERATED_CODE/index.js +7 -0
- package/dist/commonjs/compat/add_class_name.js +4 -3
- package/dist/commonjs/compat/add_text_track.d.ts +1 -1
- package/dist/commonjs/compat/add_text_track.js +3 -2
- package/dist/commonjs/compat/browser_compatibility_types.js +14 -8
- package/dist/commonjs/compat/browser_detection.d.ts +3 -1
- package/dist/commonjs/compat/browser_detection.js +29 -10
- package/dist/commonjs/compat/change_source_buffer_type.d.ts +1 -1
- package/dist/commonjs/compat/eme/close_session.d.ts +1 -1
- package/dist/commonjs/compat/eme/close_session.js +16 -12
- package/dist/commonjs/compat/eme/custom_key_system_access.d.ts +1 -1
- package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.d.ts +1 -1
- package/dist/commonjs/compat/eme/custom_media_keys/ie11_media_keys.js +14 -9
- package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +1 -1
- package/dist/commonjs/compat/eme/custom_media_keys/moz_media_keys_constructor.js +1 -1
- package/dist/commonjs/compat/eme/custom_media_keys/ms_media_keys_constructor.js +1 -1
- package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts +2 -2
- package/dist/commonjs/compat/eme/custom_media_keys/old_webkit_media_keys.js +13 -12
- package/dist/commonjs/compat/eme/custom_media_keys/types.d.ts +1 -1
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.d.ts +1 -1
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys.js +5 -11
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts +1 -1
- package/dist/commonjs/compat/eme/custom_media_keys/webkit_media_keys_constructor.js +3 -3
- package/dist/commonjs/compat/eme/eme-api-implementation.d.ts +3 -3
- package/dist/commonjs/compat/eme/eme-api-implementation.js +17 -12
- package/dist/commonjs/compat/eme/generate_key_request.d.ts +1 -1
- package/dist/commonjs/compat/eme/generate_key_request.js +16 -19
- package/dist/commonjs/compat/eme/get_init_data.js +5 -7
- package/dist/commonjs/compat/eme/get_uuid_kid_from_keystatus_kid.js +1 -2
- package/dist/commonjs/compat/eme/get_webkit_fairplay_initdata.js +10 -11
- package/dist/commonjs/compat/eme/load_session.d.ts +1 -1
- package/dist/commonjs/compat/enable_audio_track.d.ts +1 -1
- package/dist/commonjs/compat/event_listeners.d.ts +4 -4
- package/dist/commonjs/compat/event_listeners.js +43 -34
- package/dist/commonjs/compat/has_mse_in_worker.d.ts +2 -0
- package/dist/commonjs/compat/has_mse_in_worker.js +6 -0
- package/dist/commonjs/compat/has_webassembly.d.ts +6 -0
- package/dist/commonjs/compat/has_webassembly.js +8 -0
- package/dist/commonjs/compat/is_codec_supported.js +7 -1
- package/dist/commonjs/compat/is_vtt_cue.d.ts +1 -1
- package/dist/commonjs/compat/is_vtt_cue.js +1 -1
- package/dist/commonjs/compat/make_vtt_cue.d.ts +1 -1
- package/dist/commonjs/compat/make_vtt_cue.js +1 -1
- package/dist/commonjs/compat/on_height_width_change.d.ts +2 -2
- package/dist/commonjs/compat/on_height_width_change.js +1 -1
- package/dist/commonjs/compat/patch_webkit_source_buffer.js +31 -31
- package/dist/commonjs/compat/should_reload_media_source_on_decipherability_update.js +1 -2
- package/dist/commonjs/config.d.ts +8 -19
- package/dist/commonjs/config.js +4 -12
- package/dist/commonjs/core/adaptive/adaptive_representation_selector.d.ts +26 -39
- package/dist/commonjs/core/adaptive/adaptive_representation_selector.js +49 -27
- package/dist/commonjs/core/adaptive/buffer_based_chooser.d.ts +1 -1
- package/dist/commonjs/core/adaptive/buffer_based_chooser.js +13 -11
- package/dist/commonjs/core/adaptive/guess_based_chooser.d.ts +6 -6
- package/dist/commonjs/core/adaptive/guess_based_chooser.js +7 -6
- package/dist/commonjs/core/adaptive/index.d.ts +2 -2
- package/dist/commonjs/core/adaptive/network_analyzer.d.ts +6 -6
- package/dist/commonjs/core/adaptive/network_analyzer.js +47 -43
- package/dist/commonjs/core/adaptive/utils/bandwidth_estimator.js +1 -1
- package/dist/commonjs/core/adaptive/utils/ewma.js +1 -2
- package/dist/commonjs/core/adaptive/utils/filter_by_bitrate.d.ts +2 -2
- package/dist/commonjs/core/adaptive/utils/filter_by_resolution.d.ts +2 -2
- package/dist/commonjs/core/adaptive/utils/filter_by_resolution.js +2 -4
- package/dist/commonjs/core/adaptive/utils/get_buffer_levels.js +7 -4
- package/dist/commonjs/core/adaptive/utils/last_estimate_storage.d.ts +3 -3
- package/dist/commonjs/core/adaptive/utils/pending_requests_store.d.ts +5 -5
- package/dist/commonjs/core/adaptive/utils/pending_requests_store.js +4 -3
- package/dist/commonjs/core/adaptive/utils/representation_score_calculator.d.ts +7 -7
- package/dist/commonjs/core/adaptive/utils/representation_score_calculator.js +11 -8
- package/dist/commonjs/core/adaptive/utils/select_optimal_representation.d.ts +4 -4
- package/dist/commonjs/core/adaptive/utils/select_optimal_representation.js +2 -2
- package/dist/commonjs/core/fetchers/cdn_prioritizer.d.ts +2 -2
- package/dist/commonjs/core/fetchers/cdn_prioritizer.js +5 -6
- package/dist/commonjs/core/fetchers/manifest/index.d.ts +1 -1
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.d.ts +3 -3
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.js +80 -65
- package/dist/commonjs/core/fetchers/segment/index.d.ts +1 -1
- package/dist/commonjs/core/fetchers/segment/initialization_segment_cache.d.ts +42 -0
- package/dist/commonjs/core/fetchers/segment/prioritized_segment_fetcher.d.ts +4 -3
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts +12 -12
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.js +51 -34
- package/dist/commonjs/core/fetchers/segment/segment_fetcher_creator.d.ts +5 -5
- package/dist/commonjs/core/fetchers/segment/segment_fetcher_creator.js +4 -2
- package/dist/commonjs/core/fetchers/segment/task_prioritizer.d.ts +1 -1
- package/dist/commonjs/core/fetchers/segment/task_prioritizer.js +18 -17
- package/dist/commonjs/core/fetchers/utils/error_selector.d.ts +1 -2
- package/dist/commonjs/core/fetchers/utils/error_selector.js +2 -2
- package/dist/commonjs/core/fetchers/utils/schedule_request.d.ts +3 -3
- package/dist/commonjs/core/fetchers/utils/schedule_request.js +22 -22
- package/dist/commonjs/core/main/common/DecipherabilityFreezeDetector.d.ts +79 -0
- package/dist/commonjs/core/main/common/DecipherabilityFreezeDetector.js +127 -0
- package/dist/commonjs/core/main/common/content_time_boundaries_observer.d.ts +191 -0
- package/dist/commonjs/core/main/common/content_time_boundaries_observer.js +519 -0
- package/dist/commonjs/core/main/common/create_content_time_boundaries_observer.d.ts +27 -0
- package/dist/commonjs/core/main/common/create_content_time_boundaries_observer.js +48 -0
- package/dist/commonjs/core/main/common/get_buffered_data_per_media_buffer.d.ts +14 -0
- package/dist/commonjs/core/main/common/get_buffered_data_per_media_buffer.js +37 -0
- package/dist/commonjs/core/main/worker/content_preparer.d.ts +93 -0
- package/dist/commonjs/core/main/worker/content_preparer.js +273 -0
- package/dist/commonjs/core/main/worker/globals.d.ts +13 -0
- package/dist/commonjs/core/main/worker/globals.js +26 -0
- package/dist/commonjs/core/main/worker/index.d.ts +2 -0
- package/dist/commonjs/core/main/worker/index.js +4 -0
- package/dist/commonjs/core/main/worker/send_message.d.ts +3 -0
- package/dist/commonjs/core/main/worker/send_message.js +25 -0
- package/dist/commonjs/core/main/worker/track_choice_setter.d.ts +19 -0
- package/dist/commonjs/core/main/worker/track_choice_setter.js +140 -0
- package/dist/commonjs/core/main/worker/worker_main.d.ts +1 -0
- package/dist/commonjs/core/main/worker/worker_main.js +787 -0
- package/dist/commonjs/core/main/worker/worker_text_displayer_interface.d.ts +64 -0
- package/dist/commonjs/core/main/worker/worker_text_displayer_interface.js +126 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.d.ts +43 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.js +226 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_buffer.d.ts +135 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_buffer.js +358 -0
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/index.d.ts +17 -0
- package/dist/commonjs/core/segment_sinks/implementations/index.d.ts +19 -0
- package/dist/commonjs/core/segment_sinks/implementations/index.js +35 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/index.d.ts +3 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/index.js +4 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_buffer.d.ts +90 -0
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_buffer.js +257 -0
- package/dist/commonjs/core/segment_sinks/implementations/types.d.ts +307 -0
- package/dist/commonjs/core/segment_sinks/implementations/types.js +117 -0
- package/dist/commonjs/core/segment_sinks/index.d.ts +21 -0
- package/dist/commonjs/core/segment_sinks/index.js +28 -0
- package/dist/commonjs/core/segment_sinks/inventory/buffered_history.d.ts +89 -0
- package/dist/commonjs/core/segment_sinks/inventory/index.d.ts +21 -0
- package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.d.ts +238 -0
- package/dist/commonjs/core/segment_sinks/inventory/segment_inventory.js +917 -0
- package/dist/commonjs/core/segment_sinks/inventory/types.d.ts +27 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.d.ts +33 -0
- package/dist/commonjs/core/segment_sinks/inventory/utils.js +53 -0
- package/dist/commonjs/core/segment_sinks/segment_buffers_store.d.ts +171 -0
- package/dist/commonjs/core/segment_sinks/segment_buffers_store.js +288 -0
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts +4 -4
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.js +61 -26
- package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.d.ts +23 -9
- package/dist/commonjs/core/stream/adaptation/get_representations_switch_strategy.js +86 -75
- package/dist/commonjs/core/stream/adaptation/types.d.ts +34 -45
- package/dist/commonjs/core/stream/index.d.ts +3 -2
- package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.d.ts +8 -8
- package/dist/commonjs/core/stream/orchestrator/get_time_ranges_for_content.js +5 -6
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.d.ts +20 -19
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.js +100 -71
- package/dist/commonjs/core/stream/period/period_stream.d.ts +5 -5
- package/dist/commonjs/core/stream/period/period_stream.js +127 -58
- package/dist/commonjs/core/stream/period/types.d.ts +29 -21
- package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +14 -15
- package/dist/commonjs/core/stream/period/utils/get_adaptation_switch_strategy.js +97 -94
- package/dist/commonjs/core/stream/representation/representation_stream.d.ts +5 -5
- package/dist/commonjs/core/stream/representation/representation_stream.js +60 -35
- package/dist/commonjs/core/stream/representation/types.d.ts +52 -25
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.d.ts +12 -9
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.js +51 -36
- package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.d.ts +7 -7
- package/dist/commonjs/core/stream/representation/utils/check_for_discontinuity.js +16 -18
- package/dist/commonjs/core/stream/representation/utils/downloading_queue.d.ts +10 -10
- package/dist/commonjs/core/stream/representation/utils/downloading_queue.js +11 -11
- package/dist/commonjs/core/stream/representation/utils/get_buffer_status.d.ts +11 -11
- package/dist/commonjs/core/stream/representation/utils/get_buffer_status.js +67 -36
- package/dist/commonjs/core/stream/representation/utils/get_needed_segments.d.ts +7 -8
- package/dist/commonjs/core/stream/representation/utils/get_needed_segments.js +31 -36
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.d.ts +14 -12
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.js +11 -10
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.d.ts +15 -13
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.js +17 -15
- package/dist/commonjs/core/types.d.ts +8 -0
- package/dist/commonjs/core/types.js +2 -0
- package/dist/commonjs/default_config.d.ts +38 -50
- package/dist/commonjs/default_config.js +77 -77
- package/dist/commonjs/errors/encrypted_media_error.d.ts +19 -2
- package/dist/commonjs/errors/encrypted_media_error.js +15 -0
- package/dist/commonjs/errors/error_codes.d.ts +4 -3
- package/dist/commonjs/errors/error_codes.js +3 -8
- package/dist/commonjs/errors/format_error.d.ts +2 -2
- package/dist/commonjs/errors/format_error.js +1 -2
- package/dist/commonjs/errors/index.d.ts +7 -8
- package/dist/commonjs/errors/index.js +3 -5
- package/dist/commonjs/errors/is_known_error.d.ts +1 -1
- package/dist/commonjs/errors/is_known_error.js +2 -2
- package/dist/commonjs/errors/media_error.d.ts +22 -19
- package/dist/commonjs/errors/media_error.js +17 -19
- package/dist/commonjs/errors/network_error.d.ts +16 -2
- package/dist/commonjs/errors/network_error.js +16 -2
- package/dist/commonjs/errors/other_error.d.ts +15 -1
- package/dist/commonjs/errors/other_error.js +10 -0
- package/dist/commonjs/errors/source_buffer_error.d.ts +40 -0
- package/dist/commonjs/errors/source_buffer_error.js +64 -0
- package/dist/commonjs/errors/worker_initialization_error.d.ts +19 -0
- package/dist/commonjs/errors/worker_initialization_error.js +43 -0
- package/dist/commonjs/experimental/features/index.d.ts +1 -2
- package/dist/commonjs/experimental/features/index.js +3 -5
- package/dist/commonjs/experimental/features/local.d.ts +1 -1
- package/dist/commonjs/experimental/features/local.js +4 -3
- package/dist/commonjs/experimental/features/metaplaylist.d.ts +1 -1
- package/dist/commonjs/experimental/features/metaplaylist.js +4 -3
- package/dist/commonjs/experimental/features/multi_thread.d.ts +8 -0
- package/dist/commonjs/experimental/features/multi_thread.js +13 -0
- package/dist/commonjs/experimental/index.d.ts +1 -1
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +1 -1
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +1 -1
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/index.d.ts +1 -1
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +5 -5
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/load_and_push_segment.js +13 -14
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +4 -4
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.js +29 -22
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +3 -5
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.js +6 -7
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/types.d.ts +6 -6
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +3 -3
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +25 -27
- package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.js +13 -23
- package/dist/commonjs/experimental/tools/createMetaplaylist/index.d.ts +1 -1
- package/dist/commonjs/experimental/tools/createMetaplaylist/index.js +8 -7
- package/dist/commonjs/experimental/tools/index.d.ts +1 -2
- package/dist/commonjs/experimental/tools/index.js +1 -3
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api/index.d.ts +1 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api/index.js +9 -15
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.d.ts +4 -3
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.js +6 -3
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/capabilities.d.ts +1 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/capabilities.js +9 -46
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/index.d.ts +2 -0
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.d.ts +2 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.js +8 -5
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +2 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.js +21 -13
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +2 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.js +25 -21
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +12 -12
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/index.d.ts +1 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +2 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.js +7 -8
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.d.ts +1 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.js +6 -11
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.d.ts +2 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.js +2 -3
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +2 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.js +4 -4
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/types.d.ts +2 -2
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.d.ts +1 -1
- package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/utils.js +8 -7
- package/dist/commonjs/features/add_features.d.ts +1 -1
- package/dist/commonjs/features/features_object.d.ts +1 -1
- package/dist/commonjs/features/features_object.js +9 -6
- package/dist/commonjs/features/index.d.ts +1 -1
- package/dist/commonjs/features/list/dash.d.ts +1 -1
- package/dist/commonjs/features/list/dash.js +6 -5
- package/dist/commonjs/features/list/dash_wasm.d.ts +23 -0
- package/dist/commonjs/features/list/dash_wasm.js +38 -0
- package/dist/commonjs/features/list/debug_element.d.ts +8 -0
- package/dist/commonjs/features/list/debug_element.js +13 -0
- package/dist/commonjs/features/list/directfile.d.ts +1 -1
- package/dist/commonjs/features/list/directfile.js +2 -3
- package/dist/commonjs/features/list/eme.d.ts +1 -1
- package/dist/commonjs/features/list/eme.js +1 -1
- package/dist/commonjs/features/list/html_sami_parser.d.ts +1 -1
- package/dist/commonjs/features/list/html_sami_parser.js +2 -2
- package/dist/commonjs/features/list/html_srt_parser.d.ts +1 -1
- package/dist/commonjs/features/list/html_srt_parser.js +2 -2
- package/dist/commonjs/features/list/html_text_buffer.d.ts +1 -1
- package/dist/commonjs/features/list/html_text_buffer.js +2 -2
- package/dist/commonjs/features/list/html_ttml_parser.d.ts +1 -1
- package/dist/commonjs/features/list/html_ttml_parser.js +2 -2
- package/dist/commonjs/features/list/html_vtt_parser.d.ts +1 -1
- package/dist/commonjs/features/list/html_vtt_parser.js +2 -2
- package/dist/commonjs/features/list/index.d.ts +3 -0
- package/dist/commonjs/features/list/index.js +7 -1
- package/dist/commonjs/features/list/media_source_main.d.ts +8 -0
- package/dist/commonjs/features/list/media_source_main.js +13 -0
- package/dist/commonjs/features/list/native_sami_parser.d.ts +1 -1
- package/dist/commonjs/features/list/native_sami_parser.js +2 -3
- package/dist/commonjs/features/list/native_srt_parser.d.ts +1 -1
- package/dist/commonjs/features/list/native_srt_parser.js +2 -3
- package/dist/commonjs/features/list/native_text_buffer.d.ts +1 -1
- package/dist/commonjs/features/list/native_text_buffer.js +2 -3
- package/dist/commonjs/features/list/native_ttml_parser.d.ts +1 -1
- package/dist/commonjs/features/list/native_ttml_parser.js +2 -3
- package/dist/commonjs/features/list/native_vtt_parser.d.ts +1 -1
- package/dist/commonjs/features/list/native_vtt_parser.js +2 -3
- package/dist/commonjs/features/list/smooth.d.ts +2 -2
- package/dist/commonjs/features/list/smooth.js +8 -5
- package/dist/commonjs/features/types.d.ts +52 -24
- package/dist/commonjs/index.d.ts +1 -1
- package/dist/commonjs/index.js +3 -1
- package/dist/commonjs/main_thread/api/debug/buffer_graph.d.ts +28 -0
- package/dist/commonjs/main_thread/api/debug/buffer_graph.js +168 -0
- package/dist/commonjs/main_thread/api/debug/buffer_size_graph.js +131 -0
- package/dist/commonjs/main_thread/api/debug/modules/general_info.d.ts +3 -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 +4 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_content.js +127 -0
- package/dist/commonjs/main_thread/api/debug/modules/segment_buffer_size.d.ts +3 -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 +3 -0
- package/dist/commonjs/main_thread/api/index.d.ts +17 -0
- package/dist/commonjs/main_thread/api/index.js +19 -0
- package/dist/commonjs/main_thread/api/option_utils.d.ts +124 -0
- package/dist/commonjs/main_thread/api/option_utils.js +335 -0
- package/dist/commonjs/main_thread/api/public_api.d.ts +751 -0
- package/dist/commonjs/main_thread/api/public_api.js +2518 -0
- package/dist/commonjs/main_thread/api/utils.d.ts +66 -0
- package/dist/commonjs/main_thread/api/utils.js +178 -0
- package/dist/commonjs/main_thread/decrypt/__tests__/__global__/utils.d.ts +184 -0
- package/dist/commonjs/main_thread/decrypt/__tests__/__global__/utils.js +439 -0
- package/dist/commonjs/main_thread/decrypt/attach_media_keys.d.ts +53 -0
- package/dist/commonjs/main_thread/decrypt/attach_media_keys.js +128 -0
- package/dist/commonjs/main_thread/decrypt/clear_on_stop.js +43 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.d.ts +185 -0
- package/dist/commonjs/main_thread/decrypt/content_decryptor.js +1053 -0
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.d.ts +64 -0
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.js +135 -0
- package/dist/commonjs/main_thread/decrypt/create_session.d.ts +54 -0
- package/dist/commonjs/main_thread/decrypt/create_session.js +215 -0
- package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.js +90 -0
- package/dist/commonjs/main_thread/decrypt/find_key_system.d.ts +48 -0
- package/dist/commonjs/main_thread/decrypt/find_key_system.js +375 -0
- package/dist/commonjs/main_thread/decrypt/get_media_keys.d.ts +44 -0
- package/dist/commonjs/main_thread/decrypt/get_media_keys.js +165 -0
- package/dist/commonjs/main_thread/decrypt/index.d.ts +26 -0
- package/dist/commonjs/main_thread/decrypt/init_media_keys.d.ts +26 -0
- package/dist/commonjs/main_thread/decrypt/init_media_keys.js +93 -0
- package/dist/commonjs/main_thread/decrypt/session_events_listener.d.ts +75 -0
- package/dist/commonjs/main_thread/decrypt/session_events_listener.js +325 -0
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.d.ts +51 -0
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.js +145 -0
- package/dist/commonjs/main_thread/decrypt/types.d.ts +374 -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 +52 -0
- package/dist/commonjs/main_thread/decrypt/utils/check_key_statuses.js +211 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts +26 -0
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts +32 -0
- package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.d.ts +69 -0
- package/dist/commonjs/main_thread/decrypt/utils/init_data_values_container.js +137 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.d.ts +24 -0
- package/dist/commonjs/main_thread/decrypt/utils/is_session_usable.js +51 -0
- package/dist/commonjs/main_thread/decrypt/utils/key_session_record.d.ts +104 -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 +213 -0
- package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.js +518 -0
- package/dist/commonjs/main_thread/decrypt/utils/media_keys_infos_store.d.ts +56 -0
- package/dist/commonjs/main_thread/decrypt/utils/media_keys_infos_store.js +45 -0
- package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.d.ts +94 -0
- package/dist/commonjs/main_thread/decrypt/utils/persistent_sessions_store.js +356 -0
- package/dist/commonjs/main_thread/decrypt/utils/serializable_bytes.d.ts +44 -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 +64 -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 +97 -0
- package/dist/commonjs/main_thread/init/directfile_content_initializer.js +264 -0
- package/dist/commonjs/main_thread/init/media_source_content_initializer.d.ts +166 -0
- package/dist/commonjs/main_thread/init/media_source_content_initializer.js +897 -0
- package/dist/commonjs/main_thread/init/multi_thread_content_initializer.d.ts +167 -0
- package/dist/commonjs/main_thread/init/multi_thread_content_initializer.js +1452 -0
- package/dist/commonjs/main_thread/init/send_message.d.ts +2 -0
- package/dist/commonjs/main_thread/init/send_message.js +13 -0
- package/dist/commonjs/main_thread/init/types.d.ts +221 -0
- package/dist/commonjs/main_thread/init/types.js +53 -0
- package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.d.ts +83 -0
- package/dist/commonjs/main_thread/init/utils/create_core_playback_observer.js +105 -0
- package/dist/commonjs/main_thread/init/utils/create_media_source.d.ts +37 -0
- package/dist/commonjs/main_thread/init/utils/create_media_source.js +106 -0
- package/dist/commonjs/main_thread/init/utils/get_initial_time.d.ts +76 -0
- package/dist/commonjs/main_thread/init/utils/get_initial_time.js +109 -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.js +62 -0
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts +61 -0
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.js +207 -0
- package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.d.ts +87 -0
- package/dist/commonjs/main_thread/init/utils/initialize_content_decryption.js +119 -0
- package/dist/commonjs/main_thread/init/utils/main_thread_text_displayer_interface.d.ts +35 -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 +114 -0
- package/dist/commonjs/main_thread/init/utils/rebuffering_controller.js +450 -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 +18 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +25 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +98 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts +53 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/stream_events_emitter.js +230 -0
- package/dist/commonjs/main_thread/init/utils/stream_events_emitter/types.d.ts +41 -0
- package/dist/commonjs/main_thread/init/utils/throw_on_media_error.d.ts +23 -0
- package/dist/commonjs/main_thread/init/utils/throw_on_media_error.js +66 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_parsers.d.ts +15 -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 +100 -0
- package/dist/commonjs/main_thread/text_displayer/html/html_text_displayer.js +318 -0
- package/dist/commonjs/main_thread/text_displayer/html/index.d.ts +2 -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 +65 -0
- package/dist/commonjs/main_thread/text_displayer/html/text_track_cues_store.js +378 -0
- package/dist/commonjs/main_thread/text_displayer/html/update_proportional_elements.d.ts +15 -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 +39 -0
- package/dist/commonjs/main_thread/text_displayer/html/utils.js +119 -0
- package/dist/commonjs/main_thread/text_displayer/index.d.ts +2 -0
- package/dist/commonjs/main_thread/text_displayer/index.js +2 -0
- package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.d.ts +14 -0
- package/dist/commonjs/main_thread/text_displayer/manual_time_ranges.js +52 -0
- package/dist/commonjs/main_thread/text_displayer/native/index.d.ts +2 -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 +11 -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 +56 -0
- package/dist/commonjs/main_thread/text_displayer/native/native_text_displayer.js +207 -0
- package/dist/commonjs/main_thread/text_displayer/types.d.ts +71 -0
- package/dist/commonjs/main_thread/text_displayer/types.js +2 -0
- package/dist/commonjs/main_thread/tracks_store/index.d.ts +20 -0
- package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.d.ts +197 -0
- package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.js +691 -0
- package/dist/commonjs/main_thread/tracks_store/track_dispatcher.d.ts +101 -0
- package/dist/commonjs/main_thread/tracks_store/track_dispatcher.js +198 -0
- package/dist/commonjs/main_thread/tracks_store/tracks_store.d.ts +448 -0
- package/dist/commonjs/main_thread/tracks_store/tracks_store.js +1096 -0
- package/dist/commonjs/main_thread/types.d.ts +5 -0
- package/dist/commonjs/main_thread/types.js +2 -0
- package/dist/commonjs/manifest/classes/adaptation.d.ts +134 -0
- package/dist/commonjs/manifest/classes/adaptation.js +237 -0
- package/dist/commonjs/manifest/classes/index.d.ts +25 -0
- package/dist/commonjs/manifest/classes/index.js +46 -0
- package/dist/commonjs/manifest/classes/manifest.d.ts +391 -0
- package/dist/commonjs/manifest/classes/manifest.js +494 -0
- package/dist/commonjs/manifest/classes/period.d.ts +106 -0
- package/dist/commonjs/manifest/classes/period.js +235 -0
- package/dist/commonjs/manifest/classes/representation.d.ts +238 -0
- package/dist/commonjs/manifest/classes/representation.js +382 -0
- package/dist/commonjs/manifest/classes/representation_index/index.d.ts +18 -0
- package/dist/commonjs/manifest/classes/representation_index/static.d.ts +101 -0
- package/dist/commonjs/manifest/classes/representation_index/static.js +147 -0
- package/dist/commonjs/manifest/classes/representation_index/types.d.ts +420 -0
- package/dist/commonjs/manifest/classes/types.js +33 -0
- package/dist/commonjs/manifest/classes/update_period_in_place.d.ts +53 -0
- package/dist/commonjs/manifest/classes/update_period_in_place.js +172 -0
- package/dist/commonjs/manifest/classes/update_periods.d.ts +50 -0
- package/dist/commonjs/manifest/classes/update_periods.js +229 -0
- package/dist/commonjs/manifest/classes/utils.d.ts +39 -0
- package/dist/commonjs/manifest/classes/utils.js +54 -0
- package/dist/commonjs/manifest/index.d.ts +15 -24
- package/dist/commonjs/manifest/index.js +5 -31
- package/dist/commonjs/manifest/types.d.ts +372 -19
- package/dist/commonjs/manifest/types.js +0 -31
- package/dist/commonjs/manifest/utils.d.ts +149 -31
- package/dist/commonjs/manifest/utils.js +698 -34
- package/dist/commonjs/minimal.d.ts +4 -1
- package/dist/commonjs/minimal.js +12 -1
- package/dist/commonjs/mse/index.d.ts +1 -0
- package/dist/commonjs/mse/index.js +2 -0
- package/dist/commonjs/mse/main_codec_support_prober.d.ts +26 -0
- package/dist/commonjs/mse/main_codec_support_prober.js +44 -0
- package/dist/commonjs/mse/main_media_source_interface.d.ts +112 -0
- package/dist/commonjs/mse/main_media_source_interface.js +529 -0
- package/dist/commonjs/mse/types.d.ts +301 -0
- package/dist/commonjs/mse/types.js +2 -0
- package/dist/commonjs/mse/utils/end_of_stream.d.ts +33 -0
- package/dist/commonjs/mse/utils/end_of_stream.js +114 -0
- package/dist/commonjs/mse/utils/media_source_duration_updater.js +272 -0
- package/dist/commonjs/mse/worker_codec_support_prober.d.ts +42 -0
- package/dist/commonjs/mse/worker_codec_support_prober.js +61 -0
- package/dist/commonjs/mse/worker_media_source_interface.d.ts +105 -0
- package/dist/commonjs/mse/worker_media_source_interface.js +370 -0
- package/dist/commonjs/multithread_types.d.ts +815 -0
- package/dist/commonjs/multithread_types.js +7 -0
- package/dist/commonjs/parsers/containers/isobmff/create_box.d.ts +1 -1
- package/dist/commonjs/parsers/containers/isobmff/create_box.js +4 -3
- package/dist/commonjs/parsers/containers/isobmff/drm/playready.js +1 -2
- package/dist/commonjs/parsers/containers/isobmff/get_box.js +2 -4
- package/dist/commonjs/parsers/containers/isobmff/index.d.ts +3 -3
- package/dist/commonjs/parsers/containers/isobmff/read.d.ts +1 -1
- package/dist/commonjs/parsers/containers/isobmff/read.js +7 -7
- package/dist/commonjs/parsers/containers/isobmff/take_pssh_out.js +3 -4
- package/dist/commonjs/parsers/containers/isobmff/utils.js +64 -40
- package/dist/commonjs/parsers/containers/matroska/index.d.ts +1 -1
- package/dist/commonjs/parsers/containers/matroska/utils.js +42 -29
- package/dist/commonjs/parsers/images/bif.js +17 -4
- package/dist/commonjs/parsers/manifest/dash/common/attach_trickmode_track.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/common/convert_supplemental_codecs.js +1 -3
- package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/common/flatten_overlapping_periods.js +1 -1
- package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.js +4 -12
- package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/common/get_http_utc-timing_url.js +4 -5
- package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/common/get_minimum_and_maximum_positions.js +5 -2
- package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/common/get_periods_time_infos.js +14 -10
- package/dist/commonjs/parsers/manifest/dash/common/index.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts +5 -5
- package/dist/commonjs/parsers/manifest/dash/common/indexes/base.js +39 -29
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_init_segment.js +8 -4
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts +4 -4
- package/dist/commonjs/parsers/manifest/dash/common/indexes/get_segments_from_timeline.js +14 -10
- package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/dash/common/indexes/list.js +33 -20
- package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts +3 -3
- package/dist/commonjs/parsers/manifest/dash/common/indexes/template.js +58 -57
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +5 -4
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.js +13 -10
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts +3 -2
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.js +23 -18
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.js +16 -9
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts +4 -3
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.js +47 -26
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +11 -2
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/parse_s_element.js +74 -3
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +9 -8
- package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +85 -66
- package/dist/commonjs/parsers/manifest/dash/common/indexes/tokens.js +2 -4
- package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.js +2 -2
- package/dist/commonjs/parsers/manifest/dash/common/manifest_bounds_calculator.js +9 -10
- package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +5 -5
- package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.js +63 -56
- package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.d.ts +3 -2
- package/dist/commonjs/parsers/manifest/dash/common/parse_availability_start_time.js +5 -3
- package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.d.ts +6 -6
- package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.js +67 -41
- package/dist/commonjs/parsers/manifest/dash/common/parse_periods.d.ts +5 -5
- package/dist/commonjs/parsers/manifest/dash/common/parse_periods.js +56 -41
- package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.d.ts +5 -5
- package/dist/commonjs/parsers/manifest/dash/common/parse_representation_index.js +4 -6
- package/dist/commonjs/parsers/manifest/dash/common/parse_representations.d.ts +5 -5
- package/dist/commonjs/parsers/manifest/dash/common/parse_representations.js +66 -64
- package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.js +4 -2
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/index.d.ts +17 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/index.js +19 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/AdaptationSet.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/AdaptationSet.js +400 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/BaseURL.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/BaseURL.js +33 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/ContentComponent.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/ContentComponent.js +70 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.js +118 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/EventStream.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/EventStream.js +154 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Initialization.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Initialization.js +70 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.js +221 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Period.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Period.js +179 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.js +256 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentBase.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentBase.js +152 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentList.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentList.js +60 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTemplate.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTemplate.js +125 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTimeline.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTimeline.js +36 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentURL.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentURL.js +82 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/utils.d.ts +176 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/utils.js +382 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/parse_from_xml_string.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/fast-js-parser/parse_from_xml_string.js +142 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/AdaptationSet.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/AdaptationSet.js +374 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/BaseURL.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/BaseURL.js +32 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/ContentComponent.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/ContentProtection.d.ts +21 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/EventStream.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/EventStream.js +119 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Initialization.d.ts +21 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Initialization.js +44 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/MPD.d.ts +21 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/MPD.js +181 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Period.d.ts +21 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Period.js +138 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Representation.d.ts +21 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Representation.js +230 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentBase.d.ts +22 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentBase.js +126 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentList.d.ts +21 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentTemplate.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentTemplate.js +102 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentTimeline.d.ts +21 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentURL.d.ts +23 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/SegmentURL.js +56 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/utils.d.ts +169 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/utils.js +346 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/parse_from_document.d.ts +24 -0
- package/dist/commonjs/parsers/manifest/dash/native-parser/parse_from_document.js +136 -0
- package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts +5 -3
- package/dist/commonjs/parsers/manifest/dash/parsers_types.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.js +52 -23
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts +3 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +21 -25
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts +3 -3
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.js +1 -1
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts +3 -3
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.js +4 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +3 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.js +2 -4
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts +3 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/MPD.js +4 -4
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +3 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Period.js +9 -6
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +3 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +13 -15
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts +3 -3
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.js +1 -1
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.js +5 -10
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts +3 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.js +11 -18
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.js +2 -4
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts +3 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/XLink.js +4 -4
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/root.js +7 -3
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/parsers_stack.js +5 -2
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.d.ts +55 -55
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/utils.js +7 -3
- package/dist/commonjs/parsers/manifest/local/parse_local_manifest.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/local/parse_local_manifest.js +25 -16
- package/dist/commonjs/parsers/manifest/local/representation_index.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/local/representation_index.js +8 -10
- package/dist/commonjs/parsers/manifest/metaplaylist/index.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +4 -4
- package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.js +59 -42
- package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts +3 -3
- package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.js +10 -7
- package/dist/commonjs/parsers/manifest/smooth/create_parser.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/smooth/create_parser.js +130 -108
- package/dist/commonjs/parsers/manifest/smooth/get_codecs.js +3 -3
- package/dist/commonjs/parsers/manifest/smooth/index.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/smooth/parse_C_nodes.js +9 -9
- package/dist/commonjs/parsers/manifest/smooth/parse_protection_node.js +12 -8
- package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts +3 -3
- package/dist/commonjs/parsers/manifest/smooth/representation_index.js +37 -37
- package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/smooth/shared_smooth_segment_timeline.js +8 -9
- package/dist/commonjs/parsers/manifest/smooth/utils/add_segment_infos.js +10 -7
- package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/smooth/utils/parseBoolean.js +1 -1
- package/dist/commonjs/parsers/manifest/smooth/utils/tokens.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/smooth/utils/tokens.js +1 -2
- package/dist/commonjs/parsers/manifest/types.d.ts +10 -3
- package/dist/commonjs/parsers/manifest/utils/check_manifest_ids.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.d.ts +3 -2
- package/dist/commonjs/parsers/manifest/utils/clear_timeline_from_position.js +11 -7
- package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/utils/get_first_time_from_adaptation.js +5 -4
- package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/utils/get_last_time_from_adaptation.js +5 -4
- package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/utils/get_maximum_positions.js +11 -17
- package/dist/commonjs/parsers/manifest/utils/get_minimum_position.d.ts +2 -2
- package/dist/commonjs/parsers/manifest/utils/get_minimum_position.js +5 -11
- package/dist/commonjs/parsers/manifest/utils/index_helpers.js +4 -5
- package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/utils/update_segment_timeline.js +17 -17
- package/dist/commonjs/parsers/texttracks/index.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/sami/html.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/sami/html.js +17 -16
- package/dist/commonjs/parsers/texttracks/sami/native.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/sami/native.js +12 -18
- package/dist/commonjs/parsers/texttracks/srt/html.js +12 -10
- package/dist/commonjs/parsers/texttracks/srt/native.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/srt/native.js +2 -8
- package/dist/commonjs/parsers/texttracks/srt/parse_cue.js +4 -8
- package/dist/commonjs/parsers/texttracks/ttml/get_parameters.js +7 -8
- package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/ttml/get_time_delimiters.js +9 -10
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.js +2 -2
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_extent.js +5 -9
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_font_size.js +6 -7
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_line_height.js +4 -3
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_origin.js +5 -9
- package/dist/commonjs/parsers/texttracks/ttml/html/apply_padding.js +7 -11
- package/dist/commonjs/parsers/texttracks/ttml/html/create_element.d.ts +2 -2
- package/dist/commonjs/parsers/texttracks/ttml/html/create_element.js +29 -22
- package/dist/commonjs/parsers/texttracks/ttml/html/generate_css_test_outline.js +2 -2
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_cue.js +5 -3
- package/dist/commonjs/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/ttml/html/ttml_color_to_css_color.js +39 -23
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.d.ts +2 -2
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_cue.js +14 -13
- package/dist/commonjs/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.d.ts +3 -3
- package/dist/commonjs/parsers/texttracks/ttml/parse_ttml.js +27 -15
- package/dist/commonjs/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/ttml/time_parsing.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/ttml/time_parsing.js +2 -2
- package/dist/commonjs/parsers/texttracks/ttml/xml_utils.js +2 -1
- package/dist/commonjs/parsers/texttracks/types.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/webvtt/get_style_blocks.js +2 -1
- package/dist/commonjs/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_default_style_elements.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_style_attribute.js +6 -12
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/webvtt/html/create_styled_element.js +7 -8
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_style_block.js +4 -4
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_to_div.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/webvtt/html/parse_webvtt_to_div.js +1 -1
- package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/webvtt/html/to_html.js +4 -10
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_to_cues.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/webvtt/native/parse_vtt_to_cues.js +5 -9
- package/dist/commonjs/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +1 -1
- package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.d.ts +2 -2
- package/dist/commonjs/parsers/texttracks/webvtt/native/to_native_cue.js +3 -3
- package/dist/commonjs/parsers/texttracks/webvtt/parse_cue_block.js +9 -5
- package/dist/commonjs/parsers/texttracks/webvtt/parse_timestamp.js +1 -2
- package/dist/commonjs/parsers/texttracks/webvtt/utils.js +6 -6
- package/dist/commonjs/playback_observer/index.d.ts +6 -0
- package/dist/commonjs/playback_observer/index.js +5 -0
- package/dist/commonjs/playback_observer/media_element_playback_observer.d.ts +203 -0
- package/dist/commonjs/playback_observer/media_element_playback_observer.js +685 -0
- package/dist/commonjs/playback_observer/types.d.ts +223 -0
- package/dist/commonjs/playback_observer/types.js +2 -0
- package/dist/commonjs/playback_observer/utils/generate_read_only_observer.d.ts +11 -0
- package/dist/commonjs/playback_observer/utils/generate_read_only_observer.js +44 -0
- package/dist/commonjs/playback_observer/utils/observation_position.d.ts +87 -0
- package/dist/commonjs/playback_observer/utils/observation_position.js +88 -0
- package/dist/commonjs/playback_observer/worker_playback_observer.d.ts +72 -0
- package/dist/commonjs/playback_observer/worker_playback_observer.js +49 -0
- package/dist/commonjs/public_types.d.ts +104 -35
- package/dist/commonjs/public_types.js +2 -13
- package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.d.ts +3 -3
- package/dist/commonjs/tools/TextTrackRenderer/text_track_renderer.js +17 -18
- package/dist/commonjs/tools/index.d.ts +2 -1
- package/dist/commonjs/tools/index.js +3 -1
- package/dist/commonjs/tools/parseBIFThumbnails/index.js +33 -0
- package/dist/commonjs/transports/dash/add_segment_integrity_checks_to_loader.d.ts +1 -1
- package/dist/commonjs/transports/dash/add_segment_integrity_checks_to_loader.js +2 -3
- package/dist/commonjs/transports/dash/construct_segment_url.d.ts +2 -2
- package/dist/commonjs/transports/dash/construct_segment_url.js +7 -3
- package/dist/commonjs/transports/dash/extract_complete_chunks.d.ts +1 -1
- package/dist/commonjs/transports/dash/extract_complete_chunks.js +37 -8
- package/dist/commonjs/transports/dash/get_events_out_of_emsgs.d.ts +2 -2
- package/dist/commonjs/transports/dash/get_events_out_of_emsgs.js +12 -11
- package/dist/commonjs/transports/dash/init_segment_loader.d.ts +3 -3
- package/dist/commonjs/transports/dash/init_segment_loader.js +46 -22
- package/dist/commonjs/transports/dash/low_latency_segment_loader.d.ts +2 -2
- package/dist/commonjs/transports/dash/low_latency_segment_loader.js +18 -11
- package/dist/commonjs/transports/dash/manifest_parser.d.ts +2 -2
- package/dist/commonjs/transports/dash/manifest_parser.js +69 -28
- package/dist/commonjs/transports/dash/pipelines.d.ts +1 -1
- package/dist/commonjs/transports/dash/pipelines.js +15 -12
- package/dist/commonjs/transports/dash/segment_loader.d.ts +4 -4
- package/dist/commonjs/transports/dash/segment_loader.js +35 -21
- package/dist/commonjs/transports/dash/segment_parser.d.ts +2 -2
- package/dist/commonjs/transports/dash/segment_parser.js +54 -22
- package/dist/commonjs/transports/dash/text_loader.d.ts +2 -2
- package/dist/commonjs/transports/dash/text_loader.js +21 -18
- package/dist/commonjs/transports/dash/text_parser.d.ts +2 -2
- package/dist/commonjs/transports/dash/text_parser.js +49 -23
- package/dist/commonjs/transports/index.d.ts +1 -1
- package/dist/commonjs/transports/index.js +0 -15
- package/dist/commonjs/transports/local/pipelines.d.ts +1 -1
- package/dist/commonjs/transports/local/pipelines.js +15 -10
- package/dist/commonjs/transports/local/segment_loader.d.ts +3 -3
- package/dist/commonjs/transports/local/segment_loader.js +14 -6
- package/dist/commonjs/transports/local/segment_parser.d.ts +1 -1
- package/dist/commonjs/transports/local/segment_parser.js +30 -12
- package/dist/commonjs/transports/local/text_parser.d.ts +1 -1
- package/dist/commonjs/transports/local/text_parser.js +48 -18
- package/dist/commonjs/transports/metaplaylist/manifest_loader.d.ts +4 -4
- package/dist/commonjs/transports/metaplaylist/manifest_loader.js +9 -5
- package/dist/commonjs/transports/metaplaylist/pipelines.d.ts +1 -1
- package/dist/commonjs/transports/metaplaylist/pipelines.js +38 -22
- package/dist/commonjs/transports/smooth/extract_timings_infos.d.ts +2 -2
- package/dist/commonjs/transports/smooth/extract_timings_infos.js +14 -13
- package/dist/commonjs/transports/smooth/is_mp4_embedded_track.d.ts +1 -1
- package/dist/commonjs/transports/smooth/is_mp4_embedded_track.js +1 -1
- package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.d.ts +0 -1
- package/dist/commonjs/transports/smooth/isobmff/create_audio_init_segment.js +3 -4
- package/dist/commonjs/transports/smooth/isobmff/create_boxes.js +22 -31
- package/dist/commonjs/transports/smooth/isobmff/create_init_segment.js +1 -1
- package/dist/commonjs/transports/smooth/isobmff/get_aaces_header.js +4 -16
- package/dist/commonjs/transports/smooth/isobmff/parse_tfrf.js +1 -1
- package/dist/commonjs/transports/smooth/isobmff/parse_tfxd.js +1 -1
- package/dist/commonjs/transports/smooth/isobmff/patch_segment.js +12 -11
- package/dist/commonjs/transports/smooth/pipelines.d.ts +1 -1
- package/dist/commonjs/transports/smooth/pipelines.js +101 -60
- package/dist/commonjs/transports/smooth/segment_loader.d.ts +3 -3
- package/dist/commonjs/transports/smooth/segment_loader.js +50 -27
- package/dist/commonjs/transports/smooth/utils.d.ts +4 -4
- package/dist/commonjs/transports/smooth/utils.js +9 -5
- package/dist/commonjs/transports/types.d.ts +22 -27
- package/dist/commonjs/transports/utils/byte_range.js +1 -2
- package/dist/commonjs/transports/utils/call_custom_manifest_loader.d.ts +3 -3
- package/dist/commonjs/transports/utils/call_custom_manifest_loader.js +10 -6
- package/dist/commonjs/transports/utils/check_isobmff_integrity.js +3 -3
- package/dist/commonjs/transports/utils/find_complete_box.js +2 -1
- package/dist/commonjs/transports/utils/generate_manifest_loader.d.ts +3 -3
- package/dist/commonjs/transports/utils/generate_manifest_loader.js +20 -8
- package/dist/commonjs/transports/utils/get_isobmff_timing_infos.d.ts +2 -2
- package/dist/commonjs/transports/utils/get_isobmff_timing_infos.js +12 -11
- package/dist/commonjs/transports/utils/infer_segment_container.d.ts +1 -1
- package/dist/commonjs/transports/utils/infer_segment_container.js +1 -3
- package/dist/commonjs/transports/utils/parse_text_track.d.ts +4 -4
- package/dist/commonjs/transports/utils/parse_text_track.js +4 -7
- package/dist/commonjs/utils/array_includes.js +2 -6
- package/dist/commonjs/utils/assert.d.ts +41 -0
- package/dist/commonjs/utils/assert.js +71 -8
- package/dist/commonjs/utils/base64.js +87 -29
- package/dist/commonjs/utils/byte_parsing.js +64 -56
- package/dist/commonjs/utils/cancellable_sleep.d.ts +1 -1
- package/dist/commonjs/utils/create_cancellable_promise.d.ts +1 -1
- package/dist/commonjs/utils/deep_merge.js +4 -4
- package/dist/commonjs/utils/event_emitter.d.ts +1 -1
- package/dist/commonjs/utils/event_emitter.js +7 -2
- package/dist/commonjs/utils/get_fuzzed_delay.js +1 -1
- package/dist/commonjs/utils/global_scope.d.ts +9 -0
- package/dist/commonjs/utils/global_scope.js +22 -0
- package/dist/commonjs/utils/hash_buffer.js +1 -1
- package/dist/commonjs/utils/languages/ISO_639-1_to_ISO_639-3.js +182 -182
- package/dist/commonjs/utils/languages/ISO_639-2_to_ISO_639-3.js +19 -19
- package/dist/commonjs/utils/languages/normalize.js +4 -2
- package/dist/commonjs/utils/logger.d.ts +13 -3
- package/dist/commonjs/utils/logger.js +73 -26
- package/dist/commonjs/utils/monotonic_timestamp.d.ts +20 -4
- package/dist/commonjs/utils/monotonic_timestamp.js +22 -5
- package/dist/commonjs/utils/object_assign.d.ts +29 -5
- package/dist/commonjs/utils/object_assign.js +17 -8
- package/dist/commonjs/utils/object_values.d.ts +1 -1
- package/dist/commonjs/utils/object_values.js +2 -3
- package/dist/commonjs/utils/queue_microtask.js +3 -3
- package/dist/commonjs/utils/ranges.js +22 -29
- package/dist/commonjs/utils/reference.d.ts +1 -1
- package/dist/commonjs/utils/reference.js +1 -3
- package/dist/commonjs/utils/request/fetch.d.ts +1 -1
- package/dist/commonjs/utils/request/fetch.js +41 -30
- package/dist/commonjs/utils/request/index.d.ts +2 -1
- package/dist/commonjs/utils/request/index.js +4 -1
- package/dist/commonjs/utils/request/request_error.d.ts +47 -0
- package/dist/commonjs/utils/request/request_error.js +87 -0
- package/dist/commonjs/utils/request/xhr.d.ts +5 -5
- package/dist/commonjs/utils/request/xhr.js +35 -24
- package/dist/commonjs/utils/retry_promise_with_backoff.d.ts +11 -3
- package/dist/commonjs/utils/retry_promise_with_backoff.js +18 -4
- package/dist/commonjs/utils/slice_uint8array.js +3 -3
- package/dist/commonjs/utils/starts_with.js +3 -3
- package/dist/commonjs/utils/string_parsing.js +17 -19
- package/dist/commonjs/utils/sync_or_async.d.ts +70 -0
- package/dist/commonjs/utils/sync_or_async.js +51 -0
- package/dist/commonjs/utils/task_canceller.js +1 -2
- package/dist/commonjs/utils/wrapInPromise.d.ts +1 -1
- package/dist/commonjs/utils/xml-parser.d.ts +70 -0
- package/dist/commonjs/utils/xml-parser.js +357 -0
- package/dist/commonjs/worker_entry_point.d.ts +5 -0
- package/dist/commonjs/worker_entry_point.js +8 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts +3 -0
- package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.js +3 -0
- package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts +3 -0
- package/dist/es2017/__GENERATED_CODE/embedded_worker.js +3 -0
- package/dist/es2017/__GENERATED_CODE/index.d.ts +2 -0
- package/dist/es2017/__GENERATED_CODE/index.js +2 -0
- package/dist/es2017/compat/add_class_name.js +4 -3
- package/dist/es2017/compat/add_text_track.d.ts +1 -1
- package/dist/es2017/compat/add_text_track.js +3 -2
- package/dist/es2017/compat/browser_compatibility_types.js +14 -8
- package/dist/es2017/compat/browser_detection.d.ts +3 -1
- package/dist/es2017/compat/browser_detection.js +28 -10
- package/dist/es2017/compat/can_reuse_media_keys.js +1 -1
- package/dist/es2017/compat/change_source_buffer_type.d.ts +1 -1
- package/dist/es2017/compat/eme/close_session.d.ts +1 -1
- package/dist/es2017/compat/eme/close_session.js +17 -13
- package/dist/es2017/compat/eme/custom_key_system_access.d.ts +1 -1
- package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.d.ts +1 -1
- package/dist/es2017/compat/eme/custom_media_keys/ie11_media_keys.js +14 -7
- package/dist/es2017/compat/eme/custom_media_keys/index.js +1 -1
- package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +1 -1
- package/dist/es2017/compat/eme/custom_media_keys/moz_media_keys_constructor.js +1 -1
- package/dist/es2017/compat/eme/custom_media_keys/ms_media_keys_constructor.js +1 -1
- package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts +2 -2
- package/dist/es2017/compat/eme/custom_media_keys/old_webkit_media_keys.js +10 -11
- package/dist/es2017/compat/eme/custom_media_keys/types.d.ts +1 -1
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.d.ts +1 -1
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys.js +5 -9
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts +1 -1
- package/dist/es2017/compat/eme/custom_media_keys/webkit_media_keys_constructor.js +4 -4
- package/dist/es2017/compat/eme/eme-api-implementation.d.ts +3 -3
- package/dist/es2017/compat/eme/eme-api-implementation.js +17 -15
- package/dist/es2017/compat/eme/generate_key_request.d.ts +1 -1
- package/dist/es2017/compat/eme/generate_key_request.js +17 -20
- package/dist/es2017/compat/eme/get_init_data.js +5 -7
- package/dist/es2017/compat/eme/get_uuid_kid_from_keystatus_kid.js +2 -3
- package/dist/es2017/compat/eme/get_webkit_fairplay_initdata.js +12 -13
- package/dist/es2017/compat/eme/load_session.d.ts +1 -1
- package/dist/es2017/compat/enable_audio_track.d.ts +1 -1
- package/dist/es2017/compat/event_listeners.d.ts +4 -4
- package/dist/es2017/compat/event_listeners.js +40 -37
- package/dist/es2017/compat/has_mse_in_worker.d.ts +2 -0
- package/dist/es2017/compat/has_mse_in_worker.js +4 -0
- package/dist/es2017/compat/has_webassembly.d.ts +6 -0
- package/dist/es2017/compat/has_webassembly.js +6 -0
- package/dist/es2017/compat/is_codec_supported.js +7 -1
- package/dist/es2017/compat/is_vtt_cue.d.ts +1 -1
- package/dist/es2017/compat/is_vtt_cue.js +1 -1
- package/dist/es2017/compat/make_vtt_cue.d.ts +1 -1
- package/dist/es2017/compat/make_vtt_cue.js +1 -1
- package/dist/es2017/compat/on_height_width_change.d.ts +2 -2
- package/dist/es2017/compat/on_height_width_change.js +2 -2
- package/dist/es2017/compat/patch_webkit_source_buffer.js +30 -30
- package/dist/es2017/compat/should_favour_custom_safari_EME.js +2 -2
- package/dist/es2017/compat/should_reload_media_source_on_decipherability_update.js +1 -2
- package/dist/es2017/config.d.ts +8 -19
- package/dist/es2017/config.js +4 -12
- package/dist/es2017/core/adaptive/adaptive_representation_selector.d.ts +26 -39
- package/dist/es2017/core/adaptive/adaptive_representation_selector.js +43 -31
- package/dist/es2017/core/adaptive/buffer_based_chooser.d.ts +1 -1
- package/dist/es2017/core/adaptive/buffer_based_chooser.js +14 -12
- package/dist/es2017/core/adaptive/guess_based_chooser.d.ts +6 -6
- package/dist/es2017/core/adaptive/guess_based_chooser.js +8 -7
- package/dist/es2017/core/adaptive/index.d.ts +2 -2
- package/dist/es2017/core/adaptive/network_analyzer.d.ts +6 -6
- package/dist/es2017/core/adaptive/network_analyzer.js +48 -44
- package/dist/es2017/core/adaptive/utils/bandwidth_estimator.js +1 -1
- package/dist/es2017/core/adaptive/utils/ewma.js +1 -2
- package/dist/es2017/core/adaptive/utils/filter_by_bitrate.d.ts +2 -2
- package/dist/es2017/core/adaptive/utils/filter_by_resolution.d.ts +2 -2
- package/dist/es2017/core/adaptive/utils/filter_by_resolution.js +2 -4
- package/dist/es2017/core/adaptive/utils/get_buffer_levels.js +8 -5
- package/dist/es2017/core/adaptive/utils/last_estimate_storage.d.ts +3 -3
- package/dist/es2017/core/adaptive/utils/pending_requests_store.d.ts +5 -5
- package/dist/es2017/core/adaptive/utils/pending_requests_store.js +5 -6
- package/dist/es2017/core/adaptive/utils/representation_score_calculator.d.ts +7 -7
- package/dist/es2017/core/adaptive/utils/representation_score_calculator.js +10 -8
- package/dist/es2017/core/adaptive/utils/select_optimal_representation.d.ts +4 -4
- package/dist/es2017/core/adaptive/utils/select_optimal_representation.js +2 -2
- package/dist/es2017/core/fetchers/cdn_prioritizer.d.ts +2 -2
- package/dist/es2017/core/fetchers/cdn_prioritizer.js +5 -6
- package/dist/es2017/core/fetchers/manifest/index.d.ts +1 -1
- package/dist/es2017/core/fetchers/manifest/manifest_fetcher.d.ts +3 -3
- package/dist/es2017/core/fetchers/manifest/manifest_fetcher.js +76 -76
- package/dist/es2017/core/fetchers/segment/index.d.ts +1 -1
- package/dist/es2017/core/fetchers/segment/initialization_segment_cache.d.ts +42 -0
- package/dist/es2017/core/fetchers/segment/initialization_segment_cache.js +48 -0
- package/dist/es2017/core/fetchers/segment/prioritized_segment_fetcher.d.ts +4 -3
- package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts +12 -12
- package/dist/es2017/core/fetchers/segment/segment_fetcher.js +54 -39
- package/dist/es2017/core/fetchers/segment/segment_fetcher_creator.d.ts +5 -5
- package/dist/es2017/core/fetchers/segment/segment_fetcher_creator.js +5 -3
- package/dist/es2017/core/fetchers/segment/task_prioritizer.d.ts +1 -1
- package/dist/es2017/core/fetchers/segment/task_prioritizer.js +22 -21
- package/dist/es2017/core/fetchers/utils/error_selector.d.ts +1 -2
- package/dist/es2017/core/fetchers/utils/error_selector.js +2 -2
- package/dist/es2017/core/fetchers/utils/schedule_request.d.ts +3 -3
- package/dist/es2017/core/fetchers/utils/schedule_request.js +23 -23
- package/dist/es2017/core/main/common/DecipherabilityFreezeDetector.d.ts +79 -0
- package/dist/es2017/core/main/common/DecipherabilityFreezeDetector.js +91 -0
- package/dist/es2017/core/main/common/content_time_boundaries_observer.d.ts +191 -0
- package/dist/es2017/core/main/common/content_time_boundaries_observer.js +467 -0
- package/dist/es2017/core/main/common/create_content_time_boundaries_observer.d.ts +27 -0
- package/dist/es2017/core/main/common/create_content_time_boundaries_observer.js +41 -0
- package/dist/es2017/core/main/common/get_buffered_data_per_media_buffer.d.ts +14 -0
- package/dist/es2017/core/main/common/get_buffered_data_per_media_buffer.js +34 -0
- package/dist/es2017/core/main/worker/content_preparer.d.ts +93 -0
- package/dist/es2017/core/main/worker/content_preparer.js +239 -0
- package/dist/es2017/core/main/worker/globals.d.ts +13 -0
- package/dist/es2017/core/main/worker/globals.js +18 -0
- package/dist/es2017/core/main/worker/index.d.ts +2 -0
- package/dist/es2017/core/main/worker/index.js +2 -0
- package/dist/es2017/core/main/worker/send_message.d.ts +3 -0
- package/dist/es2017/core/main/worker/send_message.js +20 -0
- package/dist/es2017/core/main/worker/track_choice_setter.d.ts +19 -0
- package/dist/es2017/core/main/worker/track_choice_setter.js +114 -0
- package/dist/es2017/core/main/worker/worker_main.d.ts +1 -0
- package/dist/es2017/core/main/worker/worker_main.js +702 -0
- package/dist/es2017/core/main/worker/worker_text_displayer_interface.d.ts +64 -0
- package/dist/es2017/core/main/worker/worker_text_displayer_interface.js +120 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.d.ts +43 -0
- package/dist/es2017/core/segment_sinks/garbage_collector.js +143 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_buffer.d.ts +135 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/audio_video_segment_buffer.js +265 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/index.d.ts +17 -0
- package/dist/es2017/core/segment_sinks/implementations/audio_video/index.js +17 -0
- package/dist/es2017/core/segment_sinks/implementations/index.d.ts +19 -0
- package/dist/es2017/core/segment_sinks/implementations/index.js +18 -0
- package/dist/es2017/core/segment_sinks/implementations/text/index.d.ts +3 -0
- package/dist/es2017/core/segment_sinks/implementations/text/index.js +2 -0
- package/dist/es2017/core/segment_sinks/implementations/text/text_segment_buffer.d.ts +90 -0
- package/dist/es2017/core/segment_sinks/implementations/text/text_segment_buffer.js +156 -0
- package/dist/es2017/core/segment_sinks/implementations/types.d.ts +307 -0
- package/dist/es2017/core/segment_sinks/implementations/types.js +112 -0
- package/dist/es2017/core/segment_sinks/implementations/utils/manual_time_ranges.js +63 -0
- package/dist/es2017/core/segment_sinks/index.d.ts +21 -0
- package/dist/es2017/core/segment_sinks/index.js +21 -0
- package/dist/es2017/core/segment_sinks/inventory/buffered_history.d.ts +89 -0
- package/dist/es2017/core/segment_sinks/inventory/buffered_history.js +88 -0
- package/dist/es2017/core/segment_sinks/inventory/index.d.ts +21 -0
- package/dist/es2017/core/segment_sinks/inventory/index.js +18 -0
- package/dist/es2017/core/segment_sinks/inventory/segment_inventory.d.ts +238 -0
- package/dist/es2017/core/segment_sinks/inventory/segment_inventory.js +868 -0
- package/dist/es2017/core/segment_sinks/inventory/types.d.ts +27 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.d.ts +33 -0
- package/dist/es2017/core/segment_sinks/inventory/utils.js +48 -0
- package/dist/es2017/core/segment_sinks/segment_buffers_store.d.ts +171 -0
- package/dist/es2017/core/segment_sinks/segment_buffers_store.js +281 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts +4 -4
- package/dist/es2017/core/stream/adaptation/adaptation_stream.js +53 -35
- package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.d.ts +23 -9
- package/dist/es2017/core/stream/adaptation/get_representations_switch_strategy.js +53 -74
- package/dist/es2017/core/stream/adaptation/types.d.ts +34 -45
- package/dist/es2017/core/stream/index.d.ts +3 -2
- package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.d.ts +8 -8
- package/dist/es2017/core/stream/orchestrator/get_time_ranges_for_content.js +6 -7
- package/dist/es2017/core/stream/orchestrator/stream_orchestrator.d.ts +20 -19
- package/dist/es2017/core/stream/orchestrator/stream_orchestrator.js +92 -74
- package/dist/es2017/core/stream/period/period_stream.d.ts +5 -5
- package/dist/es2017/core/stream/period/period_stream.js +121 -70
- package/dist/es2017/core/stream/period/types.d.ts +29 -21
- package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +14 -15
- package/dist/es2017/core/stream/period/utils/get_adaptation_switch_strategy.js +63 -92
- package/dist/es2017/core/stream/representation/representation_stream.d.ts +5 -5
- package/dist/es2017/core/stream/representation/representation_stream.js +53 -39
- package/dist/es2017/core/stream/representation/types.d.ts +52 -25
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.d.ts +12 -9
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.js +36 -21
- package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.d.ts +7 -7
- package/dist/es2017/core/stream/representation/utils/check_for_discontinuity.js +16 -18
- package/dist/es2017/core/stream/representation/utils/downloading_queue.d.ts +10 -10
- package/dist/es2017/core/stream/representation/utils/downloading_queue.js +11 -11
- package/dist/es2017/core/stream/representation/utils/get_buffer_status.d.ts +11 -11
- package/dist/es2017/core/stream/representation/utils/get_buffer_status.js +58 -39
- package/dist/es2017/core/stream/representation/utils/get_needed_segments.d.ts +7 -8
- package/dist/es2017/core/stream/representation/utils/get_needed_segments.js +28 -37
- package/dist/es2017/core/stream/representation/utils/push_init_segment.d.ts +14 -12
- package/dist/es2017/core/stream/representation/utils/push_init_segment.js +8 -10
- package/dist/es2017/core/stream/representation/utils/push_media_segment.d.ts +15 -13
- package/dist/es2017/core/stream/representation/utils/push_media_segment.js +14 -16
- package/dist/es2017/core/types.d.ts +8 -0
- package/dist/es2017/default_config.d.ts +38 -50
- package/dist/es2017/default_config.js +77 -77
- package/dist/es2017/errors/encrypted_media_error.d.ts +19 -2
- package/dist/es2017/errors/encrypted_media_error.js +16 -1
- package/dist/es2017/errors/error_codes.d.ts +4 -3
- package/dist/es2017/errors/error_codes.js +3 -7
- package/dist/es2017/errors/format_error.d.ts +2 -2
- package/dist/es2017/errors/format_error.js +2 -3
- package/dist/es2017/errors/index.d.ts +7 -8
- package/dist/es2017/errors/index.js +2 -3
- package/dist/es2017/errors/is_known_error.d.ts +1 -1
- package/dist/es2017/errors/is_known_error.js +2 -2
- package/dist/es2017/errors/media_error.d.ts +22 -19
- package/dist/es2017/errors/media_error.js +18 -20
- package/dist/es2017/errors/network_error.d.ts +16 -2
- package/dist/es2017/errors/network_error.js +17 -3
- package/dist/es2017/errors/other_error.d.ts +15 -1
- package/dist/es2017/errors/other_error.js +11 -1
- package/dist/es2017/errors/source_buffer_error.d.ts +40 -0
- package/dist/es2017/errors/source_buffer_error.js +43 -0
- package/dist/es2017/errors/worker_initialization_error.d.ts +19 -0
- package/dist/es2017/errors/worker_initialization_error.js +22 -0
- package/dist/es2017/experimental/features/index.d.ts +1 -2
- package/dist/es2017/experimental/features/index.js +1 -2
- package/dist/es2017/experimental/features/local.d.ts +1 -1
- package/dist/es2017/experimental/features/local.js +4 -3
- package/dist/es2017/experimental/features/metaplaylist.d.ts +1 -1
- package/dist/es2017/experimental/features/metaplaylist.js +4 -3
- package/dist/es2017/experimental/features/multi_thread.d.ts +8 -0
- package/dist/es2017/experimental/features/multi_thread.js +10 -0
- package/dist/es2017/experimental/index.d.ts +1 -1
- package/dist/es2017/experimental/index.js +1 -1
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +1 -1
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +1 -1
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.d.ts +1 -1
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/index.js +2 -2
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +5 -5
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/load_and_push_segment.js +11 -15
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +4 -4
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.js +29 -22
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +3 -5
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.js +6 -7
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/types.d.ts +6 -6
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +3 -3
- package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +29 -32
- package/dist/es2017/experimental/tools/createMetaplaylist/get_duration_from_manifest.js +13 -23
- package/dist/es2017/experimental/tools/createMetaplaylist/index.d.ts +1 -1
- package/dist/es2017/experimental/tools/createMetaplaylist/index.js +8 -14
- package/dist/es2017/experimental/tools/index.d.ts +1 -2
- package/dist/es2017/experimental/tools/index.js +1 -2
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api/index.d.ts +1 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api/index.js +9 -13
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.d.ts +4 -3
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.js +7 -4
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/capabilities.d.ts +1 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/capabilities.js +10 -47
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/index.d.ts +2 -0
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.d.ts +2 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.js +9 -6
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +2 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.js +22 -14
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +2 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.js +26 -22
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +10 -10
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/index.d.ts +1 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +2 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.js +6 -7
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.d.ts +1 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.js +6 -11
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.d.ts +2 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.js +3 -4
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +2 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.js +5 -5
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/types.d.ts +2 -2
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.d.ts +1 -1
- package/dist/es2017/experimental/tools/mediaCapabilitiesProber/utils.js +8 -7
- package/dist/es2017/features/add_features.d.ts +1 -1
- package/dist/es2017/features/features_object.d.ts +1 -1
- package/dist/es2017/features/features_object.js +9 -6
- package/dist/es2017/features/index.d.ts +1 -1
- package/dist/es2017/features/index.js +1 -1
- package/dist/es2017/features/list/dash.d.ts +1 -1
- package/dist/es2017/features/list/dash.js +6 -5
- package/dist/es2017/features/list/dash_wasm.d.ts +23 -0
- package/dist/es2017/features/list/dash_wasm.js +35 -0
- package/dist/es2017/features/list/debug_element.d.ts +8 -0
- package/dist/es2017/features/list/debug_element.js +10 -0
- package/dist/es2017/features/list/directfile.d.ts +1 -1
- package/dist/es2017/features/list/directfile.js +3 -5
- package/dist/es2017/features/list/eme.d.ts +1 -1
- package/dist/es2017/features/list/eme.js +1 -1
- package/dist/es2017/features/list/html_sami_parser.d.ts +1 -1
- package/dist/es2017/features/list/html_sami_parser.js +2 -2
- package/dist/es2017/features/list/html_srt_parser.d.ts +1 -1
- package/dist/es2017/features/list/html_srt_parser.js +2 -2
- package/dist/es2017/features/list/html_text_buffer.d.ts +1 -1
- package/dist/es2017/features/list/html_text_buffer.js +2 -2
- package/dist/es2017/features/list/html_ttml_parser.d.ts +1 -1
- package/dist/es2017/features/list/html_ttml_parser.js +2 -2
- package/dist/es2017/features/list/html_vtt_parser.d.ts +1 -1
- package/dist/es2017/features/list/html_vtt_parser.js +2 -2
- package/dist/es2017/features/list/index.d.ts +3 -0
- package/dist/es2017/features/list/index.js +3 -0
- package/dist/es2017/features/list/media_source_main.d.ts +8 -0
- package/dist/es2017/features/list/media_source_main.js +10 -0
- package/dist/es2017/features/list/native_sami_parser.d.ts +1 -1
- package/dist/es2017/features/list/native_sami_parser.js +2 -3
- package/dist/es2017/features/list/native_srt_parser.d.ts +1 -1
- package/dist/es2017/features/list/native_srt_parser.js +2 -3
- package/dist/es2017/features/list/native_text_buffer.d.ts +1 -1
- package/dist/es2017/features/list/native_text_buffer.js +2 -3
- package/dist/es2017/features/list/native_ttml_parser.d.ts +1 -1
- package/dist/es2017/features/list/native_ttml_parser.js +2 -3
- package/dist/es2017/features/list/native_vtt_parser.d.ts +1 -1
- package/dist/es2017/features/list/native_vtt_parser.js +2 -3
- package/dist/es2017/features/list/smooth.d.ts +2 -2
- package/dist/es2017/features/list/smooth.js +8 -5
- package/dist/es2017/features/types.d.ts +52 -24
- package/dist/es2017/index.d.ts +1 -1
- package/dist/es2017/index.js +3 -1
- package/dist/es2017/main_thread/api/debug/buffer_graph.d.ts +28 -0
- package/dist/es2017/main_thread/api/debug/buffer_graph.js +164 -0
- package/dist/es2017/main_thread/api/debug/buffer_size_graph.js +102 -0
- package/dist/es2017/main_thread/api/debug/modules/general_info.d.ts +3 -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 +4 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_content.js +124 -0
- package/dist/es2017/main_thread/api/debug/modules/segment_buffer_size.d.ts +3 -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 +3 -0
- package/dist/es2017/main_thread/api/debug/render.js +32 -0
- package/dist/es2017/main_thread/api/debug/utils.js +54 -0
- package/dist/es2017/main_thread/api/index.d.ts +17 -0
- package/dist/es2017/main_thread/api/index.js +17 -0
- package/dist/es2017/main_thread/api/option_utils.d.ts +124 -0
- package/dist/es2017/main_thread/api/option_utils.js +308 -0
- package/dist/es2017/main_thread/api/public_api.d.ts +751 -0
- package/dist/es2017/main_thread/api/public_api.js +2347 -0
- package/dist/es2017/main_thread/api/utils.d.ts +66 -0
- package/dist/es2017/main_thread/api/utils.js +170 -0
- package/dist/es2017/main_thread/decrypt/__tests__/__global__/utils.d.ts +184 -0
- package/dist/es2017/main_thread/decrypt/__tests__/__global__/utils.js +378 -0
- package/dist/es2017/main_thread/decrypt/attach_media_keys.d.ts +53 -0
- package/dist/es2017/main_thread/decrypt/attach_media_keys.js +75 -0
- package/dist/es2017/main_thread/decrypt/clear_on_stop.js +40 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.d.ts +185 -0
- package/dist/es2017/main_thread/decrypt/content_decryptor.js +799 -0
- package/dist/es2017/main_thread/decrypt/create_or_load_session.d.ts +64 -0
- package/dist/es2017/main_thread/decrypt/create_or_load_session.js +83 -0
- package/dist/es2017/main_thread/decrypt/create_session.d.ts +54 -0
- package/dist/es2017/main_thread/decrypt/create_session.js +150 -0
- package/dist/es2017/main_thread/decrypt/dispose_decryption_resources.js +41 -0
- package/dist/es2017/main_thread/decrypt/find_key_system.d.ts +48 -0
- package/dist/es2017/main_thread/decrypt/find_key_system.js +287 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.d.ts +44 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.js +103 -0
- package/dist/es2017/main_thread/decrypt/index.d.ts +26 -0
- package/dist/es2017/main_thread/decrypt/index.js +26 -0
- package/dist/es2017/main_thread/decrypt/init_media_keys.d.ts +26 -0
- package/dist/es2017/main_thread/decrypt/init_media_keys.js +47 -0
- package/dist/es2017/main_thread/decrypt/session_events_listener.d.ts +75 -0
- package/dist/es2017/main_thread/decrypt/session_events_listener.js +246 -0
- package/dist/es2017/main_thread/decrypt/set_server_certificate.d.ts +51 -0
- package/dist/es2017/main_thread/decrypt/set_server_certificate.js +82 -0
- package/dist/es2017/main_thread/decrypt/types.d.ts +374 -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 +52 -0
- package/dist/es2017/main_thread/decrypt/utils/check_key_statuses.js +163 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_loaded_sessions.d.ts +26 -0
- package/dist/es2017/main_thread/decrypt/utils/clean_old_stored_persistent_info.d.ts +32 -0
- package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.d.ts +69 -0
- package/dist/es2017/main_thread/decrypt/utils/init_data_values_container.js +105 -0
- package/dist/es2017/main_thread/decrypt/utils/is_session_usable.d.ts +24 -0
- package/dist/es2017/main_thread/decrypt/utils/is_session_usable.js +48 -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 +104 -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 +213 -0
- package/dist/es2017/main_thread/decrypt/utils/loaded_sessions_store.js +365 -0
- package/dist/es2017/main_thread/decrypt/utils/media_keys_infos_store.d.ts +56 -0
- package/dist/es2017/main_thread/decrypt/utils/media_keys_infos_store.js +43 -0
- package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.d.ts +94 -0
- package/dist/es2017/main_thread/decrypt/utils/persistent_sessions_store.js +325 -0
- package/dist/es2017/main_thread/decrypt/utils/serializable_bytes.d.ts +44 -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 +64 -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 +97 -0
- package/dist/es2017/main_thread/init/directfile_content_initializer.js +233 -0
- package/dist/es2017/main_thread/init/media_source_content_initializer.d.ts +166 -0
- package/dist/es2017/main_thread/init/media_source_content_initializer.js +691 -0
- package/dist/es2017/main_thread/init/multi_thread_content_initializer.d.ts +167 -0
- package/dist/es2017/main_thread/init/multi_thread_content_initializer.js +1369 -0
- package/dist/es2017/main_thread/init/send_message.d.ts +2 -0
- package/dist/es2017/main_thread/init/send_message.js +10 -0
- package/dist/es2017/main_thread/init/types.d.ts +221 -0
- package/dist/es2017/main_thread/init/types.js +29 -0
- package/dist/es2017/main_thread/init/utils/create_core_playback_observer.d.ts +83 -0
- package/dist/es2017/main_thread/init/utils/create_core_playback_observer.js +98 -0
- package/dist/es2017/main_thread/init/utils/create_media_source.d.ts +37 -0
- package/dist/es2017/main_thread/init/utils/create_media_source.js +101 -0
- package/dist/es2017/main_thread/init/utils/get_initial_time.d.ts +76 -0
- package/dist/es2017/main_thread/init/utils/get_initial_time.js +106 -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.js +59 -0
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts +61 -0
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.js +203 -0
- package/dist/es2017/main_thread/init/utils/initialize_content_decryption.d.ts +87 -0
- package/dist/es2017/main_thread/init/utils/initialize_content_decryption.js +116 -0
- package/dist/es2017/main_thread/init/utils/main_thread_text_displayer_interface.d.ts +35 -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 +114 -0
- package/dist/es2017/main_thread/init/utils/rebuffering_controller.js +426 -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 +18 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +25 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +84 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.d.ts +53 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/stream_events_emitter.js +175 -0
- package/dist/es2017/main_thread/init/utils/stream_events_emitter/types.d.ts +41 -0
- package/dist/es2017/main_thread/init/utils/throw_on_media_error.d.ts +23 -0
- package/dist/es2017/main_thread/init/utils/throw_on_media_error.js +63 -0
- package/dist/es2017/main_thread/text_displayer/html/html_parsers.d.ts +15 -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 +100 -0
- package/dist/es2017/main_thread/text_displayer/html/html_text_displayer.js +312 -0
- package/dist/es2017/main_thread/text_displayer/html/index.d.ts +2 -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 +65 -0
- package/dist/es2017/main_thread/text_displayer/html/text_track_cues_store.js +358 -0
- package/dist/es2017/main_thread/text_displayer/html/update_proportional_elements.d.ts +15 -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 +39 -0
- package/dist/es2017/main_thread/text_displayer/html/utils.js +111 -0
- package/dist/es2017/main_thread/text_displayer/index.d.ts +2 -0
- package/dist/es2017/main_thread/text_displayer/manual_time_ranges.d.ts +14 -0
- package/dist/es2017/main_thread/text_displayer/manual_time_ranges.js +48 -0
- package/dist/es2017/main_thread/text_displayer/native/index.d.ts +2 -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 +11 -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 +56 -0
- package/dist/es2017/main_thread/text_displayer/native/native_text_displayer.js +203 -0
- package/dist/es2017/main_thread/text_displayer/types.d.ts +71 -0
- package/dist/es2017/main_thread/tracks_store/index.d.ts +20 -0
- package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.d.ts +197 -0
- package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.js +663 -0
- package/dist/es2017/main_thread/tracks_store/track_dispatcher.d.ts +101 -0
- package/dist/es2017/main_thread/tracks_store/track_dispatcher.js +175 -0
- package/dist/es2017/main_thread/tracks_store/tracks_store.d.ts +448 -0
- package/dist/es2017/main_thread/tracks_store/tracks_store.js +998 -0
- package/dist/es2017/main_thread/types.d.ts +5 -0
- package/dist/es2017/main_thread/types.js +1 -0
- package/dist/es2017/manifest/classes/adaptation.d.ts +134 -0
- package/dist/es2017/manifest/classes/adaptation.js +193 -0
- package/dist/es2017/manifest/classes/index.d.ts +25 -0
- package/dist/es2017/manifest/classes/index.js +28 -0
- package/dist/es2017/manifest/classes/manifest.d.ts +391 -0
- package/dist/es2017/manifest/classes/manifest.js +381 -0
- package/dist/es2017/manifest/classes/period.d.ts +106 -0
- package/dist/es2017/manifest/classes/period.js +194 -0
- package/dist/es2017/manifest/classes/representation.d.ts +238 -0
- package/dist/es2017/manifest/classes/representation.js +346 -0
- package/dist/es2017/manifest/classes/representation_index/index.d.ts +18 -0
- package/dist/es2017/manifest/classes/representation_index/static.d.ts +101 -0
- package/dist/es2017/manifest/classes/representation_index/static.js +143 -0
- package/dist/es2017/manifest/classes/representation_index/types.d.ts +420 -0
- package/dist/es2017/manifest/classes/types.d.ts +29 -0
- package/dist/es2017/manifest/classes/update_period_in_place.d.ts +53 -0
- package/dist/es2017/manifest/classes/update_period_in_place.js +109 -0
- package/dist/es2017/manifest/classes/update_periods.d.ts +50 -0
- package/dist/es2017/manifest/classes/update_periods.js +193 -0
- package/dist/es2017/manifest/classes/utils.d.ts +39 -0
- package/dist/es2017/manifest/classes/utils.js +49 -0
- package/dist/es2017/manifest/index.d.ts +15 -24
- package/dist/es2017/manifest/index.js +3 -28
- package/dist/es2017/manifest/types.d.ts +372 -19
- package/dist/es2017/manifest/types.js +1 -30
- package/dist/es2017/manifest/utils.d.ts +149 -31
- package/dist/es2017/manifest/utils.js +458 -30
- package/dist/es2017/minimal.d.ts +4 -1
- package/dist/es2017/minimal.js +12 -1
- package/dist/es2017/mse/index.d.ts +1 -0
- package/dist/es2017/mse/index.js +1 -0
- package/dist/es2017/mse/main_codec_support_prober.d.ts +26 -0
- package/dist/es2017/mse/main_codec_support_prober.js +41 -0
- package/dist/es2017/mse/main_media_source_interface.d.ts +112 -0
- package/dist/es2017/mse/main_media_source_interface.js +431 -0
- package/dist/es2017/mse/types.d.ts +301 -0
- package/dist/es2017/mse/types.js +1 -0
- package/dist/es2017/mse/utils/end_of_stream.d.ts +33 -0
- package/dist/es2017/mse/utils/end_of_stream.js +87 -0
- package/dist/es2017/mse/utils/media_source_duration_updater.js +265 -0
- package/dist/es2017/mse/worker_codec_support_prober.d.ts +42 -0
- package/dist/es2017/mse/worker_codec_support_prober.js +58 -0
- package/dist/es2017/mse/worker_media_source_interface.d.ts +105 -0
- package/dist/es2017/mse/worker_media_source_interface.js +305 -0
- package/dist/es2017/multithread_types.d.ts +815 -0
- package/dist/es2017/multithread_types.js +6 -0
- package/dist/es2017/parsers/containers/isobmff/create_box.d.ts +1 -1
- package/dist/es2017/parsers/containers/isobmff/create_box.js +6 -5
- package/dist/es2017/parsers/containers/isobmff/drm/playready.js +2 -3
- package/dist/es2017/parsers/containers/isobmff/get_box.js +3 -5
- package/dist/es2017/parsers/containers/isobmff/index.d.ts +3 -3
- package/dist/es2017/parsers/containers/isobmff/index.js +4 -4
- package/dist/es2017/parsers/containers/isobmff/read.d.ts +1 -1
- package/dist/es2017/parsers/containers/isobmff/read.js +9 -9
- package/dist/es2017/parsers/containers/isobmff/take_pssh_out.js +4 -5
- package/dist/es2017/parsers/containers/isobmff/utils.js +60 -45
- package/dist/es2017/parsers/containers/matroska/index.d.ts +1 -1
- package/dist/es2017/parsers/containers/matroska/index.js +1 -1
- package/dist/es2017/parsers/containers/matroska/utils.js +42 -29
- package/dist/es2017/parsers/images/bif.js +10 -6
- package/dist/es2017/parsers/manifest/dash/common/attach_trickmode_track.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/common/convert_supplemental_codecs.js +1 -3
- package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/common/flatten_overlapping_periods.js +1 -1
- package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.js +4 -12
- package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/common/get_http_utc-timing_url.js +4 -5
- package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/common/get_minimum_and_maximum_positions.js +4 -2
- package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/common/get_periods_time_infos.js +15 -13
- package/dist/es2017/parsers/manifest/dash/common/index.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts +5 -5
- package/dist/es2017/parsers/manifest/dash/common/indexes/base.js +36 -31
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +2 -2
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_init_segment.js +6 -4
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts +4 -4
- package/dist/es2017/parsers/manifest/dash/common/indexes/get_segments_from_timeline.js +10 -10
- package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts +2 -2
- package/dist/es2017/parsers/manifest/dash/common/indexes/list.js +23 -20
- package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts +3 -3
- package/dist/es2017/parsers/manifest/dash/common/indexes/template.js +54 -59
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +5 -4
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.js +14 -11
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts +3 -2
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.js +25 -20
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.js +15 -10
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts +4 -3
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.js +43 -27
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +11 -2
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/parse_s_element.js +49 -2
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +9 -8
- package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +77 -69
- package/dist/es2017/parsers/manifest/dash/common/indexes/tokens.js +2 -4
- package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.js +2 -2
- package/dist/es2017/parsers/manifest/dash/common/manifest_bounds_calculator.js +9 -10
- package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +5 -5
- package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.js +61 -66
- package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.d.ts +3 -2
- package/dist/es2017/parsers/manifest/dash/common/parse_availability_start_time.js +5 -3
- package/dist/es2017/parsers/manifest/dash/common/parse_mpd.d.ts +6 -6
- package/dist/es2017/parsers/manifest/dash/common/parse_mpd.js +54 -42
- package/dist/es2017/parsers/manifest/dash/common/parse_periods.d.ts +5 -5
- package/dist/es2017/parsers/manifest/dash/common/parse_periods.js +43 -45
- package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.d.ts +5 -5
- package/dist/es2017/parsers/manifest/dash/common/parse_representation_index.js +5 -7
- package/dist/es2017/parsers/manifest/dash/common/parse_representations.d.ts +5 -5
- package/dist/es2017/parsers/manifest/dash/common/parse_representations.js +63 -68
- package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.js +5 -3
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/index.d.ts +17 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/index.js +17 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/AdaptationSet.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/AdaptationSet.js +358 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/BaseURL.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/BaseURL.js +30 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/ContentComponent.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/ContentComponent.js +45 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/ContentProtection.js +77 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/EventStream.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/EventStream.js +101 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Initialization.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Initialization.js +45 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/MPD.js +179 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Period.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Period.js +137 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.js +214 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentBase.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentBase.js +111 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentList.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentList.js +41 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTemplate.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTemplate.js +84 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTimeline.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentTimeline.js +33 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentURL.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/SegmentURL.js +57 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/utils.d.ts +176 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/utils.js +310 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/parse_from_xml_string.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/fast-js-parser/parse_from_xml_string.js +114 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/AdaptationSet.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/AdaptationSet.js +354 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/BaseURL.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/BaseURL.js +29 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/ContentComponent.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/ContentProtection.d.ts +21 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/EventStream.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/EventStream.js +100 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Initialization.d.ts +21 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Initialization.js +41 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/MPD.d.ts +21 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/MPD.js +161 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Period.d.ts +21 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Period.js +118 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Representation.d.ts +21 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Representation.js +210 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentBase.d.ts +22 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentBase.js +107 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentList.d.ts +21 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentTemplate.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentTemplate.js +83 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentTimeline.d.ts +21 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentURL.d.ts +23 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/SegmentURL.js +53 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/utils.d.ts +169 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/utils.js +297 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/parse_from_document.d.ts +24 -0
- package/dist/es2017/parsers/manifest/dash/native-parser/parse_from_document.js +108 -0
- package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts +5 -3
- package/dist/es2017/parsers/manifest/dash/parsers_types.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +2 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.js +49 -22
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts +3 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +22 -26
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts +2 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts +3 -3
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.js +1 -1
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts +3 -3
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.js +4 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +3 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.js +2 -4
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts +3 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/MPD.js +5 -5
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +3 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Period.js +9 -6
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +3 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +13 -15
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts +3 -3
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.js +1 -1
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts +2 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.js +5 -10
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts +3 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts +2 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.js +11 -18
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts +2 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.js +2 -4
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts +3 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/XLink.js +5 -5
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts +2 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/root.js +8 -4
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/parsers_stack.js +4 -2
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.d.ts +55 -55
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.d.ts +1 -1
- package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/utils.js +8 -4
- package/dist/es2017/parsers/manifest/local/parse_local_manifest.d.ts +2 -2
- package/dist/es2017/parsers/manifest/local/parse_local_manifest.js +21 -16
- package/dist/es2017/parsers/manifest/local/representation_index.d.ts +2 -2
- package/dist/es2017/parsers/manifest/local/representation_index.js +7 -7
- package/dist/es2017/parsers/manifest/metaplaylist/index.d.ts +1 -1
- package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +4 -4
- package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.js +52 -42
- package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts +3 -3
- package/dist/es2017/parsers/manifest/metaplaylist/representation_index.js +10 -7
- package/dist/es2017/parsers/manifest/smooth/create_parser.d.ts +2 -2
- package/dist/es2017/parsers/manifest/smooth/create_parser.js +120 -121
- package/dist/es2017/parsers/manifest/smooth/get_codecs.js +3 -3
- package/dist/es2017/parsers/manifest/smooth/index.d.ts +1 -1
- package/dist/es2017/parsers/manifest/smooth/index.js +1 -1
- package/dist/es2017/parsers/manifest/smooth/parse_C_nodes.js +9 -9
- package/dist/es2017/parsers/manifest/smooth/parse_protection_node.js +12 -8
- package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts +3 -3
- package/dist/es2017/parsers/manifest/smooth/representation_index.js +35 -38
- package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +1 -1
- package/dist/es2017/parsers/manifest/smooth/shared_smooth_segment_timeline.js +8 -9
- package/dist/es2017/parsers/manifest/smooth/utils/add_segment_infos.js +10 -7
- package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.d.ts +1 -1
- package/dist/es2017/parsers/manifest/smooth/utils/parseBoolean.js +1 -1
- package/dist/es2017/parsers/manifest/smooth/utils/tokens.d.ts +1 -1
- package/dist/es2017/parsers/manifest/smooth/utils/tokens.js +2 -3
- package/dist/es2017/parsers/manifest/types.d.ts +10 -3
- package/dist/es2017/parsers/manifest/utils/check_manifest_ids.d.ts +1 -1
- package/dist/es2017/parsers/manifest/utils/check_manifest_ids.js +2 -2
- package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.d.ts +3 -2
- package/dist/es2017/parsers/manifest/utils/clear_timeline_from_position.js +11 -7
- package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +1 -1
- package/dist/es2017/parsers/manifest/utils/get_first_time_from_adaptation.js +5 -4
- package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +1 -1
- package/dist/es2017/parsers/manifest/utils/get_last_time_from_adaptation.js +5 -4
- package/dist/es2017/parsers/manifest/utils/get_maximum_positions.d.ts +2 -2
- package/dist/es2017/parsers/manifest/utils/get_maximum_positions.js +11 -17
- package/dist/es2017/parsers/manifest/utils/get_minimum_position.d.ts +2 -2
- package/dist/es2017/parsers/manifest/utils/get_minimum_position.js +5 -11
- package/dist/es2017/parsers/manifest/utils/index_helpers.js +4 -5
- package/dist/es2017/parsers/manifest/utils/update_segment_timeline.d.ts +1 -1
- package/dist/es2017/parsers/manifest/utils/update_segment_timeline.js +17 -16
- package/dist/es2017/parsers/texttracks/index.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/sami/html.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/sami/html.js +17 -16
- package/dist/es2017/parsers/texttracks/sami/native.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/sami/native.js +11 -17
- package/dist/es2017/parsers/texttracks/srt/html.js +12 -10
- package/dist/es2017/parsers/texttracks/srt/native.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/srt/native.js +1 -7
- package/dist/es2017/parsers/texttracks/srt/parse_cue.js +4 -9
- package/dist/es2017/parsers/texttracks/ttml/get_parameters.js +8 -13
- package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/ttml/get_time_delimiters.js +9 -10
- package/dist/es2017/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.js +2 -2
- package/dist/es2017/parsers/texttracks/ttml/html/apply_extent.js +3 -7
- package/dist/es2017/parsers/texttracks/ttml/html/apply_font_size.js +4 -5
- package/dist/es2017/parsers/texttracks/ttml/html/apply_line_height.js +3 -2
- package/dist/es2017/parsers/texttracks/ttml/html/apply_origin.js +3 -7
- package/dist/es2017/parsers/texttracks/ttml/html/apply_padding.js +3 -7
- package/dist/es2017/parsers/texttracks/ttml/html/create_element.d.ts +2 -2
- package/dist/es2017/parsers/texttracks/ttml/html/create_element.js +30 -23
- package/dist/es2017/parsers/texttracks/ttml/html/generate_css_test_outline.js +2 -2
- package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/ttml/html/parse_cue.js +5 -4
- package/dist/es2017/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/ttml/html/ttml_color_to_css_color.js +39 -23
- package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.d.ts +2 -2
- package/dist/es2017/parsers/texttracks/ttml/native/parse_cue.js +14 -13
- package/dist/es2017/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/ttml/parse_ttml.d.ts +3 -3
- package/dist/es2017/parsers/texttracks/ttml/parse_ttml.js +22 -19
- package/dist/es2017/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/ttml/time_parsing.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/ttml/time_parsing.js +2 -2
- package/dist/es2017/parsers/texttracks/ttml/xml_utils.js +2 -1
- package/dist/es2017/parsers/texttracks/types.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/webvtt/get_cue_blocks.js +1 -1
- package/dist/es2017/parsers/texttracks/webvtt/get_style_blocks.js +2 -1
- package/dist/es2017/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/webvtt/html/create_default_style_elements.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/webvtt/html/create_style_attribute.js +6 -12
- package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/webvtt/html/create_styled_element.js +8 -9
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_style_block.js +4 -4
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_to_div.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/webvtt/html/parse_webvtt_to_div.js +1 -1
- package/dist/es2017/parsers/texttracks/webvtt/html/to_html.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/webvtt/html/to_html.js +5 -13
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_to_cues.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/webvtt/native/parse_vtt_to_cues.js +4 -8
- package/dist/es2017/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +1 -1
- package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.d.ts +2 -2
- package/dist/es2017/parsers/texttracks/webvtt/native/to_native_cue.js +2 -2
- package/dist/es2017/parsers/texttracks/webvtt/parse_cue_block.js +7 -8
- package/dist/es2017/parsers/texttracks/webvtt/parse_timestamp.js +1 -2
- package/dist/es2017/parsers/texttracks/webvtt/utils.js +6 -6
- package/dist/es2017/playback_observer/index.d.ts +6 -0
- package/dist/es2017/playback_observer/index.js +2 -0
- package/dist/es2017/playback_observer/media_element_playback_observer.d.ts +203 -0
- package/dist/es2017/playback_observer/media_element_playback_observer.js +678 -0
- package/dist/es2017/playback_observer/types.d.ts +223 -0
- package/dist/es2017/playback_observer/types.js +1 -0
- package/dist/es2017/playback_observer/utils/generate_read_only_observer.d.ts +11 -0
- package/dist/es2017/playback_observer/utils/generate_read_only_observer.js +41 -0
- package/dist/es2017/playback_observer/utils/observation_position.d.ts +87 -0
- package/dist/es2017/playback_observer/utils/observation_position.js +84 -0
- package/dist/es2017/playback_observer/worker_playback_observer.d.ts +72 -0
- package/dist/es2017/playback_observer/worker_playback_observer.js +45 -0
- package/dist/es2017/public_types.d.ts +104 -35
- package/dist/es2017/public_types.js +2 -13
- package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.d.ts +3 -3
- package/dist/es2017/tools/TextTrackRenderer/text_track_renderer.js +19 -22
- package/dist/es2017/tools/index.d.ts +2 -1
- package/dist/es2017/tools/index.js +4 -2
- package/dist/es2017/tools/parseBIFThumbnails/index.js +30 -0
- package/dist/es2017/transports/dash/add_segment_integrity_checks_to_loader.d.ts +1 -1
- package/dist/es2017/transports/dash/add_segment_integrity_checks_to_loader.js +2 -3
- package/dist/es2017/transports/dash/construct_segment_url.d.ts +2 -2
- package/dist/es2017/transports/dash/construct_segment_url.js +7 -3
- package/dist/es2017/transports/dash/extract_complete_chunks.d.ts +1 -1
- package/dist/es2017/transports/dash/extract_complete_chunks.js +13 -9
- package/dist/es2017/transports/dash/get_events_out_of_emsgs.d.ts +2 -2
- package/dist/es2017/transports/dash/get_events_out_of_emsgs.js +12 -11
- package/dist/es2017/transports/dash/init_segment_loader.d.ts +3 -3
- package/dist/es2017/transports/dash/init_segment_loader.js +29 -23
- package/dist/es2017/transports/dash/low_latency_segment_loader.d.ts +2 -2
- package/dist/es2017/transports/dash/low_latency_segment_loader.js +15 -12
- package/dist/es2017/transports/dash/manifest_parser.d.ts +2 -2
- package/dist/es2017/transports/dash/manifest_parser.js +68 -32
- package/dist/es2017/transports/dash/pipelines.d.ts +1 -1
- package/dist/es2017/transports/dash/pipelines.js +15 -12
- package/dist/es2017/transports/dash/segment_loader.d.ts +4 -4
- package/dist/es2017/transports/dash/segment_loader.js +31 -23
- package/dist/es2017/transports/dash/segment_parser.d.ts +2 -2
- package/dist/es2017/transports/dash/segment_parser.js +40 -25
- package/dist/es2017/transports/dash/text_loader.d.ts +2 -2
- package/dist/es2017/transports/dash/text_loader.js +19 -20
- package/dist/es2017/transports/dash/text_parser.d.ts +2 -2
- package/dist/es2017/transports/dash/text_parser.js +44 -26
- package/dist/es2017/transports/index.d.ts +1 -1
- package/dist/es2017/transports/index.js +1 -1
- package/dist/es2017/transports/local/pipelines.d.ts +1 -1
- package/dist/es2017/transports/local/pipelines.js +14 -9
- package/dist/es2017/transports/local/segment_loader.d.ts +3 -3
- package/dist/es2017/transports/local/segment_loader.js +14 -6
- package/dist/es2017/transports/local/segment_parser.d.ts +1 -1
- package/dist/es2017/transports/local/segment_parser.js +24 -14
- package/dist/es2017/transports/local/text_parser.d.ts +1 -1
- package/dist/es2017/transports/local/text_parser.js +36 -18
- package/dist/es2017/transports/metaplaylist/manifest_loader.d.ts +4 -4
- package/dist/es2017/transports/metaplaylist/manifest_loader.js +8 -6
- package/dist/es2017/transports/metaplaylist/pipelines.d.ts +1 -1
- package/dist/es2017/transports/metaplaylist/pipelines.js +35 -24
- package/dist/es2017/transports/smooth/extract_timings_infos.d.ts +2 -2
- package/dist/es2017/transports/smooth/extract_timings_infos.js +17 -19
- package/dist/es2017/transports/smooth/is_mp4_embedded_track.d.ts +1 -1
- package/dist/es2017/transports/smooth/is_mp4_embedded_track.js +1 -1
- package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.d.ts +0 -1
- package/dist/es2017/transports/smooth/isobmff/create_audio_init_segment.js +3 -4
- package/dist/es2017/transports/smooth/isobmff/create_boxes.js +23 -32
- package/dist/es2017/transports/smooth/isobmff/create_init_segment.js +2 -2
- package/dist/es2017/transports/smooth/isobmff/create_traf_box.js +2 -2
- package/dist/es2017/transports/smooth/isobmff/get_aaces_header.js +4 -16
- package/dist/es2017/transports/smooth/isobmff/parse_tfrf.js +2 -2
- package/dist/es2017/transports/smooth/isobmff/parse_tfxd.js +1 -1
- package/dist/es2017/transports/smooth/isobmff/patch_segment.js +12 -11
- package/dist/es2017/transports/smooth/pipelines.d.ts +1 -1
- package/dist/es2017/transports/smooth/pipelines.js +84 -61
- package/dist/es2017/transports/smooth/segment_loader.d.ts +3 -3
- package/dist/es2017/transports/smooth/segment_loader.js +44 -29
- package/dist/es2017/transports/smooth/utils.d.ts +4 -4
- package/dist/es2017/transports/smooth/utils.js +10 -6
- package/dist/es2017/transports/types.d.ts +22 -27
- package/dist/es2017/transports/utils/byte_range.js +1 -2
- package/dist/es2017/transports/utils/call_custom_manifest_loader.d.ts +3 -3
- package/dist/es2017/transports/utils/call_custom_manifest_loader.js +10 -8
- package/dist/es2017/transports/utils/check_isobmff_integrity.js +3 -3
- package/dist/es2017/transports/utils/find_complete_box.js +3 -2
- package/dist/es2017/transports/utils/generate_manifest_loader.d.ts +3 -3
- package/dist/es2017/transports/utils/generate_manifest_loader.js +13 -7
- package/dist/es2017/transports/utils/get_isobmff_timing_infos.d.ts +2 -2
- package/dist/es2017/transports/utils/get_isobmff_timing_infos.js +12 -11
- package/dist/es2017/transports/utils/infer_segment_container.d.ts +1 -1
- package/dist/es2017/transports/utils/infer_segment_container.js +1 -3
- package/dist/es2017/transports/utils/parse_text_track.d.ts +4 -4
- package/dist/es2017/transports/utils/parse_text_track.js +6 -16
- package/dist/es2017/utils/array_includes.js +2 -6
- package/dist/es2017/utils/assert.d.ts +41 -0
- package/dist/es2017/utils/assert.js +50 -7
- package/dist/es2017/utils/base64.js +87 -29
- package/dist/es2017/utils/byte_parsing.js +64 -56
- package/dist/es2017/utils/cancellable_sleep.d.ts +1 -1
- package/dist/es2017/utils/create_cancellable_promise.d.ts +1 -1
- package/dist/es2017/utils/deep_merge.js +4 -4
- package/dist/es2017/utils/event_emitter.d.ts +1 -1
- package/dist/es2017/utils/event_emitter.js +7 -2
- package/dist/es2017/utils/get_fuzzed_delay.js +1 -1
- package/dist/es2017/utils/global_scope.d.ts +9 -0
- package/dist/es2017/utils/global_scope.js +20 -0
- package/dist/es2017/utils/hash_buffer.js +1 -1
- package/dist/es2017/utils/languages/ISO_639-1_to_ISO_639-3.js +182 -182
- package/dist/es2017/utils/languages/ISO_639-2_to_ISO_639-3.js +19 -19
- package/dist/es2017/utils/languages/normalize.js +5 -5
- package/dist/es2017/utils/logger.d.ts +13 -3
- package/dist/es2017/utils/logger.js +26 -20
- package/dist/es2017/utils/monotonic_timestamp.d.ts +20 -4
- package/dist/es2017/utils/monotonic_timestamp.js +21 -5
- package/dist/es2017/utils/object_assign.d.ts +29 -5
- package/dist/es2017/utils/object_assign.js +17 -8
- package/dist/es2017/utils/object_values.d.ts +1 -1
- package/dist/es2017/utils/object_values.js +4 -4
- package/dist/es2017/utils/queue_microtask.js +3 -3
- package/dist/es2017/utils/ranges.js +22 -29
- package/dist/es2017/utils/reference.d.ts +1 -1
- package/dist/es2017/utils/reference.js +1 -3
- package/dist/es2017/utils/request/fetch.d.ts +1 -1
- package/dist/es2017/utils/request/fetch.js +30 -29
- package/dist/es2017/utils/request/index.d.ts +2 -1
- package/dist/es2017/utils/request/index.js +2 -1
- package/dist/es2017/utils/request/request_error.d.ts +47 -0
- package/dist/es2017/utils/request/request_error.js +65 -0
- package/dist/es2017/utils/request/xhr.d.ts +5 -5
- package/dist/es2017/utils/request/xhr.js +25 -23
- package/dist/es2017/utils/retry_promise_with_backoff.d.ts +11 -3
- package/dist/es2017/utils/retry_promise_with_backoff.js +15 -3
- package/dist/es2017/utils/slice_uint8array.js +3 -3
- package/dist/es2017/utils/starts_with.js +3 -3
- package/dist/es2017/utils/string_parsing.js +17 -19
- package/dist/es2017/utils/sync_or_async.d.ts +70 -0
- package/dist/es2017/utils/sync_or_async.js +49 -0
- package/dist/es2017/utils/task_canceller.js +1 -2
- package/dist/es2017/utils/wrapInPromise.d.ts +1 -1
- package/dist/es2017/utils/xml-parser.d.ts +70 -0
- package/dist/es2017/utils/xml-parser.js +322 -0
- package/dist/es2017/worker_entry_point.d.ts +5 -0
- package/dist/es2017/worker_entry_point.js +6 -0
- package/dist/mpd-parser.wasm +0 -0
- package/dist/rx-player.js +46054 -43510
- package/dist/rx-player.min.js +1 -1
- package/dist/worker.js +8 -0
- package/package.json +122 -91
- package/.editorconfig +0 -22
- package/.eslintrc.js +0 -415
- package/.github/workflows/checks.yml +0 -101
- package/.github/workflows/perfs.yml +0 -22
- package/.github/workflows/sonarcloud_analysis.yml +0 -20
- package/CONTRIBUTING.md +0 -272
- package/FILES.md +0 -277
- package/dist/_esm5.processed/compat/add_class_name.d.ts +0 -22
- package/dist/_esm5.processed/compat/add_class_name.js +0 -39
- package/dist/_esm5.processed/compat/add_text_track.d.ts +0 -31
- package/dist/_esm5.processed/compat/add_text_track.js +0 -47
- package/dist/_esm5.processed/compat/browser_compatibility_types.d.ts +0 -165
- package/dist/_esm5.processed/compat/browser_compatibility_types.js +0 -32
- package/dist/_esm5.processed/compat/browser_detection.d.ts +0 -42
- package/dist/_esm5.processed/compat/browser_detection.js +0 -103
- package/dist/_esm5.processed/compat/browser_version.d.ts +0 -24
- package/dist/_esm5.processed/compat/browser_version.js +0 -41
- package/dist/_esm5.processed/compat/can_patch_isobmff.d.ts +0 -25
- package/dist/_esm5.processed/compat/can_patch_isobmff.js +0 -28
- package/dist/_esm5.processed/compat/can_rely_on_video_visibility_and_size.d.ts +0 -37
- package/dist/_esm5.processed/compat/can_rely_on_video_visibility_and_size.js +0 -49
- package/dist/_esm5.processed/compat/can_reuse_media_keys.d.ts +0 -13
- package/dist/_esm5.processed/compat/can_reuse_media_keys.js +0 -16
- package/dist/_esm5.processed/compat/change_source_buffer_type.d.ts +0 -48
- package/dist/_esm5.processed/compat/change_source_buffer_type.js +0 -37
- package/dist/_esm5.processed/compat/clear_element_src.d.ts +0 -20
- package/dist/_esm5.processed/compat/clear_element_src.js +0 -53
- package/dist/_esm5.processed/compat/eme/close_session.d.ts +0 -30
- package/dist/_esm5.processed/compat/eme/close_session.js +0 -162
- package/dist/_esm5.processed/compat/eme/constants.d.ts +0 -16
- package/dist/_esm5.processed/compat/eme/constants.js +0 -19
- package/dist/_esm5.processed/compat/eme/custom_key_system_access.d.ts +0 -54
- package/dist/_esm5.processed/compat/eme/custom_key_system_access.js +0 -47
- package/dist/_esm5.processed/compat/eme/custom_media_keys/ie11_media_keys.d.ts +0 -31
- package/dist/_esm5.processed/compat/eme/custom_media_keys/ie11_media_keys.js +0 -170
- package/dist/_esm5.processed/compat/eme/custom_media_keys/index.d.ts +0 -7
- package/dist/_esm5.processed/compat/eme/custom_media_keys/index.js +0 -6
- package/dist/_esm5.processed/compat/eme/custom_media_keys/moz_media_keys_constructor.d.ts +0 -27
- package/dist/_esm5.processed/compat/eme/custom_media_keys/moz_media_keys_constructor.js +0 -63
- package/dist/_esm5.processed/compat/eme/custom_media_keys/ms_media_keys_constructor.d.ts +0 -43
- package/dist/_esm5.processed/compat/eme/custom_media_keys/ms_media_keys_constructor.js +0 -30
- package/dist/_esm5.processed/compat/eme/custom_media_keys/old_webkit_media_keys.d.ts +0 -41
- package/dist/_esm5.processed/compat/eme/custom_media_keys/old_webkit_media_keys.js +0 -192
- package/dist/_esm5.processed/compat/eme/custom_media_keys/types.d.ts +0 -43
- package/dist/_esm5.processed/compat/eme/custom_media_keys/webkit_media_keys.d.ts +0 -37
- package/dist/_esm5.processed/compat/eme/custom_media_keys/webkit_media_keys.js +0 -260
- package/dist/_esm5.processed/compat/eme/custom_media_keys/webkit_media_keys_constructor.d.ts +0 -22
- package/dist/_esm5.processed/compat/eme/custom_media_keys/webkit_media_keys_constructor.js +0 -32
- package/dist/_esm5.processed/compat/eme/eme-api-implementation.d.ts +0 -78
- package/dist/_esm5.processed/compat/eme/eme-api-implementation.js +0 -198
- package/dist/_esm5.processed/compat/eme/generate_key_request.d.ts +0 -54
- package/dist/_esm5.processed/compat/eme/generate_key_request.js +0 -147
- package/dist/_esm5.processed/compat/eme/get_init_data.d.ts +0 -57
- package/dist/_esm5.processed/compat/eme/get_init_data.js +0 -112
- package/dist/_esm5.processed/compat/eme/get_uuid_kid_from_keystatus_kid.d.ts +0 -23
- package/dist/_esm5.processed/compat/eme/get_uuid_kid_from_keystatus_kid.js +0 -31
- package/dist/_esm5.processed/compat/eme/get_webkit_fairplay_initdata.d.ts +0 -25
- package/dist/_esm5.processed/compat/eme/get_webkit_fairplay_initdata.js +0 -57
- package/dist/_esm5.processed/compat/eme/index.d.ts +0 -24
- package/dist/_esm5.processed/compat/eme/index.js +0 -22
- package/dist/_esm5.processed/compat/eme/load_session.d.ts +0 -30
- package/dist/_esm5.processed/compat/eme/load_session.js +0 -99
- package/dist/_esm5.processed/compat/enable_audio_track.d.ts +0 -11
- package/dist/_esm5.processed/compat/enable_audio_track.js +0 -26
- package/dist/_esm5.processed/compat/event_listeners.d.ts +0 -153
- package/dist/_esm5.processed/compat/event_listeners.js +0 -387
- package/dist/_esm5.processed/compat/get_start_date.d.ts +0 -30
- package/dist/_esm5.processed/compat/get_start_date.js +0 -44
- package/dist/_esm5.processed/compat/has_issues_with_high_media_source_duration.d.ts +0 -21
- package/dist/_esm5.processed/compat/has_issues_with_high_media_source_duration.js +0 -26
- package/dist/_esm5.processed/compat/index.d.ts +0 -37
- package/dist/_esm5.processed/compat/index.js +0 -43
- package/dist/_esm5.processed/compat/is_codec_supported.d.ts +0 -25
- package/dist/_esm5.processed/compat/is_codec_supported.js +0 -36
- package/dist/_esm5.processed/compat/is_debug_mode_enabled.d.ts +0 -7
- package/dist/_esm5.processed/compat/is_debug_mode_enabled.js +0 -9
- package/dist/_esm5.processed/compat/is_node.d.ts +0 -17
- package/dist/_esm5.processed/compat/is_node.js +0 -17
- package/dist/_esm5.processed/compat/is_seeking_approximate.d.ts +0 -28
- package/dist/_esm5.processed/compat/is_seeking_approximate.js +0 -29
- package/dist/_esm5.processed/compat/is_vtt_cue.d.ts +0 -22
- package/dist/_esm5.processed/compat/is_vtt_cue.js +0 -25
- package/dist/_esm5.processed/compat/make_vtt_cue.d.ts +0 -26
- package/dist/_esm5.processed/compat/make_vtt_cue.js +0 -43
- package/dist/_esm5.processed/compat/on_height_width_change.d.ts +0 -33
- package/dist/_esm5.processed/compat/on_height_width_change.js +0 -77
- package/dist/_esm5.processed/compat/patch_webkit_source_buffer.d.ts +0 -16
- package/dist/_esm5.processed/compat/patch_webkit_source_buffer.js +0 -74
- package/dist/_esm5.processed/compat/remove_cue.d.ts +0 -21
- package/dist/_esm5.processed/compat/remove_cue.js +0 -63
- package/dist/_esm5.processed/compat/should_favour_custom_safari_EME.d.ts +0 -23
- package/dist/_esm5.processed/compat/should_favour_custom_safari_EME.js +0 -27
- package/dist/_esm5.processed/compat/should_reload_media_source_on_decipherability_update.d.ts +0 -26
- package/dist/_esm5.processed/compat/should_reload_media_source_on_decipherability_update.js +0 -29
- package/dist/_esm5.processed/compat/should_renew_media_key_system_access.d.ts +0 -21
- package/dist/_esm5.processed/compat/should_renew_media_key_system_access.js +0 -24
- package/dist/_esm5.processed/compat/should_unset_media_keys.d.ts +0 -22
- package/dist/_esm5.processed/compat/should_unset_media_keys.js +0 -25
- package/dist/_esm5.processed/compat/should_validate_metadata.d.ts +0 -22
- package/dist/_esm5.processed/compat/should_validate_metadata.js +0 -25
- package/dist/_esm5.processed/compat/should_wait_for_data_before_loaded.d.ts +0 -24
- package/dist/_esm5.processed/compat/should_wait_for_data_before_loaded.js +0 -30
- package/dist/_esm5.processed/compat/should_wait_for_have_enough_data.d.ts +0 -13
- package/dist/_esm5.processed/compat/should_wait_for_have_enough_data.js +0 -16
- package/dist/_esm5.processed/config.d.ts +0 -179
- package/dist/_esm5.processed/config.js +0 -32
- package/dist/_esm5.processed/core/adaptive/adaptive_representation_selector.d.ts +0 -305
- package/dist/_esm5.processed/core/adaptive/adaptive_representation_selector.js +0 -359
- package/dist/_esm5.processed/core/adaptive/buffer_based_chooser.d.ts +0 -89
- package/dist/_esm5.processed/core/adaptive/buffer_based_chooser.js +0 -192
- package/dist/_esm5.processed/core/adaptive/guess_based_chooser.d.ts +0 -95
- package/dist/_esm5.processed/core/adaptive/guess_based_chooser.js +0 -242
- package/dist/_esm5.processed/core/adaptive/index.d.ts +0 -18
- package/dist/_esm5.processed/core/adaptive/index.js +0 -17
- package/dist/_esm5.processed/core/adaptive/network_analyzer.d.ts +0 -73
- package/dist/_esm5.processed/core/adaptive/network_analyzer.js +0 -336
- package/dist/_esm5.processed/core/adaptive/utils/bandwidth_estimator.d.ts +0 -47
- package/dist/_esm5.processed/core/adaptive/utils/bandwidth_estimator.js +0 -70
- package/dist/_esm5.processed/core/adaptive/utils/ewma.d.ts +0 -39
- package/dist/_esm5.processed/core/adaptive/utils/ewma.js +0 -52
- package/dist/_esm5.processed/core/adaptive/utils/filter_by_bitrate.d.ts +0 -25
- package/dist/_esm5.processed/core/adaptive/utils/filter_by_bitrate.js +0 -37
- package/dist/_esm5.processed/core/adaptive/utils/filter_by_width.d.ts +0 -25
- package/dist/_esm5.processed/core/adaptive/utils/filter_by_width.js +0 -42
- package/dist/_esm5.processed/core/adaptive/utils/get_buffer_levels.d.ts +0 -24
- package/dist/_esm5.processed/core/adaptive/utils/get_buffer_levels.js +0 -47
- package/dist/_esm5.processed/core/adaptive/utils/last_estimate_storage.d.ts +0 -61
- package/dist/_esm5.processed/core/adaptive/utils/last_estimate_storage.js +0 -37
- package/dist/_esm5.processed/core/adaptive/utils/pending_requests_store.d.ts +0 -100
- package/dist/_esm5.processed/core/adaptive/utils/pending_requests_store.js +0 -76
- package/dist/_esm5.processed/core/adaptive/utils/representation_score_calculator.d.ts +0 -104
- package/dist/_esm5.processed/core/adaptive/utils/representation_score_calculator.js +0 -114
- package/dist/_esm5.processed/core/adaptive/utils/select_optimal_representation.d.ts +0 -27
- package/dist/_esm5.processed/core/adaptive/utils/select_optimal_representation.js +0 -36
- package/dist/_esm5.processed/core/api/debug/buffer_graph.d.ts +0 -28
- package/dist/_esm5.processed/core/api/debug/buffer_graph.js +0 -171
- package/dist/_esm5.processed/core/api/debug/buffer_size_graph.js +0 -104
- package/dist/_esm5.processed/core/api/debug/constants.js +0 -2
- package/dist/_esm5.processed/core/api/debug/modules/general_info.d.ts +0 -3
- package/dist/_esm5.processed/core/api/debug/modules/general_info.js +0 -180
- package/dist/_esm5.processed/core/api/debug/modules/segment_buffer_content.d.ts +0 -4
- package/dist/_esm5.processed/core/api/debug/modules/segment_buffer_content.js +0 -121
- package/dist/_esm5.processed/core/api/debug/modules/segment_buffer_size.d.ts +0 -3
- package/dist/_esm5.processed/core/api/debug/modules/segment_buffer_size.js +0 -35
- package/dist/_esm5.processed/core/api/debug/render.d.ts +0 -3
- package/dist/_esm5.processed/core/api/debug/render.js +0 -32
- package/dist/_esm5.processed/core/api/debug/utils.js +0 -57
- package/dist/_esm5.processed/core/api/index.d.ts +0 -20
- package/dist/_esm5.processed/core/api/index.js +0 -19
- package/dist/_esm5.processed/core/api/option_utils.d.ts +0 -121
- package/dist/_esm5.processed/core/api/option_utils.js +0 -293
- package/dist/_esm5.processed/core/api/playback_observer.d.ts +0 -364
- package/dist/_esm5.processed/core/api/playback_observer.js +0 -582
- package/dist/_esm5.processed/core/api/public_api.d.ts +0 -705
- package/dist/_esm5.processed/core/api/public_api.js +0 -2087
- package/dist/_esm5.processed/core/api/track_management/index.d.ts +0 -18
- package/dist/_esm5.processed/core/api/track_management/media_element_tracks_store.d.ts +0 -197
- package/dist/_esm5.processed/core/api/track_management/media_element_tracks_store.js +0 -686
- package/dist/_esm5.processed/core/api/track_management/track_dispatcher.d.ts +0 -84
- package/dist/_esm5.processed/core/api/track_management/track_dispatcher.js +0 -158
- package/dist/_esm5.processed/core/api/track_management/tracks_store.d.ts +0 -406
- package/dist/_esm5.processed/core/api/track_management/tracks_store.js +0 -932
- package/dist/_esm5.processed/core/api/utils.d.ts +0 -66
- package/dist/_esm5.processed/core/api/utils.js +0 -173
- package/dist/_esm5.processed/core/decrypt/__tests__/__global__/utils.d.ts +0 -178
- package/dist/_esm5.processed/core/decrypt/__tests__/__global__/utils.js +0 -405
- package/dist/_esm5.processed/core/decrypt/attach_media_keys.d.ts +0 -52
- package/dist/_esm5.processed/core/decrypt/attach_media_keys.js +0 -115
- package/dist/_esm5.processed/core/decrypt/clear_on_stop.js +0 -40
- package/dist/_esm5.processed/core/decrypt/content_decryptor.d.ts +0 -184
- package/dist/_esm5.processed/core/decrypt/content_decryptor.js +0 -967
- package/dist/_esm5.processed/core/decrypt/create_or_load_session.d.ts +0 -63
- package/dist/_esm5.processed/core/decrypt/create_or_load_session.js +0 -124
- package/dist/_esm5.processed/core/decrypt/create_session.d.ts +0 -53
- package/dist/_esm5.processed/core/decrypt/create_session.js +0 -212
- package/dist/_esm5.processed/core/decrypt/dispose_decryption_resources.js +0 -88
- package/dist/_esm5.processed/core/decrypt/find_key_system.d.ts +0 -48
- package/dist/_esm5.processed/core/decrypt/find_key_system.js +0 -345
- package/dist/_esm5.processed/core/decrypt/get_key_system_configuration.d.ts +0 -30
- package/dist/_esm5.processed/core/decrypt/get_key_system_configuration.js +0 -44
- package/dist/_esm5.processed/core/decrypt/get_media_keys.d.ts +0 -44
- package/dist/_esm5.processed/core/decrypt/get_media_keys.js +0 -157
- package/dist/_esm5.processed/core/decrypt/index.d.ts +0 -26
- package/dist/_esm5.processed/core/decrypt/index.js +0 -26
- package/dist/_esm5.processed/core/decrypt/init_media_keys.d.ts +0 -26
- package/dist/_esm5.processed/core/decrypt/init_media_keys.js +0 -82
- package/dist/_esm5.processed/core/decrypt/session_events_listener.d.ts +0 -75
- package/dist/_esm5.processed/core/decrypt/session_events_listener.js +0 -326
- package/dist/_esm5.processed/core/decrypt/set_server_certificate.d.ts +0 -51
- package/dist/_esm5.processed/core/decrypt/set_server_certificate.js +0 -141
- package/dist/_esm5.processed/core/decrypt/types.d.ts +0 -368
- package/dist/_esm5.processed/core/decrypt/utils/are_init_values_compatible.js +0 -113
- package/dist/_esm5.processed/core/decrypt/utils/check_key_statuses.d.ts +0 -52
- package/dist/_esm5.processed/core/decrypt/utils/check_key_statuses.js +0 -156
- package/dist/_esm5.processed/core/decrypt/utils/clean_old_loaded_sessions.d.ts +0 -26
- package/dist/_esm5.processed/core/decrypt/utils/clean_old_loaded_sessions.js +0 -86
- package/dist/_esm5.processed/core/decrypt/utils/clean_old_stored_persistent_info.d.ts +0 -32
- package/dist/_esm5.processed/core/decrypt/utils/clean_old_stored_persistent_info.js +0 -40
- package/dist/_esm5.processed/core/decrypt/utils/init_data_values_container.d.ts +0 -69
- package/dist/_esm5.processed/core/decrypt/utils/init_data_values_container.js +0 -99
- package/dist/_esm5.processed/core/decrypt/utils/is_session_usable.d.ts +0 -24
- package/dist/_esm5.processed/core/decrypt/utils/is_session_usable.js +0 -49
- package/dist/_esm5.processed/core/decrypt/utils/key_id_comparison.js +0 -60
- package/dist/_esm5.processed/core/decrypt/utils/key_session_record.d.ts +0 -104
- package/dist/_esm5.processed/core/decrypt/utils/key_session_record.js +0 -157
- package/dist/_esm5.processed/core/decrypt/utils/loaded_sessions_store.d.ts +0 -215
- package/dist/_esm5.processed/core/decrypt/utils/loaded_sessions_store.js +0 -472
- package/dist/_esm5.processed/core/decrypt/utils/media_keys_infos_store.d.ts +0 -56
- package/dist/_esm5.processed/core/decrypt/utils/media_keys_infos_store.js +0 -44
- package/dist/_esm5.processed/core/decrypt/utils/persistent_sessions_store.d.ts +0 -94
- package/dist/_esm5.processed/core/decrypt/utils/persistent_sessions_store.js +0 -323
- package/dist/_esm5.processed/core/decrypt/utils/serializable_bytes.d.ts +0 -44
- package/dist/_esm5.processed/core/decrypt/utils/serializable_bytes.js +0 -48
- package/dist/_esm5.processed/core/decrypt/utils/server_certificate_store.d.ts +0 -64
- package/dist/_esm5.processed/core/decrypt/utils/server_certificate_store.js +0 -112
- package/dist/_esm5.processed/core/fetchers/cdn_prioritizer.d.ts +0 -107
- package/dist/_esm5.processed/core/fetchers/cdn_prioritizer.js +0 -177
- package/dist/_esm5.processed/core/fetchers/index.d.ts +0 -18
- package/dist/_esm5.processed/core/fetchers/index.js +0 -18
- package/dist/_esm5.processed/core/fetchers/manifest/index.d.ts +0 -18
- package/dist/_esm5.processed/core/fetchers/manifest/index.js +0 -17
- package/dist/_esm5.processed/core/fetchers/manifest/manifest_fetcher.d.ts +0 -221
- package/dist/_esm5.processed/core/fetchers/manifest/manifest_fetcher.js +0 -605
- package/dist/_esm5.processed/core/fetchers/segment/index.d.ts +0 -19
- package/dist/_esm5.processed/core/fetchers/segment/index.js +0 -17
- package/dist/_esm5.processed/core/fetchers/segment/prioritized_segment_fetcher.d.ts +0 -38
- package/dist/_esm5.processed/core/fetchers/segment/prioritized_segment_fetcher.js +0 -67
- package/dist/_esm5.processed/core/fetchers/segment/segment_fetcher.d.ts +0 -148
- package/dist/_esm5.processed/core/fetchers/segment/segment_fetcher.js +0 -315
- package/dist/_esm5.processed/core/fetchers/segment/segment_fetcher_creator.d.ts +0 -77
- package/dist/_esm5.processed/core/fetchers/segment/segment_fetcher_creator.js +0 -58
- package/dist/_esm5.processed/core/fetchers/segment/task_prioritizer.d.ts +0 -145
- package/dist/_esm5.processed/core/fetchers/segment/task_prioritizer.js +0 -323
- package/dist/_esm5.processed/core/fetchers/utils/error_selector.d.ts +0 -23
- package/dist/_esm5.processed/core/fetchers/utils/error_selector.js +0 -31
- package/dist/_esm5.processed/core/fetchers/utils/schedule_request.d.ts +0 -98
- package/dist/_esm5.processed/core/fetchers/utils/schedule_request.js +0 -387
- package/dist/_esm5.processed/core/init/directfile_content_initializer.d.ts +0 -97
- package/dist/_esm5.processed/core/init/directfile_content_initializer.js +0 -239
- package/dist/_esm5.processed/core/init/media_source_content_initializer.d.ts +0 -174
- package/dist/_esm5.processed/core/init/media_source_content_initializer.js +0 -622
- package/dist/_esm5.processed/core/init/types.d.ts +0 -231
- package/dist/_esm5.processed/core/init/types.js +0 -51
- package/dist/_esm5.processed/core/init/utils/content_time_boundaries_observer.d.ts +0 -191
- package/dist/_esm5.processed/core/init/utils/content_time_boundaries_observer.js +0 -497
- package/dist/_esm5.processed/core/init/utils/create_media_source.d.ts +0 -37
- package/dist/_esm5.processed/core/init/utils/create_media_source.js +0 -112
- package/dist/_esm5.processed/core/init/utils/create_stream_playback_observer.d.ts +0 -45
- package/dist/_esm5.processed/core/init/utils/create_stream_playback_observer.js +0 -86
- package/dist/_esm5.processed/core/init/utils/end_of_stream.d.ts +0 -33
- package/dist/_esm5.processed/core/init/utils/end_of_stream.js +0 -89
- package/dist/_esm5.processed/core/init/utils/get_initial_time.d.ts +0 -62
- package/dist/_esm5.processed/core/init/utils/get_initial_time.js +0 -109
- package/dist/_esm5.processed/core/init/utils/get_loaded_reference.d.ts +0 -28
- package/dist/_esm5.processed/core/init/utils/get_loaded_reference.js +0 -56
- package/dist/_esm5.processed/core/init/utils/initial_seek_and_play.d.ts +0 -63
- package/dist/_esm5.processed/core/init/utils/initial_seek_and_play.js +0 -128
- package/dist/_esm5.processed/core/init/utils/initialize_content_decryption.d.ts +0 -80
- package/dist/_esm5.processed/core/init/utils/initialize_content_decryption.js +0 -104
- package/dist/_esm5.processed/core/init/utils/media_source_duration_updater.js +0 -268
- package/dist/_esm5.processed/core/init/utils/rebuffering_controller.d.ts +0 -113
- package/dist/_esm5.processed/core/init/utils/rebuffering_controller.js +0 -483
- package/dist/_esm5.processed/core/init/utils/stream_events_emitter/are_same_stream_events.js +0 -35
- package/dist/_esm5.processed/core/init/utils/stream_events_emitter/index.d.ts +0 -18
- package/dist/_esm5.processed/core/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +0 -25
- package/dist/_esm5.processed/core/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +0 -66
- package/dist/_esm5.processed/core/init/utils/stream_events_emitter/stream_events_emitter.d.ts +0 -52
- package/dist/_esm5.processed/core/init/utils/stream_events_emitter/stream_events_emitter.js +0 -200
- package/dist/_esm5.processed/core/init/utils/stream_events_emitter/types.d.ts +0 -41
- package/dist/_esm5.processed/core/init/utils/throw_on_media_error.d.ts +0 -23
- package/dist/_esm5.processed/core/init/utils/throw_on_media_error.js +0 -58
- package/dist/_esm5.processed/core/segment_buffers/garbage_collector.d.ts +0 -41
- package/dist/_esm5.processed/core/segment_buffers/garbage_collector.js +0 -183
- package/dist/_esm5.processed/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.d.ts +0 -182
- package/dist/_esm5.processed/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.js +0 -455
- package/dist/_esm5.processed/core/segment_buffers/implementations/audio_video/index.d.ts +0 -17
- package/dist/_esm5.processed/core/segment_buffers/implementations/audio_video/index.js +0 -17
- package/dist/_esm5.processed/core/segment_buffers/implementations/index.d.ts +0 -18
- package/dist/_esm5.processed/core/segment_buffers/implementations/index.js +0 -18
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/html_text_segment_buffer.d.ts +0 -141
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/html_text_segment_buffer.js +0 -405
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/index.d.ts +0 -21
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/index.js +0 -21
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/parsers.d.ts +0 -30
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/parsers.js +0 -37
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/text_track_cues_store.d.ts +0 -79
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/text_track_cues_store.js +0 -372
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/types.d.ts +0 -25
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/update_proportional_elements.d.ts +0 -30
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/update_proportional_elements.js +0 -77
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/utils.d.ts +0 -45
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/html/utils.js +0 -124
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/native/index.d.ts +0 -17
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/native/index.js +0 -17
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/native/native_text_segment_buffer.d.ts +0 -83
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/native/native_text_segment_buffer.js +0 -271
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/native/parsers.d.ts +0 -26
- package/dist/_esm5.processed/core/segment_buffers/implementations/text/native/parsers.js +0 -37
- package/dist/_esm5.processed/core/segment_buffers/implementations/types.d.ts +0 -320
- package/dist/_esm5.processed/core/segment_buffers/implementations/types.js +0 -121
- package/dist/_esm5.processed/core/segment_buffers/implementations/utils/manual_time_ranges.js +0 -65
- package/dist/_esm5.processed/core/segment_buffers/index.d.ts +0 -21
- package/dist/_esm5.processed/core/segment_buffers/index.js +0 -21
- package/dist/_esm5.processed/core/segment_buffers/inventory/buffered_history.d.ts +0 -89
- package/dist/_esm5.processed/core/segment_buffers/inventory/buffered_history.js +0 -90
- package/dist/_esm5.processed/core/segment_buffers/inventory/index.d.ts +0 -21
- package/dist/_esm5.processed/core/segment_buffers/inventory/index.js +0 -18
- package/dist/_esm5.processed/core/segment_buffers/inventory/segment_inventory.d.ts +0 -207
- package/dist/_esm5.processed/core/segment_buffers/inventory/segment_inventory.js +0 -824
- package/dist/_esm5.processed/core/segment_buffers/inventory/types.d.ts +0 -27
- package/dist/_esm5.processed/core/segment_buffers/inventory/types.js +0 -16
- package/dist/_esm5.processed/core/segment_buffers/inventory/utils.d.ts +0 -33
- package/dist/_esm5.processed/core/segment_buffers/inventory/utils.js +0 -49
- package/dist/_esm5.processed/core/segment_buffers/segment_buffers_store.d.ts +0 -180
- package/dist/_esm5.processed/core/segment_buffers/segment_buffers_store.js +0 -300
- package/dist/_esm5.processed/core/stream/adaptation/adaptation_stream.d.ts +0 -33
- package/dist/_esm5.processed/core/stream/adaptation/adaptation_stream.js +0 -382
- package/dist/_esm5.processed/core/stream/adaptation/get_representations_switch_strategy.d.ts +0 -39
- package/dist/_esm5.processed/core/stream/adaptation/get_representations_switch_strategy.js +0 -133
- package/dist/_esm5.processed/core/stream/adaptation/index.d.ts +0 -18
- package/dist/_esm5.processed/core/stream/adaptation/index.js +0 -18
- package/dist/_esm5.processed/core/stream/adaptation/types.d.ts +0 -192
- package/dist/_esm5.processed/core/stream/adaptation/utils/create_representation_estimator.d.ts +0 -47
- package/dist/_esm5.processed/core/stream/adaptation/utils/create_representation_estimator.js +0 -70
- package/dist/_esm5.processed/core/stream/index.d.ts +0 -20
- package/dist/_esm5.processed/core/stream/index.js +0 -17
- package/dist/_esm5.processed/core/stream/orchestrator/get_time_ranges_for_content.d.ts +0 -30
- package/dist/_esm5.processed/core/stream/orchestrator/get_time_ranges_for_content.js +0 -60
- package/dist/_esm5.processed/core/stream/orchestrator/index.d.ts +0 -18
- package/dist/_esm5.processed/core/stream/orchestrator/index.js +0 -17
- package/dist/_esm5.processed/core/stream/orchestrator/stream_orchestrator.d.ts +0 -174
- package/dist/_esm5.processed/core/stream/orchestrator/stream_orchestrator.js +0 -479
- package/dist/_esm5.processed/core/stream/period/index.d.ts +0 -18
- package/dist/_esm5.processed/core/stream/period/index.js +0 -18
- package/dist/_esm5.processed/core/stream/period/period_stream.d.ts +0 -49
- package/dist/_esm5.processed/core/stream/period/period_stream.js +0 -385
- package/dist/_esm5.processed/core/stream/period/types.d.ts +0 -101
- package/dist/_esm5.processed/core/stream/period/utils/get_adaptation_switch_strategy.d.ts +0 -68
- package/dist/_esm5.processed/core/stream/period/utils/get_adaptation_switch_strategy.js +0 -162
- package/dist/_esm5.processed/core/stream/representation/index.d.ts +0 -18
- package/dist/_esm5.processed/core/stream/representation/index.js +0 -18
- package/dist/_esm5.processed/core/stream/representation/representation_stream.d.ts +0 -53
- package/dist/_esm5.processed/core/stream/representation/representation_stream.js +0 -375
- package/dist/_esm5.processed/core/stream/representation/types.d.ts +0 -277
- package/dist/_esm5.processed/core/stream/representation/utils/append_segment_to_buffer.d.ts +0 -32
- package/dist/_esm5.processed/core/stream/representation/utils/append_segment_to_buffer.js +0 -114
- package/dist/_esm5.processed/core/stream/representation/utils/check_for_discontinuity.d.ts +0 -53
- package/dist/_esm5.processed/core/stream/representation/utils/check_for_discontinuity.js +0 -235
- package/dist/_esm5.processed/core/stream/representation/utils/downloading_queue.d.ts +0 -231
- package/dist/_esm5.processed/core/stream/representation/utils/downloading_queue.js +0 -388
- package/dist/_esm5.processed/core/stream/representation/utils/force_garbage_collection.d.ts +0 -29
- package/dist/_esm5.processed/core/stream/representation/utils/force_garbage_collection.js +0 -150
- package/dist/_esm5.processed/core/stream/representation/utils/get_buffer_status.d.ts +0 -72
- package/dist/_esm5.processed/core/stream/representation/utils/get_buffer_status.js +0 -203
- package/dist/_esm5.processed/core/stream/representation/utils/get_needed_segments.d.ts +0 -92
- package/dist/_esm5.processed/core/stream/representation/utils/get_needed_segments.js +0 -426
- package/dist/_esm5.processed/core/stream/representation/utils/get_segment_priority.d.ts +0 -28
- package/dist/_esm5.processed/core/stream/representation/utils/get_segment_priority.js +0 -38
- package/dist/_esm5.processed/core/stream/representation/utils/push_init_segment.d.ts +0 -39
- package/dist/_esm5.processed/core/stream/representation/utils/push_init_segment.js +0 -85
- package/dist/_esm5.processed/core/stream/representation/utils/push_media_segment.d.ts +0 -40
- package/dist/_esm5.processed/core/stream/representation/utils/push_media_segment.js +0 -108
- package/dist/_esm5.processed/default_config.d.ts +0 -1080
- package/dist/_esm5.processed/default_config.js +0 -1101
- package/dist/_esm5.processed/errors/assertion_error.d.ts +0 -31
- package/dist/_esm5.processed/errors/assertion_error.js +0 -54
- package/dist/_esm5.processed/errors/custom_loader_error.d.ts +0 -36
- package/dist/_esm5.processed/errors/custom_loader_error.js +0 -59
- package/dist/_esm5.processed/errors/encrypted_media_error.d.ts +0 -39
- package/dist/_esm5.processed/errors/encrypted_media_error.js +0 -57
- package/dist/_esm5.processed/errors/error_codes.d.ts +0 -31
- package/dist/_esm5.processed/errors/error_codes.js +0 -70
- package/dist/_esm5.processed/errors/error_message.d.ts +0 -23
- package/dist/_esm5.processed/errors/error_message.js +0 -25
- package/dist/_esm5.processed/errors/format_error.d.ts +0 -20
- package/dist/_esm5.processed/errors/format_error.js +0 -31
- package/dist/_esm5.processed/errors/index.d.ts +0 -26
- package/dist/_esm5.processed/errors/index.js +0 -26
- package/dist/_esm5.processed/errors/is_known_error.d.ts +0 -22
- package/dist/_esm5.processed/errors/is_known_error.js +0 -32
- package/dist/_esm5.processed/errors/media_error.d.ts +0 -56
- package/dist/_esm5.processed/errors/media_error.js +0 -71
- package/dist/_esm5.processed/errors/network_error.d.ts +0 -44
- package/dist/_esm5.processed/errors/network_error.js +0 -70
- package/dist/_esm5.processed/errors/other_error.d.ts +0 -32
- package/dist/_esm5.processed/errors/other_error.js +0 -56
- package/dist/_esm5.processed/errors/request_error.d.ts +0 -38
- package/dist/_esm5.processed/errors/request_error.js +0 -74
- package/dist/_esm5.processed/experimental/features/dash_wasm.d.ts +0 -23
- package/dist/_esm5.processed/experimental/features/dash_wasm.js +0 -34
- package/dist/_esm5.processed/experimental/features/debug_element.d.ts +0 -8
- package/dist/_esm5.processed/experimental/features/debug_element.js +0 -10
- package/dist/_esm5.processed/experimental/features/index.d.ts +0 -19
- package/dist/_esm5.processed/experimental/features/index.js +0 -19
- package/dist/_esm5.processed/experimental/features/local.d.ts +0 -19
- package/dist/_esm5.processed/experimental/features/local.js +0 -24
- package/dist/_esm5.processed/experimental/features/metaplaylist.d.ts +0 -19
- package/dist/_esm5.processed/experimental/features/metaplaylist.js +0 -24
- package/dist/_esm5.processed/experimental/index.d.ts +0 -2
- package/dist/_esm5.processed/experimental/index.js +0 -2
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/features/dash.d.ts +0 -17
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/features/dash.js +0 -20
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/features/metaplaylist.d.ts +0 -17
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/features/metaplaylist.js +0 -20
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/index.d.ts +0 -18
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/index.js +0 -18
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/load_and_push_segment.d.ts +0 -26
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/load_and_push_segment.js +0 -61
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.d.ts +0 -25
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.js +0 -63
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.d.ts +0 -30
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.js +0 -41
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/types.d.ts +0 -25
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/types.js +0 -16
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts +0 -54
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +0 -343
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.d.ts +0 -25
- package/dist/_esm5.processed/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.js +0 -48
- package/dist/_esm5.processed/experimental/tools/createMetaplaylist/get_duration_from_manifest.d.ts +0 -23
- package/dist/_esm5.processed/experimental/tools/createMetaplaylist/get_duration_from_manifest.js +0 -169
- package/dist/_esm5.processed/experimental/tools/createMetaplaylist/index.d.ts +0 -30
- package/dist/_esm5.processed/experimental/tools/createMetaplaylist/index.js +0 -50
- package/dist/_esm5.processed/experimental/tools/index.d.ts +0 -20
- package/dist/_esm5.processed/experimental/tools/index.js +0 -20
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/api/index.d.ts +0 -60
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/api/index.js +0 -158
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.d.ts +0 -45
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.js +0 -102
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/capabilities.d.ts +0 -24
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/capabilities.js +0 -142
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/index.d.ts +0 -17
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/index.js +0 -17
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/log.d.ts +0 -18
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/log.js +0 -18
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.d.ts +0 -25
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.js +0 -50
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.d.ts +0 -22
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.js +0 -69
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.d.ts +0 -26
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.js +0 -79
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.d.ts +0 -29
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +0 -65
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/index.d.ts +0 -21
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/index.js +0 -30
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.d.ts +0 -21
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.js +0 -57
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.d.ts +0 -21
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.js +0 -89
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.d.ts +0 -26
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.js +0 -83
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.d.ts +0 -21
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.js +0 -45
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/types.d.ts +0 -69
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/types.js +0 -21
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/utils.d.ts +0 -31
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/utils.js +0 -83
- package/dist/_esm5.processed/experimental/tools/parseBIFThumbnails.d.ts +0 -29
- package/dist/_esm5.processed/experimental/tools/parseBIFThumbnails.js +0 -29
- package/dist/_esm5.processed/features/add_features.d.ts +0 -20
- package/dist/_esm5.processed/features/add_features.js +0 -35
- package/dist/_esm5.processed/features/features_object.d.ts +0 -22
- package/dist/_esm5.processed/features/features_object.js +0 -31
- package/dist/_esm5.processed/features/index.d.ts +0 -34
- package/dist/_esm5.processed/features/index.js +0 -33
- package/dist/_esm5.processed/features/list/dash.d.ts +0 -23
- package/dist/_esm5.processed/features/list/dash.js +0 -32
- package/dist/_esm5.processed/features/list/directfile.d.ts +0 -24
- package/dist/_esm5.processed/features/list/directfile.js +0 -28
- package/dist/_esm5.processed/features/list/eme.d.ts +0 -23
- package/dist/_esm5.processed/features/list/eme.js +0 -25
- package/dist/_esm5.processed/features/list/html_sami_parser.d.ts +0 -23
- package/dist/_esm5.processed/features/list/html_sami_parser.js +0 -27
- package/dist/_esm5.processed/features/list/html_srt_parser.d.ts +0 -23
- package/dist/_esm5.processed/features/list/html_srt_parser.js +0 -27
- package/dist/_esm5.processed/features/list/html_text_buffer.d.ts +0 -23
- package/dist/_esm5.processed/features/list/html_text_buffer.js +0 -25
- package/dist/_esm5.processed/features/list/html_ttml_parser.d.ts +0 -23
- package/dist/_esm5.processed/features/list/html_ttml_parser.js +0 -27
- package/dist/_esm5.processed/features/list/html_vtt_parser.d.ts +0 -23
- package/dist/_esm5.processed/features/list/html_vtt_parser.js +0 -27
- package/dist/_esm5.processed/features/list/index.d.ts +0 -29
- package/dist/_esm5.processed/features/list/index.js +0 -29
- package/dist/_esm5.processed/features/list/native_sami_parser.d.ts +0 -23
- package/dist/_esm5.processed/features/list/native_sami_parser.js +0 -28
- package/dist/_esm5.processed/features/list/native_srt_parser.d.ts +0 -23
- package/dist/_esm5.processed/features/list/native_srt_parser.js +0 -28
- package/dist/_esm5.processed/features/list/native_text_buffer.d.ts +0 -23
- package/dist/_esm5.processed/features/list/native_text_buffer.js +0 -26
- package/dist/_esm5.processed/features/list/native_ttml_parser.d.ts +0 -23
- package/dist/_esm5.processed/features/list/native_ttml_parser.js +0 -28
- package/dist/_esm5.processed/features/list/native_vtt_parser.d.ts +0 -23
- package/dist/_esm5.processed/features/list/native_vtt_parser.js +0 -28
- package/dist/_esm5.processed/features/list/smooth.d.ts +0 -23
- package/dist/_esm5.processed/features/list/smooth.js +0 -28
- package/dist/_esm5.processed/features/types.d.ts +0 -130
- package/dist/_esm5.processed/features/types.js +0 -16
- package/dist/_esm5.processed/log.d.ts +0 -18
- package/dist/_esm5.processed/log.js +0 -19
- package/dist/_esm5.processed/manifest/adaptation.d.ts +0 -113
- package/dist/_esm5.processed/manifest/adaptation.js +0 -219
- package/dist/_esm5.processed/manifest/index.d.ts +0 -24
- package/dist/_esm5.processed/manifest/index.js +0 -28
- package/dist/_esm5.processed/manifest/manifest.d.ts +0 -268
- package/dist/_esm5.processed/manifest/manifest.js +0 -382
- package/dist/_esm5.processed/manifest/period.d.ts +0 -73
- package/dist/_esm5.processed/manifest/period.js +0 -141
- package/dist/_esm5.processed/manifest/representation.d.ts +0 -251
- package/dist/_esm5.processed/manifest/representation.js +0 -275
- package/dist/_esm5.processed/manifest/representation_index/index.d.ts +0 -18
- package/dist/_esm5.processed/manifest/representation_index/static.d.ts +0 -101
- package/dist/_esm5.processed/manifest/representation_index/static.js +0 -141
- package/dist/_esm5.processed/manifest/representation_index/types.d.ts +0 -420
- package/dist/_esm5.processed/manifest/representation_index/types.js +0 -16
- package/dist/_esm5.processed/manifest/update_period_in_place.d.ts +0 -49
- package/dist/_esm5.processed/manifest/update_period_in_place.js +0 -119
- package/dist/_esm5.processed/manifest/update_periods.d.ts +0 -47
- package/dist/_esm5.processed/manifest/update_periods.js +0 -168
- package/dist/_esm5.processed/manifest/utils.d.ts +0 -39
- package/dist/_esm5.processed/manifest/utils.js +0 -42
- package/dist/_esm5.processed/minimal.d.ts +0 -17
- package/dist/_esm5.processed/minimal.js +0 -31
- package/dist/_esm5.processed/parsers/containers/isobmff/constants.d.ts +0 -23
- package/dist/_esm5.processed/parsers/containers/isobmff/constants.js +0 -23
- package/dist/_esm5.processed/parsers/containers/isobmff/create_box.d.ts +0 -30
- package/dist/_esm5.processed/parsers/containers/isobmff/create_box.js +0 -64
- package/dist/_esm5.processed/parsers/containers/isobmff/drm/index.d.ts +0 -16
- package/dist/_esm5.processed/parsers/containers/isobmff/drm/index.js +0 -16
- package/dist/_esm5.processed/parsers/containers/isobmff/drm/playready.d.ts +0 -21
- package/dist/_esm5.processed/parsers/containers/isobmff/drm/playready.js +0 -36
- package/dist/_esm5.processed/parsers/containers/isobmff/get_box.d.ts +0 -107
- package/dist/_esm5.processed/parsers/containers/isobmff/get_box.js +0 -228
- package/dist/_esm5.processed/parsers/containers/isobmff/index.d.ts +0 -21
- package/dist/_esm5.processed/parsers/containers/isobmff/index.js +0 -21
- package/dist/_esm5.processed/parsers/containers/isobmff/read.d.ts +0 -57
- package/dist/_esm5.processed/parsers/containers/isobmff/read.js +0 -88
- package/dist/_esm5.processed/parsers/containers/isobmff/take_pssh_out.d.ts +0 -41
- package/dist/_esm5.processed/parsers/containers/isobmff/take_pssh_out.js +0 -83
- package/dist/_esm5.processed/parsers/containers/isobmff/utils.d.ts +0 -123
- package/dist/_esm5.processed/parsers/containers/isobmff/utils.js +0 -434
- package/dist/_esm5.processed/parsers/containers/matroska/index.d.ts +0 -16
- package/dist/_esm5.processed/parsers/containers/matroska/index.js +0 -16
- package/dist/_esm5.processed/parsers/containers/matroska/utils.d.ts +0 -34
- package/dist/_esm5.processed/parsers/containers/matroska/utils.js +0 -236
- package/dist/_esm5.processed/parsers/images/bif.d.ts +0 -39
- package/dist/_esm5.processed/parsers/images/bif.js +0 -88
- package/dist/_esm5.processed/parsers/manifest/dash/common/attach_trickmode_track.d.ts +0 -28
- package/dist/_esm5.processed/parsers/manifest/dash/common/attach_trickmode_track.js +0 -48
- package/dist/_esm5.processed/parsers/manifest/dash/common/convert_supplemental_codecs.d.ts +0 -17
- package/dist/_esm5.processed/parsers/manifest/dash/common/convert_supplemental_codecs.js +0 -26
- package/dist/_esm5.processed/parsers/manifest/dash/common/flatten_overlapping_periods.d.ts +0 -43
- package/dist/_esm5.processed/parsers/manifest/dash/common/flatten_overlapping_periods.js +0 -79
- package/dist/_esm5.processed/parsers/manifest/dash/common/get_clock_offset.d.ts +0 -29
- package/dist/_esm5.processed/parsers/manifest/dash/common/get_clock_offset.js +0 -37
- package/dist/_esm5.processed/parsers/manifest/dash/common/get_hdr_information.d.ts +0 -50
- package/dist/_esm5.processed/parsers/manifest/dash/common/get_hdr_information.js +0 -58
- package/dist/_esm5.processed/parsers/manifest/dash/common/get_http_utc-timing_url.d.ts +0 -21
- package/dist/_esm5.processed/parsers/manifest/dash/common/get_http_utc-timing_url.js +0 -28
- package/dist/_esm5.processed/parsers/manifest/dash/common/get_minimum_and_maximum_positions.d.ts +0 -25
- package/dist/_esm5.processed/parsers/manifest/dash/common/get_minimum_and_maximum_positions.js +0 -30
- package/dist/_esm5.processed/parsers/manifest/dash/common/get_periods_time_infos.d.ts +0 -43
- package/dist/_esm5.processed/parsers/manifest/dash/common/get_periods_time_infos.js +0 -64
- package/dist/_esm5.processed/parsers/manifest/dash/common/index.d.ts +0 -20
- package/dist/_esm5.processed/parsers/manifest/dash/common/index.js +0 -19
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/base.d.ts +0 -246
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/base.js +0 -254
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/get_init_segment.d.ts +0 -32
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/get_init_segment.js +0 -40
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/get_segments_from_timeline.d.ts +0 -36
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/get_segments_from_timeline.js +0 -94
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/index.d.ts +0 -20
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/index.js +0 -20
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/list.d.ts +0 -193
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/list.js +0 -198
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/template.d.ts +0 -254
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/template.js +0 -425
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.d.ts +0 -26
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.js +0 -47
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.d.ts +0 -17
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.js +0 -83
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.d.ts +0 -37
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.js +0 -56
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.d.ts +0 -41
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.js +0 -127
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/index.d.ts +0 -17
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/index.js +0 -17
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/parse_s_element.d.ts +0 -34
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/parse_s_element.js +0 -57
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +0 -336
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +0 -464
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/tokens.d.ts +0 -40
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/tokens.js +0 -109
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/utils.d.ts +0 -25
- package/dist/_esm5.processed/parsers/manifest/dash/common/indexes/utils.js +0 -28
- package/dist/_esm5.processed/parsers/manifest/dash/common/infer_adaptation_type.d.ts +0 -42
- package/dist/_esm5.processed/parsers/manifest/dash/common/infer_adaptation_type.js +0 -109
- package/dist/_esm5.processed/parsers/manifest/dash/common/manifest_bounds_calculator.d.ts +0 -88
- package/dist/_esm5.processed/parsers/manifest/dash/common/manifest_bounds_calculator.js +0 -111
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +0 -49
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_adaptation_sets.js +0 -371
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_availability_start_time.d.ts +0 -22
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_availability_start_time.js +0 -29
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_mpd.d.ts +0 -95
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_mpd.js +0 -247
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_periods.d.ts +0 -63
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_periods.js +0 -259
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_representation_index.d.ts +0 -73
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_representation_index.js +0 -96
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_representations.d.ts +0 -46
- package/dist/_esm5.processed/parsers/manifest/dash/common/parse_representations.js +0 -268
- package/dist/_esm5.processed/parsers/manifest/dash/common/resolve_base_urls.d.ts +0 -26
- package/dist/_esm5.processed/parsers/manifest/dash/common/resolve_base_urls.js +0 -44
- package/dist/_esm5.processed/parsers/manifest/dash/index.d.ts +0 -16
- package/dist/_esm5.processed/parsers/manifest/dash/index.js +0 -16
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts +0 -23
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.js +0 -311
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts +0 -23
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/BaseURL.js +0 -30
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts +0 -22
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.js +0 -41
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts +0 -21
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.js +0 -75
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts +0 -23
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/EventStream.js +0 -94
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts +0 -21
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/Initialization.js +0 -39
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts +0 -21
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/MPD.js +0 -144
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts +0 -21
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/Period.js +0 -112
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts +0 -21
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/Representation.js +0 -189
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts +0 -22
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.js +0 -89
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts +0 -21
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/SegmentList.js +0 -40
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts +0 -23
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.js +0 -73
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts +0 -21
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.js +0 -30
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts +0 -23
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.js +0 -49
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts +0 -187
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/node_parsers/utils.js +0 -324
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/parse_from_document.d.ts +0 -24
- package/dist/_esm5.processed/parsers/manifest/dash/js-parser/parse_from_document.js +0 -103
- package/dist/_esm5.processed/parsers/manifest/dash/node_parser_types.d.ts +0 -395
- package/dist/_esm5.processed/parsers/manifest/dash/node_parser_types.js +0 -16
- package/dist/_esm5.processed/parsers/manifest/dash/parsers_types.d.ts +0 -83
- package/dist/_esm5.processed/parsers/manifest/dash/parsers_types.js +0 -16
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/index.d.ts +0 -18
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/index.js +0 -17
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.d.ts +0 -111
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.js +0 -377
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts +0 -31
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +0 -274
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.d.ts +0 -24
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.js +0 -30
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.d.ts +0 -24
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.js +0 -41
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.d.ts +0 -23
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.js +0 -49
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.d.ts +0 -32
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.js +0 -112
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/MPD.d.ts +0 -27
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/MPD.js +0 -145
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/Period.d.ts +0 -32
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/Period.js +0 -130
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts +0 -31
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +0 -171
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.d.ts +0 -24
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.js +0 -35
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.d.ts +0 -18
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.js +0 -93
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.d.ts +0 -25
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.js +0 -45
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.d.ts +0 -18
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.js +0 -108
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.d.ts +0 -25
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.js +0 -54
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/XLink.d.ts +0 -28
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/XLink.js +0 -47
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/index.d.ts +0 -16
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/index.js +0 -16
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/root.d.ts +0 -27
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/generators/root.js +0 -45
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/parsers_stack.d.ts +0 -38
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/parsers_stack.js +0 -57
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/types.d.ts +0 -145
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/types.js +0 -16
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/utils.d.ts +0 -29
- package/dist/_esm5.processed/parsers/manifest/dash/wasm-parser/ts/utils.js +0 -36
- package/dist/_esm5.processed/parsers/manifest/index.d.ts +0 -16
- package/dist/_esm5.processed/parsers/manifest/index.js +0 -16
- package/dist/_esm5.processed/parsers/manifest/local/index.d.ts +0 -18
- package/dist/_esm5.processed/parsers/manifest/local/index.js +0 -17
- package/dist/_esm5.processed/parsers/manifest/local/parse_local_manifest.d.ts +0 -22
- package/dist/_esm5.processed/parsers/manifest/local/parse_local_manifest.js +0 -125
- package/dist/_esm5.processed/parsers/manifest/local/representation_index.d.ts +0 -83
- package/dist/_esm5.processed/parsers/manifest/local/representation_index.js +0 -240
- package/dist/_esm5.processed/parsers/manifest/local/types.d.ts +0 -285
- package/dist/_esm5.processed/parsers/manifest/local/types.js +0 -16
- package/dist/_esm5.processed/parsers/manifest/metaplaylist/index.d.ts +0 -18
- package/dist/_esm5.processed/parsers/manifest/metaplaylist/index.js +0 -17
- package/dist/_esm5.processed/parsers/manifest/metaplaylist/metaplaylist_parser.d.ts +0 -64
- package/dist/_esm5.processed/parsers/manifest/metaplaylist/metaplaylist_parser.js +0 -254
- package/dist/_esm5.processed/parsers/manifest/metaplaylist/representation_index.d.ts +0 -154
- package/dist/_esm5.processed/parsers/manifest/metaplaylist/representation_index.js +0 -225
- package/dist/_esm5.processed/parsers/manifest/smooth/create_parser.d.ts +0 -33
- package/dist/_esm5.processed/parsers/manifest/smooth/create_parser.js +0 -493
- package/dist/_esm5.processed/parsers/manifest/smooth/get_codecs.d.ts +0 -26
- package/dist/_esm5.processed/parsers/manifest/smooth/get_codecs.js +0 -50
- package/dist/_esm5.processed/parsers/manifest/smooth/index.d.ts +0 -19
- package/dist/_esm5.processed/parsers/manifest/smooth/index.js +0 -19
- package/dist/_esm5.processed/parsers/manifest/smooth/parse_C_nodes.d.ts +0 -26
- package/dist/_esm5.processed/parsers/manifest/smooth/parse_C_nodes.js +0 -60
- package/dist/_esm5.processed/parsers/manifest/smooth/parse_protection_node.d.ts +0 -29
- package/dist/_esm5.processed/parsers/manifest/smooth/parse_protection_node.js +0 -58
- package/dist/_esm5.processed/parsers/manifest/smooth/representation_index.d.ts +0 -226
- package/dist/_esm5.processed/parsers/manifest/smooth/representation_index.js +0 -382
- package/dist/_esm5.processed/parsers/manifest/smooth/shared_smooth_segment_timeline.d.ts +0 -119
- package/dist/_esm5.processed/parsers/manifest/smooth/shared_smooth_segment_timeline.js +0 -159
- package/dist/_esm5.processed/parsers/manifest/smooth/utils/add_segment_infos.d.ts +0 -38
- package/dist/_esm5.processed/parsers/manifest/smooth/utils/add_segment_infos.js +0 -60
- package/dist/_esm5.processed/parsers/manifest/smooth/utils/parseBoolean.d.ts +0 -20
- package/dist/_esm5.processed/parsers/manifest/smooth/utils/parseBoolean.js +0 -30
- package/dist/_esm5.processed/parsers/manifest/smooth/utils/reduceChildren.d.ts +0 -23
- package/dist/_esm5.processed/parsers/manifest/smooth/utils/reduceChildren.js +0 -31
- package/dist/_esm5.processed/parsers/manifest/smooth/utils/tokens.d.ts +0 -28
- package/dist/_esm5.processed/parsers/manifest/smooth/utils/tokens.js +0 -35
- package/dist/_esm5.processed/parsers/manifest/types.d.ts +0 -379
- package/dist/_esm5.processed/parsers/manifest/types.js +0 -16
- package/dist/_esm5.processed/parsers/manifest/utils/check_manifest_ids.d.ts +0 -25
- package/dist/_esm5.processed/parsers/manifest/utils/check_manifest_ids.js +0 -76
- package/dist/_esm5.processed/parsers/manifest/utils/clear_timeline_from_position.d.ts +0 -24
- package/dist/_esm5.processed/parsers/manifest/utils/clear_timeline_from_position.js +0 -69
- package/dist/_esm5.processed/parsers/manifest/utils/get_first_time_from_adaptation.d.ts +0 -27
- package/dist/_esm5.processed/parsers/manifest/utils/get_first_time_from_adaptation.js +0 -43
- package/dist/_esm5.processed/parsers/manifest/utils/get_last_time_from_adaptation.d.ts +0 -29
- package/dist/_esm5.processed/parsers/manifest/utils/get_last_time_from_adaptation.js +0 -45
- package/dist/_esm5.processed/parsers/manifest/utils/get_maximum_positions.d.ts +0 -24
- package/dist/_esm5.processed/parsers/manifest/utils/get_maximum_positions.js +0 -72
- package/dist/_esm5.processed/parsers/manifest/utils/get_minimum_position.d.ts +0 -21
- package/dist/_esm5.processed/parsers/manifest/utils/get_minimum_position.js +0 -68
- package/dist/_esm5.processed/parsers/manifest/utils/index_helpers.d.ts +0 -88
- package/dist/_esm5.processed/parsers/manifest/utils/index_helpers.js +0 -147
- package/dist/_esm5.processed/parsers/manifest/utils/is_segment_still_available.d.ts +0 -29
- package/dist/_esm5.processed/parsers/manifest/utils/is_segment_still_available.js +0 -51
- package/dist/_esm5.processed/parsers/manifest/utils/update_segment_timeline.d.ts +0 -33
- package/dist/_esm5.processed/parsers/manifest/utils/update_segment_timeline.js +0 -138
- package/dist/_esm5.processed/parsers/texttracks/index.d.ts +0 -16
- package/dist/_esm5.processed/parsers/texttracks/index.js +0 -16
- package/dist/_esm5.processed/parsers/texttracks/sami/html.d.ts +0 -29
- package/dist/_esm5.processed/parsers/texttracks/sami/html.js +0 -189
- package/dist/_esm5.processed/parsers/texttracks/sami/native.d.ts +0 -34
- package/dist/_esm5.processed/parsers/texttracks/sami/native.js +0 -160
- package/dist/_esm5.processed/parsers/texttracks/srt/find_end_of_cue_block.d.ts +0 -29
- package/dist/_esm5.processed/parsers/texttracks/srt/find_end_of_cue_block.js +0 -39
- package/dist/_esm5.processed/parsers/texttracks/srt/get_cue_blocks.d.ts +0 -22
- package/dist/_esm5.processed/parsers/texttracks/srt/get_cue_blocks.js +0 -47
- package/dist/_esm5.processed/parsers/texttracks/srt/html.d.ts +0 -26
- package/dist/_esm5.processed/parsers/texttracks/srt/html.js +0 -153
- package/dist/_esm5.processed/parsers/texttracks/srt/native.d.ts +0 -28
- package/dist/_esm5.processed/parsers/texttracks/srt/native.js +0 -57
- package/dist/_esm5.processed/parsers/texttracks/srt/parse_cue.d.ts +0 -30
- package/dist/_esm5.processed/parsers/texttracks/srt/parse_cue.js +0 -60
- package/dist/_esm5.processed/parsers/texttracks/srt/parse_timestamp.d.ts +0 -21
- package/dist/_esm5.processed/parsers/texttracks/srt/parse_timestamp.js +0 -33
- package/dist/_esm5.processed/parsers/texttracks/ttml/get_parameters.d.ts +0 -32
- package/dist/_esm5.processed/parsers/texttracks/ttml/get_parameters.js +0 -84
- package/dist/_esm5.processed/parsers/texttracks/ttml/get_styling.d.ts +0 -41
- package/dist/_esm5.processed/parsers/texttracks/ttml/get_styling.js +0 -132
- package/dist/_esm5.processed/parsers/texttracks/ttml/get_time_delimiters.d.ts +0 -26
- package/dist/_esm5.processed/parsers/texttracks/ttml/get_time_delimiters.js +0 -41
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.d.ts +0 -48
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.js +0 -61
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_extent.d.ts +0 -21
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_extent.js +0 -61
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_font_size.d.ts +0 -21
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_font_size.js +0 -59
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_line_height.d.ts +0 -20
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_line_height.js +0 -44
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_origin.d.ts +0 -20
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_origin.js +0 -60
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_padding.d.ts +0 -20
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/apply_padding.js +0 -139
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/create_element.d.ts +0 -32
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/create_element.js +0 -451
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/generate_css_test_outline.d.ts +0 -26
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/generate_css_test_outline.js +0 -41
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/index.d.ts +0 -21
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/index.js +0 -21
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/parse_cue.d.ts +0 -26
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/parse_cue.js +0 -38
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/parse_ttml_to_div.d.ts +0 -34
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/parse_ttml_to_div.js +0 -50
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/ttml_color_to_css_color.d.ts +0 -21
- package/dist/_esm5.processed/parsers/texttracks/ttml/html/ttml_color_to_css_color.js +0 -57
- package/dist/_esm5.processed/parsers/texttracks/ttml/native/index.d.ts +0 -21
- package/dist/_esm5.processed/parsers/texttracks/ttml/native/index.js +0 -21
- package/dist/_esm5.processed/parsers/texttracks/ttml/native/parse_cue.d.ts +0 -30
- package/dist/_esm5.processed/parsers/texttracks/ttml/native/parse_cue.js +0 -202
- package/dist/_esm5.processed/parsers/texttracks/ttml/native/parse_ttml_to_vtt.d.ts +0 -21
- package/dist/_esm5.processed/parsers/texttracks/ttml/native/parse_ttml_to_vtt.js +0 -33
- package/dist/_esm5.processed/parsers/texttracks/ttml/parse_ttml.d.ts +0 -43
- package/dist/_esm5.processed/parsers/texttracks/ttml/parse_ttml.js +0 -156
- package/dist/_esm5.processed/parsers/texttracks/ttml/regexps.d.ts +0 -28
- package/dist/_esm5.processed/parsers/texttracks/ttml/regexps.js +0 -35
- package/dist/_esm5.processed/parsers/texttracks/ttml/resolve_styles_inheritance.d.ts +0 -49
- package/dist/_esm5.processed/parsers/texttracks/ttml/resolve_styles_inheritance.js +0 -83
- package/dist/_esm5.processed/parsers/texttracks/ttml/time_parsing.d.ts +0 -30
- package/dist/_esm5.processed/parsers/texttracks/ttml/time_parsing.js +0 -124
- package/dist/_esm5.processed/parsers/texttracks/ttml/xml_utils.d.ts +0 -70
- package/dist/_esm5.processed/parsers/texttracks/ttml/xml_utils.js +0 -149
- package/dist/_esm5.processed/parsers/texttracks/types.d.ts +0 -23
- package/dist/_esm5.processed/parsers/texttracks/types.js +0 -16
- package/dist/_esm5.processed/parsers/texttracks/webvtt/get_cue_blocks.d.ts +0 -24
- package/dist/_esm5.processed/parsers/texttracks/webvtt/get_cue_blocks.js +0 -44
- package/dist/_esm5.processed/parsers/texttracks/webvtt/get_style_blocks.d.ts +0 -24
- package/dist/_esm5.processed/parsers/texttracks/webvtt/get_style_blocks.js +0 -51
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/convert_payload_to_html.d.ts +0 -22
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/convert_payload_to_html.js +0 -35
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/create_default_style_elements.d.ts +0 -2
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/create_default_style_elements.js +0 -22
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/create_style_attribute.d.ts +0 -21
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/create_style_attribute.js +0 -175
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/create_styled_element.d.ts +0 -25
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/create_styled_element.js +0 -83
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/index.d.ts +0 -22
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/index.js +0 -21
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/parse_style_block.d.ts +0 -27
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/parse_style_block.js +0 -72
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/parse_webvtt_to_div.d.ts +0 -31
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/parse_webvtt_to_div.js +0 -55
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/to_html.d.ts +0 -43
- package/dist/_esm5.processed/parsers/texttracks/webvtt/html/to_html.js +0 -70
- package/dist/_esm5.processed/parsers/texttracks/webvtt/native/index.d.ts +0 -21
- package/dist/_esm5.processed/parsers/texttracks/webvtt/native/index.js +0 -21
- package/dist/_esm5.processed/parsers/texttracks/webvtt/native/parse_vtt_to_cues.d.ts +0 -28
- package/dist/_esm5.processed/parsers/texttracks/webvtt/native/parse_vtt_to_cues.js +0 -58
- package/dist/_esm5.processed/parsers/texttracks/webvtt/native/set_settings_on_cue.d.ts +0 -23
- package/dist/_esm5.processed/parsers/texttracks/webvtt/native/set_settings_on_cue.js +0 -80
- package/dist/_esm5.processed/parsers/texttracks/webvtt/native/to_native_cue.d.ts +0 -25
- package/dist/_esm5.processed/parsers/texttracks/webvtt/native/to_native_cue.js +0 -25
- package/dist/_esm5.processed/parsers/texttracks/webvtt/parse_cue_block.d.ts +0 -33
- package/dist/_esm5.processed/parsers/texttracks/webvtt/parse_cue_block.js +0 -96
- package/dist/_esm5.processed/parsers/texttracks/webvtt/parse_timestamp.d.ts +0 -21
- package/dist/_esm5.processed/parsers/texttracks/webvtt/parse_timestamp.js +0 -34
- package/dist/_esm5.processed/parsers/texttracks/webvtt/utils.d.ts +0 -56
- package/dist/_esm5.processed/parsers/texttracks/webvtt/utils.js +0 -113
- package/dist/_esm5.processed/public_types.d.ts +0 -823
- package/dist/_esm5.processed/public_types.js +0 -16
- package/dist/_esm5.processed/tools/TextTrackRenderer/index.d.ts +0 -22
- package/dist/_esm5.processed/tools/TextTrackRenderer/index.js +0 -22
- package/dist/_esm5.processed/tools/TextTrackRenderer/text_track_renderer.d.ts +0 -70
- package/dist/_esm5.processed/tools/TextTrackRenderer/text_track_renderer.js +0 -79
- package/dist/_esm5.processed/tools/index.d.ts +0 -18
- package/dist/_esm5.processed/tools/index.js +0 -19
- package/dist/_esm5.processed/tools/string_utils.d.ts +0 -16
- package/dist/_esm5.processed/tools/string_utils.js +0 -16
- package/dist/_esm5.processed/transports/dash/add_segment_integrity_checks_to_loader.d.ts +0 -24
- package/dist/_esm5.processed/transports/dash/add_segment_integrity_checks_to_loader.js +0 -93
- package/dist/_esm5.processed/transports/dash/construct_segment_url.d.ts +0 -18
- package/dist/_esm5.processed/transports/dash/construct_segment_url.js +0 -21
- package/dist/_esm5.processed/transports/dash/extract_complete_chunks.d.ts +0 -24
- package/dist/_esm5.processed/transports/dash/extract_complete_chunks.js +0 -59
- package/dist/_esm5.processed/transports/dash/get_events_out_of_emsgs.d.ts +0 -28
- package/dist/_esm5.processed/transports/dash/get_events_out_of_emsgs.js +0 -92
- package/dist/_esm5.processed/transports/dash/index.d.ts +0 -21
- package/dist/_esm5.processed/transports/dash/index.js +0 -21
- package/dist/_esm5.processed/transports/dash/init_segment_loader.d.ts +0 -28
- package/dist/_esm5.processed/transports/dash/init_segment_loader.js +0 -68
- package/dist/_esm5.processed/transports/dash/low_latency_segment_loader.d.ts +0 -30
- package/dist/_esm5.processed/transports/dash/low_latency_segment_loader.js +0 -64
- package/dist/_esm5.processed/transports/dash/manifest_parser.d.ts +0 -18
- package/dist/_esm5.processed/transports/dash/manifest_parser.js +0 -276
- package/dist/_esm5.processed/transports/dash/pipelines.d.ts +0 -23
- package/dist/_esm5.processed/transports/dash/pipelines.js +0 -55
- package/dist/_esm5.processed/transports/dash/segment_loader.d.ts +0 -38
- package/dist/_esm5.processed/transports/dash/segment_loader.js +0 -168
- package/dist/_esm5.processed/transports/dash/segment_parser.d.ts +0 -23
- package/dist/_esm5.processed/transports/dash/segment_parser.js +0 -124
- package/dist/_esm5.processed/transports/dash/text_loader.d.ts +0 -25
- package/dist/_esm5.processed/transports/dash/text_loader.js +0 -82
- package/dist/_esm5.processed/transports/dash/text_parser.d.ts +0 -25
- package/dist/_esm5.processed/transports/dash/text_parser.js +0 -164
- package/dist/_esm5.processed/transports/index.d.ts +0 -16
- package/dist/_esm5.processed/transports/index.js +0 -16
- package/dist/_esm5.processed/transports/local/index.d.ts +0 -17
- package/dist/_esm5.processed/transports/local/index.js +0 -17
- package/dist/_esm5.processed/transports/local/pipelines.d.ts +0 -22
- package/dist/_esm5.processed/transports/local/pipelines.js +0 -64
- package/dist/_esm5.processed/transports/local/segment_loader.d.ts +0 -28
- package/dist/_esm5.processed/transports/local/segment_loader.js +0 -144
- package/dist/_esm5.processed/transports/local/segment_parser.d.ts +0 -20
- package/dist/_esm5.processed/transports/local/segment_parser.js +0 -69
- package/dist/_esm5.processed/transports/local/text_parser.d.ts +0 -27
- package/dist/_esm5.processed/transports/local/text_parser.js +0 -131
- package/dist/_esm5.processed/transports/metaplaylist/index.d.ts +0 -21
- package/dist/_esm5.processed/transports/metaplaylist/index.js +0 -21
- package/dist/_esm5.processed/transports/metaplaylist/manifest_loader.d.ts +0 -26
- package/dist/_esm5.processed/transports/metaplaylist/manifest_loader.js +0 -41
- package/dist/_esm5.processed/transports/metaplaylist/pipelines.d.ts +0 -17
- package/dist/_esm5.processed/transports/metaplaylist/pipelines.js +0 -236
- package/dist/_esm5.processed/transports/smooth/extract_timings_infos.d.ts +0 -62
- package/dist/_esm5.processed/transports/smooth/extract_timings_infos.js +0 -78
- package/dist/_esm5.processed/transports/smooth/index.d.ts +0 -21
- package/dist/_esm5.processed/transports/smooth/index.js +0 -21
- package/dist/_esm5.processed/transports/smooth/is_mp4_embedded_track.d.ts +0 -22
- package/dist/_esm5.processed/transports/smooth/is_mp4_embedded_track.js +0 -24
- package/dist/_esm5.processed/transports/smooth/isobmff/create_audio_init_segment.d.ts +0 -29
- package/dist/_esm5.processed/transports/smooth/isobmff/create_audio_init_segment.js +0 -52
- package/dist/_esm5.processed/transports/smooth/isobmff/create_boxes.d.ts +0 -171
- package/dist/_esm5.processed/transports/smooth/isobmff/create_boxes.js +0 -328
- package/dist/_esm5.processed/transports/smooth/isobmff/create_init_segment.d.ts +0 -33
- package/dist/_esm5.processed/transports/smooth/isobmff/create_init_segment.js +0 -65
- package/dist/_esm5.processed/transports/smooth/isobmff/create_traf_box.d.ts +0 -16
- package/dist/_esm5.processed/transports/smooth/isobmff/create_traf_box.js +0 -24
- package/dist/_esm5.processed/transports/smooth/isobmff/create_video_init_segment.d.ts +0 -29
- package/dist/_esm5.processed/transports/smooth/isobmff/create_video_init_segment.js +0 -57
- package/dist/_esm5.processed/transports/smooth/isobmff/get_aaces_header.d.ts +0 -27
- package/dist/_esm5.processed/transports/smooth/isobmff/get_aaces_header.js +0 -55
- package/dist/_esm5.processed/transports/smooth/isobmff/index.d.ts +0 -21
- package/dist/_esm5.processed/transports/smooth/isobmff/index.js +0 -21
- package/dist/_esm5.processed/transports/smooth/isobmff/parse_tfrf.d.ts +0 -24
- package/dist/_esm5.processed/transports/smooth/isobmff/parse_tfrf.js +0 -47
- package/dist/_esm5.processed/transports/smooth/isobmff/parse_tfxd.d.ts +0 -24
- package/dist/_esm5.processed/transports/smooth/isobmff/parse_tfxd.js +0 -31
- package/dist/_esm5.processed/transports/smooth/isobmff/patch_segment.d.ts +0 -23
- package/dist/_esm5.processed/transports/smooth/isobmff/patch_segment.js +0 -127
- package/dist/_esm5.processed/transports/smooth/pipelines.d.ts +0 -17
- package/dist/_esm5.processed/transports/smooth/pipelines.js +0 -283
- package/dist/_esm5.processed/transports/smooth/segment_loader.d.ts +0 -27
- package/dist/_esm5.processed/transports/smooth/segment_loader.js +0 -204
- package/dist/_esm5.processed/transports/smooth/utils.d.ts +0 -26
- package/dist/_esm5.processed/transports/smooth/utils.js +0 -32
- package/dist/_esm5.processed/transports/types.d.ts +0 -692
- package/dist/_esm5.processed/transports/types.js +0 -16
- package/dist/_esm5.processed/transports/utils/byte_range.d.ts +0 -21
- package/dist/_esm5.processed/transports/utils/byte_range.js +0 -25
- package/dist/_esm5.processed/transports/utils/call_custom_manifest_loader.d.ts +0 -19
- package/dist/_esm5.processed/transports/utils/call_custom_manifest_loader.js +0 -91
- package/dist/_esm5.processed/transports/utils/check_isobmff_integrity.d.ts +0 -23
- package/dist/_esm5.processed/transports/utils/check_isobmff_integrity.js +0 -46
- package/dist/_esm5.processed/transports/utils/find_complete_box.d.ts +0 -25
- package/dist/_esm5.processed/transports/utils/find_complete_box.js +0 -53
- package/dist/_esm5.processed/transports/utils/generate_manifest_loader.d.ts +0 -26
- package/dist/_esm5.processed/transports/utils/generate_manifest_loader.js +0 -59
- package/dist/_esm5.processed/transports/utils/get_isobmff_timing_infos.d.ts +0 -29
- package/dist/_esm5.processed/transports/utils/get_isobmff_timing_infos.js +0 -66
- package/dist/_esm5.processed/transports/utils/infer_segment_container.d.ts +0 -29
- package/dist/_esm5.processed/transports/utils/infer_segment_container.js +0 -44
- package/dist/_esm5.processed/transports/utils/parse_text_track.d.ts +0 -56
- package/dist/_esm5.processed/transports/utils/parse_text_track.js +0 -134
- package/dist/_esm5.processed/utils/are_arrays_of_numbers_equal.d.ts +0 -22
- package/dist/_esm5.processed/utils/are_arrays_of_numbers_equal.js +0 -35
- package/dist/_esm5.processed/utils/are_codecs_compatible.d.ts +0 -25
- package/dist/_esm5.processed/utils/are_codecs_compatible.js +0 -44
- package/dist/_esm5.processed/utils/array_find.d.ts +0 -23
- package/dist/_esm5.processed/utils/array_find.js +0 -35
- package/dist/_esm5.processed/utils/array_find_index.d.ts +0 -23
- package/dist/_esm5.processed/utils/array_find_index.js +0 -34
- package/dist/_esm5.processed/utils/array_includes.d.ts +0 -54
- package/dist/_esm5.processed/utils/array_includes.js +0 -85
- package/dist/_esm5.processed/utils/assert.d.ts +0 -34
- package/dist/_esm5.processed/utils/assert.js +0 -52
- package/dist/_esm5.processed/utils/assert_unreachable.d.ts +0 -40
- package/dist/_esm5.processed/utils/assert_unreachable.js +0 -43
- package/dist/_esm5.processed/utils/base64.d.ts +0 -14
- package/dist/_esm5.processed/utils/base64.js +0 -147
- package/dist/_esm5.processed/utils/byte_parsing.d.ts +0 -123
- package/dist/_esm5.processed/utils/byte_parsing.js +0 -231
- package/dist/_esm5.processed/utils/cancellable_sleep.d.ts +0 -30
- package/dist/_esm5.processed/utils/cancellable_sleep.js +0 -35
- package/dist/_esm5.processed/utils/create_cancellable_promise.d.ts +0 -26
- package/dist/_esm5.processed/utils/create_cancellable_promise.js +0 -52
- package/dist/_esm5.processed/utils/deep_merge.d.ts +0 -9
- package/dist/_esm5.processed/utils/deep_merge.js +0 -54
- package/dist/_esm5.processed/utils/event_emitter.d.ts +0 -62
- package/dist/_esm5.processed/utils/event_emitter.js +0 -103
- package/dist/_esm5.processed/utils/flat_map.d.ts +0 -22
- package/dist/_esm5.processed/utils/flat_map.js +0 -37
- package/dist/_esm5.processed/utils/get_fuzzed_delay.d.ts +0 -21
- package/dist/_esm5.processed/utils/get_fuzzed_delay.js +0 -25
- package/dist/_esm5.processed/utils/hash_buffer.d.ts +0 -32
- package/dist/_esm5.processed/utils/hash_buffer.js +0 -41
- package/dist/_esm5.processed/utils/id_generator.d.ts +0 -21
- package/dist/_esm5.processed/utils/id_generator.js +0 -33
- package/dist/_esm5.processed/utils/initialization_segment_cache.d.ts +0 -42
- package/dist/_esm5.processed/utils/initialization_segment_cache.js +0 -51
- package/dist/_esm5.processed/utils/is_non_empty_string.d.ts +0 -20
- package/dist/_esm5.processed/utils/is_non_empty_string.js +0 -22
- package/dist/_esm5.processed/utils/is_null_or_undefined.d.ts +0 -24
- package/dist/_esm5.processed/utils/is_null_or_undefined.js +0 -26
- package/dist/_esm5.processed/utils/languages/ISO_639-1_to_ISO_639-3.d.ts +0 -22
- package/dist/_esm5.processed/utils/languages/ISO_639-1_to_ISO_639-3.js +0 -205
- package/dist/_esm5.processed/utils/languages/ISO_639-2_to_ISO_639-3.d.ts +0 -22
- package/dist/_esm5.processed/utils/languages/ISO_639-2_to_ISO_639-3.js +0 -41
- package/dist/_esm5.processed/utils/languages/index.d.ts +0 -18
- package/dist/_esm5.processed/utils/languages/index.js +0 -18
- package/dist/_esm5.processed/utils/languages/normalize.d.ts +0 -68
- package/dist/_esm5.processed/utils/languages/normalize.js +0 -117
- package/dist/_esm5.processed/utils/logger.d.ts +0 -46
- package/dist/_esm5.processed/utils/logger.js +0 -79
- package/dist/_esm5.processed/utils/noop.d.ts +0 -23
- package/dist/_esm5.processed/utils/noop.js +0 -25
- package/dist/_esm5.processed/utils/object_assign.d.ts +0 -22
- package/dist/_esm5.processed/utils/object_assign.js +0 -44
- package/dist/_esm5.processed/utils/object_values.d.ts +0 -30
- package/dist/_esm5.processed/utils/object_values.js +0 -26
- package/dist/_esm5.processed/utils/ranges.d.ts +0 -170
- package/dist/_esm5.processed/utils/ranges.js +0 -427
- package/dist/_esm5.processed/utils/reference.d.ts +0 -214
- package/dist/_esm5.processed/utils/reference.js +0 -295
- package/dist/_esm5.processed/utils/request/fetch.d.ts +0 -76
- package/dist/_esm5.processed/utils/request/fetch.js +0 -181
- package/dist/_esm5.processed/utils/request/index.d.ts +0 -19
- package/dist/_esm5.processed/utils/request/index.js +0 -19
- package/dist/_esm5.processed/utils/request/xhr.d.ts +0 -95
- package/dist/_esm5.processed/utils/request/xhr.js +0 -152
- package/dist/_esm5.processed/utils/resolve_url.d.ts +0 -35
- package/dist/_esm5.processed/utils/resolve_url.js +0 -117
- package/dist/_esm5.processed/utils/retry_promise_with_backoff.d.ts +0 -46
- package/dist/_esm5.processed/utils/retry_promise_with_backoff.js +0 -119
- package/dist/_esm5.processed/utils/sleep.d.ts +0 -10
- package/dist/_esm5.processed/utils/sleep.js +0 -14
- package/dist/_esm5.processed/utils/slice_uint8array.d.ts +0 -27
- package/dist/_esm5.processed/utils/slice_uint8array.js +0 -42
- package/dist/_esm5.processed/utils/sorted_list.d.ts +0 -127
- package/dist/_esm5.processed/utils/sorted_list.js +0 -183
- package/dist/_esm5.processed/utils/starts_with.d.ts +0 -26
- package/dist/_esm5.processed/utils/starts_with.js +0 -36
- package/dist/_esm5.processed/utils/string_parsing.d.ts +0 -88
- package/dist/_esm5.processed/utils/string_parsing.js +0 -372
- package/dist/_esm5.processed/utils/task_canceller.d.ts +0 -263
- package/dist/_esm5.processed/utils/task_canceller.js +0 -325
- package/dist/_esm5.processed/utils/warn_once.d.ts +0 -23
- package/dist/_esm5.processed/utils/warn_once.js +0 -31
- package/dist/_esm5.processed/utils/weak_map_memory.d.ts +0 -70
- package/dist/_esm5.processed/utils/weak_map_memory.js +0 -86
- package/dist/_esm5.processed/utils/wrapInPromise.d.ts +0 -7
- package/dist/_esm5.processed/utils/wrapInPromise.js +0 -22
- package/dist/commonjs/compat/global_scope.d.ts +0 -9
- package/dist/commonjs/compat/global_scope.js +0 -15
- package/dist/commonjs/compat/index.d.ts +0 -37
- package/dist/commonjs/compat/index.js +0 -66
- package/dist/commonjs/core/api/debug/buffer_graph.d.ts +0 -28
- package/dist/commonjs/core/api/debug/buffer_graph.js +0 -173
- package/dist/commonjs/core/api/debug/buffer_size_graph.js +0 -132
- package/dist/commonjs/core/api/debug/modules/general_info.d.ts +0 -3
- package/dist/commonjs/core/api/debug/modules/general_info.js +0 -220
- package/dist/commonjs/core/api/debug/modules/segment_buffer_content.d.ts +0 -4
- package/dist/commonjs/core/api/debug/modules/segment_buffer_content.js +0 -124
- package/dist/commonjs/core/api/debug/modules/segment_buffer_size.d.ts +0 -3
- package/dist/commonjs/core/api/debug/modules/segment_buffer_size.js +0 -38
- package/dist/commonjs/core/api/debug/render.d.ts +0 -3
- package/dist/commonjs/core/api/index.d.ts +0 -20
- package/dist/commonjs/core/api/index.js +0 -22
- package/dist/commonjs/core/api/option_utils.d.ts +0 -123
- package/dist/commonjs/core/api/option_utils.js +0 -308
- package/dist/commonjs/core/api/playback_observer.d.ts +0 -370
- package/dist/commonjs/core/api/playback_observer.js +0 -585
- package/dist/commonjs/core/api/public_api.d.ts +0 -728
- package/dist/commonjs/core/api/public_api.js +0 -2261
- package/dist/commonjs/core/api/track_management/index.d.ts +0 -18
- package/dist/commonjs/core/api/track_management/media_element_tracks_store.d.ts +0 -197
- package/dist/commonjs/core/api/track_management/media_element_tracks_store.js +0 -688
- package/dist/commonjs/core/api/track_management/track_dispatcher.d.ts +0 -96
- package/dist/commonjs/core/api/track_management/track_dispatcher.js +0 -178
- package/dist/commonjs/core/api/track_management/tracks_store.d.ts +0 -429
- package/dist/commonjs/core/api/track_management/tracks_store.js +0 -998
- package/dist/commonjs/core/api/utils.d.ts +0 -66
- package/dist/commonjs/core/api/utils.js +0 -175
- package/dist/commonjs/core/decrypt/__tests__/__global__/utils.d.ts +0 -178
- package/dist/commonjs/core/decrypt/__tests__/__global__/utils.js +0 -413
- package/dist/commonjs/core/decrypt/attach_media_keys.d.ts +0 -52
- package/dist/commonjs/core/decrypt/attach_media_keys.js +0 -120
- package/dist/commonjs/core/decrypt/clear_on_stop.js +0 -43
- package/dist/commonjs/core/decrypt/content_decryptor.d.ts +0 -184
- package/dist/commonjs/core/decrypt/content_decryptor.js +0 -1146
- package/dist/commonjs/core/decrypt/create_or_load_session.d.ts +0 -63
- package/dist/commonjs/core/decrypt/create_or_load_session.js +0 -127
- package/dist/commonjs/core/decrypt/create_session.d.ts +0 -53
- package/dist/commonjs/core/decrypt/create_session.js +0 -215
- package/dist/commonjs/core/decrypt/dispose_decryption_resources.js +0 -91
- package/dist/commonjs/core/decrypt/find_key_system.d.ts +0 -48
- package/dist/commonjs/core/decrypt/find_key_system.js +0 -369
- package/dist/commonjs/core/decrypt/get_media_keys.d.ts +0 -44
- package/dist/commonjs/core/decrypt/get_media_keys.js +0 -160
- package/dist/commonjs/core/decrypt/index.d.ts +0 -26
- package/dist/commonjs/core/decrypt/init_media_keys.d.ts +0 -26
- package/dist/commonjs/core/decrypt/init_media_keys.js +0 -85
- package/dist/commonjs/core/decrypt/session_events_listener.d.ts +0 -75
- package/dist/commonjs/core/decrypt/session_events_listener.js +0 -330
- package/dist/commonjs/core/decrypt/set_server_certificate.d.ts +0 -51
- package/dist/commonjs/core/decrypt/set_server_certificate.js +0 -146
- package/dist/commonjs/core/decrypt/types.d.ts +0 -368
- package/dist/commonjs/core/decrypt/utils/are_init_values_compatible.js +0 -116
- package/dist/commonjs/core/decrypt/utils/check_key_statuses.d.ts +0 -52
- package/dist/commonjs/core/decrypt/utils/check_key_statuses.js +0 -211
- package/dist/commonjs/core/decrypt/utils/clean_old_loaded_sessions.d.ts +0 -26
- package/dist/commonjs/core/decrypt/utils/clean_old_stored_persistent_info.d.ts +0 -32
- package/dist/commonjs/core/decrypt/utils/init_data_values_container.d.ts +0 -69
- package/dist/commonjs/core/decrypt/utils/init_data_values_container.js +0 -126
- package/dist/commonjs/core/decrypt/utils/is_session_usable.d.ts +0 -24
- package/dist/commonjs/core/decrypt/utils/is_session_usable.js +0 -52
- package/dist/commonjs/core/decrypt/utils/key_session_record.d.ts +0 -104
- package/dist/commonjs/core/decrypt/utils/key_session_record.js +0 -190
- package/dist/commonjs/core/decrypt/utils/loaded_sessions_store.d.ts +0 -215
- package/dist/commonjs/core/decrypt/utils/loaded_sessions_store.js +0 -515
- package/dist/commonjs/core/decrypt/utils/media_keys_infos_store.d.ts +0 -56
- package/dist/commonjs/core/decrypt/utils/media_keys_infos_store.js +0 -46
- package/dist/commonjs/core/decrypt/utils/persistent_sessions_store.d.ts +0 -94
- package/dist/commonjs/core/decrypt/utils/persistent_sessions_store.js +0 -346
- package/dist/commonjs/core/decrypt/utils/serializable_bytes.d.ts +0 -44
- package/dist/commonjs/core/decrypt/utils/serializable_bytes.js +0 -50
- package/dist/commonjs/core/decrypt/utils/server_certificate_store.d.ts +0 -64
- package/dist/commonjs/core/decrypt/utils/server_certificate_store.js +0 -114
- package/dist/commonjs/core/init/directfile_content_initializer.d.ts +0 -97
- package/dist/commonjs/core/init/directfile_content_initializer.js +0 -258
- package/dist/commonjs/core/init/media_source_content_initializer.d.ts +0 -180
- package/dist/commonjs/core/init/media_source_content_initializer.js +0 -653
- package/dist/commonjs/core/init/types.d.ts +0 -217
- package/dist/commonjs/core/init/types.js +0 -54
- package/dist/commonjs/core/init/utils/content_time_boundaries_observer.d.ts +0 -192
- package/dist/commonjs/core/init/utils/content_time_boundaries_observer.js +0 -519
- package/dist/commonjs/core/init/utils/create_media_source.d.ts +0 -37
- package/dist/commonjs/core/init/utils/create_media_source.js +0 -117
- package/dist/commonjs/core/init/utils/create_stream_playback_observer.d.ts +0 -45
- package/dist/commonjs/core/init/utils/create_stream_playback_observer.js +0 -89
- package/dist/commonjs/core/init/utils/end_of_stream.d.ts +0 -33
- package/dist/commonjs/core/init/utils/end_of_stream.js +0 -115
- package/dist/commonjs/core/init/utils/get_initial_time.d.ts +0 -76
- package/dist/commonjs/core/init/utils/get_initial_time.js +0 -115
- package/dist/commonjs/core/init/utils/get_loaded_reference.d.ts +0 -28
- package/dist/commonjs/core/init/utils/get_loaded_reference.js +0 -59
- package/dist/commonjs/core/init/utils/initial_seek_and_play.d.ts +0 -63
- package/dist/commonjs/core/init/utils/initial_seek_and_play.js +0 -131
- package/dist/commonjs/core/init/utils/initialize_content_decryption.d.ts +0 -80
- package/dist/commonjs/core/init/utils/initialize_content_decryption.js +0 -107
- package/dist/commonjs/core/init/utils/media_source_duration_updater.js +0 -270
- package/dist/commonjs/core/init/utils/rebuffering_controller.d.ts +0 -147
- package/dist/commonjs/core/init/utils/rebuffering_controller.js +0 -597
- package/dist/commonjs/core/init/utils/stream_events_emitter/are_same_stream_events.js +0 -37
- package/dist/commonjs/core/init/utils/stream_events_emitter/index.d.ts +0 -18
- package/dist/commonjs/core/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +0 -25
- package/dist/commonjs/core/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +0 -68
- package/dist/commonjs/core/init/utils/stream_events_emitter/stream_events_emitter.d.ts +0 -52
- package/dist/commonjs/core/init/utils/stream_events_emitter/stream_events_emitter.js +0 -232
- package/dist/commonjs/core/init/utils/stream_events_emitter/types.d.ts +0 -41
- package/dist/commonjs/core/init/utils/throw_on_media_error.d.ts +0 -23
- package/dist/commonjs/core/init/utils/throw_on_media_error.js +0 -61
- package/dist/commonjs/core/segment_buffers/garbage_collector.d.ts +0 -41
- package/dist/commonjs/core/segment_buffers/garbage_collector.js +0 -212
- package/dist/commonjs/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.d.ts +0 -182
- package/dist/commonjs/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.js +0 -457
- package/dist/commonjs/core/segment_buffers/implementations/audio_video/index.d.ts +0 -17
- package/dist/commonjs/core/segment_buffers/implementations/index.d.ts +0 -18
- package/dist/commonjs/core/segment_buffers/implementations/index.js +0 -35
- package/dist/commonjs/core/segment_buffers/implementations/text/html/html_text_segment_buffer.d.ts +0 -141
- package/dist/commonjs/core/segment_buffers/implementations/text/html/html_text_segment_buffer.js +0 -407
- package/dist/commonjs/core/segment_buffers/implementations/text/html/index.d.ts +0 -21
- package/dist/commonjs/core/segment_buffers/implementations/text/html/index.js +0 -23
- package/dist/commonjs/core/segment_buffers/implementations/text/html/parsers.d.ts +0 -30
- package/dist/commonjs/core/segment_buffers/implementations/text/html/parsers.js +0 -40
- package/dist/commonjs/core/segment_buffers/implementations/text/html/text_track_cues_store.d.ts +0 -79
- package/dist/commonjs/core/segment_buffers/implementations/text/html/text_track_cues_store.js +0 -390
- package/dist/commonjs/core/segment_buffers/implementations/text/html/types.d.ts +0 -25
- package/dist/commonjs/core/segment_buffers/implementations/text/html/update_proportional_elements.d.ts +0 -30
- package/dist/commonjs/core/segment_buffers/implementations/text/html/update_proportional_elements.js +0 -80
- package/dist/commonjs/core/segment_buffers/implementations/text/html/utils.d.ts +0 -45
- package/dist/commonjs/core/segment_buffers/implementations/text/html/utils.js +0 -131
- package/dist/commonjs/core/segment_buffers/implementations/text/native/index.d.ts +0 -17
- package/dist/commonjs/core/segment_buffers/implementations/text/native/index.js +0 -19
- package/dist/commonjs/core/segment_buffers/implementations/text/native/native_text_segment_buffer.d.ts +0 -83
- package/dist/commonjs/core/segment_buffers/implementations/text/native/native_text_segment_buffer.js +0 -273
- package/dist/commonjs/core/segment_buffers/implementations/text/native/parsers.d.ts +0 -26
- package/dist/commonjs/core/segment_buffers/implementations/text/native/parsers.js +0 -40
- package/dist/commonjs/core/segment_buffers/implementations/types.d.ts +0 -320
- package/dist/commonjs/core/segment_buffers/implementations/types.js +0 -124
- package/dist/commonjs/core/segment_buffers/index.d.ts +0 -21
- package/dist/commonjs/core/segment_buffers/index.js +0 -28
- package/dist/commonjs/core/segment_buffers/inventory/buffered_history.d.ts +0 -89
- package/dist/commonjs/core/segment_buffers/inventory/index.d.ts +0 -21
- package/dist/commonjs/core/segment_buffers/inventory/segment_inventory.d.ts +0 -207
- package/dist/commonjs/core/segment_buffers/inventory/segment_inventory.js +0 -866
- package/dist/commonjs/core/segment_buffers/inventory/types.d.ts +0 -27
- package/dist/commonjs/core/segment_buffers/inventory/utils.d.ts +0 -33
- package/dist/commonjs/core/segment_buffers/inventory/utils.js +0 -54
- package/dist/commonjs/core/segment_buffers/segment_buffers_store.d.ts +0 -180
- package/dist/commonjs/core/segment_buffers/segment_buffers_store.js +0 -302
- package/dist/commonjs/core/stream/representation/utils/force_garbage_collection.d.ts +0 -29
- package/dist/commonjs/core/stream/representation/utils/force_garbage_collection.js +0 -179
- package/dist/commonjs/errors/assertion_error.d.ts +0 -31
- package/dist/commonjs/errors/assertion_error.js +0 -56
- package/dist/commonjs/errors/request_error.d.ts +0 -38
- package/dist/commonjs/errors/request_error.js +0 -76
- package/dist/commonjs/experimental/features/dash_wasm.d.ts +0 -23
- package/dist/commonjs/experimental/features/dash_wasm.js +0 -37
- package/dist/commonjs/experimental/features/debug_element.d.ts +0 -8
- package/dist/commonjs/experimental/features/debug_element.js +0 -13
- package/dist/commonjs/experimental/tools/parseBIFThumbnails/index.js +0 -32
- package/dist/commonjs/manifest/adaptation.d.ts +0 -113
- package/dist/commonjs/manifest/adaptation.js +0 -222
- package/dist/commonjs/manifest/manifest.d.ts +0 -265
- package/dist/commonjs/manifest/manifest.js +0 -453
- package/dist/commonjs/manifest/period.d.ts +0 -68
- package/dist/commonjs/manifest/period.js +0 -140
- package/dist/commonjs/manifest/representation.d.ts +0 -251
- package/dist/commonjs/manifest/representation.js +0 -296
- package/dist/commonjs/manifest/representation_index/index.d.ts +0 -18
- package/dist/commonjs/manifest/representation_index/static.d.ts +0 -101
- package/dist/commonjs/manifest/representation_index/static.js +0 -143
- package/dist/commonjs/manifest/representation_index/types.d.ts +0 -420
- package/dist/commonjs/manifest/representation_index/types.js +0 -17
- package/dist/commonjs/manifest/update_period_in_place.d.ts +0 -49
- package/dist/commonjs/manifest/update_period_in_place.js +0 -168
- package/dist/commonjs/manifest/update_periods.d.ts +0 -47
- package/dist/commonjs/manifest/update_periods.js +0 -189
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts +0 -23
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.js +0 -331
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts +0 -23
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/BaseURL.js +0 -33
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts +0 -22
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts +0 -21
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts +0 -23
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/EventStream.js +0 -113
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts +0 -21
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Initialization.js +0 -42
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts +0 -21
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/MPD.js +0 -164
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts +0 -21
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Period.js +0 -132
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts +0 -21
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/Representation.js +0 -209
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts +0 -22
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.js +0 -108
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts +0 -21
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts +0 -23
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.js +0 -92
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts +0 -21
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts +0 -23
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.js +0 -52
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts +0 -187
- package/dist/commonjs/parsers/manifest/dash/js-parser/node_parsers/utils.js +0 -354
- package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_document.d.ts +0 -24
- package/dist/commonjs/parsers/manifest/dash/js-parser/parse_from_document.js +0 -131
- package/dist/commonjs/utils/assert_unreachable.d.ts +0 -40
- package/dist/commonjs/utils/assert_unreachable.js +0 -46
- package/dist/commonjs/utils/initialization_segment_cache.d.ts +0 -42
- package/dist/es2017/compat/global_scope.d.ts +0 -9
- package/dist/es2017/compat/global_scope.js +0 -13
- package/dist/es2017/compat/index.d.ts +0 -37
- package/dist/es2017/compat/index.js +0 -43
- package/dist/es2017/core/api/debug/buffer_graph.d.ts +0 -28
- package/dist/es2017/core/api/debug/buffer_graph.js +0 -169
- package/dist/es2017/core/api/debug/buffer_size_graph.d.ts +0 -10
- package/dist/es2017/core/api/debug/buffer_size_graph.js +0 -103
- package/dist/es2017/core/api/debug/constants.d.ts +0 -2
- package/dist/es2017/core/api/debug/index.d.ts +0 -2
- package/dist/es2017/core/api/debug/index.js +0 -2
- package/dist/es2017/core/api/debug/modules/general_info.d.ts +0 -3
- package/dist/es2017/core/api/debug/modules/general_info.js +0 -176
- package/dist/es2017/core/api/debug/modules/segment_buffer_content.d.ts +0 -4
- package/dist/es2017/core/api/debug/modules/segment_buffer_content.js +0 -121
- package/dist/es2017/core/api/debug/modules/segment_buffer_size.d.ts +0 -3
- package/dist/es2017/core/api/debug/modules/segment_buffer_size.js +0 -35
- package/dist/es2017/core/api/debug/render.d.ts +0 -3
- package/dist/es2017/core/api/debug/render.js +0 -32
- package/dist/es2017/core/api/debug/utils.d.ts +0 -39
- package/dist/es2017/core/api/debug/utils.js +0 -54
- package/dist/es2017/core/api/index.d.ts +0 -20
- package/dist/es2017/core/api/index.js +0 -19
- package/dist/es2017/core/api/option_utils.d.ts +0 -123
- package/dist/es2017/core/api/option_utils.js +0 -304
- package/dist/es2017/core/api/playback_observer.d.ts +0 -370
- package/dist/es2017/core/api/playback_observer.js +0 -591
- package/dist/es2017/core/api/public_api.d.ts +0 -728
- package/dist/es2017/core/api/public_api.js +0 -2136
- package/dist/es2017/core/api/track_management/index.d.ts +0 -18
- package/dist/es2017/core/api/track_management/index.js +0 -18
- package/dist/es2017/core/api/track_management/media_element_tracks_store.d.ts +0 -197
- package/dist/es2017/core/api/track_management/media_element_tracks_store.js +0 -669
- package/dist/es2017/core/api/track_management/track_dispatcher.d.ts +0 -96
- package/dist/es2017/core/api/track_management/track_dispatcher.js +0 -159
- package/dist/es2017/core/api/track_management/tracks_store.d.ts +0 -429
- package/dist/es2017/core/api/track_management/tracks_store.js +0 -944
- package/dist/es2017/core/api/utils.d.ts +0 -66
- package/dist/es2017/core/api/utils.js +0 -167
- package/dist/es2017/core/decrypt/__tests__/__global__/utils.d.ts +0 -178
- package/dist/es2017/core/decrypt/__tests__/__global__/utils.js +0 -363
- package/dist/es2017/core/decrypt/attach_media_keys.d.ts +0 -52
- package/dist/es2017/core/decrypt/attach_media_keys.js +0 -71
- package/dist/es2017/core/decrypt/clear_on_stop.d.ts +0 -22
- package/dist/es2017/core/decrypt/clear_on_stop.js +0 -40
- package/dist/es2017/core/decrypt/content_decryptor.d.ts +0 -184
- package/dist/es2017/core/decrypt/content_decryptor.js +0 -846
- package/dist/es2017/core/decrypt/create_or_load_session.d.ts +0 -63
- package/dist/es2017/core/decrypt/create_or_load_session.js +0 -75
- package/dist/es2017/core/decrypt/create_session.d.ts +0 -53
- package/dist/es2017/core/decrypt/create_session.js +0 -150
- package/dist/es2017/core/decrypt/dispose_decryption_resources.d.ts +0 -21
- package/dist/es2017/core/decrypt/dispose_decryption_resources.js +0 -42
- package/dist/es2017/core/decrypt/find_key_system.d.ts +0 -48
- package/dist/es2017/core/decrypt/find_key_system.js +0 -281
- package/dist/es2017/core/decrypt/get_media_keys.d.ts +0 -44
- package/dist/es2017/core/decrypt/get_media_keys.js +0 -104
- package/dist/es2017/core/decrypt/index.d.ts +0 -26
- package/dist/es2017/core/decrypt/index.js +0 -26
- package/dist/es2017/core/decrypt/init_media_keys.d.ts +0 -26
- package/dist/es2017/core/decrypt/init_media_keys.js +0 -37
- package/dist/es2017/core/decrypt/session_events_listener.d.ts +0 -75
- package/dist/es2017/core/decrypt/session_events_listener.js +0 -249
- package/dist/es2017/core/decrypt/set_server_certificate.d.ts +0 -51
- package/dist/es2017/core/decrypt/set_server_certificate.js +0 -83
- package/dist/es2017/core/decrypt/types.d.ts +0 -368
- package/dist/es2017/core/decrypt/types.js +0 -55
- package/dist/es2017/core/decrypt/utils/are_init_values_compatible.d.ts +0 -34
- package/dist/es2017/core/decrypt/utils/are_init_values_compatible.js +0 -113
- package/dist/es2017/core/decrypt/utils/check_key_statuses.d.ts +0 -52
- package/dist/es2017/core/decrypt/utils/check_key_statuses.js +0 -165
- package/dist/es2017/core/decrypt/utils/clean_old_loaded_sessions.d.ts +0 -26
- package/dist/es2017/core/decrypt/utils/clean_old_stored_persistent_info.d.ts +0 -32
- package/dist/es2017/core/decrypt/utils/get_drm_system_id.d.ts +0 -20
- package/dist/es2017/core/decrypt/utils/get_drm_system_id.js +0 -37
- package/dist/es2017/core/decrypt/utils/init_data_values_container.d.ts +0 -69
- package/dist/es2017/core/decrypt/utils/init_data_values_container.js +0 -96
- package/dist/es2017/core/decrypt/utils/is_session_usable.d.ts +0 -24
- package/dist/es2017/core/decrypt/utils/is_session_usable.js +0 -49
- package/dist/es2017/core/decrypt/utils/key_id_comparison.d.ts +0 -31
- package/dist/es2017/core/decrypt/utils/key_id_comparison.js +0 -48
- package/dist/es2017/core/decrypt/utils/key_session_record.d.ts +0 -104
- package/dist/es2017/core/decrypt/utils/key_session_record.js +0 -153
- package/dist/es2017/core/decrypt/utils/loaded_sessions_store.d.ts +0 -215
- package/dist/es2017/core/decrypt/utils/loaded_sessions_store.js +0 -365
- package/dist/es2017/core/decrypt/utils/media_keys_infos_store.d.ts +0 -56
- package/dist/es2017/core/decrypt/utils/media_keys_infos_store.js +0 -44
- package/dist/es2017/core/decrypt/utils/persistent_sessions_store.d.ts +0 -94
- package/dist/es2017/core/decrypt/utils/persistent_sessions_store.js +0 -321
- package/dist/es2017/core/decrypt/utils/serializable_bytes.d.ts +0 -44
- package/dist/es2017/core/decrypt/utils/serializable_bytes.js +0 -46
- package/dist/es2017/core/decrypt/utils/server_certificate_store.d.ts +0 -64
- package/dist/es2017/core/decrypt/utils/server_certificate_store.js +0 -112
- package/dist/es2017/core/init/directfile_content_initializer.d.ts +0 -97
- package/dist/es2017/core/init/directfile_content_initializer.js +0 -227
- package/dist/es2017/core/init/index.d.ts +0 -16
- package/dist/es2017/core/init/index.js +0 -16
- package/dist/es2017/core/init/media_source_content_initializer.d.ts +0 -180
- package/dist/es2017/core/init/media_source_content_initializer.js +0 -563
- package/dist/es2017/core/init/types.d.ts +0 -217
- package/dist/es2017/core/init/types.js +0 -30
- package/dist/es2017/core/init/utils/content_time_boundaries_observer.d.ts +0 -192
- package/dist/es2017/core/init/utils/content_time_boundaries_observer.js +0 -469
- package/dist/es2017/core/init/utils/create_media_source.d.ts +0 -37
- package/dist/es2017/core/init/utils/create_media_source.js +0 -112
- package/dist/es2017/core/init/utils/create_stream_playback_observer.d.ts +0 -45
- package/dist/es2017/core/init/utils/create_stream_playback_observer.js +0 -85
- package/dist/es2017/core/init/utils/end_of_stream.d.ts +0 -33
- package/dist/es2017/core/init/utils/end_of_stream.js +0 -88
- package/dist/es2017/core/init/utils/get_initial_time.d.ts +0 -76
- package/dist/es2017/core/init/utils/get_initial_time.js +0 -112
- package/dist/es2017/core/init/utils/get_loaded_reference.d.ts +0 -28
- package/dist/es2017/core/init/utils/get_loaded_reference.js +0 -56
- package/dist/es2017/core/init/utils/initial_seek_and_play.d.ts +0 -63
- package/dist/es2017/core/init/utils/initial_seek_and_play.js +0 -128
- package/dist/es2017/core/init/utils/initialize_content_decryption.d.ts +0 -80
- package/dist/es2017/core/init/utils/initialize_content_decryption.js +0 -104
- package/dist/es2017/core/init/utils/media_source_duration_updater.d.ts +0 -58
- package/dist/es2017/core/init/utils/media_source_duration_updater.js +0 -263
- package/dist/es2017/core/init/utils/rebuffering_controller.d.ts +0 -147
- package/dist/es2017/core/init/utils/rebuffering_controller.js +0 -541
- package/dist/es2017/core/init/utils/stream_events_emitter/are_same_stream_events.d.ts +0 -39
- package/dist/es2017/core/init/utils/stream_events_emitter/are_same_stream_events.js +0 -35
- package/dist/es2017/core/init/utils/stream_events_emitter/index.d.ts +0 -18
- package/dist/es2017/core/init/utils/stream_events_emitter/index.js +0 -17
- package/dist/es2017/core/init/utils/stream_events_emitter/refresh_scheduled_events_list.d.ts +0 -25
- package/dist/es2017/core/init/utils/stream_events_emitter/refresh_scheduled_events_list.js +0 -62
- package/dist/es2017/core/init/utils/stream_events_emitter/stream_events_emitter.d.ts +0 -52
- package/dist/es2017/core/init/utils/stream_events_emitter/stream_events_emitter.js +0 -178
- package/dist/es2017/core/init/utils/stream_events_emitter/types.d.ts +0 -41
- package/dist/es2017/core/init/utils/stream_events_emitter/types.js +0 -16
- package/dist/es2017/core/init/utils/throw_on_media_error.d.ts +0 -23
- package/dist/es2017/core/init/utils/throw_on_media_error.js +0 -58
- package/dist/es2017/core/segment_buffers/garbage_collector.d.ts +0 -41
- package/dist/es2017/core/segment_buffers/garbage_collector.js +0 -129
- package/dist/es2017/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.d.ts +0 -182
- package/dist/es2017/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.js +0 -435
- package/dist/es2017/core/segment_buffers/implementations/audio_video/index.d.ts +0 -17
- package/dist/es2017/core/segment_buffers/implementations/audio_video/index.js +0 -17
- package/dist/es2017/core/segment_buffers/implementations/index.d.ts +0 -18
- package/dist/es2017/core/segment_buffers/implementations/index.js +0 -18
- package/dist/es2017/core/segment_buffers/implementations/text/html/html_text_segment_buffer.d.ts +0 -141
- package/dist/es2017/core/segment_buffers/implementations/text/html/html_text_segment_buffer.js +0 -383
- package/dist/es2017/core/segment_buffers/implementations/text/html/index.d.ts +0 -21
- package/dist/es2017/core/segment_buffers/implementations/text/html/index.js +0 -21
- package/dist/es2017/core/segment_buffers/implementations/text/html/parsers.d.ts +0 -30
- package/dist/es2017/core/segment_buffers/implementations/text/html/parsers.js +0 -37
- package/dist/es2017/core/segment_buffers/implementations/text/html/text_track_cues_store.d.ts +0 -79
- package/dist/es2017/core/segment_buffers/implementations/text/html/text_track_cues_store.js +0 -370
- package/dist/es2017/core/segment_buffers/implementations/text/html/types.d.ts +0 -25
- package/dist/es2017/core/segment_buffers/implementations/text/html/types.js +0 -16
- package/dist/es2017/core/segment_buffers/implementations/text/html/update_proportional_elements.d.ts +0 -30
- package/dist/es2017/core/segment_buffers/implementations/text/html/update_proportional_elements.js +0 -77
- package/dist/es2017/core/segment_buffers/implementations/text/html/utils.d.ts +0 -45
- package/dist/es2017/core/segment_buffers/implementations/text/html/utils.js +0 -123
- package/dist/es2017/core/segment_buffers/implementations/text/native/index.d.ts +0 -17
- package/dist/es2017/core/segment_buffers/implementations/text/native/index.js +0 -17
- package/dist/es2017/core/segment_buffers/implementations/text/native/native_text_segment_buffer.d.ts +0 -83
- package/dist/es2017/core/segment_buffers/implementations/text/native/native_text_segment_buffer.js +0 -251
- package/dist/es2017/core/segment_buffers/implementations/text/native/parsers.d.ts +0 -26
- package/dist/es2017/core/segment_buffers/implementations/text/native/parsers.js +0 -37
- package/dist/es2017/core/segment_buffers/implementations/types.d.ts +0 -320
- package/dist/es2017/core/segment_buffers/implementations/types.js +0 -119
- package/dist/es2017/core/segment_buffers/implementations/utils/manual_time_ranges.d.ts +0 -29
- package/dist/es2017/core/segment_buffers/implementations/utils/manual_time_ranges.js +0 -63
- package/dist/es2017/core/segment_buffers/index.d.ts +0 -21
- package/dist/es2017/core/segment_buffers/index.js +0 -21
- package/dist/es2017/core/segment_buffers/inventory/buffered_history.d.ts +0 -89
- package/dist/es2017/core/segment_buffers/inventory/buffered_history.js +0 -90
- package/dist/es2017/core/segment_buffers/inventory/index.d.ts +0 -21
- package/dist/es2017/core/segment_buffers/inventory/index.js +0 -18
- package/dist/es2017/core/segment_buffers/inventory/segment_inventory.d.ts +0 -207
- package/dist/es2017/core/segment_buffers/inventory/segment_inventory.js +0 -822
- package/dist/es2017/core/segment_buffers/inventory/types.d.ts +0 -27
- package/dist/es2017/core/segment_buffers/inventory/types.js +0 -16
- package/dist/es2017/core/segment_buffers/inventory/utils.d.ts +0 -33
- package/dist/es2017/core/segment_buffers/inventory/utils.js +0 -49
- package/dist/es2017/core/segment_buffers/segment_buffers_store.d.ts +0 -180
- package/dist/es2017/core/segment_buffers/segment_buffers_store.js +0 -290
- package/dist/es2017/core/stream/representation/utils/force_garbage_collection.d.ts +0 -29
- package/dist/es2017/core/stream/representation/utils/force_garbage_collection.js +0 -91
- package/dist/es2017/errors/assertion_error.d.ts +0 -31
- package/dist/es2017/errors/assertion_error.js +0 -35
- package/dist/es2017/errors/request_error.d.ts +0 -38
- package/dist/es2017/errors/request_error.js +0 -55
- package/dist/es2017/experimental/features/dash_wasm.d.ts +0 -23
- package/dist/es2017/experimental/features/dash_wasm.js +0 -34
- package/dist/es2017/experimental/features/debug_element.d.ts +0 -8
- package/dist/es2017/experimental/features/debug_element.js +0 -10
- package/dist/es2017/experimental/tools/parseBIFThumbnails/index.js +0 -29
- package/dist/es2017/manifest/adaptation.d.ts +0 -113
- package/dist/es2017/manifest/adaptation.js +0 -212
- package/dist/es2017/manifest/manifest.d.ts +0 -265
- package/dist/es2017/manifest/manifest.js +0 -362
- package/dist/es2017/manifest/period.d.ts +0 -68
- package/dist/es2017/manifest/period.js +0 -131
- package/dist/es2017/manifest/representation.d.ts +0 -251
- package/dist/es2017/manifest/representation.js +0 -288
- package/dist/es2017/manifest/representation_index/index.d.ts +0 -18
- package/dist/es2017/manifest/representation_index/index.js +0 -17
- package/dist/es2017/manifest/representation_index/static.d.ts +0 -101
- package/dist/es2017/manifest/representation_index/static.js +0 -139
- package/dist/es2017/manifest/representation_index/types.d.ts +0 -420
- package/dist/es2017/manifest/representation_index/types.js +0 -16
- package/dist/es2017/manifest/update_period_in_place.d.ts +0 -49
- package/dist/es2017/manifest/update_period_in_place.js +0 -106
- package/dist/es2017/manifest/update_periods.d.ts +0 -47
- package/dist/es2017/manifest/update_periods.js +0 -153
- package/dist/es2017/parsers/manifest/dash/js-parser/index.d.ts +0 -17
- package/dist/es2017/parsers/manifest/dash/js-parser/index.js +0 -17
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.d.ts +0 -23
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.js +0 -311
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.d.ts +0 -23
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/BaseURL.js +0 -30
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.d.ts +0 -22
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.d.ts +0 -21
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.d.ts +0 -23
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/EventStream.js +0 -94
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.d.ts +0 -21
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Initialization.js +0 -39
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.d.ts +0 -21
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/MPD.js +0 -144
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.d.ts +0 -21
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Period.js +0 -112
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.d.ts +0 -21
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/Representation.js +0 -189
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.d.ts +0 -22
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.js +0 -89
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentList.d.ts +0 -21
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.d.ts +0 -23
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.js +0 -73
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.d.ts +0 -21
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.d.ts +0 -23
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.js +0 -49
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.d.ts +0 -187
- package/dist/es2017/parsers/manifest/dash/js-parser/node_parsers/utils.js +0 -306
- package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_document.d.ts +0 -24
- package/dist/es2017/parsers/manifest/dash/js-parser/parse_from_document.js +0 -106
- package/dist/es2017/utils/assert_unreachable.d.ts +0 -40
- package/dist/es2017/utils/assert_unreachable.js +0 -43
- package/dist/es2017/utils/initialization_segment_cache.d.ts +0 -42
- package/dist/es2017/utils/initialization_segment_cache.js +0 -48
- package/dist/rx-player.d.ts +0 -3
- package/dist/rx-player.min.d.ts +0 -3
- package/experimental/features/index.d.ts +0 -16
- package/experimental/features/index.js +0 -16
- package/experimental/index.d.ts +0 -16
- package/experimental/index.js +0 -16
- package/experimental/tools/VideoThumbnailLoader.d.ts +0 -18
- package/experimental/tools/VideoThumbnailLoader.js +0 -18
- package/experimental/tools/createMetaplaylist.d.ts +0 -18
- package/experimental/tools/createMetaplaylist.js +0 -18
- package/experimental/tools/index.d.ts +0 -16
- package/experimental/tools/index.js +0 -16
- package/experimental/tools/mediaCapabilitiesProber.d.ts +0 -18
- package/experimental/tools/mediaCapabilitiesProber.js +0 -18
- package/experimental/tools/parseBIFThumbnails.d.ts +0 -18
- package/experimental/tools/parseBIFThumbnails.js +0 -18
- package/features/index.d.ts +0 -16
- package/features/index.js +0 -16
- package/jest.config.js +0 -33
- package/logger/index.d.ts +0 -17
- package/logger/index.js +0 -17
- package/manifest.mpd +0 -149
- package/minimal/index.d.ts +0 -17
- package/minimal/index.js +0 -17
- package/scripts/README.md +0 -11
- package/scripts/build/generate_build.mjs +0 -194
- package/scripts/build/templates/experimental/features/index.d.ts +0 -16
- package/scripts/build/templates/experimental/features/index.js +0 -16
- package/scripts/build/templates/experimental/index.d.ts +0 -16
- package/scripts/build/templates/experimental/index.js +0 -16
- package/scripts/build/templates/experimental/tools/VideoThumbnailLoader.d.ts +0 -18
- package/scripts/build/templates/experimental/tools/VideoThumbnailLoader.js +0 -18
- package/scripts/build/templates/experimental/tools/createMetaplaylist.d.ts +0 -18
- package/scripts/build/templates/experimental/tools/createMetaplaylist.js +0 -18
- package/scripts/build/templates/experimental/tools/index.d.ts +0 -16
- package/scripts/build/templates/experimental/tools/index.js +0 -16
- package/scripts/build/templates/experimental/tools/mediaCapabilitiesProber.d.ts +0 -18
- package/scripts/build/templates/experimental/tools/mediaCapabilitiesProber.js +0 -18
- package/scripts/build/templates/experimental/tools/parseBIFThumbnails.d.ts +0 -18
- package/scripts/build/templates/experimental/tools/parseBIFThumbnails.js +0 -18
- package/scripts/build/templates/features/index.d.ts +0 -16
- package/scripts/build/templates/features/index.js +0 -16
- package/scripts/build/templates/logger/index.d.ts +0 -17
- package/scripts/build/templates/logger/index.js +0 -17
- package/scripts/build/templates/minimal/index.d.ts +0 -17
- package/scripts/build/templates/minimal/index.js +0 -17
- package/scripts/build/templates/tools/TextTrackRenderer.d.ts +0 -18
- package/scripts/build/templates/tools/TextTrackRenderer.js +0 -18
- package/scripts/build/templates/tools/index.d.ts +0 -16
- package/scripts/build/templates/tools/index.js +0 -16
- package/scripts/build/templates/tools/string-utils.d.ts +0 -18
- package/scripts/build/templates/tools/string-utils.js +0 -18
- package/scripts/build/templates/types/index.d.ts +0 -16
- package/scripts/build/templates/types/index.js +0 -15
- package/scripts/build_demo.mjs +0 -130
- package/scripts/check_nodejs_import_compatibility.js +0 -60
- package/scripts/deploy_new_demo +0 -123
- package/scripts/generate_certificate +0 -19
- package/scripts/generate_demo_list.mjs +0 -110
- package/scripts/generate_documentation_list.mjs +0 -114
- package/scripts/generate_standalone_demo.mjs +0 -109
- package/scripts/launch_static_server.mjs +0 -163
- package/scripts/list-npm-scripts.mjs +0 -207
- package/scripts/run_standalone_demo.mjs +0 -32
- package/scripts/start_demo_web_server.mjs +0 -59
- package/scripts/update-version +0 -40
- package/scripts/update_gh-pages_demo +0 -132
- package/scripts/update_gh-pages_doc +0 -106
- package/scripts/utils/display_webpack_errors.mjs +0 -33
- package/scripts/utils/get_human_readable_hours.mjs +0 -12
- package/scripts/utils/project_root_directory.mjs +0 -4
- package/scripts/wasm-strip.mjs +0 -364
- package/sonar-project.properties +0 -7
- package/src/README.md +0 -137
- package/src/compat/README.md +0 -29
- package/src/compat/__tests__/add_text_track.test.ts +0 -131
- package/src/compat/__tests__/browser_compatibility_types.test.ts +0 -131
- package/src/compat/__tests__/browser_version.test.ts +0 -84
- package/src/compat/__tests__/can_patch_isobmff.test.ts +0 -50
- package/src/compat/__tests__/can_rely_on_video_visibility_and_size.test.ts +0 -78
- package/src/compat/__tests__/can_reuse_media_keys.test.ts +0 -31
- package/src/compat/__tests__/change_source_buffer_type.test.ts +0 -60
- package/src/compat/__tests__/clear_element_src.test.ts +0 -252
- package/src/compat/__tests__/enable_audio_track.test.ts +0 -341
- package/src/compat/__tests__/is_codec_supported.test.ts +0 -78
- package/src/compat/__tests__/is_seeking_approximate.test.ts +0 -48
- package/src/compat/__tests__/is_vtt_cue.test.ts +0 -75
- package/src/compat/__tests__/make_vtt_cue.test.ts +0 -99
- package/src/compat/__tests__/patch_webkit_source_buffer.test.ts +0 -145
- package/src/compat/__tests__/remove_cue.test.ts +0 -229
- package/src/compat/__tests__/should_favour_custom_safari_EME.test.ts +0 -130
- package/src/compat/__tests__/should_reload_media_source_on_decipherability_update.test.ts +0 -50
- package/src/compat/__tests__/should_renew_media_key_system_access.test.ts +0 -55
- package/src/compat/__tests__/should_unset_media_keys.test.ts +0 -53
- package/src/compat/__tests__/should_validate_metadata.test.ts +0 -53
- package/src/compat/__tests__/should_wait_for_data_before_loaded.test.ts +0 -121
- package/src/compat/__tests__/should_wait_for_have_enough_data.test.ts +0 -36
- package/src/compat/add_class_name.ts +0 -41
- package/src/compat/add_text_track.ts +0 -54
- package/src/compat/browser_compatibility_types.ts +0 -208
- package/src/compat/browser_detection.ts +0 -155
- package/src/compat/browser_version.ts +0 -44
- package/src/compat/can_patch_isobmff.ts +0 -30
- package/src/compat/can_rely_on_video_visibility_and_size.ts +0 -52
- package/src/compat/can_reuse_media_keys.ts +0 -20
- package/src/compat/change_source_buffer_type.ts +0 -66
- package/src/compat/clear_element_src.ts +0 -55
- package/src/compat/eme/close_session.ts +0 -111
- package/src/compat/eme/constants.ts +0 -21
- package/src/compat/eme/custom_key_system_access.ts +0 -67
- package/src/compat/eme/custom_media_keys/ie11_media_keys.ts +0 -186
- package/src/compat/eme/custom_media_keys/index.ts +0 -28
- package/src/compat/eme/custom_media_keys/moz_media_keys_constructor.ts +0 -86
- package/src/compat/eme/custom_media_keys/ms_media_keys_constructor.ts +0 -67
- package/src/compat/eme/custom_media_keys/old_webkit_media_keys.ts +0 -235
- package/src/compat/eme/custom_media_keys/types.ts +0 -67
- package/src/compat/eme/custom_media_keys/webkit_media_keys.ts +0 -308
- package/src/compat/eme/custom_media_keys/webkit_media_keys_constructor.ts +0 -48
- package/src/compat/eme/eme-api-implementation.ts +0 -319
- package/src/compat/eme/generate_key_request.ts +0 -162
- package/src/compat/eme/get_init_data.ts +0 -159
- package/src/compat/eme/get_uuid_kid_from_keystatus_kid.ts +0 -37
- package/src/compat/eme/get_webkit_fairplay_initdata.ts +0 -75
- package/src/compat/eme/index.ts +0 -47
- package/src/compat/eme/load_session.ts +0 -67
- package/src/compat/enable_audio_track.ts +0 -33
- package/src/compat/event_listeners.ts +0 -589
- package/src/compat/get_start_date.ts +0 -48
- package/src/compat/global_scope.ts +0 -18
- package/src/compat/has_issues_with_high_media_source_duration.ts +0 -27
- package/src/compat/index.ts +0 -77
- package/src/compat/is_codec_supported.ts +0 -62
- package/src/compat/is_debug_mode_enabled.ts +0 -12
- package/src/compat/is_node.ts +0 -21
- package/src/compat/is_seeking_approximate.ts +0 -32
- package/src/compat/is_vtt_cue.ts +0 -31
- package/src/compat/is_worker.ts +0 -9
- package/src/compat/make_vtt_cue.ts +0 -52
- package/src/compat/on_height_width_change.ts +0 -114
- package/src/compat/patch_webkit_source_buffer.ts +0 -90
- package/src/compat/remove_cue.ts +0 -64
- package/src/compat/should_favour_custom_safari_EME.ts +0 -34
- package/src/compat/should_reload_media_source_on_decipherability_update.ts +0 -32
- package/src/compat/should_renew_media_key_system_access.ts +0 -26
- package/src/compat/should_unset_media_keys.ts +0 -27
- package/src/compat/should_validate_metadata.ts +0 -27
- package/src/compat/should_wait_for_data_before_loaded.ts +0 -35
- package/src/compat/should_wait_for_have_enough_data.ts +0 -17
- package/src/config.ts +0 -33
- package/src/core/README.md +0 -56
- package/src/core/adaptive/README.md +0 -147
- package/src/core/adaptive/__tests__/buffer_based_chooser.test.ts +0 -548
- package/src/core/adaptive/adaptive_representation_selector.ts +0 -817
- package/src/core/adaptive/buffer_based_chooser.ts +0 -265
- package/src/core/adaptive/guess_based_chooser.ts +0 -310
- package/src/core/adaptive/index.ts +0 -45
- package/src/core/adaptive/network_analyzer.ts +0 -421
- package/src/core/adaptive/utils/__tests__/bandwith_estimator.test.ts +0 -134
- package/src/core/adaptive/utils/__tests__/ewma.test.ts +0 -79
- package/src/core/adaptive/utils/__tests__/filter_by_bitrate.test.ts +0 -56
- package/src/core/adaptive/utils/__tests__/filter_by_resolution.test.ts +0 -82
- package/src/core/adaptive/utils/__tests__/get_buffer_levels.test.ts +0 -48
- package/src/core/adaptive/utils/__tests__/select_optimal_representation.test.ts +0 -67
- package/src/core/adaptive/utils/bandwidth_estimator.ts +0 -88
- package/src/core/adaptive/utils/ewma.ts +0 -59
- package/src/core/adaptive/utils/filter_by_bitrate.ts +0 -46
- package/src/core/adaptive/utils/filter_by_resolution.ts +0 -63
- package/src/core/adaptive/utils/get_buffer_levels.ts +0 -50
- package/src/core/adaptive/utils/last_estimate_storage.ts +0 -79
- package/src/core/adaptive/utils/pending_requests_store.ts +0 -157
- package/src/core/adaptive/utils/representation_score_calculator.ts +0 -168
- package/src/core/adaptive/utils/select_optimal_representation.ts +0 -43
- package/src/core/api/README.md +0 -36
- package/src/core/api/__tests__/option_utils.test.ts +0 -996
- package/src/core/api/__tests__/public_api.test.ts +0 -470
- package/src/core/api/__tests__/utils.test.ts +0 -195
- package/src/core/api/debug/buffer_graph.ts +0 -244
- package/src/core/api/debug/buffer_size_graph.ts +0 -132
- package/src/core/api/debug/constants.ts +0 -2
- package/src/core/api/debug/index.ts +0 -3
- package/src/core/api/debug/modules/general_info.ts +0 -189
- package/src/core/api/debug/modules/segment_buffer_content.ts +0 -155
- package/src/core/api/debug/modules/segment_buffer_size.ts +0 -48
- package/src/core/api/debug/render.ts +0 -40
- package/src/core/api/debug/utils.ts +0 -103
- package/src/core/api/index.ts +0 -27
- package/src/core/api/option_utils.ts +0 -438
- package/src/core/api/playback_observer.ts +0 -1001
- package/src/core/api/public_api.ts +0 -2908
- package/src/core/api/track_management/README.md +0 -15
- package/src/core/api/track_management/__tests__/media_element_tracks_store.test.ts +0 -184
- package/src/core/api/track_management/index.ts +0 -20
- package/src/core/api/track_management/media_element_tracks_store.ts +0 -806
- package/src/core/api/track_management/track_dispatcher.ts +0 -267
- package/src/core/api/track_management/tracks_store.ts +0 -1380
- package/src/core/api/utils.ts +0 -226
- package/src/core/decrypt/README.md +0 -22
- package/src/core/decrypt/__tests__/__global__/get_license.test.ts +0 -422
- package/src/core/decrypt/__tests__/__global__/init_data.test.ts +0 -677
- package/src/core/decrypt/__tests__/__global__/media_key_system_access.test.ts +0 -644
- package/src/core/decrypt/__tests__/__global__/media_keys.test.ts +0 -343
- package/src/core/decrypt/__tests__/__global__/server_certificate.test.ts +0 -264
- package/src/core/decrypt/__tests__/__global__/utils.ts +0 -491
- package/src/core/decrypt/attach_media_keys.ts +0 -118
- package/src/core/decrypt/clear_on_stop.ts +0 -47
- package/src/core/decrypt/content_decryptor.ts +0 -1246
- package/src/core/decrypt/create_or_load_session.ts +0 -133
- package/src/core/decrypt/create_session.ts +0 -214
- package/src/core/decrypt/dispose_decryption_resources.ts +0 -54
- package/src/core/decrypt/find_key_system.ts +0 -386
- package/src/core/decrypt/get_key_system_configuration.ts +0 -36
- package/src/core/decrypt/get_media_keys.ts +0 -148
- package/src/core/decrypt/index.ts +0 -33
- package/src/core/decrypt/init_media_keys.ts +0 -51
- package/src/core/decrypt/session_events_listener.ts +0 -343
- package/src/core/decrypt/set_server_certificate.ts +0 -105
- package/src/core/decrypt/types.ts +0 -404
- package/src/core/decrypt/utils/__tests__/are_init_values_compatible.test.ts +0 -261
- package/src/core/decrypt/utils/__tests__/clean_old_loaded_sessions.test.ts +0 -158
- package/src/core/decrypt/utils/__tests__/clean_old_stored_persistent_info.test.ts +0 -133
- package/src/core/decrypt/utils/are_init_values_compatible.ts +0 -140
- package/src/core/decrypt/utils/check_key_statuses.ts +0 -229
- package/src/core/decrypt/utils/clean_old_loaded_sessions.ts +0 -45
- package/src/core/decrypt/utils/clean_old_stored_persistent_info.ts +0 -48
- package/src/core/decrypt/utils/get_drm_system_id.ts +0 -42
- package/src/core/decrypt/utils/init_data_values_container.ts +0 -119
- package/src/core/decrypt/utils/is_session_usable.ts +0 -62
- package/src/core/decrypt/utils/key_id_comparison.ts +0 -57
- package/src/core/decrypt/utils/key_session_record.ts +0 -174
- package/src/core/decrypt/utils/loaded_sessions_store.ts +0 -505
- package/src/core/decrypt/utils/media_keys_infos_store.ts +0 -85
- package/src/core/decrypt/utils/persistent_sessions_store.ts +0 -360
- package/src/core/decrypt/utils/serializable_bytes.ts +0 -59
- package/src/core/decrypt/utils/server_certificate_store.ts +0 -133
- package/src/core/fetchers/README.md +0 -84
- package/src/core/fetchers/cdn_prioritizer.ts +0 -207
- package/src/core/fetchers/index.ts +0 -38
- package/src/core/fetchers/manifest/index.ts +0 -28
- package/src/core/fetchers/manifest/manifest_fetcher.ts +0 -792
- package/src/core/fetchers/segment/__tests__/task_prioritizer.test.ts +0 -763
- package/src/core/fetchers/segment/index.ts +0 -28
- package/src/core/fetchers/segment/prioritized_segment_fetcher.ts +0 -113
- package/src/core/fetchers/segment/segment_fetcher.ts +0 -499
- package/src/core/fetchers/segment/segment_fetcher_creator.ts +0 -128
- package/src/core/fetchers/segment/task_prioritizer.ts +0 -455
- package/src/core/fetchers/utils/error_selector.ts +0 -38
- package/src/core/fetchers/utils/schedule_request.ts +0 -442
- package/src/core/init/README.md +0 -81
- package/src/core/init/directfile_content_initializer.ts +0 -310
- package/src/core/init/index.ts +0 -22
- package/src/core/init/media_source_content_initializer.ts +0 -884
- package/src/core/init/types.ts +0 -247
- package/src/core/init/utils/__tests__/are_same_stream_events.test.ts +0 -84
- package/src/core/init/utils/__tests__/refresh_scheduled_events_list.test.ts +0 -94
- package/src/core/init/utils/content_time_boundaries_observer.ts +0 -646
- package/src/core/init/utils/create_media_source.ts +0 -139
- package/src/core/init/utils/create_stream_playback_observer.ts +0 -132
- package/src/core/init/utils/end_of_stream.ts +0 -108
- package/src/core/init/utils/get_initial_time.ts +0 -167
- package/src/core/init/utils/get_loaded_reference.ts +0 -80
- package/src/core/init/utils/initial_seek_and_play.ts +0 -183
- package/src/core/init/utils/initialize_content_decryption.ts +0 -172
- package/src/core/init/utils/media_source_duration_updater.ts +0 -349
- package/src/core/init/utils/rebuffering_controller.ts +0 -756
- package/src/core/init/utils/stream_events_emitter/are_same_stream_events.ts +0 -42
- package/src/core/init/utils/stream_events_emitter/index.ts +0 -22
- package/src/core/init/utils/stream_events_emitter/refresh_scheduled_events_list.ts +0 -74
- package/src/core/init/utils/stream_events_emitter/stream_events_emitter.ts +0 -252
- package/src/core/init/utils/stream_events_emitter/types.ts +0 -46
- package/src/core/init/utils/throw_on_media_error.ts +0 -74
- package/src/core/segment_buffers/README.md +0 -219
- package/src/core/segment_buffers/garbage_collector.ts +0 -177
- package/src/core/segment_buffers/implementations/audio_video/audio_video_segment_buffer.ts +0 -642
- package/src/core/segment_buffers/implementations/audio_video/index.ts +0 -18
- package/src/core/segment_buffers/implementations/index.ts +0 -20
- package/src/core/segment_buffers/implementations/text/html/__tests__/utils.test.ts +0 -343
- package/src/core/segment_buffers/implementations/text/html/html_text_segment_buffer.ts +0 -527
- package/src/core/segment_buffers/implementations/text/html/index.ts +0 -24
- package/src/core/segment_buffers/implementations/text/html/parsers.ts +0 -49
- package/src/core/segment_buffers/implementations/text/html/text_track_cues_store.ts +0 -391
- package/src/core/segment_buffers/implementations/text/html/types.ts +0 -23
- package/src/core/segment_buffers/implementations/text/html/update_proportional_elements.ts +0 -93
- package/src/core/segment_buffers/implementations/text/html/utils.ts +0 -139
- package/src/core/segment_buffers/implementations/text/native/index.ts +0 -19
- package/src/core/segment_buffers/implementations/text/native/native_text_segment_buffer.ts +0 -335
- package/src/core/segment_buffers/implementations/text/native/parsers.ts +0 -47
- package/src/core/segment_buffers/implementations/types.ts +0 -380
- package/src/core/segment_buffers/implementations/utils/manual_time_ranges.ts +0 -80
- package/src/core/segment_buffers/index.ts +0 -70
- package/src/core/segment_buffers/inventory/buffered_history.ts +0 -132
- package/src/core/segment_buffers/inventory/index.ts +0 -32
- package/src/core/segment_buffers/inventory/segment_inventory.ts +0 -1074
- package/src/core/segment_buffers/inventory/types.ts +0 -35
- package/src/core/segment_buffers/inventory/utils.ts +0 -61
- package/src/core/segment_buffers/segment_buffers_store.ts +0 -369
- package/src/core/stream/README.md +0 -59
- package/src/core/stream/adaptation/adaptation_stream.ts +0 -438
- package/src/core/stream/adaptation/get_representations_switch_strategy.ts +0 -194
- package/src/core/stream/adaptation/index.ts +0 -20
- package/src/core/stream/adaptation/types.ts +0 -229
- package/src/core/stream/index.ts +0 -40
- package/src/core/stream/orchestrator/README.md +0 -346
- package/src/core/stream/orchestrator/get_time_ranges_for_content.ts +0 -70
- package/src/core/stream/orchestrator/index.ts +0 -30
- package/src/core/stream/orchestrator/stream_orchestrator.ts +0 -731
- package/src/core/stream/period/index.ts +0 -20
- package/src/core/stream/period/period_stream.ts +0 -502
- package/src/core/stream/period/types.ts +0 -126
- package/src/core/stream/period/utils/get_adaptation_switch_strategy.ts +0 -242
- package/src/core/stream/representation/README.md +0 -16
- package/src/core/stream/representation/index.ts +0 -20
- package/src/core/stream/representation/representation_stream.ts +0 -482
- package/src/core/stream/representation/types.ts +0 -308
- package/src/core/stream/representation/utils/append_segment_to_buffer.ts +0 -77
- package/src/core/stream/representation/utils/check_for_discontinuity.ts +0 -305
- package/src/core/stream/representation/utils/downloading_queue.ts +0 -603
- package/src/core/stream/representation/utils/force_garbage_collection.ts +0 -113
- package/src/core/stream/representation/utils/get_buffer_status.ts +0 -320
- package/src/core/stream/representation/utils/get_needed_segments.ts +0 -617
- package/src/core/stream/representation/utils/get_segment_priority.ts +0 -43
- package/src/core/stream/representation/utils/push_init_segment.ts +0 -84
- package/src/core/stream/representation/utils/push_media_segment.ts +0 -113
- package/src/default_config.ts +0 -1200
- package/src/errors/README.md +0 -6
- package/src/errors/__tests__/assertion_error.test.ts +0 -26
- package/src/errors/__tests__/encrypted_media_error.test.ts +0 -45
- package/src/errors/__tests__/error_message.test.ts +0 -23
- package/src/errors/__tests__/format_error.test.ts +0 -62
- package/src/errors/__tests__/is_known_error.test.ts +0 -61
- package/src/errors/__tests__/media_error.test.ts +0 -55
- package/src/errors/__tests__/network_error.test.ts +0 -72
- package/src/errors/__tests__/other_error.test.ts +0 -53
- package/src/errors/__tests__/request_error.test.ts +0 -29
- package/src/errors/assertion_error.ts +0 -40
- package/src/errors/custom_loader_error.ts +0 -52
- package/src/errors/encrypted_media_error.ts +0 -73
- package/src/errors/error_codes.ts +0 -149
- package/src/errors/error_message.ts +0 -25
- package/src/errors/format_error.ts +0 -39
- package/src/errors/index.ts +0 -52
- package/src/errors/is_known_error.ts +0 -35
- package/src/errors/media_error.ts +0 -124
- package/src/errors/network_error.ts +0 -72
- package/src/errors/other_error.ts +0 -50
- package/src/errors/request_error.ts +0 -70
- package/src/experimental/README.md +0 -20
- package/src/experimental/features/__tests__/dash_wasm.test.ts +0 -44
- package/src/experimental/features/__tests__/debug_element.test.ts +0 -12
- package/src/experimental/features/__tests__/index.test.ts +0 -19
- package/src/experimental/features/__tests__/local.test.ts +0 -35
- package/src/experimental/features/__tests__/metaplaylist.test.ts +0 -35
- package/src/experimental/features/dash_wasm.ts +0 -41
- package/src/experimental/features/debug_element.ts +0 -13
- package/src/experimental/features/index.ts +0 -20
- package/src/experimental/features/local.ts +0 -28
- package/src/experimental/features/metaplaylist.ts +0 -28
- package/src/experimental/index.ts +0 -5
- package/src/experimental/tools/VideoThumbnailLoader/features/dash.ts +0 -23
- package/src/experimental/tools/VideoThumbnailLoader/features/metaplaylist.ts +0 -23
- package/src/experimental/tools/VideoThumbnailLoader/index.ts +0 -25
- package/src/experimental/tools/VideoThumbnailLoader/load_and_push_segment.ts +0 -77
- package/src/experimental/tools/VideoThumbnailLoader/prepare_source_buffer.ts +0 -75
- package/src/experimental/tools/VideoThumbnailLoader/remove_buffer_around_time.ts +0 -54
- package/src/experimental/tools/VideoThumbnailLoader/types.ts +0 -39
- package/src/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.ts +0 -425
- package/src/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader_error.ts +0 -34
- package/src/experimental/tools/createMetaplaylist/get_duration_from_manifest.ts +0 -143
- package/src/experimental/tools/createMetaplaylist/index.ts +0 -72
- package/src/experimental/tools/index.ts +0 -27
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/capabilities.test.ts +0 -37
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/DRMInfos.test.ts +0 -140
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/HDCPPolicy.test.ts +0 -153
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/decodingInfos.test.ts +0 -405
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/defaultCodecFinder.test.ts +0 -136
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/mediaContentType.test.ts +0 -294
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/mediaDisplayInfos.test.ts +0 -190
- package/src/experimental/tools/mediaCapabilitiesProber/__tests__/utils.test.ts +0 -361
- package/src/experimental/tools/mediaCapabilitiesProber/api/index.ts +0 -184
- package/src/experimental/tools/mediaCapabilitiesProber/api/probeMediaConfiguration.ts +0 -136
- package/src/experimental/tools/mediaCapabilitiesProber/capabilities.ts +0 -169
- package/src/experimental/tools/mediaCapabilitiesProber/index.ts +0 -18
- package/src/experimental/tools/mediaCapabilitiesProber/log.ts +0 -21
- package/src/experimental/tools/mediaCapabilitiesProber/probers/DRMInfos.ts +0 -67
- package/src/experimental/tools/mediaCapabilitiesProber/probers/HDCPPolicy.ts +0 -89
- package/src/experimental/tools/mediaCapabilitiesProber/probers/decodingInfo.ts +0 -100
- package/src/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.ts +0 -66
- package/src/experimental/tools/mediaCapabilitiesProber/probers/index.ts +0 -44
- package/src/experimental/tools/mediaCapabilitiesProber/probers/mediaContentType.ts +0 -66
- package/src/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/format.ts +0 -100
- package/src/experimental/tools/mediaCapabilitiesProber/probers/mediaContentTypeWithFeatures/index.ts +0 -106
- package/src/experimental/tools/mediaCapabilitiesProber/probers/mediaDisplayInfos.ts +0 -55
- package/src/experimental/tools/mediaCapabilitiesProber/types.ts +0 -75
- package/src/experimental/tools/mediaCapabilitiesProber/utils.ts +0 -107
- package/src/experimental/tools/parseBIFThumbnails/index.ts +0 -39
- package/src/features/README.md +0 -11
- package/src/features/__tests__/add_features.test.ts +0 -69
- package/src/features/add_features.ts +0 -37
- package/src/features/features_object.ts +0 -35
- package/src/features/index.ts +0 -40
- package/src/features/list/__tests__/dash.test.ts +0 -41
- package/src/features/list/__tests__/directfile.test.ts +0 -35
- package/src/features/list/__tests__/eme.test.ts +0 -28
- package/src/features/list/__tests__/html_sami_parser.test.ts +0 -33
- package/src/features/list/__tests__/html_srt_parser.test.ts +0 -33
- package/src/features/list/__tests__/html_text_buffer.test.ts +0 -29
- package/src/features/list/__tests__/html_ttml_parser.test.ts +0 -33
- package/src/features/list/__tests__/html_vtt_parser.test.ts +0 -33
- package/src/features/list/__tests__/index.test.ts +0 -49
- package/src/features/list/__tests__/native_sami_parser.test.ts +0 -33
- package/src/features/list/__tests__/native_srt_parser.test.ts +0 -33
- package/src/features/list/__tests__/native_text_buffer.test.ts +0 -29
- package/src/features/list/__tests__/native_ttml_parser.test.ts +0 -33
- package/src/features/list/__tests__/native_vtt_parser.test.ts +0 -33
- package/src/features/list/__tests__/smooth.test.ts +0 -36
- package/src/features/list/dash.ts +0 -36
- package/src/features/list/directfile.ts +0 -33
- package/src/features/list/eme.ts +0 -29
- package/src/features/list/html_sami_parser.ts +0 -31
- package/src/features/list/html_srt_parser.ts +0 -31
- package/src/features/list/html_text_buffer.ts +0 -29
- package/src/features/list/html_ttml_parser.ts +0 -31
- package/src/features/list/html_vtt_parser.ts +0 -31
- package/src/features/list/index.ts +0 -30
- package/src/features/list/native_sami_parser.ts +0 -32
- package/src/features/list/native_srt_parser.ts +0 -32
- package/src/features/list/native_text_buffer.ts +0 -30
- package/src/features/list/native_ttml_parser.ts +0 -32
- package/src/features/list/native_vtt_parser.ts +0 -32
- package/src/features/list/smooth.ts +0 -32
- package/src/features/types.ts +0 -156
- package/src/globals.dev.d.ts +0 -15
- package/src/globals.prod.d.ts +0 -15
- package/src/index.ts +0 -60
- package/src/log.ts +0 -22
- package/src/manifest/README.md +0 -55
- package/src/manifest/__tests__/adaptation.test.ts +0 -448
- package/src/manifest/__tests__/manifest.test.ts +0 -487
- package/src/manifest/__tests__/period.test.ts +0 -799
- package/src/manifest/__tests__/representation.test.ts +0 -297
- package/src/manifest/__tests__/update_period_in_place.test.ts +0 -1074
- package/src/manifest/__tests__/update_periods.test.ts +0 -845
- package/src/manifest/adaptation.ts +0 -307
- package/src/manifest/index.ts +0 -59
- package/src/manifest/manifest.ts +0 -650
- package/src/manifest/period.ts +0 -188
- package/src/manifest/representation.ts +0 -479
- package/src/manifest/representation_index/__tests__/static.test.ts +0 -74
- package/src/manifest/representation_index/index.ts +0 -29
- package/src/manifest/representation_index/static.ts +0 -166
- package/src/manifest/representation_index/types.ts +0 -458
- package/src/manifest/types.ts +0 -30
- package/src/manifest/update_period_in_place.ts +0 -142
- package/src/manifest/update_periods.ts +0 -201
- package/src/manifest/utils.ts +0 -60
- package/src/minimal.ts +0 -34
- package/src/parsers/README.md +0 -12
- package/src/parsers/containers/isobmff/constants.ts +0 -24
- package/src/parsers/containers/isobmff/create_box.ts +0 -81
- package/src/parsers/containers/isobmff/drm/index.ts +0 -17
- package/src/parsers/containers/isobmff/drm/playready.ts +0 -45
- package/src/parsers/containers/isobmff/get_box.ts +0 -278
- package/src/parsers/containers/isobmff/index.ts +0 -51
- package/src/parsers/containers/isobmff/read.ts +0 -105
- package/src/parsers/containers/isobmff/take_pssh_out.ts +0 -101
- package/src/parsers/containers/isobmff/utils.ts +0 -555
- package/src/parsers/containers/matroska/index.ts +0 -21
- package/src/parsers/containers/matroska/utils.ts +0 -313
- package/src/parsers/images/bif.ts +0 -128
- package/src/parsers/manifest/dash/common/__tests__/attach_trickmode_track.test.ts +0 -65
- package/src/parsers/manifest/dash/common/__tests__/convert_supplemental_codecs.test.ts +0 -37
- package/src/parsers/manifest/dash/common/__tests__/flatten_overlapping_period.test.ts +0 -162
- package/src/parsers/manifest/dash/common/__tests__/get_clock_offset.test.ts +0 -66
- package/src/parsers/manifest/dash/common/__tests__/get_http_utc-timing_url.test.ts +0 -165
- package/src/parsers/manifest/dash/common/__tests__/get_periods_time_infos.test.ts +0 -118
- package/src/parsers/manifest/dash/common/__tests__/manifest_bounds_calculator.test.ts +0 -290
- package/src/parsers/manifest/dash/common/__tests__/parse_availability_start_time.test.ts +0 -63
- package/src/parsers/manifest/dash/common/attach_trickmode_track.ts +0 -55
- package/src/parsers/manifest/dash/common/convert_supplemental_codecs.ts +0 -32
- package/src/parsers/manifest/dash/common/flatten_overlapping_periods.ts +0 -87
- package/src/parsers/manifest/dash/common/get_clock_offset.ts +0 -42
- package/src/parsers/manifest/dash/common/get_hdr_information.ts +0 -94
- package/src/parsers/manifest/dash/common/get_http_utc-timing_url.ts +0 -46
- package/src/parsers/manifest/dash/common/get_minimum_and_maximum_positions.ts +0 -39
- package/src/parsers/manifest/dash/common/get_periods_time_infos.ts +0 -91
- package/src/parsers/manifest/dash/common/index.ts +0 -40
- package/src/parsers/manifest/dash/common/indexes/__tests__/tokens.test.ts +0 -60
- package/src/parsers/manifest/dash/common/indexes/base.ts +0 -435
- package/src/parsers/manifest/dash/common/indexes/get_init_segment.ts +0 -55
- package/src/parsers/manifest/dash/common/indexes/get_segments_from_timeline.ts +0 -148
- package/src/parsers/manifest/dash/common/indexes/index.ts +0 -39
- package/src/parsers/manifest/dash/common/indexes/list.ts +0 -346
- package/src/parsers/manifest/dash/common/indexes/template.ts +0 -661
- package/src/parsers/manifest/dash/common/indexes/timeline/__tests__/parse_s_element.test.ts +0 -115
- package/src/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_elements.ts +0 -54
- package/src/parsers/manifest/dash/common/indexes/timeline/construct_timeline_from_previous_timeline.ts +0 -102
- package/src/parsers/manifest/dash/common/indexes/timeline/convert_element_to_index_segment.ts +0 -66
- package/src/parsers/manifest/dash/common/indexes/timeline/find_first_common_start_time.ts +0 -153
- package/src/parsers/manifest/dash/common/indexes/timeline/index.ts +0 -21
- package/src/parsers/manifest/dash/common/indexes/timeline/parse_s_element.ts +0 -72
- package/src/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.ts +0 -1060
- package/src/parsers/manifest/dash/common/indexes/tokens.ts +0 -127
- package/src/parsers/manifest/dash/common/indexes/utils.ts +0 -32
- package/src/parsers/manifest/dash/common/infer_adaptation_type.ts +0 -136
- package/src/parsers/manifest/dash/common/manifest_bounds_calculator.ts +0 -171
- package/src/parsers/manifest/dash/common/parse_adaptation_sets.ts +0 -568
- package/src/parsers/manifest/dash/common/parse_availability_start_time.ts +0 -35
- package/src/parsers/manifest/dash/common/parse_mpd.ts +0 -400
- package/src/parsers/manifest/dash/common/parse_periods.ts +0 -369
- package/src/parsers/manifest/dash/common/parse_representation_index.ts +0 -199
- package/src/parsers/manifest/dash/common/parse_representations.ts +0 -352
- package/src/parsers/manifest/dash/common/resolve_base_urls.ts +0 -58
- package/src/parsers/manifest/dash/index.ts +0 -22
- package/src/parsers/manifest/dash/js-parser/__tests__/parse_from_document.test.ts +0 -43
- package/src/parsers/manifest/dash/js-parser/index.ts +0 -18
- package/src/parsers/manifest/dash/js-parser/node_parsers/AdaptationSet.ts +0 -387
- package/src/parsers/manifest/dash/js-parser/node_parsers/BaseURL.ts +0 -35
- package/src/parsers/manifest/dash/js-parser/node_parsers/ContentComponent.ts +0 -49
- package/src/parsers/manifest/dash/js-parser/node_parsers/ContentProtection.ts +0 -94
- package/src/parsers/manifest/dash/js-parser/node_parsers/EventStream.ts +0 -117
- package/src/parsers/manifest/dash/js-parser/node_parsers/Initialization.ts +0 -48
- package/src/parsers/manifest/dash/js-parser/node_parsers/MPD.ts +0 -180
- package/src/parsers/manifest/dash/js-parser/node_parsers/Period.ts +0 -152
- package/src/parsers/manifest/dash/js-parser/node_parsers/Representation.ts +0 -237
- package/src/parsers/manifest/dash/js-parser/node_parsers/SegmentBase.ts +0 -112
- package/src/parsers/manifest/dash/js-parser/node_parsers/SegmentList.ts +0 -50
- package/src/parsers/manifest/dash/js-parser/node_parsers/SegmentTemplate.ts +0 -98
- package/src/parsers/manifest/dash/js-parser/node_parsers/SegmentTimeline.ts +0 -35
- package/src/parsers/manifest/dash/js-parser/node_parsers/SegmentURL.ts +0 -63
- package/src/parsers/manifest/dash/js-parser/node_parsers/__tests__/AdaptationSet.test.ts +0 -573
- package/src/parsers/manifest/dash/js-parser/node_parsers/__tests__/ContentComponent.test.ts +0 -67
- package/src/parsers/manifest/dash/js-parser/node_parsers/__tests__/ContentProtection.test.ts +0 -223
- package/src/parsers/manifest/dash/js-parser/node_parsers/__tests__/Initialization.test.ts +0 -139
- package/src/parsers/manifest/dash/js-parser/node_parsers/__tests__/SegmentTimeline.test.ts +0 -119
- package/src/parsers/manifest/dash/js-parser/node_parsers/__tests__/SegmentURL.test.ts +0 -205
- package/src/parsers/manifest/dash/js-parser/node_parsers/__tests__/utils.test.ts +0 -218
- package/src/parsers/manifest/dash/js-parser/node_parsers/utils.ts +0 -404
- package/src/parsers/manifest/dash/js-parser/parse_from_document.ts +0 -129
- package/src/parsers/manifest/dash/node_parser_types.ts +0 -431
- package/src/parsers/manifest/dash/parsers_types.ts +0 -91
- package/src/parsers/manifest/dash/wasm-parser/Cargo.lock +0 -25
- package/src/parsers/manifest/dash/wasm-parser/Cargo.toml +0 -16
- package/src/parsers/manifest/dash/wasm-parser/README.md +0 -267
- package/src/parsers/manifest/dash/wasm-parser/index.ts +0 -21
- package/src/parsers/manifest/dash/wasm-parser/rs/errors.rs +0 -28
- package/src/parsers/manifest/dash/wasm-parser/rs/events.rs +0 -383
- package/src/parsers/manifest/dash/wasm-parser/rs/lib.rs +0 -85
- package/src/parsers/manifest/dash/wasm-parser/rs/processor/attributes.rs +0 -414
- package/src/parsers/manifest/dash/wasm-parser/rs/processor/mod.rs +0 -472
- package/src/parsers/manifest/dash/wasm-parser/rs/processor/s_element.rs +0 -72
- package/src/parsers/manifest/dash/wasm-parser/rs/reader.rs +0 -17
- package/src/parsers/manifest/dash/wasm-parser/rs/reportable.rs +0 -147
- package/src/parsers/manifest/dash/wasm-parser/rs/utils.rs +0 -266
- package/src/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.ts +0 -478
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.ts +0 -340
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/BaseURL.ts +0 -38
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/ContentComponent.ts +0 -53
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/ContentProtection.ts +0 -62
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/EventStream.ts +0 -144
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/MPD.ts +0 -183
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/Period.ts +0 -180
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/Representation.ts +0 -214
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/Scheme.ts +0 -44
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/SegmentBase.ts +0 -115
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/SegmentList.ts +0 -61
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/SegmentTemplate.ts +0 -133
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/SegmentUrl.ts +0 -70
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/XLink.ts +0 -66
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/index.ts +0 -17
- package/src/parsers/manifest/dash/wasm-parser/ts/generators/root.ts +0 -66
- package/src/parsers/manifest/dash/wasm-parser/ts/parsers_stack.ts +0 -80
- package/src/parsers/manifest/dash/wasm-parser/ts/types.ts +0 -298
- package/src/parsers/manifest/dash/wasm-parser/ts/utils.ts +0 -47
- package/src/parsers/manifest/index.ts +0 -17
- package/src/parsers/manifest/local/index.ts +0 -25
- package/src/parsers/manifest/local/parse_local_manifest.ts +0 -165
- package/src/parsers/manifest/local/representation_index.ts +0 -254
- package/src/parsers/manifest/local/types.ts +0 -291
- package/src/parsers/manifest/metaplaylist/index.ts +0 -28
- package/src/parsers/manifest/metaplaylist/metaplaylist_parser.ts +0 -336
- package/src/parsers/manifest/metaplaylist/representation_index.ts +0 -272
- package/src/parsers/manifest/smooth/create_parser.ts +0 -690
- package/src/parsers/manifest/smooth/get_codecs.ts +0 -55
- package/src/parsers/manifest/smooth/index.ts +0 -26
- package/src/parsers/manifest/smooth/parse_C_nodes.ts +0 -69
- package/src/parsers/manifest/smooth/parse_protection_node.ts +0 -72
- package/src/parsers/manifest/smooth/representation_index.ts +0 -563
- package/src/parsers/manifest/smooth/shared_smooth_segment_timeline.ts +0 -242
- package/src/parsers/manifest/smooth/utils/add_segment_infos.ts +0 -75
- package/src/parsers/manifest/smooth/utils/parseBoolean.ts +0 -31
- package/src/parsers/manifest/smooth/utils/reduceChildren.ts +0 -36
- package/src/parsers/manifest/smooth/utils/tokens.ts +0 -46
- package/src/parsers/manifest/types.ts +0 -394
- package/src/parsers/manifest/utils/__tests__/get_first_time_from_adaptations.test.ts +0 -163
- package/src/parsers/manifest/utils/__tests__/get_last_time_from_adaptation.test.ts +0 -163
- package/src/parsers/manifest/utils/__tests__/index_helpers.test.ts +0 -55
- package/src/parsers/manifest/utils/__tests__/update_segment_timeline.test.ts +0 -545
- package/src/parsers/manifest/utils/check_manifest_ids.ts +0 -83
- package/src/parsers/manifest/utils/clear_timeline_from_position.ts +0 -74
- package/src/parsers/manifest/utils/get_first_time_from_adaptation.ts +0 -48
- package/src/parsers/manifest/utils/get_last_time_from_adaptation.ts +0 -50
- package/src/parsers/manifest/utils/get_maximum_positions.ts +0 -87
- package/src/parsers/manifest/utils/get_minimum_position.ts +0 -80
- package/src/parsers/manifest/utils/index_helpers.ts +0 -204
- package/src/parsers/manifest/utils/update_segment_timeline.ts +0 -141
- package/src/parsers/texttracks/index.ts +0 -21
- package/src/parsers/texttracks/sami/html.ts +0 -219
- package/src/parsers/texttracks/sami/native.ts +0 -192
- package/src/parsers/texttracks/srt/__tests__/find_end_of_cue_block.test.ts +0 -99
- package/src/parsers/texttracks/srt/__tests__/get_cue_blocks.test.ts +0 -119
- package/src/parsers/texttracks/srt/__tests__/parse_cue.test.ts +0 -123
- package/src/parsers/texttracks/srt/__tests__/parse_timestamp.test.ts +0 -36
- package/src/parsers/texttracks/srt/find_end_of_cue_block.ts +0 -46
- package/src/parsers/texttracks/srt/get_cue_blocks.ts +0 -49
- package/src/parsers/texttracks/srt/html.ts +0 -182
- package/src/parsers/texttracks/srt/native.ts +0 -74
- package/src/parsers/texttracks/srt/parse_cue.ts +0 -76
- package/src/parsers/texttracks/srt/parse_timestamp.ts +0 -37
- package/src/parsers/texttracks/ttml/__tests__/resolve_styles_inheritance.test.ts +0 -248
- package/src/parsers/texttracks/ttml/get_parameters.ts +0 -106
- package/src/parsers/texttracks/ttml/get_styling.ts +0 -146
- package/src/parsers/texttracks/ttml/get_time_delimiters.ts +0 -49
- package/src/parsers/texttracks/ttml/html/__tests__/__global__/html_ttml_parser.test.test.ts +0 -191
- package/src/parsers/texttracks/ttml/html/__tests__/generate_css_test_outline.test.ts +0 -32
- package/src/parsers/texttracks/ttml/html/__tests__/ttml_color_to_css_color.test.ts +0 -62
- package/src/parsers/texttracks/ttml/html/apply_default_ttml_paragraph_style.ts +0 -67
- package/src/parsers/texttracks/ttml/html/apply_extent.ts +0 -65
- package/src/parsers/texttracks/ttml/html/apply_font_size.ts +0 -62
- package/src/parsers/texttracks/ttml/html/apply_line_height.ts +0 -48
- package/src/parsers/texttracks/ttml/html/apply_origin.ts +0 -64
- package/src/parsers/texttracks/ttml/html/apply_padding.ts +0 -141
- package/src/parsers/texttracks/ttml/html/create_element.ts +0 -549
- package/src/parsers/texttracks/ttml/html/generate_css_test_outline.ts +0 -46
- package/src/parsers/texttracks/ttml/html/index.ts +0 -23
- package/src/parsers/texttracks/ttml/html/parse_cue.ts +0 -65
- package/src/parsers/texttracks/ttml/html/parse_ttml_to_div.ts +0 -58
- package/src/parsers/texttracks/ttml/html/ttml_color_to_css_color.ts +0 -68
- package/src/parsers/texttracks/ttml/native/index.ts +0 -23
- package/src/parsers/texttracks/ttml/native/parse_cue.ts +0 -245
- package/src/parsers/texttracks/ttml/native/parse_ttml_to_vtt.ts +0 -39
- package/src/parsers/texttracks/ttml/parse_ttml.ts +0 -206
- package/src/parsers/texttracks/ttml/regexps.ts +0 -65
- package/src/parsers/texttracks/ttml/resolve_styles_inheritance.ts +0 -84
- package/src/parsers/texttracks/ttml/time_parsing.ts +0 -156
- package/src/parsers/texttracks/ttml/xml_utils.ts +0 -166
- package/src/parsers/texttracks/types.ts +0 -34
- package/src/parsers/texttracks/webvtt/__tests__/get_cue_blocks.test.ts +0 -218
- package/src/parsers/texttracks/webvtt/__tests__/get_style_blocks.test.ts +0 -65
- package/src/parsers/texttracks/webvtt/__tests__/parse_cue_block.test.ts +0 -249
- package/src/parsers/texttracks/webvtt/__tests__/parse_timestamp.test.ts +0 -39
- package/src/parsers/texttracks/webvtt/__tests__/utils.test.ts +0 -401
- package/src/parsers/texttracks/webvtt/get_cue_blocks.ts +0 -51
- package/src/parsers/texttracks/webvtt/get_style_blocks.ts +0 -56
- package/src/parsers/texttracks/webvtt/html/__tests__/convert_payload_to_html.test.ts +0 -108
- package/src/parsers/texttracks/webvtt/html/__tests__/create_default_style_elements.test.ts +0 -44
- package/src/parsers/texttracks/webvtt/html/__tests__/create_style_attribute.test.ts +0 -139
- package/src/parsers/texttracks/webvtt/html/__tests__/create_styled_element.test.ts +0 -140
- package/src/parsers/texttracks/webvtt/html/__tests__/parse_style_block.test.ts +0 -345
- package/src/parsers/texttracks/webvtt/html/__tests__/parse_webvtt_to_div.test.ts +0 -181
- package/src/parsers/texttracks/webvtt/html/__tests__/to_html.test.ts +0 -234
- package/src/parsers/texttracks/webvtt/html/convert_payload_to_html.ts +0 -46
- package/src/parsers/texttracks/webvtt/html/create_default_style_elements.ts +0 -26
- package/src/parsers/texttracks/webvtt/html/create_style_attribute.ts +0 -222
- package/src/parsers/texttracks/webvtt/html/create_styled_element.ts +0 -95
- package/src/parsers/texttracks/webvtt/html/index.ts +0 -25
- package/src/parsers/texttracks/webvtt/html/parse_style_block.ts +0 -76
- package/src/parsers/texttracks/webvtt/html/parse_webvtt_to_div.ts +0 -67
- package/src/parsers/texttracks/webvtt/html/to_html.ts +0 -96
- package/src/parsers/texttracks/webvtt/native/index.ts +0 -23
- package/src/parsers/texttracks/webvtt/native/parse_vtt_to_cues.ts +0 -70
- package/src/parsers/texttracks/webvtt/native/set_settings_on_cue.ts +0 -95
- package/src/parsers/texttracks/webvtt/native/to_native_cue.ts +0 -34
- package/src/parsers/texttracks/webvtt/parse_cue_block.ts +0 -128
- package/src/parsers/texttracks/webvtt/parse_timestamp.ts +0 -40
- package/src/parsers/texttracks/webvtt/utils.ts +0 -135
- package/src/public_types.ts +0 -1013
- package/src/tools/README.md +0 -8
- package/src/tools/TextTrackRenderer/index.ts +0 -28
- package/src/tools/TextTrackRenderer/text_track_renderer.ts +0 -108
- package/src/tools/index.ts +0 -20
- package/src/tools/string_utils/index.ts +0 -24
- package/src/transports/README.md +0 -276
- package/src/transports/dash/add_segment_integrity_checks_to_loader.ts +0 -97
- package/src/transports/dash/construct_segment_url.ts +0 -28
- package/src/transports/dash/extract_complete_chunks.ts +0 -66
- package/src/transports/dash/get_events_out_of_emsgs.ts +0 -105
- package/src/transports/dash/index.ts +0 -23
- package/src/transports/dash/init_segment_loader.ts +0 -119
- package/src/transports/dash/low_latency_segment_loader.ts +0 -87
- package/src/transports/dash/manifest_parser.ts +0 -330
- package/src/transports/dash/pipelines.ts +0 -66
- package/src/transports/dash/segment_loader.ts +0 -255
- package/src/transports/dash/segment_parser.ts +0 -188
- package/src/transports/dash/text_loader.ts +0 -122
- package/src/transports/dash/text_parser.ts +0 -228
- package/src/transports/index.ts +0 -17
- package/src/transports/local/index.ts +0 -18
- package/src/transports/local/pipelines.ts +0 -91
- package/src/transports/local/segment_loader.ts +0 -196
- package/src/transports/local/segment_parser.ts +0 -102
- package/src/transports/local/text_parser.ts +0 -185
- package/src/transports/metaplaylist/README.md +0 -94
- package/src/transports/metaplaylist/index.ts +0 -23
- package/src/transports/metaplaylist/manifest_loader.ts +0 -63
- package/src/transports/metaplaylist/pipelines.ts +0 -381
- package/src/transports/smooth/extract_timings_infos.ts +0 -142
- package/src/transports/smooth/index.ts +0 -23
- package/src/transports/smooth/is_mp4_embedded_track.ts +0 -25
- package/src/transports/smooth/isobmff/__tests__/create_boxes.test.ts +0 -231
- package/src/transports/smooth/isobmff/create_audio_init_segment.ts +0 -84
- package/src/transports/smooth/isobmff/create_boxes.ts +0 -481
- package/src/transports/smooth/isobmff/create_init_segment.ts +0 -100
- package/src/transports/smooth/isobmff/create_traf_box.ts +0 -40
- package/src/transports/smooth/isobmff/create_video_init_segment.ts +0 -78
- package/src/transports/smooth/isobmff/get_aaces_header.ts +0 -62
- package/src/transports/smooth/isobmff/index.ts +0 -32
- package/src/transports/smooth/isobmff/parse_tfrf.ts +0 -57
- package/src/transports/smooth/isobmff/parse_tfxd.ts +0 -38
- package/src/transports/smooth/isobmff/patch_segment.ts +0 -171
- package/src/transports/smooth/pipelines.ts +0 -378
- package/src/transports/smooth/segment_loader.ts +0 -292
- package/src/transports/smooth/utils.ts +0 -45
- package/src/transports/types.ts +0 -820
- package/src/transports/utils/__tests__/byte_range.test.ts +0 -35
- package/src/transports/utils/__tests__/check_isobmff_integrity.test.ts +0 -148
- package/src/transports/utils/__tests__/find_complete_box.test.ts +0 -138
- package/src/transports/utils/__tests__/infer_segment_container.test.ts +0 -80
- package/src/transports/utils/byte_range.ts +0 -25
- package/src/transports/utils/call_custom_manifest_loader.ts +0 -146
- package/src/transports/utils/check_isobmff_integrity.ts +0 -50
- package/src/transports/utils/find_complete_box.ts +0 -63
- package/src/transports/utils/generate_manifest_loader.ts +0 -100
- package/src/transports/utils/get_isobmff_timing_infos.ts +0 -86
- package/src/transports/utils/infer_segment_container.ts +0 -50
- package/src/transports/utils/parse_text_track.ts +0 -170
- package/src/typings/README.md +0 -7
- package/src/utils/README.md +0 -5
- package/src/utils/__tests__/are_arrays_of_numbers_equal.test.ts +0 -86
- package/src/utils/__tests__/are_codecs_compatible.test.ts +0 -88
- package/src/utils/__tests__/array_find.test.ts +0 -113
- package/src/utils/__tests__/array_find_index.test.ts +0 -113
- package/src/utils/__tests__/array_includes.test.ts +0 -151
- package/src/utils/__tests__/assert.test.ts +0 -237
- package/src/utils/__tests__/assert_unreachable.test.ts +0 -40
- package/src/utils/__tests__/base64.test.ts +0 -149
- package/src/utils/__tests__/byte_parsing.test.ts +0 -267
- package/src/utils/__tests__/deep_merge.test.ts +0 -48
- package/src/utils/__tests__/event_emitter.test.ts +0 -579
- package/src/utils/__tests__/flat_map.test.ts +0 -71
- package/src/utils/__tests__/get_fuzzed_delay.test.ts +0 -32
- package/src/utils/__tests__/hash_buffer.test.ts +0 -105
- package/src/utils/__tests__/id_generator.test.ts +0 -83
- package/src/utils/__tests__/initialization_segment_cache.test.ts +0 -245
- package/src/utils/__tests__/is_non_empty_string.test.ts +0 -41
- package/src/utils/__tests__/is_null_or_undefined.test.ts +0 -33
- package/src/utils/__tests__/logger.test.ts +0 -214
- package/src/utils/__tests__/noop.test.ts +0 -23
- package/src/utils/__tests__/object_assign.test.ts +0 -56
- package/src/utils/__tests__/object_values.test.ts +0 -26
- package/src/utils/__tests__/ranges.test.ts +0 -1214
- package/src/utils/__tests__/resolve_url.test.ts +0 -100
- package/src/utils/__tests__/sorted_list.test.ts +0 -335
- package/src/utils/__tests__/starts_with.test.ts +0 -65
- package/src/utils/__tests__/string_parsing.test.ts +0 -267
- package/src/utils/__tests__/warn_once.test.ts +0 -38
- package/src/utils/__tests__/weak_map_memory.test.ts +0 -188
- package/src/utils/are_arrays_of_numbers_equal.ts +0 -39
- package/src/utils/are_codecs_compatible.ts +0 -51
- package/src/utils/array_find.ts +0 -55
- package/src/utils/array_find_index.ts +0 -54
- package/src/utils/array_includes.ts +0 -93
- package/src/utils/assert.ts +0 -65
- package/src/utils/assert_unreachable.ts +0 -45
- package/src/utils/base64.ts +0 -153
- package/src/utils/byte_parsing.ts +0 -256
- package/src/utils/cancellable_sleep.ts +0 -41
- package/src/utils/create_cancellable_promise.ts +0 -69
- package/src/utils/deep_merge.ts +0 -49
- package/src/utils/event_emitter.ts +0 -147
- package/src/utils/flat_map.ts +0 -50
- package/src/utils/get_fuzzed_delay.ts +0 -27
- package/src/utils/hash_buffer.ts +0 -42
- package/src/utils/id_generator.ts +0 -35
- package/src/utils/initialization_segment_cache.ts +0 -68
- package/src/utils/is_non_empty_string.ts +0 -23
- package/src/utils/is_null_or_undefined.ts +0 -27
- package/src/utils/languages/ISO_639-1_to_ISO_639-3.ts +0 -207
- package/src/utils/languages/ISO_639-2_to_ISO_639-3.ts +0 -43
- package/src/utils/languages/__tests__/normalize.test.ts +0 -290
- package/src/utils/languages/index.ts +0 -29
- package/src/utils/languages/normalize.ts +0 -152
- package/src/utils/logger.ts +0 -100
- package/src/utils/monotonic_timestamp.ts +0 -12
- package/src/utils/noop.ts +0 -26
- package/src/utils/object_assign.ts +0 -60
- package/src/utils/object_values.ts +0 -31
- package/src/utils/queue_microtask.ts +0 -7
- package/src/utils/ranges.ts +0 -595
- package/src/utils/reference.ts +0 -390
- package/src/utils/request/fetch.ts +0 -279
- package/src/utils/request/index.ts +0 -38
- package/src/utils/request/xhr.ts +0 -319
- package/src/utils/resolve_url.ts +0 -126
- package/src/utils/retry_promise_with_backoff.ts +0 -95
- package/src/utils/sleep.ts +0 -14
- package/src/utils/slice_uint8array.ts +0 -53
- package/src/utils/sorted_list.ts +0 -240
- package/src/utils/starts_with.ts +0 -42
- package/src/utils/string_parsing.ts +0 -415
- package/src/utils/task_canceller.ts +0 -367
- package/src/utils/warn_once.ts +0 -34
- package/src/utils/weak_map_memory.ts +0 -89
- package/src/utils/wrapInPromise.ts +0 -24
- package/tools/TextTrackRenderer.d.ts +0 -18
- package/tools/TextTrackRenderer.js +0 -18
- package/tools/index.d.ts +0 -16
- package/tools/index.js +0 -16
- package/tools/string-utils.d.ts +0 -18
- package/tools/string-utils.js +0 -18
- package/tsconfig.commonjs.json +0 -9
- package/tsconfig.eslint.json +0 -7
- package/tsconfig.jest.json +0 -15
- package/tsconfig.json +0 -32
- package/types/index.d.ts +0 -16
- package/types/index.js +0 -15
- package/webpack.config.mjs +0 -97
- /package/dist/commonjs/{utils → core/fetchers/segment}/initialization_segment_cache.js +0 -0
- /package/dist/commonjs/core/{segment_buffers → segment_sinks}/implementations/audio_video/index.js +0 -0
- /package/dist/{_esm5.processed/core/segment_buffers → commonjs/core/segment_sinks}/implementations/utils/manual_time_ranges.d.ts +0 -0
- /package/dist/commonjs/core/{segment_buffers → segment_sinks}/implementations/utils/manual_time_ranges.js +0 -0
- /package/dist/commonjs/core/{segment_buffers → segment_sinks}/inventory/buffered_history.js +0 -0
- /package/dist/commonjs/core/{segment_buffers → segment_sinks}/inventory/index.js +0 -0
- /package/dist/commonjs/core/{init/utils/stream_events_emitter → segment_sinks/inventory}/types.js +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/api/debug/buffer_size_graph.d.ts +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/api/debug/constants.d.ts +0 -0
- /package/dist/commonjs/{core → main_thread}/api/debug/constants.js +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/api/debug/index.d.ts +0 -0
- /package/dist/commonjs/{core → main_thread}/api/debug/index.js +0 -0
- /package/dist/commonjs/{core → main_thread}/api/debug/render.js +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/api/debug/utils.d.ts +0 -0
- /package/dist/commonjs/{core → main_thread}/api/debug/utils.js +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/decrypt/clear_on_stop.d.ts +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/decrypt/dispose_decryption_resources.d.ts +0 -0
- /package/dist/commonjs/{core → main_thread}/decrypt/get_key_system_configuration.d.ts +0 -0
- /package/dist/commonjs/{core → main_thread}/decrypt/get_key_system_configuration.js +0 -0
- /package/dist/commonjs/{core → main_thread}/decrypt/index.js +0 -0
- /package/dist/commonjs/{core → main_thread}/decrypt/types.js +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/decrypt/utils/are_init_values_compatible.d.ts +0 -0
- /package/dist/commonjs/{core → main_thread}/decrypt/utils/clean_old_loaded_sessions.js +0 -0
- /package/dist/commonjs/{core → main_thread}/decrypt/utils/clean_old_stored_persistent_info.js +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/decrypt/utils/get_drm_system_id.d.ts +0 -0
- /package/dist/commonjs/{core → main_thread}/decrypt/utils/get_drm_system_id.js +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/decrypt/utils/key_id_comparison.d.ts +0 -0
- /package/dist/commonjs/{core → main_thread}/decrypt/utils/key_id_comparison.js +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/init/index.d.ts +0 -0
- /package/dist/commonjs/{core → main_thread}/init/index.js +0 -0
- /package/dist/{_esm5.processed/core → commonjs/main_thread}/init/utils/stream_events_emitter/are_same_stream_events.d.ts +0 -0
- /package/dist/commonjs/{core → main_thread}/init/utils/stream_events_emitter/index.js +0 -0
- /package/dist/commonjs/{core/segment_buffers/implementations/text/html → main_thread/init/utils/stream_events_emitter}/types.js +0 -0
- /package/dist/commonjs/{core/api/track_management → main_thread/tracks_store}/index.js +0 -0
- /package/dist/commonjs/manifest/{representation_index → classes/representation_index}/index.js +0 -0
- /package/dist/commonjs/{core/segment_buffers/inventory → manifest/classes/representation_index}/types.js +0 -0
- /package/dist/{_esm5.processed/manifest → commonjs/manifest/classes}/types.d.ts +0 -0
- /package/dist/{_esm5.processed/core/init → commonjs/mse}/utils/media_source_duration_updater.d.ts +0 -0
- /package/dist/{_esm5.processed/parsers/manifest/dash/js-parser → commonjs/parsers/manifest/dash/native-parser}/index.d.ts +0 -0
- /package/dist/commonjs/parsers/manifest/dash/{js-parser → native-parser}/index.js +0 -0
- /package/dist/commonjs/parsers/manifest/dash/{js-parser → native-parser}/node_parsers/ContentComponent.js +0 -0
- /package/dist/commonjs/parsers/manifest/dash/{js-parser → native-parser}/node_parsers/ContentProtection.js +0 -0
- /package/dist/commonjs/parsers/manifest/dash/{js-parser → native-parser}/node_parsers/SegmentList.js +0 -0
- /package/dist/commonjs/parsers/manifest/dash/{js-parser → native-parser}/node_parsers/SegmentTimeline.js +0 -0
- /package/dist/commonjs/{experimental/tools → tools}/parseBIFThumbnails/index.d.ts +0 -0
- /package/dist/commonjs/{compat → utils}/is_node.d.ts +0 -0
- /package/dist/commonjs/{compat → utils}/is_node.js +0 -0
- /package/dist/commonjs/{compat → utils}/is_worker.d.ts +0 -0
- /package/dist/commonjs/{compat → utils}/is_worker.js +0 -0
- /package/dist/{commonjs/core/segment_buffers → es2017/core/segment_sinks}/implementations/utils/manual_time_ranges.d.ts +0 -0
- /package/dist/{_esm5.processed/compat/eme/custom_media_keys → es2017/core/segment_sinks/inventory}/types.js +0 -0
- /package/dist/{_esm5.processed/core/stream/adaptation → es2017/core}/types.js +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/api/debug/buffer_size_graph.d.ts +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/api/debug/constants.d.ts +0 -0
- /package/dist/es2017/{core → main_thread}/api/debug/constants.js +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/api/debug/index.d.ts +0 -0
- /package/dist/{_esm5.processed/core → es2017/main_thread}/api/debug/index.js +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/api/debug/utils.d.ts +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/decrypt/clear_on_stop.d.ts +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/decrypt/dispose_decryption_resources.d.ts +0 -0
- /package/dist/es2017/{core → main_thread}/decrypt/get_key_system_configuration.d.ts +0 -0
- /package/dist/es2017/{core → main_thread}/decrypt/get_key_system_configuration.js +0 -0
- /package/dist/{_esm5.processed/core → es2017/main_thread}/decrypt/types.js +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/decrypt/utils/are_init_values_compatible.d.ts +0 -0
- /package/dist/es2017/{core → main_thread}/decrypt/utils/clean_old_loaded_sessions.js +0 -0
- /package/dist/es2017/{core → main_thread}/decrypt/utils/clean_old_stored_persistent_info.js +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/decrypt/utils/get_drm_system_id.d.ts +0 -0
- /package/dist/{_esm5.processed/core → es2017/main_thread}/decrypt/utils/get_drm_system_id.js +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/decrypt/utils/key_id_comparison.d.ts +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/init/index.d.ts +0 -0
- /package/dist/{_esm5.processed/core → es2017/main_thread}/init/index.js +0 -0
- /package/dist/{commonjs/core → es2017/main_thread}/init/utils/stream_events_emitter/are_same_stream_events.d.ts +0 -0
- /package/dist/{_esm5.processed/core → es2017/main_thread}/init/utils/stream_events_emitter/index.js +0 -0
- /package/dist/{_esm5.processed/core → es2017/main_thread}/init/utils/stream_events_emitter/types.js +0 -0
- /package/dist/{_esm5.processed/core/stream/period/types.js → es2017/main_thread/text_displayer/index.js} +0 -0
- /package/dist/{_esm5.processed/core/stream/representation → es2017/main_thread/text_displayer}/types.js +0 -0
- /package/dist/{_esm5.processed/core/api/track_management → es2017/main_thread/tracks_store}/index.js +0 -0
- /package/dist/{_esm5.processed/manifest → es2017/manifest/classes}/representation_index/index.js +0 -0
- /package/dist/{_esm5.processed/core/segment_buffers/implementations/text/html → es2017/manifest/classes/representation_index}/types.js +0 -0
- /package/dist/{_esm5.processed/manifest → es2017/manifest/classes}/types.js +0 -0
- /package/dist/{commonjs/core/init → es2017/mse}/utils/media_source_duration_updater.d.ts +0 -0
- /package/dist/{commonjs/parsers/manifest/dash/js-parser → es2017/parsers/manifest/dash/native-parser}/index.d.ts +0 -0
- /package/dist/{_esm5.processed/parsers/manifest/dash/js-parser → es2017/parsers/manifest/dash/native-parser}/index.js +0 -0
- /package/dist/es2017/parsers/manifest/dash/{js-parser → native-parser}/node_parsers/ContentComponent.js +0 -0
- /package/dist/es2017/parsers/manifest/dash/{js-parser → native-parser}/node_parsers/ContentProtection.js +0 -0
- /package/dist/es2017/parsers/manifest/dash/{js-parser → native-parser}/node_parsers/SegmentList.js +0 -0
- /package/dist/es2017/parsers/manifest/dash/{js-parser → native-parser}/node_parsers/SegmentTimeline.js +0 -0
- /package/dist/es2017/{experimental/tools → tools}/parseBIFThumbnails/index.d.ts +0 -0
- /package/dist/es2017/{compat → utils}/is_node.d.ts +0 -0
- /package/dist/es2017/{compat → utils}/is_node.js +0 -0
- /package/dist/es2017/{compat → utils}/is_worker.d.ts +0 -0
- /package/dist/es2017/{compat → utils}/is_worker.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,1146 +1,1868 @@
|
|
|
1
|
-
|
|
1
|
+
## v4.0.0-rc.2 (2024-02-07)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- MULTI_THREAD: `attachWorker` now returns a Promise to indicate when WebWorker attachment
|
|
6
|
+
failed [#1374]
|
|
7
|
+
|
|
8
|
+
### Bug fixes
|
|
9
|
+
|
|
10
|
+
- dash: Don't unnecessarily reload external `<UTCTiming>` resources at each refresh if it
|
|
11
|
+
failed for the first request of the Manifest [#1370]
|
|
12
|
+
- dash: The `DASH_WASM` feature do not rely on WebAssembly's sign-extension operators
|
|
13
|
+
anymore as that is poorly supported on older Samsung and LG TVs [#1372]
|
|
14
|
+
- MULTI_THREAD: properly categorize forced subtitles in multithread scenarios
|
|
15
|
+
|
|
16
|
+
### Other improvements
|
|
17
|
+
|
|
18
|
+
- build: automatically install Rust and WASM toolchain locally if unavailable when
|
|
19
|
+
building the RxPlayer [#1373]
|
|
20
|
+
- doc: Update our documentation generator and fix all invalid anchors in it
|
|
21
|
+
- npm: prevent the publishing of unnecessary files on the npm registry [#1377, #1378]
|
|
22
|
+
|
|
23
|
+
## v4.0.0-rc.1 (2024-01-24)
|
|
24
|
+
|
|
25
|
+
### Changes
|
|
26
|
+
|
|
27
|
+
- Create `"FREEZING"` player state for cases where the playback position is currently not
|
|
28
|
+
advancing due to an unknown reason, to separate it from regular `"BUFFERING"`. [#1146]
|
|
29
|
+
- The `RELOADING` player state (gettable through the `getPlayerState` and
|
|
30
|
+
`playerStateChange` API) can now happen at any time to unlock playback.
|
|
31
|
+
- Remove bitrate API: `getAvailableVideoBitrates`, `getAvailableAudioBitrates`,
|
|
32
|
+
`setAudioBitrate`, `setVideoBitrate`, `getAudioBitrate`, `getVideoBitrate` in profit of
|
|
33
|
+
the Representations lock APIs [#1144]
|
|
34
|
+
- Remove max bitrate API: `setMaxVideoBitrate`, `setMaxAudioBitrate`, `getMaxVideoBitrate`
|
|
35
|
+
and `getMaxAudioBitrate` methods as well as the `maxVideoBitrate` and `maxAudioBitrate`
|
|
36
|
+
options in profit of the Representations lock APIs
|
|
37
|
+
- Remove min bitrate API: `setMinVideoBitrate`, `setMinAudioBitrate`, `getMinVideoBitrate`
|
|
38
|
+
and `getMinAudioBitrate` methods as well as the `minVideoBitrate` and `minAudioBitrate`
|
|
39
|
+
options in profit of the Representations lock APIs
|
|
40
|
+
- Remove track preferences API (methods: `getPreferredAudioTracks`,
|
|
41
|
+
`getPreferredVideoTracks`, `setPreferredAudioTracks` and `setPreferredVideoTracks`,
|
|
42
|
+
types: `IAudioTrackPreference`, `ITextTrackPreference` and `IVideoTrackPreference`) in
|
|
43
|
+
profit of the new tracks API
|
|
44
|
+
- Remove `getManualVideoBitrate` and `getManualAudioBitrate` in profit of the new
|
|
45
|
+
Representations lock APIs
|
|
46
|
+
- Replace `initialAudioBitrate` and `initialVideoBitrate` constructor options with a
|
|
47
|
+
single `baseBandwidth` option, which better translates what this option is actually
|
|
48
|
+
doing and allows for future optimizations on our side. [#1155]
|
|
49
|
+
- Rename `audioTrackSwitchingMode` loadVideo option into `defaultAudioTrackSwitchingMode`
|
|
50
|
+
[#1030]
|
|
51
|
+
- Remove `manualBitrateSwitchingMode` loadVideo option to instead rely on the
|
|
52
|
+
`switchingMode` property of each `lockVideoRepresentations` and
|
|
53
|
+
`lockAudioRepresentations` calls. [#1030]
|
|
54
|
+
- Remove `audioBitrateChange` and `videoBitrateChange` events in profit of the new
|
|
55
|
+
`audioRepresentationChange` and `videoRepresentationChange` events
|
|
56
|
+
- Remove `availableAudioBitratesChange` and `availableVideoBitratesChange` events. Those
|
|
57
|
+
are less needed with the new Representations lock API and can be mostly replicated
|
|
58
|
+
through the `audioTrackChange` and `videoTrackChange` events
|
|
59
|
+
- "Flatten" the `transportOptions` loadVideo options by putting all its inner properties
|
|
60
|
+
directly at the top level of loadVideo options, to simplify its documentation and
|
|
61
|
+
discoverability [#1149]
|
|
62
|
+
- Remove `limitVideoWidth` constructor option in profit of the more configurable
|
|
63
|
+
`videoResolutionLimit` constructor option
|
|
64
|
+
- Rename `networkConfig` into `requestConfig` and re-organize its inner properties to pave
|
|
65
|
+
the way for future request-related APIs.
|
|
66
|
+
- Remove `stopAtEnd` `loadVideo` option and don't automatically stop when reaching the end
|
|
67
|
+
by default. This behavior can be counter-intuitive and can be very easily implemented by
|
|
68
|
+
the application.
|
|
69
|
+
- Remove `decipherabilityUpdate` event as it appeared to be not easily exploitable and
|
|
70
|
+
exposed internal logic too much [#1168]
|
|
71
|
+
- Remove `getUrl` method in profit of the more powerful `getContentUrls`
|
|
72
|
+
- Impossibility to play the content due to unsupported audio and/or video tracks now
|
|
73
|
+
triggers an error with the `MANIFEST_INCOMPATIBLE_CODECS_ERROR` instead of
|
|
74
|
+
`MANIFEST_PARSE_ERROR`
|
|
75
|
+
- Remove methods: `getManifest`, `getCurrentAdaptations` and `getCurrentRepresentations`,
|
|
76
|
+
as they reveal the RxPlayer's internals too much
|
|
77
|
+
- The `"smooth"` transport now needs to be communicated the URL of the Manifest directly
|
|
78
|
+
(previously, it was possible to redirect it to a XML or JSON file first due to Canal+
|
|
79
|
+
legacy reasons).
|
|
80
|
+
- Remove the `supplementaryTextTracks` loadVideo option. You can use the
|
|
81
|
+
`TextTrackRenderer` tool if you wish to diplay external subtitles on top of your
|
|
82
|
+
content.
|
|
83
|
+
- Rename `maximumBufferTime` in `positionUpdate` events to `maximumPosition`
|
|
84
|
+
- Remove `getVideoPlayedTime` and `getVideoLoadedTime` methods. Their names was very
|
|
85
|
+
confusing and can be re-implemented relatively easily using the media element's buffered
|
|
86
|
+
property.
|
|
87
|
+
- Rename `getVideoDuration` to `getMediaDuration`, to avoid confusion with the video
|
|
88
|
+
track's duration.
|
|
89
|
+
- Rename `getVideoBufferGap` to `getCurrentBufferGap, to avoid confusion with the "buffer
|
|
90
|
+
gap" specific to the video track.
|
|
91
|
+
- Remove image-related API: `supplementaryImageTracks` `loadVideo` option,
|
|
92
|
+
`imageTrackUpdate` event, `getImageTrackData` method. Those are better handled by an
|
|
93
|
+
application. The `parseBifThumbnails` tool is still available.
|
|
94
|
+
- Replace `keySystems[].licenseStorage` `keySystems` option (for a `loadVideo` call) by
|
|
95
|
+
the better-named `persistentLicenseConfig`. The `persistentLicense` boolean (also a
|
|
96
|
+
`keySystems` option) has also been removed because it was redundant with it) [#1147]
|
|
97
|
+
- Remove `persistentStateRequired` API, in profit of the more powerful `persistentState`
|
|
98
|
+
API [#1148]
|
|
99
|
+
- Remove `distinctiveIdentifierRequired` API, in profit of the more powerful
|
|
100
|
+
`distinctiveIdentifier` API [#1148]
|
|
101
|
+
- Remove `keySystems[].fallbackOn` `loadVideo` property as it's now replaced by the more
|
|
102
|
+
powerful `keySystems[].onKeyOutputRestricted` and `keySystems[].onKeyInternalError`
|
|
103
|
+
properties.
|
|
104
|
+
- Remove `keySystems[].onKeyStatusesChange` API as it seems to never be used [#1148]
|
|
105
|
+
- Remove `keySystems[].throwOnLicenseExpiration` API as it can now be fully replaced by
|
|
106
|
+
the `keySystems[].onKeyExpiration` option
|
|
107
|
+
- Remove `aggressiveMode` from the `transportOptions` `loadVideo` option
|
|
108
|
+
- Remove deprecated `throttleWhenHidden` player option in profit of
|
|
109
|
+
`throttleVideoBitrateWhenHidden`
|
|
110
|
+
- Change payload of `periodChange` events, so they emit only core properties related to a
|
|
111
|
+
`Period`.
|
|
112
|
+
- Change arguments given to a `transportOptions.segmentLoader` function (the `loadVideo`
|
|
113
|
+
option): it now doesn't give the full `Manifest`, `Period`, `Adaptation`,
|
|
114
|
+
`Representation` and `ISegment` structures in arguments but only core properties from it
|
|
115
|
+
[#995]
|
|
116
|
+
- Custom `manifestLoader` function added to what was previously the `loadVideo`'s
|
|
117
|
+
`transportOptions` option now set an object as argument (with an `url`property), to let
|
|
118
|
+
us bring improvements on it in the future [#995]
|
|
119
|
+
- A Representation's `frameRate` is now always a number - in terms of frame per seconds -
|
|
120
|
+
instead of a string.
|
|
121
|
+
- Update the arguments of the `representationFilter` API
|
|
122
|
+
- `Representations` (in methods: `getAvailableVideoTracks`, `getVideoTrack`,
|
|
123
|
+
`representationFilter`, `getAvailableAudioTracks`, `getAudioTrack` and events:
|
|
124
|
+
`audioTrackChange` and `videoTrackChange`) can have an `undefined` bitrate
|
|
125
|
+
- Remove deprecated fullscreen related APIs (methods: `isFullscreen`, `setFullscreen`,
|
|
126
|
+
`exitFullscreen`, event: `fullscreenChange`) as a a UI is much more adapted to that task
|
|
127
|
+
and can also bring with it things like a progress bar or HTML text tracks
|
|
128
|
+
- Remove deprecated `getNativeTextTrack` method. If advanced features are wanted, it's
|
|
129
|
+
better to just use the HTML text track API
|
|
130
|
+
- Remove deprecated `nativeTextTracksChange` event. Same reason than for
|
|
131
|
+
`getNativeTextTrack`
|
|
132
|
+
- Remove deprecated `hideNativeSubtitles` from `loadVideo` options. Same reason than for
|
|
133
|
+
`getNativeTextTrack`
|
|
134
|
+
- Remove `xhr` property from a `NetworkError`. Doing so stop us from using the fetch API
|
|
135
|
+
- Remove deprecated `defaultAudioTrack` and `defaultTextTrack`in profit of new track APIs
|
|
136
|
+
- Remove `bitrateEstimationChange` event as it is poorly understood (it's not always close
|
|
137
|
+
to the expected bandwidth) and has a very complex relationship with the chosen quality.
|
|
138
|
+
- Remove the notion of environment variables linked to personalized builds (e.g. RXP_DASH)
|
|
139
|
+
in profit of the minimal RxPlayer.
|
|
140
|
+
- Rename `IPersistentSessionStorage` type to `IPersistentLicenseConfig` [#1147]
|
|
141
|
+
- Remove undocumented `audioRobustnesses` and `videoRobustnesses` properties of the
|
|
142
|
+
`keySystems` option of `loadVideo` calls, as more powerful solutions now exist:
|
|
143
|
+
respectively `audioCapabilitiesConfig` and `videoCapabilitiesConfig` [#1148]
|
|
144
|
+
- Remove public types `ISupplementaryTextTrackOption` and
|
|
145
|
+
`ISupplementaryImageTrackOption`. Those are the types respectively for
|
|
146
|
+
`supplementaryTextTracks` and `supplementaryImageTracks` which have been removed
|
|
147
|
+
- Remove public types `IBitrateEstimate` as no API depend on it anymore.
|
|
148
|
+
- Remove public types `IManifest`, `IPeriod`, `IAdaptation`, `IRepresentation`,
|
|
149
|
+
`IRepresentationInfos`, `IBifThumbnail`, `IBifObject` and `IExposedSegment` as no API
|
|
150
|
+
depend on them anymore.
|
|
151
|
+
- Remove public types `IDefaultAudioTrackOption` and `IDefaultTextTrackOption`. Those are
|
|
152
|
+
the types respectively for `defaultAudioTrack` and `defaultTextTrack` `loadVideo`
|
|
153
|
+
options which have been removed
|
|
154
|
+
- Remove public types `IAudioTrackPreference`, `ITextTrackPreference` and
|
|
155
|
+
`IVideoTrackPreference` as the corresponding API do not exist anymore.
|
|
156
|
+
- Stop officially supporting the Internet Explorer 11 browser
|
|
157
|
+
- The `MediaError`'s `trackInfo` property is now an array renamed as `tracksInfo` and
|
|
158
|
+
similar `MediaError` are grouped in one [#1264]
|
|
159
|
+
- The `manifestUpdateUrl` `loadVideo` option has been removed as it was unused [#1276]
|
|
160
|
+
- `volumeChange` events are now sending both the audio volume and the muted status [#1348]
|
|
161
|
+
- `mute`/`unMute`/`isMute` now rely on the `HTMLMediaElement`'s `muted` property and not
|
|
162
|
+
the audio volume [#1348]
|
|
163
|
+
- A `representationFilter`'s advertised `codec` has now been renamed to `codecs` and is an
|
|
164
|
+
Array when defined [#1332]
|
|
165
|
+
- `DASH_WASM` and `DEBUG_ELEMENT` are not experimental features anymore [#1339]
|
|
166
|
+
- The `parseBifThumbnails` function is not an experimental tool anymore [#1339]
|
|
167
|
+
- If all Representations from the current track become undecipherable, automatically
|
|
168
|
+
switch to another track (also send a `trackUpdate` event) instead of stopping on error
|
|
169
|
+
[#1234]
|
|
170
|
+
- Only send `MediaError` errors with the `NO_PLAYABLE_REPRESENTATION` error code when no
|
|
171
|
+
Representation from all tracks of a given type can be played [#1234]
|
|
4
172
|
|
|
5
173
|
### Features
|
|
6
174
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
175
|
+
- Add `MULTI_THREAD` experimental feature to enable multithreading capabilities through a
|
|
176
|
+
WebWorker
|
|
177
|
+
- `setAudioTrack`, `setVideoTrack` and `setTextTrack` now may take an object in argument,
|
|
178
|
+
with the track's id set as a `trackId` property, to allow new features
|
|
179
|
+
- Add `switchingMode` optional property to `setVideoTrack` and `setAudioTrack`, to
|
|
180
|
+
configure the way in which the RxPlayer switches between the previous and new track
|
|
181
|
+
- Add optional `periodId` property to `setAudioTrack`, `setVideoTrack` and `setTextTrack`,
|
|
182
|
+
to allow setting the track of another, future or past, Period.
|
|
183
|
+
- `getAvailableAudioTracks`, `getAvailableTextTracks`, `getAvailableVideoTracks`,
|
|
184
|
+
`getAudioTrack`, `getTextTrack` and `getVideoTrack` can now optionally take a `periodId`
|
|
185
|
+
argument to retrieve track information on a specific Period, different than the current
|
|
186
|
+
one.
|
|
187
|
+
- `disableTextTrack`, and`disableVideoTrack` can now optionally take a `periodId` argument
|
|
188
|
+
to disable a track for a specific Period
|
|
189
|
+
- Add optional `lockedRepresentations` property to `setAudioTrack` and `setVideoTrack`, to
|
|
190
|
+
only filter some allowed Representations (i.e. qualities) after switching to the wanted
|
|
191
|
+
track.
|
|
192
|
+
- Add `getCurrentPeriod` method to retrieve information on the Period currently played
|
|
193
|
+
- Add `getAvailablePeriods` method to retrieve information on all Periods on which a track
|
|
194
|
+
or Representation choice can be made
|
|
195
|
+
- Add `lockVideoRepresentations`, `lockAudioRepresentations`,
|
|
196
|
+
`getLockedVideoRepresentations`, `getLockedAudioRepresentations`,
|
|
197
|
+
`unlockVideoRepresentations` and `unlockAudioRepresentations` methods to allow a complex
|
|
198
|
+
selection of Representations that are currently allowed to play.
|
|
199
|
+
- Add `getVideoRepresentation` and `getAudioRepresentation` method to retrieve information
|
|
200
|
+
on the currently loaded representations [#1144]
|
|
201
|
+
- Add `audioRepresentationChange` and `videoRepresentationChange` events to be notified
|
|
202
|
+
when the currently-loaded Representation for the current Period changes.
|
|
203
|
+
- Add `getContentUrls` allowing to retrieve the one or several known URLs through which
|
|
204
|
+
the current Manifest or content is reachable.
|
|
205
|
+
- Add `videoResolutionLimit` constructor option allowing to automatically limit a video
|
|
206
|
+
Representation's resolution.
|
|
207
|
+
- Add `newAvailablePeriods` event to signal new Period on which a track and/or
|
|
208
|
+
Representation choice can be made
|
|
209
|
+
- Add `brokenRepresentationsLock` event for when a Representations lock could not be
|
|
210
|
+
respected anymore
|
|
211
|
+
- Add `trackUpdate` event for when a track has been updated for any type and Period
|
|
212
|
+
- Add `distinctiveIdentifier` property in the `keySystems` option (given to the
|
|
213
|
+
`loadVideo` method) to have full control over the MediaKeySystemConfiguration of the
|
|
214
|
+
same name in the chosen key system [#1148]
|
|
215
|
+
- Add `persistentState` property in the `keySystems` option (given to the `loadVideo`
|
|
216
|
+
method) to have full control over the MediaKeySystemConfiguration of the same name in
|
|
217
|
+
the chosen key system [#1148]
|
|
218
|
+
- Add `keySystems[].onKeyOutputRestricted` and `keySystems[].onKeyInternalError`
|
|
219
|
+
properties to configure the RxPlayer's behavior when a key switches to the status
|
|
220
|
+
respectively `"output-restricted"` and `"internal-error"`
|
|
221
|
+
- Add `audioCapabilitiesConfig` and `videoCapabilitiesConfig` properties in the
|
|
222
|
+
`keySystems` option (given to the `loadVideo` method) to allow advanced configuration of
|
|
223
|
+
respectively the "audioCapabilities" and "videoCapabilities" in the asked
|
|
224
|
+
MediaKeySystemConfiguration [#1148]
|
|
225
|
+
- Add `representationListUpdate` event for when the list of available Representation for a
|
|
226
|
+
current track changes [#1240]
|
|
227
|
+
- add `connectionTimeout` property to the `requestConfig` `loadVideo` option for both the
|
|
228
|
+
manifest and segment requests to set a timeout just linked to HTTP connection
|
|
229
|
+
establishment [#1319]
|
|
230
|
+
- Add `relativeResumingPosition` property to the `setVideoTrack`and `setAudioTrack`
|
|
231
|
+
options [#1331]
|
|
232
|
+
- types: export type `ICompatibleKeySystem` to the public API [#1340]
|
|
233
|
+
- types: Add `ISegmentLoaderContext` public type for the first argument of the
|
|
234
|
+
`segmentLoader` API
|
|
235
|
+
- types: Add `IRepresentationFilterRepresentation` public type for the first argument of
|
|
236
|
+
the `representationFilter` API
|
|
237
|
+
- types: Add `IRepresentationContext` public type for the second argument of the
|
|
238
|
+
`representationFilter` API
|
|
239
|
+
- types: Add `IManifestLoaderInfo` public type for the first argument of the
|
|
240
|
+
`manifestLoader` API
|
|
241
|
+
- types: Add `IPeriodChangeEvent` public type to define the properties send through a
|
|
242
|
+
`periodChange` event
|
|
243
|
+
- types: Add `IPeriod` public type to define a Period object returned by methods like
|
|
244
|
+
`getAvailablePeriods` or `getCurrentPeriod`
|
|
245
|
+
- types: Add `IVideoTrackSwitchingMode` public type to define the type of the
|
|
246
|
+
`switchingMode` property optionally given to `setAudioTrack`
|
|
247
|
+
- types: Add `IAudioRepresentationsSwitchingMode` public type to define the type of the
|
|
248
|
+
`switchingMode` property optionally given to `lockAudioRepresentations`
|
|
249
|
+
- types: Add `IVideoRepresentationsSwitchingMode` public type to define the type of the
|
|
250
|
+
`switchingMode` property optionally given to `lockAudioRepresentations`
|
|
251
|
+
- types: Add `IBrokenRepresentationsLockContext` public type to define the type sent as a
|
|
252
|
+
payload of the `brokenRepresentationsLock` event
|
|
253
|
+
- types: Add `ITrackUpdateEventPayload` public type to define the type sent as a payload
|
|
254
|
+
of the `trackUpdate` event
|
|
255
|
+
- types: Add `ILockedVideoRepresentationsSettings` public type to define the object that
|
|
256
|
+
should be given to the new `lockVideoRepresentation` method
|
|
257
|
+
- types: Add `ILockedAudioRepresentationsSettings` public type to define the object that
|
|
258
|
+
should be given to the new `lockAudioRepresentation` method
|
|
259
|
+
- types: Add `IAudioTrackSetting` public type to define the object that may be given to
|
|
260
|
+
the `setAudioTrack` method
|
|
261
|
+
- types: Add `IVideoTrackSetting` public type to define the object that may be given to
|
|
262
|
+
the `setVideoTrack` method
|
|
263
|
+
- types: Add `ITextTrackSetting` public type to define the object that may be given to the
|
|
264
|
+
`setTextTrack` method
|
|
11
265
|
|
|
12
266
|
### Bug fixes
|
|
13
267
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
- Fix import of the `LOCAL_MANIFEST` experimental feature
|
|
17
|
-
- Smooth: Rely on a defined `segmentLoader` when playing smooth streaming contents.
|
|
268
|
+
- Tizen (Samsung TVs): Try again to work around all potential issues that could arise due
|
|
269
|
+
to tizen seeking back by itself [#1327, #1355]
|
|
18
270
|
|
|
19
271
|
### Other improvements
|
|
20
272
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
273
|
+
- Provide both commonJS and ES6-style exports to improve compatibilities with applications
|
|
274
|
+
- Implement better error messages by not repeating the Error Type in it [#1290]
|
|
275
|
+
- DRM: Reload when playback is unexpectedly frozen with encrypted but only decipherable
|
|
276
|
+
data in the buffer to work-around rare encryption-related issues [#1236]
|
|
277
|
+
- Add cache when checking for codec support, improving performance on some devices and
|
|
278
|
+
potentially working around some xbox bugs on long-lived pages [#1324]
|
|
279
|
+
- Demo: Add possibility to see the debug element in the demo page
|
|
280
|
+
|
|
281
|
+
## v3.33.0 (2024-01-24)
|
|
282
|
+
|
|
283
|
+
### Features
|
|
284
|
+
|
|
285
|
+
- Add `getLivePosition` RxPlayer method [#1300]
|
|
286
|
+
- Add `startAt.fromLivePosition` `loadVideo` option [#1300]
|
|
287
|
+
- Add the possibility to set a new `keySystems` option on the `reload` API [#1308]
|
|
30
288
|
|
|
289
|
+
### Bug fixes
|
|
290
|
+
|
|
291
|
+
- Fix subtitles "blinking" in some specific conditions, especially with some DASH
|
|
292
|
+
low-latency contents [#1314]
|
|
293
|
+
- DASH: Fix Period overlap resolution logic for when the first Period is removed [#1311]
|
|
294
|
+
- TTML: Fix handling of the `tts:lineHeight` attribute [#1320]
|
|
295
|
+
- Fix import of the `LOCAL_MANIFEST` experimental feature
|
|
296
|
+
- Avoid very rarely skipping segments which initially were too big to be pushed due to
|
|
297
|
+
memory limitations [#1323]
|
|
298
|
+
- Fix issue arising when using track APIs at the exact last possible position of a Period
|
|
299
|
+
with no consecutive Period [#1337]
|
|
300
|
+
- Starting at the end (through a `startAt` `loadVideo` option) or reloading at the end led
|
|
301
|
+
to the restart of the content [#1338]
|
|
302
|
+
- DRM/Safari: also perform Safari DRM work-arounds when the page is launched from the dock
|
|
303
|
+
[#1351, #1356]
|
|
304
|
+
|
|
305
|
+
### Other improvements
|
|
306
|
+
|
|
307
|
+
- DASH: rely on SCTE214 `supplementalCodecs` instead of `codecs` if it's supported to
|
|
308
|
+
better support backward compatible Dolby Vision contents [#1307]
|
|
309
|
+
- DASH: Provide better support of the `availabilityTimeOffset` attribute [#1300]
|
|
310
|
+
- DEBUG_ELEMENT: Add unsupported and undecipherable bitrates to the debug element [#1321]
|
|
311
|
+
- DEBUG_ELEMENT: update buffer graph maximum size so it becomes more readable for lengthy
|
|
312
|
+
contents [#1316]
|
|
313
|
+
- DEBUG_ELEMENT: always synchronize inventory of segments before rendering it [#1317]
|
|
314
|
+
- Remove remaining RxPlayer dependency removing possibility of some application-side
|
|
315
|
+
bundling errors [#1312]
|
|
316
|
+
- Add exception to text Garbage collection logic to avoid unnecessarily reload text
|
|
317
|
+
segments frequently [#1325]
|
|
318
|
+
- Avoid logging too much the buffer's content when our debugging UI or the demo is used
|
|
319
|
+
[#1341]
|
|
320
|
+
- Demo: Fix reporting of live position in demo page [#1313]
|
|
31
321
|
|
|
32
322
|
## v3.32.1 (2023-10-19)
|
|
33
323
|
|
|
34
324
|
### Features
|
|
35
325
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
326
|
+
- DASH: add optional `isSpatialAudio` boolean property to Representation returned by
|
|
327
|
+
`getAvailableAudioTracks`, `getAudioTrack`, corresponding events, and `trackInfo`
|
|
328
|
+
optional property of `MediaError` objects to signal Dolby Atmos techology [#1275]
|
|
329
|
+
- `LOCAL`: add `isSpatialAudio` property to Representation of the experiment `"local"`
|
|
330
|
+
transport (used for offline playback) [#1275]
|
|
331
|
+
- `addFeatures` static method is now available on all RxPlayer builds. It was previously
|
|
332
|
+
only in the minimal (`rx-player/minimal` import path) [#1287]
|
|
333
|
+
- The `NATIVE_TEXT_BUFFER`, `HTML_TEXT_BUFFER` and `IMAGE_BUFFER` features are now totally
|
|
334
|
+
optional [#1287, #1293]
|
|
40
335
|
|
|
41
336
|
### Bug fixes
|
|
42
337
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
338
|
+
- Fix `setVideoBitrate` and `setAudioBitrate` API which may have led to a higher quality
|
|
339
|
+
than wanted in the default `"seamless"` `manualBitrateSwitchingMode` if our buffer-based
|
|
340
|
+
adaptive logic decided to [#1267, #1271]
|
|
341
|
+
- On the PlayStation 5, only switch to the `"LOADED"` state once the HTMLMediaElement's
|
|
342
|
+
`readyState` of `4` has been reached, as it seems to switch to `3` too soon there
|
|
343
|
+
[#1257]
|
|
344
|
+
- DASH: Fix potential track duplication if more than two `AdaptationSet` have an
|
|
345
|
+
`adaptation-set-switching` `<SupplementalProperty>` between one another [#1279]
|
|
346
|
+
- DASH-WASM: availabilityTimeOffset is actually a floating number [#1278]
|
|
47
347
|
|
|
48
348
|
### Other improvements
|
|
49
349
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
350
|
+
- Do not load the last text segment if the current position goes after it as it is
|
|
351
|
+
unnecessary [#1256]
|
|
352
|
+
- Implement better `NetworkError` messages [#1274]
|
|
353
|
+
- Set a better error message for when no `keySystems` option is set when playing an
|
|
354
|
+
encrypted content
|
|
355
|
+
- Fix very small memory leak when reloading a content [#1286]
|
|
356
|
+
- Re-check for segments to load immediately after the manifest has been refreshed [#1282]
|
|
357
|
+
- When "fallbacking" an undecipherable Representation, now empty the whole buffer if we
|
|
358
|
+
can't make out where content was in the buffer [#1283]
|
|
359
|
+
- Improve segment start detection in buffer when there's unknown data buffered before it
|
|
360
|
+
[#1284]
|
|
361
|
+
- DRM: Selection of alternative EME API like those used on IE11 or Safari has been
|
|
362
|
+
refactored to facilitate future developments [#1261]
|
|
58
363
|
|
|
59
364
|
### Deprecated
|
|
60
365
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
366
|
+
- Deprecate the `manifestUpdateUrl` `loadVideo` option as it doesn't seem used anymore
|
|
367
|
+
[#1288]
|
|
368
|
+
- Deprecate the `NATIVE_TEXT_BUFFER`, `HTML_TEXT_BUFFER` and `IMAGE_BUFFER` features as
|
|
369
|
+
they are now unneeded [#1287, #1293]
|
|
64
370
|
|
|
65
371
|
## v3.31.0 (2023-06-14)
|
|
66
372
|
|
|
67
373
|
### Features
|
|
68
374
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
375
|
+
- Add `isContentLoaded`, `isBuffering`, `isPaused`, and `getLastStoredContentPosition`
|
|
376
|
+
methods [#1248]
|
|
377
|
+
- Add `play` and `paused` events [#1253]
|
|
378
|
+
- Add `trackInfo` property to some `MediaError` to expose information on the track that
|
|
379
|
+
caused the error [#1241]
|
|
72
380
|
|
|
73
381
|
### Bug fixes
|
|
74
382
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
383
|
+
- DASH: Fix issue which could lead to infinite rebuffering when switching between multiple
|
|
384
|
+
Periods [#1232]
|
|
385
|
+
- Return actual ending duration through the `getVideoDuration` method when playing dynamic
|
|
386
|
+
contents whose future end is already known [#1235]
|
|
387
|
+
- DASH/WASM: actually reject the `DASH_WASM.initialize`'s Promise if it fails [#1238]
|
|
388
|
+
- On the PlayStation 5, set `Infinity` MediaSource duration for live contents to prevent
|
|
389
|
+
playback issues [#1250]
|
|
79
390
|
|
|
80
391
|
### Other improvements
|
|
81
392
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
393
|
+
- adaptive: Perform various adaptive tweaks to avoid switching too much between qualities
|
|
394
|
+
in some conditions [#1237]
|
|
395
|
+
- Directfile: Detect "forced" subtitles on Safari when playing directfile contents (such
|
|
396
|
+
as HLS) [#1239]
|
|
397
|
+
- Improve `"direct"` `audioTrackSwitchingMode` compatibility by re-seeking [#1246]
|
|
398
|
+
- The `DEBUG_ELEMENT` feature now uses the `monospace` fallback font as a default for a
|
|
399
|
+
better rendering on apple devices
|
|
400
|
+
- doc: externalize documentation-generator code
|
|
88
401
|
|
|
89
402
|
## v3.30.0 (2023-03-07)
|
|
90
403
|
|
|
91
404
|
### Features
|
|
92
405
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
406
|
+
- Add `updateContentUrls` API, allowing to update the Manifest's URL during playback
|
|
407
|
+
[#1182]
|
|
408
|
+
- DASH: implement forced-subtitles, adding the `forced` property to the audio tracks API
|
|
409
|
+
and selecting by default a forced text track linked to the audio track's language if
|
|
410
|
+
present [#1187]
|
|
411
|
+
- DRM: add the `getKeySystemConfiguration` method to the RxPlayer [#1202]
|
|
412
|
+
- add experimental `DEBUG_ELEMENT` feature and `createDebugElement` method to render a
|
|
413
|
+
default debugging HTML element [#1200]
|
|
97
414
|
|
|
98
415
|
### Deprecated
|
|
99
416
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
417
|
+
- Deprecate the `getVideoLoadedTime` method which can be easily replaced (see Deprecated
|
|
418
|
+
method documentation)
|
|
419
|
+
- Deprecate the `getVideoPlayedTime` method which can be easily replaced (see Deprecated
|
|
420
|
+
method documentation)
|
|
421
|
+
- Deprecate the `transportOptions.aggressiveMode` option
|
|
422
|
+
- DRM: Deprecate the `keySystems[].onKeyStatusesChange` callback as no good use case was
|
|
423
|
+
found for it.
|
|
104
424
|
|
|
105
425
|
### Bug fixes
|
|
106
426
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
427
|
+
- Fix segment requesting error when playing a DASH content without an url and without
|
|
428
|
+
BaseURL elements [#1192]
|
|
429
|
+
- API: Stop sending events if the content is stopped due to a side-effect of one of the
|
|
430
|
+
event handler [#1197]
|
|
431
|
+
- text-tracks/ttml: fix inconsistent line spacing when resizing the `textTrackElement`
|
|
432
|
+
[#1191]
|
|
433
|
+
- DRM: Fix race condition leading to a JS error instead of a `NO_PLAYABLE_REPRESENTATION`
|
|
434
|
+
[#1201]
|
|
435
|
+
- DRM/Compat: Renew MediaKeys at each `loadVideo` on all WebOS (LG TV) platforms to work
|
|
436
|
+
around issues [#1188]
|
|
112
437
|
|
|
113
438
|
### Other improvements
|
|
114
439
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
440
|
+
- DASH: better detect closed captions [#1187]
|
|
441
|
+
- DASH: handle `endNumber` DASH attribute [#1186]
|
|
442
|
+
- DASH: Do not merge AdaptationSet with role "main" anymore [#1214]
|
|
443
|
+
- DASH: parse `transferCharacteristics` property in the MPD to better detect hdr [#1212]
|
|
444
|
+
- Support encrypted contents on Panasonic 2019 TVs [#1226]
|
|
445
|
+
- Better handle SourceBuffer's QuotaExceededError, responsible for `MediaError` with the
|
|
446
|
+
`BUFFER_FULL_ERROR` code [#1221]
|
|
447
|
+
- API: send available...TracksChange events in the very unlikely scenario where tracks are
|
|
448
|
+
added after a manifest update [#1197]
|
|
449
|
+
- Completely remove RxJS dependency from the RxPlayer's source code [#1193]
|
|
450
|
+
- DRM: Request PR recommendation when PlayReady is asked and try default recommendation
|
|
451
|
+
robustnesses [#1189]
|
|
125
452
|
|
|
126
453
|
## v3.29.0 (2022-11-16)
|
|
127
454
|
|
|
128
455
|
### Features
|
|
129
456
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
457
|
+
- add `networkConfig.segmentRequestTimeout` and `networkConfig.manifestRequestTimeout`
|
|
458
|
+
options to loadVideo to configure the timeout of respectively segment and manifest
|
|
459
|
+
requests [#1156]
|
|
460
|
+
- add `timeout` property to the first argument communicated to a `segmentLoader` (from
|
|
461
|
+
`loadVideo`'s `transportOptions`) [#1156]
|
|
462
|
+
- add `timeout` property to a new third argument communicated to a `manifestLoader` (from
|
|
463
|
+
`loadVideo`'s `transportOptions`) [#1156]
|
|
464
|
+
- DRM: add `keySystems[].onKeyExpiration` to `loadVideo` options to configure the behavior
|
|
465
|
+
the RxPlayer should have on key expiration [#1157]
|
|
466
|
+
- DRM: add `keyStatuses` property to an `EncryptedMediaError` with the
|
|
467
|
+
`KEY_STATUS_CHANGE_ERROR` code to communicate which key id and key statuses caused
|
|
468
|
+
issues. [#1157]
|
|
135
469
|
|
|
136
470
|
### Deprecated
|
|
137
471
|
|
|
138
|
-
|
|
472
|
+
- DRM: Deprecate `keySystems[].throwOnLicenseExpiration` `loadVideo` option as this
|
|
473
|
+
boolean can be replaced with more customizability by the new
|
|
474
|
+
`keySystems[].onKeyExpiration` `loadVideo` option [#1157]
|
|
139
475
|
|
|
140
476
|
### Bug fixes
|
|
141
477
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
478
|
+
- Directfile: Fix long-running issues with rare "directfile" contents and some
|
|
479
|
+
browsers/platforms (seen on Chrome PC and PlayStation 5) where playback would stay in
|
|
480
|
+
`LOADING` state indefinitely despite playing [#1174]
|
|
481
|
+
- DRM: Fix undocumented `keySystems[].videoRobustnesses` `loadVideo` option.
|
|
482
|
+
`audioRobustnesses` was previously used even for video capabilities [#1171]
|
|
483
|
+
- Compat/Directfile: Fix an issue with WebOS (LG TVs) when playing multiple directfile
|
|
484
|
+
contents with the `stopAtEnd` player option set to `true` [#1154]
|
|
485
|
+
- Compat/DRM: Fix infinite loading on WebOS (LG TVs) 2021 and 2022 when loading more than
|
|
486
|
+
once an encrypted content by resetting decryption capabilities each time [#1175]
|
|
487
|
+
- Compat: To work around an issue on WebOS (LG TVs), also specify a request timeout
|
|
488
|
+
manually through a `setTimeout` call when XMLHttpRequests are created for Manifest and
|
|
489
|
+
segment requests [#1152]
|
|
490
|
+
- Compat/Directfile: Fix an issue on Tizen (Samsung TVs) where playing directfile contents
|
|
491
|
+
could randomly lead to not having audio [#1170]
|
|
492
|
+
- Compat: Fix issue with Tizen (Samsung TVs) where starting playback on a discontinuity
|
|
493
|
+
could lead to infinite rebuffering [#1140, #1176]
|
|
494
|
+
- Compat/Directfile: For `"directfile"` contents, also consider `AudioTrack` with a
|
|
495
|
+
`description` (without an "s") as audio-description audio tracks to work-around what
|
|
496
|
+
seems to be a Safari typo [#1160]
|
|
497
|
+
- DRM: When using persistent licenses, create new MediaKeySession when `load` resolves
|
|
498
|
+
with `false`, instead of relying the same, to fix issues with such persistent sessions
|
|
499
|
+
if the browser cleaned it up [#1139]
|
|
500
|
+
- Only call "MediaSource.endOfStream" once, the most visible side-effect should have been
|
|
501
|
+
repeated logs [#1163]
|
|
152
502
|
|
|
153
503
|
### Other improvements
|
|
154
504
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
505
|
+
- DASH: Improve multi-CDN configurations, by smartly selecting the right CDN depending on
|
|
506
|
+
past status [#1165]
|
|
507
|
+
- Allow reverse playback use cases by not skipping gaps and most discontinuities when the
|
|
508
|
+
playback rate has been set to `0` or a negative value [#1138]
|
|
509
|
+
- In the experimental "local" transport, add `incomingRanges` property to signal the time
|
|
510
|
+
ranges of remaining data, allowing better discontinuity handling and duration estimates
|
|
511
|
+
for sill-loading dowloaded contents [#1151]
|
|
512
|
+
- Only send, through `"warning"` events, one `EncryptedMediaError` with a
|
|
513
|
+
`KEY_STATUS_CHANGE_ERROR` code when multiple ones arises at the same time [#1157]
|
|
160
514
|
|
|
161
515
|
## v3.28.0 (2022-07-12)
|
|
162
516
|
|
|
163
517
|
### Features
|
|
164
518
|
|
|
165
|
-
|
|
166
|
-
|
|
519
|
+
- Add `label` to audio, video and text track APIs (such as `getAvailableAudioTracks`)
|
|
520
|
+
which gives a human-readable description of the corresponding track, if available in the
|
|
521
|
+
Manifest [#1105, #1109]
|
|
522
|
+
- Automatically set the LogLevel to `"DEBUG"` if a global `__RX_PLAYER_DEBUG_MODE__`
|
|
523
|
+
constant is set to `true`, to simplify debugging [#1115]
|
|
167
524
|
|
|
168
525
|
### Bug fixes
|
|
169
526
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
527
|
+
- Use the first **compatible** codec of the current AdaptationSet when creating a
|
|
528
|
+
SourceBuffer [#1094]
|
|
529
|
+
- DASH/DRM: Fix potential infinite rebuffering when a KID is not announced in the MPD
|
|
530
|
+
[#1113]
|
|
531
|
+
- DRM: Fix quality fallback when loading a content whose license has been cached under an
|
|
532
|
+
extended `singleLicensePer` setting and when starting (and staying) with a quality whose
|
|
533
|
+
key id is not in it [#1133]
|
|
534
|
+
- DASH: Avoid infinite loop due to rounding errors while parsing multi-Periods MPDs
|
|
535
|
+
[#1111, #1110]
|
|
536
|
+
- After a `RELOADING` state, stay in `PAUSED` if the media element was paused
|
|
537
|
+
synchronously before the side-effect which triggered the reloading (usually coming from
|
|
538
|
+
the API) was perform [#1132]
|
|
539
|
+
- Fix issue with `maxVideoBufferSize` setting which could lead to too much data being
|
|
540
|
+
buffered [#1125]
|
|
541
|
+
- Prevent possibility of requests loops and infinite rebuffering when a pushed segment is
|
|
542
|
+
always completely and immediately garbage collected by the browser [#1123]
|
|
543
|
+
- DASH: Fix potential rare memory leak when stopping the content after it has reloaded at
|
|
544
|
+
least once [#1135]
|
|
545
|
+
- Directfile: Properly announce the audio track's `audioDescription` accessibility
|
|
546
|
+
attribute in directfile mode on Safari [#1136]
|
|
547
|
+
- DASH: Fix issues that could arise if a segment is calculated to start at a negative
|
|
548
|
+
position [#1122]
|
|
549
|
+
- DASH: Fix possibility of wrong segments being requested when a SegmentTimeline in a
|
|
550
|
+
given Period (whose Period@end is set) had an S@r set to `-1` at its end [#1098]
|
|
551
|
+
- DASH: If the first `<S>` has its S@t attribute not set, make as if it is set to `0`
|
|
552
|
+
[#1118]
|
|
182
553
|
|
|
183
554
|
### Other improvements
|
|
184
555
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
556
|
+
- TTML: Add support for percent based thickness for textOutline in TTML Subtitles [#1108]
|
|
557
|
+
- Improve TypeScript's language servers auto import feature with the RxPlayer by better
|
|
558
|
+
redirecting to the exported type [#1126]
|
|
559
|
+
- If seeking after the last potential position, load last segments before ending [#1097]
|
|
560
|
+
- The duration set on the media element is now only relative to the current chosen tracks
|
|
561
|
+
(it was previously relative to all potential track). This allows to seek later when
|
|
562
|
+
switching e.g. to a longer video track [#1102]
|
|
563
|
+
- Errors coming from an HTMLMediaElement now have the browser's error message if it exists
|
|
564
|
+
[#1112]
|
|
565
|
+
- TTML: Better handle EBU-TT subtitles by handling the `tt` XML namespace in our TTML
|
|
566
|
+
parser [#1131]
|
|
567
|
+
- DRM: Information on persisted DRM sessions are now automatically updated to their last
|
|
568
|
+
version when possible [#1096]
|
|
569
|
+
- Only log values which are relatively inexpensive to stringify to reduce the difference
|
|
570
|
+
between debugging sessions and what is usually seen in production [#1116]
|
|
194
571
|
|
|
195
572
|
## v3.27.0 (2022-03-31)
|
|
196
573
|
|
|
197
574
|
### Features
|
|
198
575
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
576
|
+
- Add a `maxVideoBufferSize` constructor option and `{get,set}MaxVideoBufferSize` methods
|
|
577
|
+
to limit the size of loaded video data buffered at the same time [#1041, #1054]
|
|
578
|
+
- DRM: Add a `"periods"` mode to the `keySystems[].singleLicensePer` `loadVideo` option,
|
|
579
|
+
allowing to obtain decryption license for groups of Periods allowing a compromise
|
|
580
|
+
between optimization, features and compatibility [#1028, #1061]
|
|
581
|
+
- Add a `"reload"` `audioTrackSwitchingMode` to work-around rare compatibility issues when
|
|
582
|
+
switching audio tracks [#1089]
|
|
202
583
|
|
|
203
584
|
### Bug fixes
|
|
204
585
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
586
|
+
- subtitles: Fix rare issue where subtitles could be skipped due to a rounding error
|
|
587
|
+
[#1064]
|
|
588
|
+
- DASH: fix issue where the wrong segments would be requested on $Number$-based MPD with a
|
|
589
|
+
SegmentTimeline older than the `timeShiftBufferDepth` [#1052, #1060]
|
|
590
|
+
- directfile: disable all audio tracks before enabling one to work-around Safari issue on
|
|
591
|
+
MacOS Monterey [#1067]
|
|
592
|
+
- avoid performing a small seek when changing the audio track [#1080]
|
|
593
|
+
- api: allow switching to RELOADING state synchronously after LOADED [#1083]
|
|
594
|
+
- Safari Mobile: Improve decryption support on Safari mobile by relying on the vendored
|
|
595
|
+
`WebKitMediaKeys` API [#1072]
|
|
596
|
+
- DASH: Fix issue which prevented the integrity check of most MP4 DASH segments when
|
|
597
|
+
`transportOptions.checkMediaSegmentIntegrity` was set to `true`
|
|
598
|
+
- avoid unnecessary warning logs when loading some initialization segments [#1049]
|
|
599
|
+
- TypeScript: Add forgotten TypeScript types in the exposed segment and manifest loader
|
|
600
|
+
APIs [#1057]
|
|
601
|
+
- DRM: Avoid decryption issues when a license is persisted in a `singleLicensePer`
|
|
602
|
+
`"init-data"` mode but loaded in a `"content"` mode [#1031, #1042]
|
|
603
|
+
- DRM: Totally avoid the theoretical possibility of leaking MediaKeySessions when a
|
|
604
|
+
`generateRequest` or `load` call takes multiple seconds [#1093]
|
|
216
605
|
|
|
217
606
|
### Other improvements
|
|
218
607
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
608
|
+
- DASH: always consider that the non-last Period is finished when it contains
|
|
609
|
+
SegmentTimeline elements [#1047]
|
|
610
|
+
- add better buffer cleaning logic on a browser's `QuotaExceededError` to better handle
|
|
611
|
+
memory limitations [#1065]
|
|
612
|
+
- DASH: Prioritize selectionPriority attribute over a "main" Role when ordering
|
|
613
|
+
AdaptationSets [#1082]
|
|
614
|
+
- directfile/Safari: use the `getStartDate` method in `getWallClockTime`, `seekTo` and the
|
|
615
|
+
`positionUpdate` event when available to obtain true offseted "wall-clock" times when
|
|
616
|
+
playing HLS contents on Safari [#1055]
|
|
617
|
+
- DRM: Improve DRM Session caches performance when `singleLicensePer` is set to
|
|
618
|
+
`"content"`
|
|
619
|
+
- DRM: Stop retrying closing MediaKeySessions multiple times when it fails, instead doing
|
|
620
|
+
it only once when it should work [#1093]
|
|
621
|
+
- TypeScript: Add IBitrateEstimate, IPositionUpdate and IPlayerState types to the exported
|
|
622
|
+
types [#1084]
|
|
623
|
+
- Remove dependency on pinkie's promise ponyfill [#1058, #1090]
|
|
624
|
+
- tests: add performance tests, to better catch and avoid performance regressions [#1053,
|
|
625
|
+
#1062]
|
|
626
|
+
- DRM: Refactor DRM logic for better maintainability. DRM-linked logs are now prefixed by
|
|
627
|
+
`DRM:` instead of `EME:` like previously [#1042]
|
|
230
628
|
|
|
231
629
|
## v3.26.2 (2022-01-11)
|
|
232
630
|
|
|
233
631
|
### Bug fixes
|
|
234
632
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
633
|
+
- API: re-switch to SEEKING state instead of BUFFERING when seeking to already-buffered
|
|
634
|
+
data [#1015]
|
|
635
|
+
- DASH: provide default startNumber attribute for number-based SegmentTemplate indexes
|
|
636
|
+
with a SegmentTimeline [#1009]
|
|
637
|
+
- TTML (subtitles): interpret percentages as relative to the computed cell size and not as
|
|
638
|
+
the percentage of the inherited font size in the page [#1013]
|
|
639
|
+
- subtitles: Work-around recent Chrome issue where the content of a native `<track>`
|
|
640
|
+
element would still be visible despite being removed from the DOM (issue only
|
|
641
|
+
reproducible in the `"native"` `textTrackMode`) [#1039]
|
|
642
|
+
- API: Fix rare issue happening when switching rapidly between Representations, which led
|
|
643
|
+
to multiple APIs such as `getAvailableVideoBitrate` or `getAvailableAudioTracks`
|
|
644
|
+
returning either incorrect or empty results [#1018]
|
|
645
|
+
- Improve prevention of rare segment-loading loops by fixing an issue with the clean-up of
|
|
646
|
+
the short-term buffer history we maintain [#1045]
|
|
241
647
|
|
|
242
648
|
### Other improvements
|
|
243
649
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
650
|
+
- DASH-LL: Improve adaptive bitrate logic on low-latency contents by implementing a
|
|
651
|
+
specific algorithm for those [#1025, #1036]
|
|
652
|
+
- DASH-LL: Improve handling of $Time$-based DASH-LL contents [#1020]
|
|
653
|
+
- DASH: Support UTCTiming element with the `urn:mpeg:dash:utc:http-xsdate:2014` scheme
|
|
654
|
+
[#1021]
|
|
655
|
+
- DOC: Important refactoring of the RxPlayer API documentation to improve readability,
|
|
656
|
+
discoverability and to add search capability to it [#1016]
|
|
657
|
+
- DASH: handle ContentProtection elements that have been defined at the
|
|
658
|
+
Representation-level (and not at the AdaptationSet-level, as defined by the DASH-IF IOP)
|
|
659
|
+
[#1027]
|
|
660
|
+
- DASH: Be resilient when the resource behind an UTCTiming element leads to an error
|
|
661
|
+
(usually due to an HTTP-related issue) - instead of failing with an error like now
|
|
662
|
+
[#1026]
|
|
663
|
+
- Better estimate the duration of ISOBMFF segments with multiple moof boxes [#1037]
|
|
664
|
+
- EME: Add hex-encoded key id to the `KEY_STATUS_CHANGE_ERROR` error message so we can
|
|
665
|
+
know which key we're talking about when debugging [#1033]
|
|
666
|
+
- dev/scripts: for the "modular" (a.k.a. minimal) RxPlayer build now rely on TypeScript's
|
|
667
|
+
const enums, instead of uglily using sed, to replace compile-time constants. [#1014]
|
|
668
|
+
- dev/scripts: remove reliance on environment variables when running the RxPlayer build
|
|
669
|
+
scripts [#1004]
|
|
670
|
+
- dev/scripts: add esbuild devdependency and add "s" script to allow faster checks for
|
|
671
|
+
RxPlayer developpers [#1003]
|
|
672
|
+
- CI: Rely on Github actions instead of Travis for most CI-related matters [#1046]
|
|
673
|
+
- code/refacto: replace central `Clock` concept (Observable bringing media-related updates
|
|
674
|
+
to the RxPlayer at a regular pace) by a more flexible `PlaybackObserver` class [#1002]
|
|
258
675
|
|
|
259
676
|
## v3.26.1 (2021-09-14)
|
|
260
677
|
|
|
261
678
|
### Bug fixes
|
|
262
679
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
680
|
+
- ttml: Do not throw if a TTML subtitles file doesn't contain any `<body>` tag, just
|
|
681
|
+
ignore it [#993]
|
|
682
|
+
- Auto-detect when playback is unexplicably frozen and try to unlock it through a small
|
|
683
|
+
seek [#982]
|
|
684
|
+
- Properly send `available{Audio,Video}BitratesChange` event for multi-Period contents
|
|
685
|
+
[#983]
|
|
686
|
+
- DASH/MetaPlaylist/Local: fix rare infinite rebuffering issue which could happen when
|
|
687
|
+
changing or disabling the track of a future Period [#1000]
|
|
688
|
+
- compat: Prevent rare segment-loading loops by automatically detecting when segments are
|
|
689
|
+
garbage collected by the browser immediately after being pushed [#987, #990]
|
|
690
|
+
- compat/DRM: In some Safari versions, communicating a license as a JS `ArrayBuffer` could
|
|
691
|
+
throw, this is now fixed [#974]
|
|
692
|
+
- DASH_WASM: Don't stop with a fatal error if an expected ISO8601 duration value is empty
|
|
693
|
+
in the MPD
|
|
694
|
+
- DASH_WASM: Parse `<Event>` elements which contain an XML namespace defined outside that
|
|
695
|
+
element [#981]
|
|
696
|
+
- DASH_WASM: Drastically reduce wasm compilation time and file size [#980]
|
|
272
697
|
|
|
273
698
|
### Other improvements
|
|
274
699
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
700
|
+
- Request initialization segment and the first media segments at the same time when
|
|
701
|
+
possible, potentially reducing loading times [#973]
|
|
702
|
+
- Remove cached segment request detection in the adaptive logic, as it is sensible to
|
|
703
|
+
false positives, leading to a poor bitrate in some short contents [#977]
|
|
704
|
+
- Export more needed types through the `rx-player/types` path [#972, #976]
|
|
705
|
+
- demo: Expose some player options in the demo page [#999]
|
|
706
|
+
- dev: Rewrite build logic from bash to node.js to improve its maintainability
|
|
707
|
+
- dev: Replace internal `info` script by more helpful and interactive `list` script [#991]
|
|
708
|
+
- dev/code: Forbid the usage of TypeScript's type `any` in most of the RxPlayer's code -
|
|
709
|
+
performing runtime type-checking in some cases (in DEV mode only) [#994]
|
|
710
|
+
- dev/code: Remove RxJS from the transports code [#962]
|
|
284
711
|
|
|
285
712
|
## v3.26.0 (2021-06-10)
|
|
286
713
|
|
|
287
714
|
### Features
|
|
288
715
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
716
|
+
- Add HDR information through the `hdrInfo` property on video Representation/tracks as
|
|
717
|
+
returned by APIs such as `getVideoTrack`, `getAvailableVideoTracks`, the
|
|
718
|
+
`videoTrackChange` event, `getManifest`, `getCurrentAdaptations` and
|
|
719
|
+
`getCurrentRepresentations` [#946]
|
|
720
|
+
- Add the `DASH_WASM` experimental feature, allowing faster MPD parsing using WebAssembly
|
|
721
|
+
[#937]
|
|
722
|
+
- Add the experimental `VideoThumbnailLoader` tool, which uses "trickmodes" DASH
|
|
723
|
+
AdaptationSet to generate thumbnails [#647]
|
|
724
|
+
- Add `preferTrickModeTracks` option to `setPlaybackRate`, to switch on or off trickmode
|
|
725
|
+
tracks when available on the Manifest [#940]
|
|
726
|
+
- Add `areTrickModeTracksEnabled` method to indicate whether the RxPlayer is using
|
|
727
|
+
trickmode tracks in priority [#940]
|
|
728
|
+
- Add `trickModeTracks` and `isTrickModeTrack` properties to video tracks as returned by
|
|
729
|
+
the `getVideoTrack` and `getAvailableVideoTracks` method and by the `videoTrackChange`
|
|
730
|
+
event [#940]
|
|
731
|
+
- Add `maxSessionCacheSize` `keySystems` option, to configure the maximum number of
|
|
732
|
+
decryption sessions that can be kept alive at the same time in a cache [#938]
|
|
733
|
+
- The `manifestLoader` callback defined in `transportOptions` can now ask for a request to
|
|
734
|
+
be retried [#964]
|
|
735
|
+
- `initialManifest` now accepts the Manifest as an `ArrayBuffer` [#937]
|
|
736
|
+
- The `manifestLoader` callback defined in `transportOptions` can now send the Manifest as
|
|
737
|
+
an `ArrayBuffer` [#937]
|
|
299
738
|
|
|
300
739
|
### Bug fixes
|
|
301
740
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
741
|
+
- DASH: don't ignore new EventStream elements that weren't in the previous MPD update for
|
|
742
|
+
a given Period [#956]
|
|
743
|
+
- DASH: fix fatal error linked to the `duration` of the `MediaSource` happening when
|
|
744
|
+
playing a multi-Period live DASH content whose previous (before updating) last Period's
|
|
745
|
+
segments had been fully generated and fully pushed. [#952]
|
|
746
|
+
- DASH: Avoid loading plain-text subtitles in a loop when playing before the first cue
|
|
747
|
+
starts or after the last cue ends [#945, #948]
|
|
748
|
+
- DASH: Avoid loading plain-text subtitles in a loop when the
|
|
749
|
+
`transportOptions.checkMediaSegmentIntegrity` is set to `true` [#947]
|
|
750
|
+
- DASH: avoid ending a dynamic stream if new Periods may be added later to the MPD [#959]
|
|
751
|
+
- DASH: avoid unnecessarily refresh a MPD based on SegmentList elements when they don't
|
|
752
|
+
perfectly align with the pushed data [#963]
|
|
308
753
|
|
|
309
754
|
### Other improvements
|
|
310
755
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
-
|
|
317
|
-
|
|
756
|
+
- Improve `audioTrackSwitchingMode` `"direct"` mode by avoiding unnecessary reloading
|
|
757
|
+
cases [#872, #887, #943]
|
|
758
|
+
- When seeking after the end of an ended content, actually seek just a little before to
|
|
759
|
+
avoid subtle issues [#941]
|
|
760
|
+
- DASH: limit the postponment of a Manifest refresh due to poor MPD-parsing performance to
|
|
761
|
+
6-times the "regular" delay (not impacted by
|
|
762
|
+
`tansportOptions.minimumManifestUpdateInterval`) [#958]
|
|
763
|
+
- DASH: Avoid loading two times a segment instead of once when that segment is not
|
|
764
|
+
anounced in the MPD through a SegmentBase, SegmentList nor SegmentTemplate element but
|
|
765
|
+
just through the Representation's BaseURL. [#949]
|
|
766
|
+
- Update used RxJS version to 7.0.0, which might bring with it a smaller size and better
|
|
767
|
+
performances [#954]
|
|
768
|
+
- demo: remove Chart.js dependency (we found that its new API documentation and errors
|
|
769
|
+
were too impenetrable) and replace the "Buffer Size" chart by a homemade one. [#955,
|
|
770
|
+
#957]
|
|
318
771
|
|
|
319
772
|
## v3.24.0 (2021-04-01)
|
|
320
773
|
|
|
321
774
|
### Features
|
|
322
775
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
776
|
+
- Add `inbandEvent` event for when an event is encountered in a media segment [#892]
|
|
777
|
+
- DRM: Add `singleLicensePer` `keySystems` option to be able to signal in advance that the
|
|
778
|
+
current content has a single license, even if it has multiple encryption keys [#863,
|
|
779
|
+
#904]
|
|
780
|
+
- DRM: Add `keySystems[].licenseStorage.disableRetroCompatibility` boolean to unlock
|
|
781
|
+
optimizations when compatibility with EME sessions persisted in older RxPlayer versions
|
|
782
|
+
is not important [#919]
|
|
326
783
|
|
|
327
784
|
### Bug fixes
|
|
328
785
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
786
|
+
- DASH: Fix rounding error that could cause infinite buffering issues when going from a
|
|
787
|
+
DASH Period to the next [#897, #899]
|
|
788
|
+
- DRM: Always pass on server certificate before any challenge is generated. Contents with
|
|
789
|
+
multiple licenses previously could lead to the latter being done before the former.
|
|
790
|
+
[#895]
|
|
791
|
+
- DRM: Fix possible leaks of MediaKeySessions if closed at the wrong time [#920]
|
|
792
|
+
- Fix issue making sudden and acute fall in bandwidth not being considered soon enough
|
|
793
|
+
[#906]
|
|
794
|
+
- On some devices when `maxBufferAhead` is set, avoid removing the initially loaded data
|
|
795
|
+
if done before the initial seek could be performed [#907]
|
|
796
|
+
- Avoid cases of infinite rebuffering on Tizen 4 by avoiding pushing segments "on top of
|
|
797
|
+
others" too close to the current position [#925]
|
|
798
|
+
- Avoid seeking issues on Tizen by not seeking over discontinuities that will be already
|
|
799
|
+
handled by the browser [#922]
|
|
800
|
+
- Fix initial seek on Tizen (Samsung TVs) on live contents by setting a much lower
|
|
801
|
+
duration (to work-around a Tizen overflow) [#914]
|
|
802
|
+
- DASH: Consider multiple defined `<Accessibility>` tags for a single AdaptationSet [#903]
|
|
803
|
+
- Fix error that could be thrown on Safari when calling the `getStatusForHDCP` method from
|
|
804
|
+
the experimental `MediaCapabilitiesProber` tool [#927]
|
|
339
805
|
|
|
340
806
|
### Other improvements
|
|
341
807
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
808
|
+
- Avoid to push on top of the current position if there's already a segment there as it
|
|
809
|
+
can provoke minor decoding issues on some devices [#925]
|
|
810
|
+
- Update video element's duration if the content duration changes [#917]
|
|
811
|
+
- DASH: Improve loading time with encrypted contents by only using the encrypted
|
|
812
|
+
initialization data found in the Manifest when found in it [#911, #919]
|
|
813
|
+
- Record redirections made on a `manifestUpdateUrl` to request directly the right URL on
|
|
814
|
+
next update. [#929]
|
|
815
|
+
- Improve loading time when a `serverCertificate` is given by calling the
|
|
816
|
+
`setServerCertificate` API earlier [#895]
|
|
817
|
+
- Improve loading time when switching contents by fetching the Manifest at the same time
|
|
818
|
+
the previous content is cleaned-up [#894]
|
|
819
|
+
- Improve loading time on some CPU-constrained devices by not running unnecessary playback
|
|
820
|
+
checks on the "progress" HTMLMediaElement event anymore [#893]
|
|
821
|
+
- DASH: Consider DASH audio AdaptationSet with a "urn:mpeg:dash:role:2011" schemeIdUri and
|
|
822
|
+
a "description" role as `audioDescription` tracks [#903]
|
|
823
|
+
- Warn through the logger when the autoplay attribute is enabled on the media element but
|
|
824
|
+
not on RxPlayer [#924]
|
|
825
|
+
- Avoid switching to a SEEKING state if the seek operation was performed inside the
|
|
826
|
+
RxPlayer's code [#872, #887]
|
|
827
|
+
- DRM: Wait up to 100 milliseconds after a persistent MediaKeySession has been loaded to
|
|
828
|
+
wait for possibly late `keyStatuses` updates [#928]
|
|
829
|
+
- DRM: Only store persistent MediaKeySession once at least one key is known [#926]
|
|
830
|
+
- DRM: Reconsider Representations that have been fallbacked from if they become
|
|
831
|
+
decipherable [#905]
|
|
832
|
+
- DRM: Lower the maximum size of the MediaKeySession cache from 50 to 15 to improve
|
|
833
|
+
compatibility, even more now that license with multiple keys are properly handled
|
|
834
|
+
- Doc: Move architecture documentation closer to the code it documents [#764, #900]
|
|
835
|
+
- Doc: add "Quick links" to the top of the API documentation [#909]
|
|
359
836
|
|
|
360
837
|
## v3.23.1 (2021-02-01)
|
|
361
838
|
|
|
362
839
|
### Bug fixes
|
|
363
840
|
|
|
364
|
-
|
|
365
|
-
|
|
841
|
+
- Fix support of encrypted contents on Safari (v3.23.0 regression)
|
|
366
842
|
|
|
367
843
|
## v3.23.0 (2021-02-01)
|
|
368
844
|
|
|
369
845
|
### Features
|
|
370
846
|
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
847
|
+
- Add the `reload` method to be able to re-load the last loaded content as fast as
|
|
848
|
+
possible (e.g. after fatal errors) [#859, #867]
|
|
849
|
+
- Add `onCodecSwitch` loadVideo option, to select a strategy when a new incompatible codec
|
|
850
|
+
is encountered [#856]
|
|
851
|
+
- Emit `DISCONTINUITY_ENCOUNTERED` warnings when a discontinuity has been seeked over
|
|
852
|
+
[#862]
|
|
853
|
+
- Add minAudioBitrate and minVideoBitrate constructor options and the
|
|
854
|
+
{set,get}Minimum{Audio,Video}Bitrate methods to define the minimum quality reachable
|
|
855
|
+
through adaptive streaming [#876]
|
|
375
856
|
|
|
376
857
|
### Bug fixes
|
|
377
858
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
859
|
+
- Fix impossibility to fallback to another Representation (with the
|
|
860
|
+
`keySystems[].fallbackOn` `loadVideo` options) when a decryption key has been found to
|
|
861
|
+
be non-usable [#889]
|
|
862
|
+
- Fix DRM-related events being sent twice in a row instead of just once [#850]
|
|
863
|
+
- Stop and throw `MANIFEST_PARSE_ERROR` error again when either audio or video has only
|
|
864
|
+
unsupported codecs (instead of just playing the other type) [#864]
|
|
865
|
+
- Avoid re-downloading a segment that ends a lot before its expected end [#846]
|
|
866
|
+
- In "native" `textTrackMode`, avoid requesting text segments in a loop [#878]
|
|
867
|
+
- Disable effects of `throttleVideoBitrateWhenHidden`, `limitVideoWidth` and
|
|
868
|
+
`throttleVideoBitrate` player options on Firefox >= 67 due to how Picture in Picture
|
|
869
|
+
mode is currently handled in them [#874]
|
|
870
|
+
- Work-around race condition in old Chromium versions where loading a persistent
|
|
871
|
+
MediaKeySession led to no key statuses right away [#847]
|
|
385
872
|
|
|
386
873
|
### Other improvements
|
|
387
874
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
875
|
+
- Skip over most audio or video discontinuities in the stream, even those not announced in
|
|
876
|
+
the Manifest [#862]
|
|
877
|
+
- When track or bitrate switching lead to a reload, seek back a consistent number of
|
|
878
|
+
milliseconds to give back context [#848]
|
|
879
|
+
- Don't call `setServerCertificate` API when `keySystems[].serverCertificate` option is
|
|
880
|
+
set to `null` [#849]
|
|
881
|
+
- On the rare platforms where an undefined initialization data type can be received on
|
|
882
|
+
encrypted events, retry `generateRequest` with a default "cenc" value if the first one
|
|
883
|
+
fails due to it being empty [#870]
|
|
884
|
+
- Re-add debug logs logging the principal media properties at each clock tick [#844]
|
|
885
|
+
- Use TextEncoder and TextDecoder interfaces when available to speed-up string conversions
|
|
886
|
+
[#843, #875]
|
|
887
|
+
- Throw a better error when no EME API is found
|
|
888
|
+
- Reduce default bundles size by switching to webpack 5 to generate them
|
|
889
|
+
- tests: Add conformance tests on the initial seek to help debugging related issues on new
|
|
890
|
+
platforms [#873]
|
|
891
|
+
- lint/code: Use eslint code linter even for the TypeScript code [#842]
|
|
399
892
|
|
|
400
893
|
## v3.22.0 (2020-11-17)
|
|
401
894
|
|
|
402
895
|
### Features
|
|
403
896
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
897
|
+
- Add `audioTrackSwitchingMode` `loadVideo` option to allow different strategies when
|
|
898
|
+
switching between audio tracks [#801, #806]
|
|
899
|
+
- Add `enableFastSwitching` `loadVideo` option to enable or disable optimizations doing
|
|
900
|
+
segment replacement in the browser's buffer [#779, #780]
|
|
901
|
+
- Add `initialManifest` `loadVideo` option to provide the Manifest to the RxPlayer when it
|
|
902
|
+
has already been loaded [#807]
|
|
903
|
+
- tools: Add `StringUtils` utilitary functions to tools to convert bytes to strings and
|
|
904
|
+
the other way around [#809]
|
|
905
|
+
- tools: The `TextTrackRenderer` tool is not experimental anymore: it now has a stable API
|
|
906
|
+
[#810]
|
|
907
|
+
- experimental/local-manifest: The RxPlayer now (only) plays the new `"0.2"` format
|
|
908
|
+
version of the "LocalManifest" (in the experimental `"local"` transport) [#810]
|
|
410
909
|
|
|
411
910
|
### Bug fixes
|
|
412
911
|
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
912
|
+
- directfile: Fix impossibility to play an encrypted content in directfile mode
|
|
913
|
+
(regression brought in v3.21.1) [#827, #830]
|
|
914
|
+
- subtitles: Display multiple cues with overlapping times [#829]
|
|
915
|
+
- smooth: Fix minimum position in a Smooth live content when fewer segments than the dvr
|
|
916
|
+
window length are available [#826]
|
|
917
|
+
- dash/metaplaylist: Fix possible playback issues on multi-Period contents, where segments
|
|
918
|
+
from multiple Periods overlap [#837]
|
|
919
|
+
- Fix very rare race condition which triggered a "setting priority of null" error after
|
|
920
|
+
synchronous segment requests were done [#817]
|
|
921
|
+
- local-manifest: LocalManifest that transition from not finished to finished while
|
|
922
|
+
playing now end properly [#818]
|
|
923
|
+
- local-manifest: Fix and clarify the duration and maximum position reported for a playing
|
|
924
|
+
LocalManifest [#818]
|
|
925
|
+
- compatibility/drm: On some webkit-based browsers, do not require the use of a server
|
|
926
|
+
certificate for DRM if the key system used is not FairPlay [#833]
|
|
927
|
+
- drm: Properly update to a different server certificate on the MediaKeys or remove it if
|
|
928
|
+
needed [#835]
|
|
929
|
+
- drm: throw MEDIA_IS_ENCRYPTED_ERROR again when playing an encrypted event without either
|
|
930
|
+
the `EME` feature, EME APIs or a `keySystems` option [#841]
|
|
423
931
|
|
|
424
932
|
### Other improvements
|
|
425
933
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
934
|
+
- subtitles/ttml: Apply default position to TTML subtitles in `"html"` `textTrackMode`
|
|
935
|
+
when no style is found [#815]
|
|
936
|
+
- subtitles/ttml: Set default text color to white to TTML subtitles in `"html"`
|
|
937
|
+
textTrackMode [#832]
|
|
938
|
+
- drm: Avoid re-setting a server certificate we know has already been pushed to improve
|
|
939
|
+
loading performance [#824, #835]
|
|
940
|
+
- dash: Always prefer a "main" AdaptationSet when hesitating between multiple ones [#828]
|
|
941
|
+
- dash: Improve minimum position precision for dynamic DASH contents when less segments
|
|
942
|
+
are available than what would be guessed from the timeShiftBufferDepth [#826]
|
|
943
|
+
- drm/logs: Better log why a MediaKeySession is not considered as "usable" [#822]
|
|
944
|
+
- drm/logs: Be more verbose with DRM-related logs, even at lower logger levels [#821]
|
|
945
|
+
- tests/conformance: Add "conformance tests", to quickly test the capabilities of new
|
|
946
|
+
devices and targets [#814]
|
|
947
|
+
- code: avoid circular dependency in `src/features` in original typescript source files
|
|
948
|
+
[#805]
|
|
949
|
+
- demo: Fix default position for the video track select element in the demo to always be
|
|
950
|
+
at the currently selected video track [#813]
|
|
951
|
+
- demo/code: Better integrate the RxPlayer to the demo: through a simple import, instead
|
|
952
|
+
of adding a script tag for the bundled version [#811]
|
|
953
|
+
- dev: Remove all enforced git-hooks (on pre-commit and pre-push) [#808]
|
|
439
954
|
|
|
440
955
|
## v3.21.1 (2020-09-21)
|
|
441
956
|
|
|
442
957
|
### Bug fixes
|
|
443
958
|
|
|
444
|
-
|
|
445
|
-
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
959
|
+
- compatibility/drm: make switching the current `MediaKeys` work on most platforms by
|
|
960
|
+
re-ordering browser API calls [#766, #744]
|
|
961
|
+
- compatibility/drm: in Edge and IE11, fix behavior which could lead to not fallbacking
|
|
962
|
+
from a non-decryptable quality due to a badly parsed key ID [#790]
|
|
963
|
+
- dash: when a Representation depends on multiple SegmentTemplate at the same time, merge
|
|
964
|
+
all corresponding information instead of just relying on the last one [#767, #768]
|
|
965
|
+
- smooth: skip discontinuity when seeking in the middle of one when playing a smooth
|
|
966
|
+
content [#792]
|
|
967
|
+
- api: fix `getUrl` and the minimum position calculation after playing for some time a
|
|
968
|
+
live content with a set `manifestUpdateUrl` [#775, #776]
|
|
969
|
+
- drm/subtitles: better handle UTF-8 and UTF-16 characters in an encrypted initialization
|
|
970
|
+
data or in subtitles [#791]
|
|
971
|
+
- requests: still retry all the other segment's URLs when a non-retryable error happen on
|
|
972
|
+
the request for one of them [#798]
|
|
973
|
+
- dash: fix infinite rebuffering when playing multi-Period DASH contents for some time
|
|
974
|
+
with a `manifestUpdateUrl` set [#797]
|
|
452
975
|
|
|
453
976
|
### Other improvements
|
|
454
977
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
978
|
+
- improve seek latency in some rare cases where we could profit from cancelling a request
|
|
979
|
+
for a needed segment [#752, #769]
|
|
980
|
+
- requests: only download an initialization segment when media segments for that
|
|
981
|
+
Representation are needed [#773]
|
|
982
|
+
- requests: avoid unnecessary segment requests when segments loaded don't exactly align
|
|
983
|
+
with what is expected if contiguous segments exist [#772, #771]
|
|
984
|
+
- better time quality switches to avoid having to re-download segments in the new quality
|
|
985
|
+
[#781, #782, #783]
|
|
986
|
+
- adaptive: limit bandwidth oscillations when the buffer level is low by choosing a lower
|
|
987
|
+
bitrate by default and limiting fall in bandwidth when in "starvation mode" [#796]
|
|
988
|
+
- compatibility/drm: filter out badly-formed CENC PSSH when found, if some well-formed
|
|
989
|
+
exist [#788]
|
|
990
|
+
- isobmff: support rare but possible occurence where an ISOBMFF box size is stored on 8
|
|
991
|
+
bytes [#784]
|
|
992
|
+
- logs: when logs are set to `"DEBUG"`, now regularly print visual representations of
|
|
993
|
+
which segments live currently in the buffer(s) [#795]
|
|
994
|
+
- demo: change separator in the demo's generated links from "\" to "!" to not change its
|
|
995
|
+
form when percent-encoded [#758, #759]
|
|
996
|
+
- project: better document changes in changelog and release notes, mostly by linking to
|
|
997
|
+
related issues and PRs
|
|
998
|
+
- code: rename "Buffer" module to "Stream" in the code, documentation and logs to better
|
|
999
|
+
reflect what that code does [#793]
|
|
1000
|
+
- tests: add "global" unit tests for a more a module-oriented testing strategy (when
|
|
1001
|
+
compared to our existing function-oriented unit tests) to our EME (DRM) related code
|
|
1002
|
+
[#753]
|
|
468
1003
|
|
|
469
1004
|
## v3.21.0 (2020-06-17)
|
|
470
1005
|
|
|
471
1006
|
### Features
|
|
472
1007
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
1008
|
+
- api/events: add `"streamEvent"` event for when a DASH EventStream's event is reached
|
|
1009
|
+
- api/events: add `"streamEventSkip"` event for when a DASH EventStream's event is
|
|
1010
|
+
"skipped"
|
|
1011
|
+
- types/events: add `IStreamEvent` and `IStreamEventData` - which define the payload
|
|
1012
|
+
emitted by both a `"streamEvent"` and `"streamEventSkip"` events to the exported types
|
|
1013
|
+
- api/tracks: add second argument to `setPreferredAudioTracks`, `setPreferredTextTracks`
|
|
1014
|
+
and `setPreferredVideoTracks` to be able to also apply them to the currently loaded
|
|
1015
|
+
Periods / content
|
|
1016
|
+
- text/webvtt: parse settings attributes of WebVTT subtitles when in HTML mode
|
|
1017
|
+
- api/tracks: add codec information to `getAvailableAudioTracks` and `getAudioTrack`
|
|
479
1018
|
|
|
480
1019
|
### Bug fixes
|
|
481
1020
|
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
1021
|
+
- dash: do not reduce the minimum position when using the `manifestUpdateUrl`
|
|
1022
|
+
`transportOptions` in `loadVideo`
|
|
1023
|
+
- local-manifest: consider `language` property from a "local" Manifest
|
|
1024
|
+
- local-manifest: refresh the Manifest even if we dont have a Manifest URL, as is often
|
|
1025
|
+
the case when playing locally-stored contents
|
|
1026
|
+
- local-manifest: allow the "expired" property of a local-manifest to be updated
|
|
1027
|
+
- compat/eme/fairplay: for fairplay contents, better format the initialization data given
|
|
1028
|
+
to the CDM. The previous behavior could lead to invalid license requests
|
|
1029
|
+
- eme: re-allow serialization into a JSON string of the persisted session data, as
|
|
1030
|
+
presented in the DRM tutorial
|
|
1031
|
+
- compat/low-latency: fix compilation of async/await when playing low-latency contents
|
|
1032
|
+
with the default bundled builds
|
|
1033
|
+
- eme: ensure that the previous MediaKeySystemAccess used had `persistentState` to
|
|
1034
|
+
"required" when a new content needs it to be
|
|
1035
|
+
- eme: fix `closeSessionsOnStop` `keySystems` option actually not removing any
|
|
1036
|
+
MediaKeySession when stopping a content (v3.20.1 regression).
|
|
491
1037
|
|
|
492
1038
|
### Other improvements
|
|
493
1039
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
1040
|
+
- dash: emit minor errors arising when parsing the DASH MPD through warning events (whose
|
|
1041
|
+
payload will be an error with the `PIPELINE_PARSE_ERROR` code)
|
|
1042
|
+
- dash: consider AdaptationSet@selectionPriority in our initial track choice if the user
|
|
1043
|
+
preferences lead to multiple compatible tracks
|
|
1044
|
+
- misc: do not download video segments when playing on an "audio" element.
|
|
1045
|
+
- eme: replace the MediaKeySession's cache entry based on the least recently used instead
|
|
1046
|
+
of on the least recently created to improve cache effectiveness.
|
|
1047
|
+
- eme/persistent sessions: Limit the maximum of stored persistent MediaKeySessions to 1000
|
|
1048
|
+
to avoid the storage to grow indefinitely (higher than that, the least-recently used
|
|
1049
|
+
will be evicted)
|
|
500
1050
|
|
|
501
1051
|
## v3.20.1 (2020-05-06)
|
|
502
1052
|
|
|
503
1053
|
### Bug fixes
|
|
504
1054
|
|
|
505
|
-
|
|
506
|
-
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
1055
|
+
- eme: fix `OTHER_ERROR` issue arising when loading a new encrypted media when a previous
|
|
1056
|
+
since-disposed instance of the RxPlayer played encrypted contents on the same media
|
|
1057
|
+
element
|
|
1058
|
+
- eme: fix `OTHER_ERROR` issue arising on Internet Explorer 11 when playing more than one
|
|
1059
|
+
encrypted content
|
|
1060
|
+
- eme: fix issue where more than 50 active MediaKeySessions at the same time could lead to
|
|
1061
|
+
infinite rebuffering when playing back a previous content with multiple encryption keys
|
|
1062
|
+
- directfile: for directfile contents, don't reset to the preferred audio, text or video
|
|
1063
|
+
track when the track list changes
|
|
1064
|
+
- eme: remove any possibility of collision in the storage of EME initialization data. The
|
|
1065
|
+
previous behavior could theorically lead some initialization data to be ignored.
|
|
1066
|
+
- eme: fix typo which conflated an EME "internal-error" key status and an
|
|
1067
|
+
"output-restricted" one.
|
|
512
1068
|
|
|
513
1069
|
## v3.20.0 (2020-04-22)
|
|
514
1070
|
|
|
515
1071
|
### Features
|
|
516
1072
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
1073
|
+
- api: add `disableVideoTrack` method
|
|
1074
|
+
- api: add the `preferredVideoTrack` constructor option and `setPreferredVideoTracks` /
|
|
1075
|
+
`getPreferredVideoTracks` methods to set a video track preference (or to start with the
|
|
1076
|
+
video track disabled).
|
|
1077
|
+
- api: add optional `codec` property to preferred audio tracks APIs, allowing applications
|
|
1078
|
+
to communicate a codec preference.
|
|
1079
|
+
- api: make the `language` and `audioDescription` properties in `preferredAudioTracks`'
|
|
1080
|
+
objects optional.
|
|
1081
|
+
- api: add `signInterpreted` to `getVideoTrack` and `getAvailableVideoTracks` return
|
|
1082
|
+
objects to know when a track contains sign language interpretation
|
|
522
1083
|
|
|
523
1084
|
### Deprecated
|
|
524
1085
|
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
1086
|
+
- api: deprecate the `getManifest()` method
|
|
1087
|
+
- api: deprecate the `getCurrentAdaptations()` method
|
|
1088
|
+
- api: deprecate the `getCurrentRepresentations()` method
|
|
528
1089
|
|
|
529
1090
|
### Bug fixes
|
|
530
1091
|
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
1092
|
+
- compat/eme: Set proper EME Safari implementation, to play contents with DRM on it
|
|
1093
|
+
without issues
|
|
1094
|
+
- compat/directfile/iOS: On Safari iOS, fix auto-play warnings when a directfile content
|
|
1095
|
+
is played with the `playsinline` attribute set.
|
|
1096
|
+
- directfile: In Directfile mode, always disable the current text track when a `null` is
|
|
1097
|
+
encountered in the preferredTextTracks array
|
|
534
1098
|
|
|
535
1099
|
### Other improvements
|
|
536
1100
|
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
1101
|
+
- abr: ignore requests that may have directly hit the cache in our adaptive logic
|
|
1102
|
+
- dash/perf: improve parsing efficiency for very large MPDs, at the expense of a very
|
|
1103
|
+
small risk of de-synchronization. Mechanisms still allow for regular re-synchronization.
|
|
540
1104
|
|
|
541
1105
|
## v3.19.0 (2020-03-11)
|
|
542
1106
|
|
|
543
1107
|
### Features
|
|
544
1108
|
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
1109
|
+
- dash: handle multiple URL per segment announced through multiple BaseURL elements in the
|
|
1110
|
+
MPD
|
|
1111
|
+
- dash/smooth/metaplaylist: add `manifestUpdateUrl` to loadVideo's `transportOptions` to
|
|
1112
|
+
provide a shorter version of the Manifest, used for more resource-efficient Manifest
|
|
1113
|
+
updates
|
|
1114
|
+
- tools/createMetaplaylist: add the experimental `createMetaplaylist` tool, which allows
|
|
1115
|
+
to generate Metaplaylist contents from given Manifests
|
|
1116
|
+
- tools/TextTrackRenderer: add the optional `language` property to the `setTextTrack`
|
|
1117
|
+
method of the experimental `TextTrackRenderer` tool as it could be needed when parsing
|
|
1118
|
+
SAMI subtitles
|
|
1119
|
+
- types: export IAvailableAudioTrack, IAvailableTextTrack and IAvailableVideoTrack types
|
|
1120
|
+
- types: export IAudioTrack, ITextTrack and IVideoTrack types
|
|
551
1121
|
|
|
552
1122
|
### Bug fixes
|
|
553
1123
|
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
1124
|
+
- dash/smooth: fix segment url resolution when there is query parameters in the Manifest
|
|
1125
|
+
URL and/or segment path, themselves containing "/" characters
|
|
1126
|
+
- local-manifest: fix videoElement's duration and `getVideoDuration` for contents in the
|
|
1127
|
+
experimental `local` transport
|
|
1128
|
+
- tools/parseBifThumbnails: do not return an un-displayable ArrayBuffer of the whole thing
|
|
1129
|
+
in each `image` property in the experimental `parseBifThumbnails` function
|
|
557
1130
|
|
|
558
1131
|
### Other improvements
|
|
559
1132
|
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
1133
|
+
- compat: avoid pushing a segment on top of the current position in Safari, as it can
|
|
1134
|
+
sometime lead to green macro-blocks
|
|
1135
|
+
- dash: add multiple performance improvements related to MPD parsing on embedded devices
|
|
1136
|
+
- dash/smooth/metaplaylist/local: refresh less often the Manifest when parsing it takes
|
|
1137
|
+
too much time to improve performance
|
|
1138
|
+
- smooth: filter unsupported video and audio QualityLevels when parsing a Smooth Manifest
|
|
1139
|
+
- build: greatly reduce the time needed to produce a modular build through the
|
|
1140
|
+
`npm run build:modular` script
|
|
1141
|
+
- build: remove Object.assign dependency
|
|
567
1142
|
|
|
568
1143
|
## v3.18.0 (2020-01-30)
|
|
569
1144
|
|
|
570
1145
|
### Features
|
|
571
1146
|
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
1147
|
+
- directfile: support most audio tracks API when playing a directfile content
|
|
1148
|
+
- directfile: support most text tracks API when playing a directfile content
|
|
1149
|
+
- directfile: support most video tracks API when playing a directfile content
|
|
1150
|
+
- api: add `seeking` and `seeked` events which announce the beginning and end of a seek,
|
|
1151
|
+
even when seeking to an already buffered part
|
|
1152
|
+
- subtitles/ttml: handle styles inheriting other styles in TTML subtitles
|
|
1153
|
+
- local-manifest: add experimental `local` transport to allow the playback of downloaded
|
|
1154
|
+
contents (even when offline)
|
|
1155
|
+
- tools: add the experimental `TextTrackRenderer` tool to be able to add a custom text
|
|
1156
|
+
track to any content
|
|
1157
|
+
- tools: add the experimental `parseBifThumbnails` tool to easily parse thumbnails in the
|
|
1158
|
+
BIF format
|
|
580
1159
|
|
|
581
1160
|
### Deprecated
|
|
582
1161
|
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
1162
|
+
- api: deprecate the `supplementaryTextTracks` loadVideo option in profit of the external
|
|
1163
|
+
TextTrackRenderer tool
|
|
1164
|
+
- api: aeprecate the `supplementaryImageTracks` loadVideo option in profit of the external
|
|
1165
|
+
parseBifThumbnails tool
|
|
1166
|
+
- api: deprecate the `getImageTrackData` method in profit of the external
|
|
1167
|
+
`parseBifThumbnails` tool
|
|
1168
|
+
- api: deprecate the `imageTrackUpdate` event in profit of the external
|
|
1169
|
+
`parseBifThumbnails` tool
|
|
1170
|
+
- api: deprecate `hideNativeSubtitles` (officially)
|
|
588
1171
|
|
|
589
1172
|
### Bug fixes
|
|
590
1173
|
|
|
591
|
-
|
|
592
|
-
|
|
1174
|
+
- subtitles/ttml: Correctly handle alpha information in the rgba values included in a TTML
|
|
1175
|
+
file
|
|
1176
|
+
- images/bif: fix sometimes incorrect "ts" value on thumbnails returned by the
|
|
1177
|
+
`getImageTrackData` method and the `imageTrackUpdate` event
|
|
593
1178
|
|
|
594
1179
|
### Other improvements
|
|
595
1180
|
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
1181
|
+
- node: allow the RxPlayer to be imported from Node.js for server-side-rendering
|
|
1182
|
+
- images/bif: throw a better error when an invalid BIF file is received
|
|
1183
|
+
- api: be more "generous" with player events by ditching the deep-equal npm module due to
|
|
1184
|
+
package size and some edge-case behavior
|
|
1185
|
+
- demo: avoid re-rendering multiple ui components when unnecessary
|
|
601
1186
|
|
|
602
1187
|
## v3.17.1 (2019-12-20)
|
|
603
1188
|
|
|
604
1189
|
### Bug fixes
|
|
605
1190
|
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
1191
|
+
- dash/metaplaylist: fix infinite rebuffering issue when refreshing multi-Period contents
|
|
1192
|
+
under specific conditions
|
|
1193
|
+
- buffer: be less aggressive when garbage collecting subtitles (if the
|
|
1194
|
+
maxBufferAhead/maxBufferBehind options are set) to avoid useful subtitles being removed
|
|
1195
|
+
- directfile/compat: for directfile contents, trigger directly the LOADED state on
|
|
1196
|
+
iOS/iPad/iPod browsers as those are not preloaded there
|
|
609
1197
|
|
|
610
1198
|
### Other improvements
|
|
611
1199
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
1200
|
+
- demo: display clickable "play" button on the video element when autoplay is blocked due
|
|
1201
|
+
to browser policies - to help users unlock the situation
|
|
1202
|
+
- demo: add "Other" key system to allow specifying a custom key system in the demo page
|
|
615
1203
|
|
|
616
1204
|
## v3.17.0 (2019-12-09)
|
|
617
1205
|
|
|
618
1206
|
### Features
|
|
619
1207
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
1208
|
+
- eme/api: add keySystems.fallbackOn property to `loadVideo` to allow fallbacking to other
|
|
1209
|
+
qualities when encountering various key errors
|
|
1210
|
+
- eme/api: allow to set `fallbackOnLastTry` on a `getLicense` Error to be able to fallback
|
|
1211
|
+
on other qualities when a license request is on error
|
|
1212
|
+
- eme/api: add `NO_PLAYABLE_REPRESENTATION` `MediaError` for when every video or audio
|
|
1213
|
+
quality cannot be played
|
|
1214
|
+
- manifest/api: add `decipherable` property to a Representation object
|
|
1215
|
+
- api: add `decipherabilityUpdate` event triggered when a Representation's decipherability
|
|
1216
|
+
status is updated
|
|
1217
|
+
- languages/api: add `dub` boolean to audio tracks (through `getAudioTrack` and
|
|
1218
|
+
`getAvailableAudioTracks`) to tell if this is a dubbed track
|
|
1219
|
+
- languages/ttml: with TTML subtitles, support length relative to the Computed Cell Size
|
|
1220
|
+
for `tts:fontSize`, `tts:padding`, `tts:extent`, `tts:origin` and `tts:lineHeight`
|
|
1221
|
+
- transports/api: add `checkMediaSegmentIntegrity` `transportOptions` to automatically
|
|
1222
|
+
retry media segments which appear corrupted
|
|
1223
|
+
- transports/api: add `minimumManifestUpdateInterval` `transportOptions` to limit the
|
|
1224
|
+
Manifest update frequency
|
|
1225
|
+
- transports/api: add "progress" callback to a custom segmentLoader to improve adaptive
|
|
1226
|
+
streaming when an external segment loader is used
|
|
630
1227
|
|
|
631
1228
|
### Bug fixes
|
|
632
1229
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
1230
|
+
- dash/metaplaylist: download the first segment of a new Period when the last downloaded
|
|
1231
|
+
segment from the previous Period ends after that segment ends
|
|
1232
|
+
- smooth/metaplaylist: consider `serverSyncInfos` `transportOptions` for Smooth and
|
|
1233
|
+
MetaPlaylist contents
|
|
1234
|
+
- buffers: completely clean a previous audio/text track from the SourceBuffer when
|
|
1235
|
+
switching to a different audio/text track
|
|
1236
|
+
- dash: avoid requesting an inexistent segment when downloading a multi-Period DASH
|
|
1237
|
+
content with a number-based SegmentTemplate with the `agressiveMode` option set to
|
|
1238
|
+
`true`
|
|
1239
|
+
- eme: do not wait for a previous invalid MediaKeySession to be closed before re-creating
|
|
1240
|
+
a valid one for the same content, to work around a widevine issue
|
|
1241
|
+
- eme: avoid race condition issue arising when multiple init data are received before the
|
|
1242
|
+
MediaKeys have been attached to the media element
|
|
1243
|
+
- dash: do not consider "trickmodes" AdaptationSet as directly playable video tracks
|
|
1244
|
+
- directfile: begin directly at the end (instead of the beginning) when setting a
|
|
1245
|
+
`startAt` loadVideo option with a `fromLastPosition` property set to `0` on directfile
|
|
1246
|
+
contents
|
|
1247
|
+
- metaplaylist: fix playback for non-live MetaPlaylist contents not starting at a `0` time
|
|
642
1248
|
|
|
643
1249
|
### Other improvements
|
|
644
1250
|
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
1251
|
+
- abr: better estimate a lower bitrate after a sudden fall in bandwidth
|
|
1252
|
+
- dash/low-latency: properly use @availabilityTimeOffset when playing a low-latency DASH
|
|
1253
|
+
content
|
|
1254
|
+
- code: use only strict boolean expressions in the code (do not rely on falsy or truthy
|
|
1255
|
+
values anymore).
|
|
1256
|
+
- demo: add buffer content graphs to the demo page to vizualize exactly what have been
|
|
1257
|
+
buffered
|
|
1258
|
+
- demo: improve accessibility of the demo page for the english-speaking visually impaired
|
|
1259
|
+
- misc: replace uglifyJS by terser for minification purposes
|
|
653
1260
|
|
|
654
1261
|
## v3.16.1 (2019-10-03)
|
|
655
1262
|
|
|
656
1263
|
### Bug fixes
|
|
657
1264
|
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
1265
|
+
- dash: update timeshiftBufferDepth considered when refreshing the MPD
|
|
1266
|
+
- dash: fix infinite rebuffering issue when refreshing a Multi-Period MPD with the oldest
|
|
1267
|
+
Periods removed
|
|
1268
|
+
- api: go to `"SEEKING"` state instead of `"BUFFERING"` when seeking while the player is
|
|
1269
|
+
in the "BUFFERING" state
|
|
1270
|
+
- api: Avoid reinitializing the video, audio and text track choice after a `"RELOADING"`
|
|
1271
|
+
state
|
|
1272
|
+
- api: When going back to a Period on which `disableTextTracks` was called, keep the text
|
|
1273
|
+
track disabled even if different `preferredTextTracks` are set
|
|
1274
|
+
- smooth: Replace `{CustomAttributes}` token in a segment URL
|
|
1275
|
+
- dash: load the last segment of a Period when it is declared in a SegmentTemplate (with
|
|
1276
|
+
no SegmentTimeline) and when its end is exactly equal to the end of the Period
|
|
665
1277
|
|
|
666
1278
|
### Other improvements
|
|
667
1279
|
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
1280
|
+
- dash/metaplaylist: be more tolerant with the appendWindows set as the previous behavior
|
|
1281
|
+
could lead to infinite rebuffering and segments re-downloading
|
|
1282
|
+
- dash/metaplaylist/smooth: Better handle discontinuities in a VoD content
|
|
1283
|
+
- dash/metaplaylist: Handle discontinuities between DASH Periods and between MetaPlaylist
|
|
1284
|
+
contents
|
|
1285
|
+
- dash/smooth: Avoid requesting multiple time the last segment when the duration given in
|
|
1286
|
+
the Manifest are inexact
|
|
1287
|
+
- smooth: Skip without throwing Manifest's StreamIndex with an unrecognized type
|
|
1288
|
+
- dash: Improve prediction of when to update a dynamic MPD with xlinks
|
|
1289
|
+
- dash: Be more tolerant of differences between a segment's time announced by the Manifest
|
|
1290
|
+
and the reality to avoid multiple cases of segment re-downloading
|
|
1291
|
+
- dash: Guess initialization range for segments defined in a SegmentBase without an
|
|
1292
|
+
Initialization element
|
|
1293
|
+
- dash: Throw better error when a sidx with a reference_type `1` is encountered
|
|
1294
|
+
- api: Throw a better error when setting a `preferredAudioTracks` or `preferredTextTracks`
|
|
1295
|
+
value in the wrong format
|
|
1296
|
+
- demo: Allow to export and share demo links with custom contents
|
|
1297
|
+
- demo: Fix video track switching in the demo page
|
|
1298
|
+
- demo: Fix spinner not hiding when playing on very specific conditions
|
|
1299
|
+
- demo: reset playback rate before loading a content
|
|
683
1300
|
|
|
684
1301
|
## v3.16.0 (2019-09-16)
|
|
685
1302
|
|
|
686
1303
|
### Features
|
|
687
1304
|
|
|
688
|
-
|
|
689
|
-
-
|
|
690
|
-
|
|
691
|
-
|
|
1305
|
+
- dash: add `lowLatencyMode` `loadVideo` option to play low-latency DASH contents with
|
|
1306
|
+
chunk-encoded CMAF and chunked transfer encoding close to the live edge efficiently
|
|
1307
|
+
- metaplaylist: add the experimental `metaplaylist` transport, which allows to smoothly
|
|
1308
|
+
play a concatenation of multiple contents
|
|
1309
|
+
- api: add `serverSyncInfos` to `transportOptions` (`loadVideo` option)
|
|
1310
|
+
- errors: add `code` property to a `NetworkError` indicating the corresponding HTTP status
|
|
692
1311
|
|
|
693
1312
|
### Bug fixes
|
|
694
1313
|
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
1314
|
+
- dash: fix minimum time calculation for Multi-Period MPDs with SegmentTemplate segment
|
|
1315
|
+
indexes but no SegmentTimeline
|
|
1316
|
+
- dash: play static MPD not declaring any segment for a time of 0 seconds at the minimum
|
|
1317
|
+
possible time by default
|
|
1318
|
+
- dash: fix maximum position calculation for live Multi-Period contents where the
|
|
1319
|
+
currently generated period is not the last one declared in the MPD
|
|
698
1320
|
|
|
699
1321
|
### Other improvements
|
|
700
1322
|
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
1323
|
+
- api: authorize to set no `url` to `loadVideo` if the `manifestLoader` `transportOption`
|
|
1324
|
+
is set
|
|
1325
|
+
- smooth: the `aggressiveMode` option now only allows requests for segments which had time
|
|
1326
|
+
to at least begin to be generated to avoid too much HTTP 412
|
|
1327
|
+
- dash: the `aggressiveMode` now also have an effect for some SegmentTemplate DASH
|
|
1328
|
+
contents (download segments even if they're not finished)
|
|
1329
|
+
- code: add pre-commit and pre-push git hooks to automate checking and facilitate
|
|
1330
|
+
bisecting
|
|
1331
|
+
- dash: better handle live Multi-Period contents where the currently broadcasted period is
|
|
1332
|
+
not the last one declared in the MPD
|
|
1333
|
+
- dash: better infer the end of a Period if the start of the next one is defined
|
|
1334
|
+
- api: always start live contents at the live edge if one is defined and not just before
|
|
1335
|
+
the last available segments
|
|
1336
|
+
- ci: run integration tests with Travis and appveyor again
|
|
710
1337
|
|
|
711
1338
|
## v3.15.1 (2019-08-07)
|
|
712
1339
|
|
|
713
1340
|
### Bug fixes
|
|
714
1341
|
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
1342
|
+
- api: fix `networkConfig.segmentRetry` `loadVideo` option. Due to a typo, it was forced
|
|
1343
|
+
to the default value (4)
|
|
1344
|
+
- api/abr: when the `throttleVideoBitrateWhenHidden` option is set to true, wait 60
|
|
1345
|
+
seconds (as documented) after the page is hidden before switching to a lower bitrate
|
|
1346
|
+
- dash: fix segment indexing for SegmentList-based MPD with a period start different than
|
|
1347
|
+
0
|
|
718
1348
|
|
|
719
1349
|
### Other improvements
|
|
720
1350
|
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
1351
|
+
- dash/smooth: check if the segment should still be available before retrying it (avoid
|
|
1352
|
+
unnecessary HTTP 404 errors)
|
|
1353
|
+
- dash/smooth: the Manifest can now be refreshed due to unexpected 404 HTTP errors on a
|
|
1354
|
+
segment request (only on particular conditions)
|
|
1355
|
+
- dash: better handle segments overlapping multiple periods by using the data that is only
|
|
1356
|
+
within the concerned Period's bounds
|
|
1357
|
+
- demo: authorize to play stored contents with an HTTP Manifest in the HTTPS demo
|
|
726
1358
|
|
|
727
1359
|
## v3.15.0 (2019-07-24)
|
|
728
1360
|
|
|
729
1361
|
### Features
|
|
730
1362
|
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
1363
|
+
- eme: add `getLicenseConfig` property to the `keySystems` `loadVideo` option, to be able
|
|
1364
|
+
to have much more control over getLicense's behavior
|
|
1365
|
+
- eme: add `noRetry` to `getLicense` errors to abort retries when the licence request
|
|
1366
|
+
fails
|
|
1367
|
+
- eme: add `message` to `getLicense` and `onKeyStatusesChange` errors to allow custom
|
|
1368
|
+
errors when the license request fails
|
|
1369
|
+
- eme: add a new `ENCRYPTED_MEDIA_ERROR` with the code `CREATE_MEDIA_KEYS_ERROR` for when
|
|
1370
|
+
we cannot create a MediaKeys instance (seen on some Android devices).
|
|
735
1371
|
|
|
736
1372
|
### Bug fixes
|
|
737
1373
|
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
1374
|
+
- api: avoid sending {audio,video...}BitrateChange with a `-1` value when starting to play
|
|
1375
|
+
a content
|
|
1376
|
+
- api/abr: a call to `setAudioBitrate` or `setVideoBitrate` could be ignored for a content
|
|
1377
|
+
if it was still loading. This is now fixed.
|
|
1378
|
+
- api/abr: a call to `setMaxAutoBitrate` or `setMaxVideoBitrate` could be ignored for a
|
|
1379
|
+
content if it was still loading. This is now fixed.
|
|
1380
|
+
- dash: fix maximum position calculation when refreshing a live MPD with a UTCTiming
|
|
1381
|
+
element and no SegmentTimeline.
|
|
1382
|
+
- dash/smooth: a MPD/Manifest request failing could still be retried when loading another
|
|
1383
|
+
content
|
|
1384
|
+
- eme/compat: on Safari, depend on WebKitMediaKeys even if MediaKeys is defined because of
|
|
1385
|
+
differences of implementations
|
|
1386
|
+
- pipelines: always send `PIPELINE_LOAD_ERROR` warnings when a segment request or a
|
|
1387
|
+
Manifest request is retried
|
|
1388
|
+
- errors: replace undocumented `PIPELINE_RESOLVE_ERROR` code into the proper documented
|
|
1389
|
+
`PIPELINE_LOAD_ERROR` code
|
|
1390
|
+
- errors: replace undocumented `PIPELINE_PARSING_ERROR` code into the proper documented
|
|
1391
|
+
`PIPELINE_PARSE_ERROR` code
|
|
1392
|
+
- errors: add to the `ErrorCodes` static property the previously forgotten `NONE`,
|
|
1393
|
+
`INVALID_KEY_SYSTEM` and `INVALID_ENCRYPTED_EVENT` codes.
|
|
748
1394
|
|
|
749
1395
|
### Other improvements
|
|
750
1396
|
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
1397
|
+
- abr: make use of another adaptive algorithm, buffer-based, when enough buffer has been
|
|
1398
|
+
built.
|
|
1399
|
+
- demo: allow the user to save custom contents to local storage to be able to reuse them
|
|
1400
|
+
when the page is refreshed
|
|
1401
|
+
- eme: throw a better error in `onKeyStatusesChange` if the Promise is rejected without an
|
|
1402
|
+
Error
|
|
1403
|
+
- errors: refactore error management to better correlate the `fatal` boolean to a playback
|
|
1404
|
+
stop and to better ensure a documented error is always thrown
|
|
1405
|
+
- scripts: make our build script compatible with MacOS (handle BSD sed)
|
|
757
1406
|
|
|
758
1407
|
## v3.14.0 (2019-06-26)
|
|
759
1408
|
|
|
760
1409
|
### Features
|
|
761
1410
|
|
|
762
|
-
|
|
1411
|
+
- api/abr: add `throttleVideoBitrateWhenHidden` which unlike `throttleWhenHidden` does not
|
|
1412
|
+
throttle the video bitrate if the media element is in picture-in-picture mode
|
|
763
1413
|
|
|
764
1414
|
### Deprecated
|
|
765
1415
|
|
|
766
|
-
|
|
1416
|
+
- api/abr: deprecate `throttleWhenHidden` in profit of `throttleVideoBitrateWhenHidden`
|
|
1417
|
+
which has a better API definition for some edge cases
|
|
767
1418
|
|
|
768
1419
|
### Bug fixes
|
|
769
1420
|
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
1421
|
+
- api/abr: `limitVideoWidth` now also considers if the video is in picture-in-picture mode
|
|
1422
|
+
- buffer: better prevent the `BUFFER_FULL_ERROR` `MediaError` on some memory-constrained
|
|
1423
|
+
devices
|
|
1424
|
+
- dash: consider the buffer depth as infinite (until `availabilityStartTime`) if the
|
|
1425
|
+
`timeShiftBufferDepth` is not set
|
|
1426
|
+
- smooth: consider the buffer depth as infinite if the `DVRWindowLength` is not set or set
|
|
1427
|
+
to 0
|
|
1428
|
+
- init: start live contents that just began (less than 10 seconds ago) at the minimum
|
|
1429
|
+
position instead of throwing a STARTING_TIME_NOT_FOUND MEDIA_ERROR.
|
|
1430
|
+
- tests: use web server (local by default) instead of stubbed XHRs to serve tests contents
|
|
1431
|
+
to our integration and memory tests
|
|
777
1432
|
|
|
778
1433
|
## v3.13.0 (2019-05-15)
|
|
779
1434
|
|
|
780
1435
|
### Features
|
|
781
1436
|
|
|
782
|
-
|
|
1437
|
+
- eme: add `disableMediaKeysAttachmentLock` key system option to bypass a deadlock (with
|
|
1438
|
+
possible tradeoffs) when playing encrypted contents on some peculiar devices
|
|
783
1439
|
|
|
784
1440
|
### Bug fixes
|
|
785
1441
|
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
1442
|
+
- dash/smooth: never rely on Date.now when calculating time differences to avoid issues
|
|
1443
|
+
when the user adjusts the system clock while playing a live content
|
|
1444
|
+
- eme: throw a better error (avoid `toString is not a function` messages) for a
|
|
1445
|
+
`KEY_LOAD_ERROR` when the `getLicense` function provided fails without a proper error
|
|
1446
|
+
- api: fix rare situation with DASH multi-period contents where we reported no available
|
|
1447
|
+
bitrate, Adaptation nor Representation when switching to another Period.
|
|
789
1448
|
|
|
790
1449
|
### Other improvements
|
|
791
1450
|
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
1451
|
+
- eme: add other default contentTypes when calling requestMediaKeySystemAccess to improve
|
|
1452
|
+
device support
|
|
1453
|
+
- demo: update the demo UI
|
|
1454
|
+
- code: change indentation style of a big chunk of the code to increase readability
|
|
796
1455
|
|
|
797
1456
|
## v3.12.0 (2019-04-10)
|
|
798
1457
|
|
|
799
1458
|
### Features
|
|
800
1459
|
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
1460
|
+
- dash: add UTCTiming support
|
|
1461
|
+
- smooth: add `aggressiveMode` transportOption to requests segments in advance
|
|
1462
|
+
- dash/smooth: add `referenceDateTime` transportOption to set a default reference time for
|
|
1463
|
+
live contents
|
|
804
1464
|
|
|
805
1465
|
### Bug fixes
|
|
806
1466
|
|
|
807
|
-
|
|
1467
|
+
- buffer: work around firefox bug leading to infinite rebuffering when seeking many times
|
|
1468
|
+
in a content
|
|
808
1469
|
|
|
809
1470
|
### Other improvements
|
|
810
1471
|
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
1472
|
+
- dash/smooth: add optional `url`, `sendingTime` and `receivingTime` properties in the
|
|
1473
|
+
response given by manifestLoader transportOption
|
|
1474
|
+
- misc: deploy documentation pages and demos from our previous versions
|
|
1475
|
+
- misc: add new RxPlayer logo to README.md and the demo
|
|
815
1476
|
|
|
816
1477
|
## v3.11.1 (2019-03-11)
|
|
817
1478
|
|
|
818
1479
|
### Bug fixes
|
|
819
1480
|
|
|
820
|
-
|
|
821
|
-
|
|
1481
|
+
- npm: publish package again. An error in the previous release led to some files missing
|
|
1482
|
+
on npm
|
|
822
1483
|
|
|
823
1484
|
## v3.11.0 (2019-03-07)
|
|
824
1485
|
|
|
825
1486
|
### Features
|
|
826
1487
|
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
1488
|
+
- languages/api: add `preferredAudioTracks` and `preferredTextTracks` player options
|
|
1489
|
+
- languages/api: add `setPreferredAudioTracks`, `getPreferredAudioTracks`,
|
|
1490
|
+
`setPreferredTextTracks` and `getPreferredTextTracks` methods
|
|
1491
|
+
- languages/api: add `availableAudioTracksChange`, `availableTextTracksChange` and
|
|
1492
|
+
`availableVideoTracksChange` events
|
|
1493
|
+
- abr/api: add `availableAudioBitratesChange` and `availableVideoBitratesChange` events
|
|
1494
|
+
- eme: allow playback of mixed encrypted and unencrypted contents on Chrome
|
|
1495
|
+
- types: export the new `IAudioTrackPreference` and `ITextTrackPreference` types
|
|
833
1496
|
|
|
834
1497
|
### Deprecated
|
|
835
1498
|
|
|
836
|
-
|
|
837
|
-
|
|
1499
|
+
- languages/api: deprecate the `defaultAudioTrack` `loadVideo` option in favor of the
|
|
1500
|
+
`preferredAudioTracks` player option.
|
|
1501
|
+
- languages/api: deprecate the `defaultTextTrack` `loadVideo` option in favor of the
|
|
1502
|
+
`preferredTextTracks` player option.
|
|
838
1503
|
|
|
839
1504
|
### Bug fixes
|
|
840
1505
|
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
1506
|
+
- dash: fix `minimumUpdatePeriod` management for DASH contents
|
|
1507
|
+
- smooth: better prevent 412 HTTP errors for smooth streaming contents
|
|
1508
|
+
- subtitles: ensure subtitles are not visible in Firefox when disabling them in the
|
|
1509
|
+
`"native"` textTrack mode.
|
|
1510
|
+
- errors: avoid sending multiple `MEDIA_TIME_BEFORE_MANIFEST` or
|
|
1511
|
+
`MEDIA_TIME_AFTER_MANIFEST` warnings instead of just one
|
|
1512
|
+
- api: fix (deprecated) option `hideNativeSubtitles`
|
|
846
1513
|
|
|
847
1514
|
### Other improvements
|
|
848
1515
|
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
1516
|
+
- errors: set a readable error message for every error and warnings thrown
|
|
1517
|
+
- tools/mediaCapabilitiesProber: set logs about unimportant missing APIs as debug-level
|
|
1518
|
+
instead of warn-level
|
|
1519
|
+
- types: provide type safety to `addEventListener` and `removeEventListener`
|
|
853
1520
|
|
|
854
1521
|
## v3.10.3 (2019-01-30)
|
|
855
1522
|
|
|
856
1523
|
### Bug fixes
|
|
857
1524
|
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
1525
|
+
- dash/api: fix `getMinimumPosition` for MPDs with an availabilityStartTime superior to
|
|
1526
|
+
unix epoch
|
|
1527
|
+
- smooth: be more tolerant on downloaded segments (accept ISOBMFF with boxes in any order)
|
|
1528
|
+
- buffers/abr: fix issue infrequently leading to a delay in quality changes
|
|
1529
|
+
- buffers: improve synchronisation to the SourceBuffer's buffer to avoid cases where the
|
|
1530
|
+
same segment could be downloaded multiple times
|
|
1531
|
+
- subtitles: fix bug in the clean-up logic of subtitles in the `"html"` texttrack mode
|
|
1532
|
+
that would lead to removed subtitles still being displayed
|
|
1533
|
+
- pipelines: retry a segment request with a backoff instead of stopping when receiving a
|
|
1534
|
+
HTTP 412
|
|
1535
|
+
- compat/subtitles: work-around firefox issue in the `"native"` texttrack mode to ensure
|
|
1536
|
+
track cues are removed when the content is stopped
|
|
1537
|
+
- subtitles/webvtt: support default classes in the WebVTT specification
|
|
1538
|
+
- subtitles/webvtt: multiple styles for the same element are now merged into one (instead
|
|
1539
|
+
of considering only the last one)
|
|
1540
|
+
- subtitles/webvtt: fix styling issues when both styles applied globally and styles
|
|
1541
|
+
applied on a selector are defined
|
|
1542
|
+
- subtitles/webvtt: do not remove whitespaces in styles to keep a sane formatting for some
|
|
1543
|
+
complex values
|
|
869
1544
|
|
|
870
1545
|
### Other improvements
|
|
871
1546
|
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
1547
|
+
- dash: warn through logs when fields are not in the expected format
|
|
1548
|
+
- drm: throw more explicative error messages when DRM are not supported in the current
|
|
1549
|
+
target
|
|
1550
|
+
- dash/smooth: get more precize duration from ISOBMFF by better handling the default
|
|
1551
|
+
duration taken from the tfhd box
|
|
1552
|
+
- tests: continue unit test coverage improvements (from 22% in the `v3.10.2` to 33.6%)
|
|
1553
|
+
- demo: fix initial text-track selection
|
|
878
1554
|
|
|
879
1555
|
## v3.10.2 (2019-01-08)
|
|
880
1556
|
|
|
881
1557
|
### Bug fixes
|
|
882
1558
|
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
1559
|
+
- dash/smooth: fix manifest updates for some DASH contents (SegmentTimeline without
|
|
1560
|
+
SegmentTemplate) and for some Smooth usages
|
|
1561
|
+
- compat/drm: adopt a new strategy for malfunctioning CENC PSSH on Edge by moving them at
|
|
1562
|
+
the end of the initialization data
|
|
1563
|
+
- dash/smooth: update deprecated Manifest.adaptations property when updating the manifest
|
|
887
1564
|
|
|
888
1565
|
## Other improvements
|
|
889
1566
|
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
1567
|
+
- dash: refresh the MPD less often
|
|
1568
|
+
- dash/smooth: improve precision of `getMaximumPosition` when the Manifest is updated
|
|
1569
|
+
- tests: use the Jest library for unit tests
|
|
1570
|
+
- tests: add a lot of unit tests to sensitive code (from a coverage of 13% in the v3.10.1
|
|
1571
|
+
to 22% in the v3.10.2)
|
|
1572
|
+
- npm: reduce size of the npm package
|
|
896
1573
|
|
|
897
1574
|
## v3.10.1 (2019-01-03)
|
|
898
1575
|
|
|
899
1576
|
### Bug fixes
|
|
900
1577
|
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
1578
|
+
- abr: always consider the last quality estimation
|
|
1579
|
+
- drm: work-arround Edge bug where the browser does not accept a valid CENC PSSH
|
|
1580
|
+
(DRM-related information in an ISOBMFF)
|
|
1581
|
+
- dash: handle `S` nodes (segments) with an @r attribute at `-1` in an MPD
|
|
1582
|
+
- dash: handle `SegmentTimeline` which have as a first `S` node (segment) an undefined @t
|
|
1583
|
+
attribute in an MPD
|
|
1584
|
+
- dash: Representation.index.getLastPosition() for SegmentBase-based DASH Representations
|
|
1585
|
+
now returns the end of the last segment (it returned the start of the last segment
|
|
1586
|
+
before)
|
|
1587
|
+
- dash/smooth: throw better error (`MANIFEST_PARSE_ERROR`) if none of the audio or video
|
|
1588
|
+
tracks of a content can be played (e.g. none have supported codecs)
|
|
907
1589
|
|
|
908
1590
|
### Other improvements
|
|
909
1591
|
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
1592
|
+
- manifest: better infer the minimum time of a Manifest
|
|
1593
|
+
- code: refresh code architecture (rename and move modules, remove some dependencies...)
|
|
1594
|
+
- tests: add coverage reports for both unit and "integration" tests, to check where tests
|
|
1595
|
+
are lacking and better pin down our hot-spots
|
|
1596
|
+
- tests: add appveyor countinous integration service for unit tests
|
|
915
1597
|
|
|
916
1598
|
## v3.10.0 (2018-12-11)
|
|
917
1599
|
|
|
918
1600
|
### Features
|
|
919
1601
|
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
1602
|
+
- dash: Manage xlinks in "onLoad" resolution model
|
|
1603
|
+
- dash: Implement AdaptationSet switching by merging similar and switchable AdaptationSet
|
|
1604
|
+
into a single track
|
|
1605
|
+
- compat: add `MEDIA_ERR_METADATA_NOT_LOADED` warning, triggered when the browser has
|
|
1606
|
+
issues with loading the initial data (only seen on the Samsung mobile browser in
|
|
1607
|
+
directfile mode)
|
|
1608
|
+
- compat: add `MEDIA_ERR_PLAY_NOT_ALLOWED` warning, triggered when the application tries
|
|
1609
|
+
to `play` but the current browser doesn't allow it (often due to autoplay policy)
|
|
1610
|
+
- api: the `play` API now returns a Promise, mirroring the original browser's `play` API
|
|
925
1611
|
|
|
926
1612
|
### Deprecated
|
|
927
1613
|
|
|
928
|
-
|
|
1614
|
+
- api: The `xhr` property from a `NetworkError` is now deprecated
|
|
929
1615
|
|
|
930
1616
|
### Bug fixes
|
|
931
1617
|
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
1618
|
+
- compat/smooth: fix fatal error `BUFFER_APPEND_ERROR` happening on some HSS contents with
|
|
1619
|
+
Edge
|
|
1620
|
+
- dash/smooth: never refresh the manifest if its content is not dynamic
|
|
1621
|
+
- dash/smooth: use new URL if the initial manifest request is redirected (again :/ -
|
|
1622
|
+
thanks @fnatte)
|
|
1623
|
+
- api: do not go out of the `LOADING` state if the metadata could not be fetched (even if
|
|
1624
|
+
the browser tells us otherwise) - to work around Samsung Browser bug
|
|
1625
|
+
- api: avoid going out of the `LOADED` state until the initial seek is done and metadata
|
|
1626
|
+
is fetched
|
|
1627
|
+
- compat: use Promise ponyfill to improve IE11 compatibility with the
|
|
1628
|
+
MediaCapabilitiesProber and some EME functionalities
|
|
1629
|
+
- api: translate most IETF language tags into corresponding ISO639-3 codes for the
|
|
1630
|
+
`normalizedLanguage` property - given from APIs such as `getAvailableAudioTracks`
|
|
1631
|
+
- tools: fix `mediaCapabilitiesProber.getCompatibleDRMConfigurations` experimental tool on
|
|
1632
|
+
Safari
|
|
1633
|
+
- api: filter out duplicates in `getAvailableVideoBitrates` and
|
|
1634
|
+
`getAvailableAudioBitrates`
|
|
941
1635
|
|
|
942
1636
|
### Other improvements
|
|
943
1637
|
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
1638
|
+
- dash: better infer unknown Period durations
|
|
1639
|
+
- dash: better manage overlapping Periods by giving more importance to the last
|
|
1640
|
+
chronological one
|
|
1641
|
+
- memory: clean-up `Adaptation` and `Representation` information on Periods which are not
|
|
1642
|
+
considered anymore
|
|
1643
|
+
- log: warn through our logs every time a warning event is sent by the API
|
|
1644
|
+
- demo: authorize DRMs in IE11 or Safari when in HTTP in the demo page
|
|
1645
|
+
- demo: fix time indication for non-live contents
|
|
951
1646
|
|
|
952
1647
|
## v3.9.3 (2018-11-23)
|
|
953
1648
|
|
|
954
1649
|
### Bug fixes
|
|
955
1650
|
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
1651
|
+
- compat: fix `undefined Object.values function` issue happening in some older browsers
|
|
1652
|
+
(mainly encountered in IE11 and old webkit versions)
|
|
1653
|
+
- compat: remove side-effects relative to DRM on Safari
|
|
1654
|
+
- tools: fix issue about an undefined Array.prototype.find method in some older browsers
|
|
1655
|
+
when calling mediaCapabilitiesProber.getCompatibleDRMConfigurations (mainly encountered
|
|
1656
|
+
in IE11)
|
|
959
1657
|
|
|
960
1658
|
### Other improvements
|
|
961
1659
|
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
1660
|
+
- eme: activate MediaKeys caching on Edge
|
|
1661
|
+
- compat: add in our validation process a ban of methods and functions unavailable in
|
|
1662
|
+
older browsers
|
|
1663
|
+
- tests/smooth: reinforce our Smooth Streaming integration tests
|
|
966
1664
|
|
|
967
1665
|
## v3.9.2 (2018-11-14)
|
|
968
1666
|
|
|
969
1667
|
### Bug fixes
|
|
970
1668
|
|
|
971
|
-
|
|
972
|
-
|
|
1669
|
+
- smooth: authorize empty tracks ("StreamIndex") in Smooth manifests
|
|
973
1670
|
|
|
974
1671
|
## v3.9.1 (2018-11-13)
|
|
975
1672
|
|
|
976
1673
|
### Bug fixes
|
|
977
1674
|
|
|
978
|
-
|
|
979
|
-
|
|
1675
|
+
- smooth: fix issue preventing emergency manifest updates
|
|
1676
|
+
- dash: fix timeout for minimumUpdatePeriod in cases where the time at which the manifest
|
|
1677
|
+
was last requested is not known (like when setting a customManifestLoader argument)
|
|
980
1678
|
|
|
981
1679
|
### Other improvements
|
|
982
1680
|
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
1681
|
+
- smooth: keep supplementary segment information when updating the manifest
|
|
1682
|
+
- smooth: when updating segment information, perform garbage-collection of those
|
|
1683
|
+
concerning unreachable segments
|
|
986
1684
|
|
|
987
1685
|
## v3.9.0 (2018-11-08)
|
|
988
1686
|
|
|
989
1687
|
### Features
|
|
990
1688
|
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1689
|
+
- dash: consider `minimumUpdatePeriod` attribute in MPDs
|
|
1690
|
+
- buffer: add codec-switching for browsers supporting the
|
|
1691
|
+
`SourceBuffer.prototype.changeType` API
|
|
1692
|
+
- dash/smooth: accept and parse segments with a "stpp.ttml.im1t" codec (TTML IMSC1 in MP4)
|
|
994
1693
|
|
|
995
1694
|
### Bug fixes
|
|
996
1695
|
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1696
|
+
- smooth: fix calculations of the initial time, duration and minimum position for HSS VOD
|
|
1697
|
+
contents not starting at a '0' time
|
|
1698
|
+
- buffer: fix priority updates for segment requests
|
|
1699
|
+
- dash: calculate VOD duration from the last period if undefined in the MPD's root
|
|
1700
|
+
- dash: remove possibility of obtaining two periods with the same id
|
|
1701
|
+
- typings: make `manualBitrateSwitchingMode` `loadVideo` option an optional TypeScript
|
|
1702
|
+
typing (thanks @fnatte again!)
|
|
1002
1703
|
|
|
1003
1704
|
### Other improvements
|
|
1004
1705
|
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1706
|
+
- abr: do not always cancel pending requests when switching to a new bitrate
|
|
1707
|
+
- abr: re-estimate the bandwidth immediately after each request
|
|
1708
|
+
- buffer: remove automatic garbage-collection of the "image" source-buffer (its rules
|
|
1709
|
+
should be more complex than those in place)
|
|
1710
|
+
- tools/mediaCapabilitiesProber: Make `getCompatibleDRMConfigurations` work under IE11 and
|
|
1711
|
+
old webkit versions
|
|
1712
|
+
- tools/mediaCapabilitiesProber: Add a multitude of bug fixes to the experimental
|
|
1713
|
+
mediaCapabilitiesProber
|
|
1714
|
+
- package: divide by more than 2 the size of our package published in `npm` (thanks
|
|
1715
|
+
@necccc)
|
|
1716
|
+
- tests: add memory tests to detect memory leaks
|
|
1717
|
+
- demo: add 'favicon' to the demo page
|
|
1014
1718
|
|
|
1015
1719
|
## v3.8.1 (2018-10-17)
|
|
1016
1720
|
|
|
1017
1721
|
### Bug fixes
|
|
1018
1722
|
|
|
1019
|
-
|
|
1020
|
-
|
|
1723
|
+
- abr: fix memory leak in ABR Management
|
|
1724
|
+
- eme: avoid re-attaching a server certificate at each encrypted event
|
|
1021
1725
|
|
|
1022
1726
|
### Other improvements
|
|
1023
1727
|
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1728
|
+
- buffer: lower the "paddings" applied to the video buffer when raising the quality
|
|
1729
|
+
- abr: when pratical, avoid relying on the "Content-Length" header to protect against
|
|
1730
|
+
miscalculations when downloading from misconfigured servers
|
|
1731
|
+
- abr: lower the minimum number of bytes we wait to download before we evaluate the
|
|
1732
|
+
bandwidth
|
|
1733
|
+
- abr: use performance.now instead of Date.now for better precision
|
|
1734
|
+
- module: move express from the dependencies to the devDependencies
|
|
1735
|
+
- demo: fix standalone demo and add possibility to launch it via HTTPS
|
|
1031
1736
|
|
|
1032
1737
|
## v3.8.0 (2018-10-11)
|
|
1033
1738
|
|
|
1034
1739
|
### Features
|
|
1035
1740
|
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1741
|
+
- api/dash/smooth: add representationFilter API to prevent Representations (i.e. media
|
|
1742
|
+
qualities) from being played
|
|
1743
|
+
- api/buffer: add `manualBitrateSwitchingMode` option to allow a direct representation
|
|
1744
|
+
switch when calling `setVideoBitrate` and `setAudioBitrate`
|
|
1745
|
+
- api/buffer: emit a `MEDIA_TIME_BEFORE_MANIFEST` warning when the wanted time is before
|
|
1746
|
+
what is announced in the manifest
|
|
1747
|
+
- api/buffer: emit a `MEDIA_TIME_AFTER_MANIFEST` warning when the wanted time is after
|
|
1748
|
+
what is announced in the manifest
|
|
1040
1749
|
|
|
1041
1750
|
### Bug fixes
|
|
1042
1751
|
|
|
1043
|
-
|
|
1752
|
+
- remove export of undeclared `ICompatVTTCue` from modular build
|
|
1044
1753
|
|
|
1045
1754
|
### Other improvements
|
|
1046
1755
|
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1756
|
+
- buffer: to avoid taking too much memory, regularly clean-up text and image buffer 5
|
|
1757
|
+
hours ahead/behind the current position (customizable)
|
|
1758
|
+
- demo: add HTTPS capabilities on local full demo
|
|
1759
|
+
- rxjs: update rxjs to 6.3.3
|
|
1760
|
+
- typescript: update typescript to 3.1.2
|
|
1052
1761
|
|
|
1053
1762
|
## v3.7.0 (2018-09-21)
|
|
1054
1763
|
|
|
1055
1764
|
### Features
|
|
1056
1765
|
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1766
|
+
- eme: add `throwOnLicenseExpiration` boolean to `keySystems` (`loadVideo` option) to
|
|
1767
|
+
allow better expiration management
|
|
1768
|
+
- eme: in the `getLicense` property of `keySystems` (`loadVideo` option), it is now
|
|
1769
|
+
possible to resolve with `null` to avoid a license update.
|
|
1770
|
+
- eme: in the `onKeyStatusesChange` property of `keySystems` (`loadVideo` option), it is
|
|
1771
|
+
now possible to resolve with `null` to avoid a license update.
|
|
1772
|
+
- tools: replace experimental tool `mediaCapabilitiesProber.isDRMSupported` by the more
|
|
1773
|
+
useful `mediaCapabilitiesProber.getCompatibleDRMConfigurations`
|
|
1061
1774
|
|
|
1062
1775
|
### Deprecated
|
|
1063
1776
|
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1777
|
+
- smooth: giving a WSX URL instead of the Manifest URL for a smooth content is now
|
|
1778
|
+
deprecated.
|
|
1779
|
+
- smooth: giving a _publishing point definition_ URL (.isml) instead of the Manifest URL
|
|
1780
|
+
for a smooth content is now deprecated.
|
|
1781
|
+
- smooth: giving a _Smooth Streaming server manifest_ URL (.ism) instead of the Manifest
|
|
1782
|
+
URL for a smooth content is now deprecated.
|
|
1067
1783
|
|
|
1068
1784
|
### Bug fixes
|
|
1069
1785
|
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1786
|
+
- api: switch state to "ENDED" if seeking to the end while the player is in the "LOADED"
|
|
1787
|
+
state.
|
|
1788
|
+
- api: switch state to "SEEKING" if seeking in the content while the player is in the
|
|
1789
|
+
"LOADED" state.
|
|
1790
|
+
- dash: consider multiple `Role` nodes for an AdaptationSet.
|
|
1791
|
+
- typescript: fix typings error when an application build us without the `skipLibCheck`
|
|
1792
|
+
TypeScript option enabled.
|
|
1793
|
+
- smooth: fix Manifest URL generation when a ".ism" or a ".isml" URL is given.
|
|
1794
|
+
- doc: document deprecation of the `adaptations` property returned from a `Manifest`
|
|
1795
|
+
object (as returned from the `getManifest` method).
|
|
1076
1796
|
|
|
1077
1797
|
### Other improvements
|
|
1078
1798
|
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1799
|
+
- doc: add quick start tutorial.
|
|
1800
|
+
- doc: add player states documentation.
|
|
1801
|
+
- demo: add possibility to play encrypted contents.
|
|
1802
|
+
- demo: update demo page.
|
|
1803
|
+
- tests: consolidate our integration tests.
|
|
1085
1804
|
|
|
1086
1805
|
## v3.6.1 (2018-09-03)
|
|
1087
1806
|
|
|
1088
1807
|
### Bug fixes
|
|
1089
1808
|
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1809
|
+
- directfile: send `LOADED` event again for directfile contents - thanks @Fnatte
|
|
1810
|
+
- dash: don't merge "main" AdaptationSet if they are not of a video type
|
|
1811
|
+
- eme: fix bug which prevented the `closeSessionsOnStop` keySystem option to work properly
|
|
1812
|
+
- typescript: export types compatible with project references
|
|
1095
1813
|
|
|
1096
1814
|
### Other improvements
|
|
1097
1815
|
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1816
|
+
- directfile/tests: add basic directfile integration tests
|
|
1817
|
+
- build: update to Babel 7
|
|
1818
|
+
- rxjs: update to RxJS 6.3.1
|
|
1102
1819
|
|
|
1103
1820
|
## v3.6.0 (2018-08-24)
|
|
1104
1821
|
|
|
1105
1822
|
### Features
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1823
|
+
|
|
1824
|
+
- api: add video track switching
|
|
1825
|
+
- dash: add webm support
|
|
1826
|
+
- api: Emit warning if autoPlay is blocked on the current browser
|
|
1827
|
+
- api: add `getAvailableVideoTracks` method to retrieve every video tracks
|
|
1828
|
+
- api: add `getVideoTrack` method to get the active video track
|
|
1829
|
+
- api: add `setVideoTrack` method to switch the video track
|
|
1830
|
+
- api: add `videoTrackChange` event to know when a video track has been switched
|
|
1831
|
+
- api: add `RELOADING` event for cases where the player needs to reload (such as during a
|
|
1832
|
+
video track switch)
|
|
1114
1833
|
|
|
1115
1834
|
### Deprecated
|
|
1116
1835
|
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1836
|
+
- api: the method `isFullscreen` has been deprecated
|
|
1837
|
+
- api: the method `setFullscreen` has been deprecated
|
|
1838
|
+
- api: the method `exitFullscreen` has been deprecated
|
|
1839
|
+
- api: the method `getNativeTextTrack` has been deprecated
|
|
1840
|
+
- api: the event `fullscreenChange` has been deprecated
|
|
1841
|
+
- api: the event `nativeTextTrackChange` has been deprecated
|
|
1123
1842
|
|
|
1124
1843
|
### Bug Fixes
|
|
1125
1844
|
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1845
|
+
- ttml: display forbidden characters (such as ">") in a `"native"` `textTrackMode`
|
|
1846
|
+
- ttml: process `xml:space` even if it is not defined at the top level
|
|
1847
|
+
- buffer: perform a better clean-up of previous media in a SourceBuffer when switching
|
|
1848
|
+
audio or text track
|
|
1849
|
+
- manifest/dash: throw a MANIFEST_PARSE_ERROR when no AdaptationSet of a given type in a
|
|
1850
|
+
Period is in a compatible codec
|
|
1130
1851
|
|
|
1131
1852
|
### Other improvements
|
|
1132
1853
|
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1854
|
+
- types: export and document main typings used internally such as ILoadVideoOptions (the
|
|
1855
|
+
loadVideo argument)
|
|
1856
|
+
- misc: log every fatal errors
|
|
1857
|
+
- misc: remove dumb npm inclusion as a project dependency
|
|
1858
|
+
- doc: improve architecture documentation
|
|
1138
1859
|
|
|
1139
1860
|
## v3.5.2 (2018-08-06)
|
|
1140
1861
|
|
|
1141
1862
|
### Bug fixes
|
|
1142
1863
|
|
|
1143
|
-
- dash: Manage presentationTimeOffset completely (allow advanced multi-period
|
|
1864
|
+
- dash: Manage presentationTimeOffset completely (allow advanced multi-period
|
|
1865
|
+
configurations)
|
|
1144
1866
|
- dash: Fix Adaptations bug when the first DASH adaptation was a "main" one
|
|
1145
1867
|
- smooth: Remove the limitation of a minimum bitrate in Smooth Streaming
|
|
1146
1868
|
- dash: Fix condition which prevented to play audio-only live DASH streams
|
|
@@ -1153,470 +1875,517 @@
|
|
|
1153
1875
|
- drm: Add keyId information to the internal Manifest structure
|
|
1154
1876
|
- typescript: update typescript to v3.0.1
|
|
1155
1877
|
|
|
1156
|
-
|
|
1157
1878
|
## v3.5.1 (2018-07-11)
|
|
1158
1879
|
|
|
1159
1880
|
### Bug fixes
|
|
1160
1881
|
|
|
1161
|
-
|
|
1162
|
-
|
|
1882
|
+
- parsers: fix wrong computation of segment time in template index
|
|
1883
|
+
- abr: get concerned request in starvation mode
|
|
1163
1884
|
|
|
1164
1885
|
## v3.5.0 (2018-07-03)
|
|
1165
1886
|
|
|
1166
1887
|
### Added
|
|
1167
1888
|
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
-
|
|
1171
|
-
|
|
1889
|
+
- tools: add `mediaCapabilitiesProber` tool as an experimental tool
|
|
1890
|
+
- builds: add minimal import with feature selection (allowing cleaner feature switching or
|
|
1891
|
+
lazy-loading)
|
|
1892
|
+
- dash: allow multiple "main" adaptation
|
|
1893
|
+
- api: add static `version` property to the RxPlayer API
|
|
1172
1894
|
|
|
1173
1895
|
### Bug fixes
|
|
1174
1896
|
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1897
|
+
- vtt: fix `line` setting for vtt tracks in `"native"` textTrackMode
|
|
1898
|
+
- dash: always play "main" adaptation first
|
|
1899
|
+
- misc: don't interfere with a client's RxJS implementation by switching to RxJS 6
|
|
1900
|
+
- dash: presentationTimeOffset doesn't have an influence on requested segment anymore
|
|
1901
|
+
- smooth/dash: throw a `"MANIFEST_PARSE_ERROR"` if no audio and video
|
|
1902
|
+
adaptations/StreamIndex are available in the current content
|
|
1180
1903
|
|
|
1181
1904
|
### Other improvements
|
|
1182
1905
|
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1906
|
+
- builds: Reduce size of the builds
|
|
1907
|
+
- builds: use uglifyJS instead of Closure-compiler
|
|
1908
|
+
- builds: update to typescript 2.9
|
|
1909
|
+
- rxjs: update to RxJS version 6 (v6.2.1)
|
|
1910
|
+
- code: set complete URL in segment's media property
|
|
1911
|
+
- demo: add time indicator on the progress bar
|
|
1912
|
+
- demo: update fullscreen mode to also display the text track element
|
|
1913
|
+
- misc: moved demo server scripts to the respective demo directories
|
|
1914
|
+
- misc: moved manifest parsers to the `src/parsers` directory
|
|
1915
|
+
- misc: moved scripts from `./tools` to `./scripts`
|
|
1916
|
+
- misc: moved webpack configs to the root of the project
|
|
1195
1917
|
|
|
1196
1918
|
## v3.4.1 (2018-05-31)
|
|
1197
1919
|
|
|
1198
1920
|
### Bug fixes
|
|
1199
1921
|
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1922
|
+
- buffer: fix several bugs happening when calling `endOfStream` to announce the end of the
|
|
1923
|
+
current content. Especially prevalent on Chrome.
|
|
1924
|
+
- net: use redirected URL as a base for further requests when the manifest request led to
|
|
1925
|
+
a HTTP redirect.
|
|
1926
|
+
- vtt/srt: ignore silently (do not throw) when an unknown block has been detected in a vtt
|
|
1927
|
+
or srt file
|
|
1928
|
+
- vtt/srt: support styling spans (like b, i and u XML tags) spanning multiple lines
|
|
1929
|
+
- api: `getAvailableTextTracks` and `getAvailableAudioTracks` now always return an array
|
|
1930
|
+
(and never null) as announced in the API documentation
|
|
1931
|
+
- api: set default log level to `"NONE"` instead of `"INFO"`
|
|
1932
|
+
- misc: remove development-only code from the non-minified code
|
|
1207
1933
|
|
|
1208
1934
|
### Other improvements
|
|
1209
1935
|
|
|
1210
|
-
|
|
1211
|
-
|
|
1936
|
+
- misc: move some dev dependencies from `dependencies` to `devDependencies` in
|
|
1937
|
+
`package.json`
|
|
1212
1938
|
|
|
1213
1939
|
## v3.4.0 (2018-05-17)
|
|
1214
1940
|
|
|
1215
1941
|
### Added
|
|
1216
1942
|
|
|
1217
|
-
|
|
1218
|
-
|
|
1943
|
+
- eme: allow multiple licenses per content
|
|
1944
|
+
- eme: allow different MediaKeys to be attached on multiple media elements
|
|
1219
1945
|
|
|
1220
1946
|
### Bug fixes
|
|
1221
1947
|
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1948
|
+
- eme: limit simultaneous loaded MediaKeySession to 50 by default (configurable)
|
|
1949
|
+
- source-buffer: clean properly the text SourceBuffer on deactivation
|
|
1950
|
+
- buffer: perform discontinuity seeks only for native source buffers
|
|
1225
1951
|
|
|
1226
1952
|
### Other improvements
|
|
1227
1953
|
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1954
|
+
- doc: generate documentation pages
|
|
1955
|
+
- misc: add sonarqube quality pass
|
|
1956
|
+
- code: set a clearer private state for the API
|
|
1957
|
+
- tools: update to webpack v4.8.3
|
|
1958
|
+
- tools: update to typescript v2.8.3
|
|
1234
1959
|
|
|
1235
1960
|
## v3.3.2 (2018-04-17)
|
|
1236
1961
|
|
|
1237
1962
|
### Bug Fixes
|
|
1238
1963
|
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1964
|
+
- api: emit SEEKING state instead of BUFFERING when the user seeks to an unbuffered part
|
|
1965
|
+
just after resuming playback
|
|
1966
|
+
- api: work around bug found in old versions of Chrome where the ENDED state would never
|
|
1967
|
+
be triggered at the end of the stream
|
|
1968
|
+
- api/language: fix bug where an audio or text language would not be switched to on
|
|
1969
|
+
certain conditions in live contents
|
|
1970
|
+
- smooth: fix frequent manifest refreshing happening immediately when changing audio/text
|
|
1971
|
+
language
|
|
1972
|
+
- eme/error: fix reason string and error message for KEY_STATUS_CHANGE_ERROR
|
|
1244
1973
|
|
|
1245
1974
|
### Other improvements
|
|
1246
1975
|
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1976
|
+
- buffer: update download queue immediately when seeking to an already-buffered part, to
|
|
1977
|
+
always prioritize needed segments
|
|
1978
|
+
- buffer: schedule segments per level of priority to lower some buffering/seeking/loading
|
|
1979
|
+
time
|
|
1980
|
+
- demo: fix "Big Buck Bunny WEBM"'s URL
|
|
1251
1981
|
|
|
1252
1982
|
## v3.3.1 (2018-03-13)
|
|
1253
1983
|
|
|
1254
1984
|
### Bug Fixes
|
|
1255
1985
|
|
|
1256
|
-
|
|
1257
|
-
|
|
1986
|
+
- misc: fix missing browser API on IE11
|
|
1987
|
+
- buffer: end correctly streams which experienced a custom sourcebuffer (text/image) crash
|
|
1258
1988
|
|
|
1259
1989
|
### Other improvements
|
|
1260
1990
|
|
|
1261
|
-
|
|
1262
|
-
|
|
1991
|
+
- tools: support development on windows
|
|
1263
1992
|
|
|
1264
1993
|
## v3.3.0 (2018-03-05)
|
|
1265
1994
|
|
|
1266
1995
|
### Added
|
|
1267
1996
|
|
|
1268
|
-
|
|
1997
|
+
- api: add directfile API to allow the playback of files natively managed by the browser
|
|
1269
1998
|
|
|
1270
1999
|
### Bug Fixes
|
|
1271
2000
|
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
2001
|
+
- api: fix player state when seeking after the video ended
|
|
2002
|
+
- text/api: fix getTextTrack API which could return the current audio track instead
|
|
2003
|
+
- text: clean-up custom HTML text track SourceBuffer's buffered when the text track is
|
|
2004
|
+
disabled
|
|
1276
2005
|
|
|
1277
2006
|
## v3.2.0 (2018-02-23)
|
|
1278
2007
|
|
|
1279
2008
|
### Added
|
|
1280
2009
|
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
-
|
|
2010
|
+
- dash: Handle multi-periods DASH manifests
|
|
2011
|
+
- api: add `periodChange` event
|
|
2012
|
+
- api: add `stopAtEnd` option to the constructor, to deactivate automatic content
|
|
2013
|
+
un-loading when it ends
|
|
2014
|
+
- api: add `manifestLoader` to the `transportOptions` of a `loadVideo` call
|
|
1285
2015
|
|
|
1286
2016
|
### Bug Fixes
|
|
1287
2017
|
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
2018
|
+
- stream: call `endOfStream` for better end detection and to allow the Chrome browser to
|
|
2019
|
+
display the last frames of a video
|
|
2020
|
+
- buffer: always play the last possible milliseconds of a content (removed END_OF_PLAY
|
|
2021
|
+
config attribute)
|
|
2022
|
+
- eme: workaround a bug found on Chrome where setting a `keySystems` option in `loadVideo`
|
|
2023
|
+
would always throw on HTTP (not HTTPS) pages.
|
|
2024
|
+
- vtt: fix WebVTT parsing when the last line of a WebVTT file is not a new line
|
|
2025
|
+
- dash: ignore availabilityStartTime settings for a static MPD
|
|
2026
|
+
- buffer: ignore segments for a duration inferior to the MINIMUM_SEGMENT_SIZE (200ms by
|
|
2027
|
+
default) to avoid infinite re-downloading
|
|
1294
2028
|
|
|
1295
2029
|
### Other improvements
|
|
1296
2030
|
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
2031
|
+
- update RxJS to v5.5.6
|
|
2032
|
+
- update TypeScript to v2.7.2
|
|
1300
2033
|
|
|
1301
2034
|
## v3.1.0 (2018-01-30)
|
|
1302
2035
|
|
|
1303
2036
|
### Added
|
|
1304
2037
|
|
|
1305
|
-
|
|
1306
|
-
|
|
2038
|
+
- api: add `networkConfig` to `loadVideo` options
|
|
2039
|
+
- eme: add `closeSessionsOnStop` to the `keySystems` `loadVideo` option
|
|
1307
2040
|
|
|
1308
2041
|
### Bug Fixes
|
|
1309
2042
|
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
2043
|
+
- dash: fix Range request ranges for representations based on a SegmentList index
|
|
2044
|
+
- smooth: allows smooth Manifests for non-live contents to begin at a timestamp != 0
|
|
1313
2045
|
|
|
1314
2046
|
## v3.0.7 (2018-01-19)
|
|
1315
2047
|
|
|
1316
2048
|
### Bug fixes
|
|
1317
2049
|
|
|
1318
|
-
|
|
1319
|
-
|
|
2050
|
+
- eme: fix bug which prevented to play encrypted contents on IE11
|
|
1320
2051
|
|
|
1321
2052
|
## v3.0.6 (2018-01-11)
|
|
1322
2053
|
|
|
1323
2054
|
### Bug Fixes
|
|
1324
2055
|
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
2056
|
+
- buffer: fix issue which could led to multiple video or audio segments being downloaded
|
|
2057
|
+
at the same time
|
|
2058
|
+
- dash/text: support MPD AdaptationSet with a "caption" Role as text Adaptations
|
|
2059
|
+
- dash/text: remove offset set for subtitles on live contents, which led to unsynchronized
|
|
2060
|
+
subtitles
|
|
2061
|
+
- dash: fix issue which could led to segments being re-downloaded too much in a
|
|
2062
|
+
SegmentTemplate scheme
|
|
1329
2063
|
|
|
1330
2064
|
### Other improvements
|
|
1331
2065
|
|
|
1332
|
-
|
|
1333
|
-
|
|
2066
|
+
- demo: set "html" textTrackMode by default to have a better stylization of closed
|
|
2067
|
+
captions.
|
|
1334
2068
|
|
|
1335
2069
|
## v3.0.5 (2017-12-11)
|
|
1336
2070
|
|
|
1337
2071
|
### Bug Fixes
|
|
1338
2072
|
|
|
1339
|
-
|
|
1340
|
-
|
|
2073
|
+
- eme: consider unknown errors (e.g. errors coming from the user of the library) as fatal
|
|
2074
|
+
eme errors
|
|
1341
2075
|
|
|
1342
2076
|
## v3.0.4 (2017-12-05)
|
|
1343
2077
|
|
|
1344
2078
|
### Bug Fixes
|
|
1345
2079
|
|
|
1346
|
-
|
|
1347
|
-
|
|
2080
|
+
- text/webvtt: authorize header options without parsing them
|
|
2081
|
+
- text/webvtt: authorize timestamps without hours
|
|
1348
2082
|
|
|
1349
2083
|
### Other improvements
|
|
1350
2084
|
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
2085
|
+
- misc: remove multiple unneeded assertions in DEV mode
|
|
2086
|
+
- misc: update DEV mode default debug level from DEBUG to INFO
|
|
1354
2087
|
|
|
1355
2088
|
## v3.0.3 (2017-11-24)
|
|
1356
2089
|
|
|
1357
2090
|
### Bug Fixes
|
|
1358
2091
|
|
|
1359
|
-
|
|
1360
|
-
|
|
2092
|
+
- text/ttml: apply correctly a style if directly set on an attribute
|
|
2093
|
+
- eme: load new video even if the last EME clean-up failed
|
|
1361
2094
|
|
|
1362
2095
|
### Other improvements
|
|
1363
2096
|
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
2097
|
+
- misc: set better work arround for typescript issue
|
|
2098
|
+
[20104](https://github.com/Microsoft/TypeScript/issues/20104) to make building npm
|
|
2099
|
+
scripts usable again
|
|
2100
|
+
- tools: update the update-version npm script
|
|
2101
|
+
- demo: `npm run start` and `npm run standalone` now build the rx-player in the
|
|
2102
|
+
"development" environment
|
|
2103
|
+
- tools: add more logs in DEBUG mode
|
|
1369
2104
|
|
|
1370
2105
|
## v3.0.2 (2017-11-17)
|
|
1371
2106
|
|
|
1372
2107
|
### Bug Fixes
|
|
1373
2108
|
|
|
1374
|
-
|
|
1375
|
-
|
|
2109
|
+
- misc: work around typescript issue
|
|
2110
|
+
[20104](https://github.com/Microsoft/TypeScript/issues/20104) temporarly to launch in
|
|
2111
|
+
Chrome in HTTP
|
|
1376
2112
|
|
|
1377
2113
|
## v3.0.1 (2017-11-17)
|
|
1378
2114
|
|
|
1379
2115
|
### Bug Fixes
|
|
1380
2116
|
|
|
1381
|
-
|
|
1382
|
-
|
|
2117
|
+
- abr: adopt a less agressive strategy to avoid re-bufferings
|
|
2118
|
+
- smooth: avoid most of the manifest refresh requests
|
|
1383
2119
|
|
|
1384
2120
|
### Other improvements
|
|
1385
2121
|
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
2122
|
+
- Switch codebase to TypeScript
|
|
2123
|
+
- Add Travis CI
|
|
1389
2124
|
|
|
1390
2125
|
## v3.0.0 (2017-11-10)
|
|
1391
2126
|
|
|
1392
2127
|
### Added
|
|
1393
2128
|
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
2129
|
+
- misc: add possibility to do custom builds through environment variables, to remove
|
|
2130
|
+
unwanted features from minified code.
|
|
2131
|
+
- languages: add support for segmented VTT subtitles
|
|
2132
|
+
- languages/dash: add support for plain text TTML, SAMI, SRT, VTT and MP4-embedded VTT
|
|
2133
|
+
subtitles in DASH manifests
|
|
2134
|
+
- languages/smooth: add support for MP4-embedded VTT subtitles in Smooth manifests
|
|
2135
|
+
- languages: add possibility to show fragmented or not TTML, SAMI, SRT and VTT text tracks
|
|
2136
|
+
in a <track> element, even for browser that do not support the VTTCue API
|
|
2137
|
+
- languages: add possibility to show TTML, SRT, VTT and SAMI text tracks in HTML tags for
|
|
2138
|
+
richer stylisation.
|
|
2139
|
+
- api: add `textTrackElement` option to `loadVideo`
|
|
2140
|
+
- api: add `textTrackMode` option to `loadVideo`
|
|
2141
|
+
- api: add `nativeTextTracksChange` event
|
|
2142
|
+
- eme: it is now possible to directly set the reverse domain name of the wanted key system
|
|
2143
|
+
in the `type` property of `loadVideo`'s `keySystems` option.
|
|
2144
|
+
- api: add property `percentage` to the `startAt` argument of `loadVideo`.
|
|
2145
|
+
- abr: add `bitrateEstimationChange` event
|
|
2146
|
+
- api: add `LogLevel` static property
|
|
2147
|
+
- api: a Date object can now be given to the `loadVideo` argument `startAt.wallClockTime`.
|
|
2148
|
+
It will be automatically converted into seconds.
|
|
2149
|
+
- languages: add `normalizedLanguage` property in manifest-related-APIs to expose the ISO
|
|
2150
|
+
639-3 language code of the audio and text tracks
|
|
2151
|
+
- languages: add `normalized` property in language-related-API to expose the ISO 639-3
|
|
2152
|
+
language code of the audio and text tracks
|
|
2153
|
+
- loadVideo: add `codecs` property to supplementaryTextTracks
|
|
2154
|
+
- api: add `wantedBufferAhead` constructor option
|
|
2155
|
+
- api: add `maxBufferAhead` constructor option
|
|
2156
|
+
- api: add `maxBufferBehind` constructor option
|
|
2157
|
+
- api: add `getVideoBufferGap` method
|
|
2158
|
+
- api: add `isMute` method
|
|
2159
|
+
- api: add `getManualAudioBitrate` method
|
|
2160
|
+
- api: add `getManualVideoBitrate` method
|
|
2161
|
+
- config: add a global config file (src/config.js) to easily tweak the player behavior
|
|
1419
2162
|
|
|
1420
2163
|
### Changed
|
|
1421
2164
|
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
2165
|
+
- languages: switch from ISO 639-2 to ISO 639-3 language codes in various APIs
|
|
2166
|
+
- languages: the `language` property returned by language and manifest related APIs now
|
|
2167
|
+
reflect the exact language as set in the manifest
|
|
2168
|
+
- api: `setVideoBitrate` can now be called even when no content is playing
|
|
2169
|
+
- api: `setAudioBitrate` can now be called even when no content is playing
|
|
2170
|
+
- api: `setVideoBitrate` can now be called even when no video track has the exact same
|
|
2171
|
+
bitrate
|
|
2172
|
+
- api: `setAudioBitrate` can now be called even when no audio track has the exact same
|
|
2173
|
+
bitrate
|
|
2174
|
+
- api: giving a number to `seekTo` now has the same effect than setting a position option
|
|
2175
|
+
in argument (`seekTo({ position }) === seekTo(position)`)
|
|
2176
|
+
- api: `getUrl` now do not throw if no content is playing
|
|
2177
|
+
- api: `isLive` now do not throw if no content is playing
|
|
2178
|
+
- api: `loadVideo` does not return anything anymore
|
|
2179
|
+
- api: private (undocumented) variables have been isolated on a player instance to a
|
|
2180
|
+
`_priv` object.
|
|
2181
|
+
- api: the constructor option `throttleWhenHidden` is now set to false by default
|
|
2182
|
+
- api: the constructor option `limitVideoWidth` is now set to false by default
|
|
1435
2183
|
|
|
1436
2184
|
### Removed
|
|
1437
2185
|
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
2186
|
+
- api: remove `defaultAudioTrack` constructor option
|
|
2187
|
+
- api: remove `defaultTextTrack` constructor option
|
|
2188
|
+
- api: remove `transportOptions` constructor option
|
|
2189
|
+
- api: remove `transport` constructor option
|
|
2190
|
+
- api: remove `nativeTextTrackChange` event in favor of `nativeTextTracksChange` event
|
|
2191
|
+
(notice the "s")
|
|
2192
|
+
- api: remove `goToStart` method
|
|
2193
|
+
- api: remove `getStartTime` method
|
|
2194
|
+
- api: remove `getEndTime` method
|
|
2195
|
+
- api: remove `toggleDebug` method
|
|
2196
|
+
- api: remove `hideDebug` method
|
|
2197
|
+
- api: remove `showDebug` method
|
|
2198
|
+
- api: remove `getDebug` method
|
|
2199
|
+
- api: remove `getImageTrack` method
|
|
2200
|
+
- api: remove `setVideoBufferSize` method in favor of `setWantedBufferAhead` method
|
|
2201
|
+
- api: remove `getVideoBufferSize` method in favor of `getWantedBufferAhead` method
|
|
2202
|
+
- api: remove `setAudioBufferSize` method in favor of `setWantedBufferAhead` method
|
|
2203
|
+
- api: remove `getAudioBufferSize` method in favor of `getWantedBufferAhead` method
|
|
2204
|
+
- api: remove `maximumBufferTime` property from `positionUpdate` events
|
|
2205
|
+
- api: remove `getCurrentTime` method
|
|
2206
|
+
- api: remove `asObservable` method
|
|
2207
|
+
- api: remove `loadVideo` option `manifests` in favor of `url` and `keySystems` options
|
|
2208
|
+
- api: remove `loadVideo` option `subtitles` in favor of `supplementaryTextTracks` option
|
|
2209
|
+
- api: remove `loadVideo` option `images` in favor of `supplementaryImageTracks` option
|
|
2210
|
+
- api: remove constructor option `initVideoBitrate` in favor of `initialVideoBitrate`
|
|
2211
|
+
option
|
|
2212
|
+
- api: remove constructor option `initAudioBitrate` in favor of `initialVideoBitrate`
|
|
2213
|
+
option
|
|
2214
|
+
- api: remove constructor option `defaultLanguage` in favor of `defaultAudioTrack` option
|
|
2215
|
+
- api: remove constructor option `defaultSubtitle` in favor of `defaultTextTrack` option
|
|
2216
|
+
- position: remove `subtitleChange` event
|
|
2217
|
+
- position: remove `languageChange` event
|
|
2218
|
+
- position: remove `progress` event
|
|
2219
|
+
- position: remove `currentTimeChange` event in favor of `positionUpdate` event
|
|
2220
|
+
- adaptive: remove `getMetrics` method
|
|
2221
|
+
- adaptive: remove `getAverageBitrates` method
|
|
2222
|
+
- adaptive: remove `getVideoMaxBitrate` method in favor of `getMaxVideoBitrate` method
|
|
2223
|
+
- adaptive: remove `getAudioMaxBitrate` method in favor of `getMaxAudioBitrate` method
|
|
2224
|
+
- errors: remove static method `getErrorTypes` in favor of the static property
|
|
2225
|
+
`errorTypes`
|
|
2226
|
+
- errors: remove static method `getErrorCodes` in favor of the static property
|
|
2227
|
+
`errorCodes`
|
|
2228
|
+
- languages: remove `normalizeLanguageCode` method
|
|
2229
|
+
- languages: remove `getAvailableLanguages` method
|
|
2230
|
+
- languages: remove `getAvailableSubtitles` method
|
|
2231
|
+
- languages: remove `isLanguageAvailable` method
|
|
2232
|
+
- languages: remove `isSubtitleAvailable` method
|
|
2233
|
+
- languages: remove `getLanguage` method
|
|
2234
|
+
- languages: remove `getSubtitle` method
|
|
2235
|
+
- languages: remove `setLanguage` method
|
|
2236
|
+
- languages: remove `setSubtitle` method
|
|
1484
2237
|
|
|
1485
2238
|
### Bug Fixes:
|
|
1486
2239
|
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
2240
|
+
- dash: fix bug that prevented to play most dash contents with SegmentTemplate-based
|
|
2241
|
+
manifests
|
|
2242
|
+
- dash: it's now possible to play SegmentTimeline-based contents with a numbering scheme
|
|
2243
|
+
- dash/text: calculate the text track time offset for dynamic DASH contents (prevented
|
|
2244
|
+
most text tracks from live DASH contents to be displayed)
|
|
2245
|
+
- eme: fix EME issues when loading multiple videos in IE/Edge
|
|
2246
|
+
- api: The state of the player when ready to play with autoPlay === false is now
|
|
2247
|
+
`"LOADED"` and not `"PAUSED"`
|
|
2248
|
+
- api: fix infinite loading bug when a new content is synchronously launched as soon as
|
|
2249
|
+
the previous one is ended or fell on error
|
|
2250
|
+
- dash: allow absolute BaseURL in Periods
|
|
2251
|
+
- languages: avoid excessive re-downloads if a `supplementaryTextTracks` is provided and
|
|
2252
|
+
either a `maxBufferBehind` or a `maxBufferAhead` is set.
|
|
2253
|
+
- eme: the `reason` for the eme error `KEY_STATUS_CHANGE_ERROR` is now correctly filled in
|
|
2254
|
+
- eme: do not set widevine robustnesses for non-widevine key systems
|
|
2255
|
+
- languages: fix bug which led the text buffer to _crash_ when the `wantedBufferBehind`
|
|
2256
|
+
option is set
|
|
2257
|
+
- languages: fix bug which led to TextTracks chunks being re-downloaded multiple times
|
|
2258
|
+
- speed: fix playback rate bug when setting it while the player is stalled
|
|
2259
|
+
- smooth: fix "fallback" callback in the segmentLoader API for smooth contents.
|
|
2260
|
+
- smooth: fix some minor risks of infinite rebuffering for live contents, when the
|
|
2261
|
+
isobmff's tfrf box is not well parsed.
|
|
2262
|
+
- buffer: avoid infinite player rebuffering when the manifest is not exactly aligned with
|
|
2263
|
+
the real duration of the content
|
|
2264
|
+
- buffer: avoid multiple causes of infinite player rebuffering by managing segment garbage
|
|
2265
|
+
collection
|
|
2266
|
+
- languages: getAudioTrack now always returns the currently set audio track
|
|
2267
|
+
- languages: getTextTrack now always returns the currently set text track
|
|
1506
2268
|
|
|
1507
2269
|
### Other improvements
|
|
1508
2270
|
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
2271
|
+
- manifest: improve manifest refreshing logic, by not downloading it when unnecessary
|
|
2272
|
+
- smooth: begin to play arround 10s before the live edge instead of 20 seconds for smooth
|
|
2273
|
+
contents
|
|
2274
|
+
- network: the backoff algorithm has been refactored for better network error resilience
|
|
2275
|
+
- adaptive: improved ABR management to provide a better, faster and more stable bandwidth
|
|
2276
|
+
estimation
|
|
2277
|
+
- adaptive: add strategies for abrupt changes of bandwidth to avoid excessive re-buffering
|
|
2278
|
+
on network fluctuations
|
|
2279
|
+
- adaptive: the adaptive algorithm now take into account the current playback rate
|
|
2280
|
+
- doc: added file architecture documentation
|
|
2281
|
+
- tests: fixed and added integration tests
|
|
2282
|
+
- demo: the demo now manages most languages defined by in the ISO 639-3 standard
|
|
1519
2283
|
|
|
1520
2284
|
## v2.3.2 (2017-07-25)
|
|
1521
2285
|
|
|
1522
2286
|
### Bug Fixes
|
|
1523
2287
|
|
|
1524
|
-
|
|
1525
|
-
|
|
2288
|
+
- eme: update EME workflow to improve support (especially chromebooks)
|
|
1526
2289
|
|
|
1527
2290
|
## v2.3.1 (2017-07-10)
|
|
1528
2291
|
|
|
1529
2292
|
### Bug Fixes
|
|
1530
2293
|
|
|
1531
|
-
|
|
1532
|
-
|
|
2294
|
+
- buffer: improve buffer ranges "bookeeping" logic to avoid re-downloading the same
|
|
2295
|
+
segments
|
|
1533
2296
|
|
|
1534
2297
|
## v2.3.0 (2017-07-07)
|
|
1535
2298
|
|
|
1536
2299
|
### Added
|
|
1537
2300
|
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
2301
|
+
- eme: add audioRobustnesses to loadVideo's keySystems argument (/!\ undocumented API -
|
|
2302
|
+
can break without official notice)
|
|
2303
|
+
- eme: add videoRobustnesses to loadVideo's keySystems argument (/!\ undocumented API -
|
|
2304
|
+
can break without official notice)
|
|
2305
|
+
- eme: add serverCertificate to loadVideo's keySystems argument
|
|
2306
|
+
- buffer: add {set,get}MaxBufferAhead methods
|
|
2307
|
+
- buffer: add {set,get}MaxBufferBehind methods
|
|
2308
|
+
- buffer: add {set,get}WantedBufferAhead methods replacing the deprecated buffer size
|
|
2309
|
+
methods
|
|
1544
2310
|
|
|
1545
2311
|
### Deprecated
|
|
1546
2312
|
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
2313
|
+
- setVideoBufferSize has been deprecated in favor of setWantedBufferAhead
|
|
2314
|
+
- getVideoBufferSize has been deprecated in favor of getWantedBufferAhead
|
|
2315
|
+
- setAudioBufferSize has been deprecated in favor of setWantedBufferAhead
|
|
2316
|
+
- getAudioBufferSize has been deprecated in favor of getWantedBufferAhead
|
|
1551
2317
|
|
|
1552
2318
|
### Bug Fixes
|
|
1553
2319
|
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
2320
|
+
- buffer: avoid some infinite re-buffering by re-calculating buffer ranges at every tick
|
|
2321
|
+
- eme: add eme support for some legacy browser without video or audio capabilities
|
|
2322
|
+
- general: add support for older browsers (which does not support
|
|
2323
|
+
array.prototype.{find,findIndex,includes})
|
|
2324
|
+
- general: use Object.assign ponyfill instead of the previous polyfill to avoid malicious
|
|
2325
|
+
interferences with other codebases
|
|
1559
2326
|
|
|
1560
2327
|
## v2.2.1 (2017-06-27)
|
|
1561
2328
|
|
|
1562
2329
|
### Bug fixes
|
|
1563
2330
|
|
|
1564
|
-
|
|
1565
|
-
|
|
2331
|
+
- adaptive: fix width limitation bug. Impacted limitVideoWidth + setMaxVideoBitrate APIs
|
|
1566
2332
|
|
|
1567
2333
|
## v2.2.0 (2017-06-19)
|
|
1568
2334
|
|
|
1569
2335
|
### Added
|
|
1570
2336
|
|
|
1571
|
-
|
|
2337
|
+
- position: add maximumBufferPosition to the positionUpdate event's payload to replace the
|
|
2338
|
+
previous "liveGap" from currentTimeChange event
|
|
1572
2339
|
|
|
1573
2340
|
### Bug fixes
|
|
1574
2341
|
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
2342
|
+
- upgrade to rxjs 5.4.1 to escape memory leak
|
|
2343
|
+
- position: "liveGap" from currentTimeChange event now means the difference to the maximum
|
|
2344
|
+
"bufferisable" position to keep compatibility with the old API
|
|
1578
2345
|
|
|
1579
2346
|
## v2.1.3 (2017-06-15)
|
|
1580
2347
|
|
|
1581
2348
|
### Bug fixes
|
|
1582
2349
|
|
|
1583
|
-
|
|
1584
|
-
|
|
2350
|
+
- api: fix timeFragment.start handling
|
|
1585
2351
|
|
|
1586
2352
|
## v2.1.2 (2017-06-14)
|
|
1587
2353
|
|
|
1588
2354
|
### Bug fixes
|
|
1589
2355
|
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
2356
|
+
- stream: the BUFFER_APPEND_ERROR error, happening when a SourceBuffer.appendBuffer failed
|
|
2357
|
+
for an unknown reason, is now a fatal error for audio/video segments
|
|
2358
|
+
- eme: fix rxjs timeout management which prevented from playing DRM-protected contents
|
|
2359
|
+
- api: add securities to avoid useless errors to be thrown when the player (already)
|
|
2360
|
+
encounter an error
|
|
2361
|
+
- position: fix bug which prevented to seek at the beginning of the content with the new
|
|
2362
|
+
api
|
|
2363
|
+
- position: fix typo which prevented to perform absolute seeks with the new api
|
|
2364
|
+
- buffer: automatically seek if there is discontinuity in a live stream
|
|
2365
|
+
- adaptive: take the lowest bitrate (instead of the initial/default one) when the player
|
|
2366
|
+
is not displayed/too small
|
|
1598
2367
|
|
|
1599
2368
|
## v2.1.1 (2017-06-02)
|
|
1600
2369
|
|
|
1601
2370
|
### Bug fixes
|
|
1602
2371
|
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
2372
|
+
- hotfix: fixed rxjs imports
|
|
2373
|
+
- hotfix: the player can now be imported through a commonjs require
|
|
2374
|
+
- hotfix: the player could not play if the video element's width was too short
|
|
2375
|
+
- manifest: segment id were not always the same on a segmentLoader and on the API calls.
|
|
2376
|
+
- adaptive: setVideoBitrate now throw a more meaningful error if no content is playing
|
|
2377
|
+
- adaptive: setAudioBitrate now throw a more meaningful error if no content is playing
|
|
2378
|
+
- language: setSubtitle now throw a more meaningful error if no content is playing
|
|
2379
|
+
- language: setLanguage now throw a more meaningful error if no content is playing
|
|
2380
|
+
- language: isLanguageAvailable do not throw and return false if no content is playing
|
|
2381
|
+
- language: isSubtitleAvailable do not throw and return false if no content is playing
|
|
1613
2382
|
|
|
1614
2383
|
### Other improvements
|
|
1615
2384
|
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
2385
|
+
- api: deprecated api now only warn once
|
|
2386
|
+
- tests: integration tests have been added
|
|
2387
|
+
- manifest: the manifest object and the management of its index has been refactored for
|
|
2388
|
+
future improvements
|
|
1620
2389
|
|
|
1621
2390
|
## v2.1.0 (2017-05-29)
|
|
1622
2391
|
|
|
@@ -1639,10 +2408,12 @@
|
|
|
1639
2408
|
- api: add getWallClockTime method
|
|
1640
2409
|
- manifest: add getCurrentRepresentations method
|
|
1641
2410
|
- manifest: add getCurrentAdaptations method
|
|
1642
|
-
- api: add throttleWhenHidden option to constructor (to disable throttling when the
|
|
1643
|
-
|
|
2411
|
+
- api: add throttleWhenHidden option to constructor (to disable throttling when the
|
|
2412
|
+
current page is hidden for an extended time)
|
|
2413
|
+
- api: add limitVideoWidth option to constructor (to disable throttling to match the video
|
|
2414
|
+
element's width)
|
|
1644
2415
|
- api: add initialAudioBitrate and initialVideoBitrate to constructor's options
|
|
1645
|
-
- api: add defaultTextTrack and defaultAudioTrack
|
|
2416
|
+
- api: add defaultTextTrack and defaultAudioTrack to loadVideo and constructor's options
|
|
1646
2417
|
- languages: add getAvailableAudioTracks method with audio description support
|
|
1647
2418
|
- languages: add getAvailableTextTracks method with closed caption support
|
|
1648
2419
|
- languages: add getAudioTrack method with audio description support
|
|
@@ -1655,7 +2426,8 @@
|
|
|
1655
2426
|
|
|
1656
2427
|
### Deprecated
|
|
1657
2428
|
|
|
1658
|
-
- position: the timeFragment API is deprecated (loadVideo's timeFragment argument,
|
|
2429
|
+
- position: the timeFragment API is deprecated (loadVideo's timeFragment argument,
|
|
2430
|
+
getStartTime, getEndTime and goToStart)
|
|
1659
2431
|
- api: currentTimeChange event is replaced by the positionUpdate event
|
|
1660
2432
|
- api: progress event is deprecated and not replaced
|
|
1661
2433
|
- api: getImageTrack is replaced by the imageTrackUpdate event
|
|
@@ -1677,10 +2449,14 @@
|
|
|
1677
2449
|
- api: using setFullscreen(false) is replaced by exitFullscreen
|
|
1678
2450
|
- api: getErrorTypes method has been deprecated in favor of the ErrorTypes property
|
|
1679
2451
|
- api: getErrorCodes method has been deprecated in favor of the ErrorCodes property
|
|
1680
|
-
- languages: initAudioBitrate option in constructor is deprecated in favor of
|
|
1681
|
-
|
|
1682
|
-
- languages:
|
|
1683
|
-
|
|
2452
|
+
- languages: initAudioBitrate option in constructor is deprecated in favor of
|
|
2453
|
+
initialAudioBitrate
|
|
2454
|
+
- languages: initVideoBitrate option in constructor is deprecated in favor of
|
|
2455
|
+
initialVideoBitrate
|
|
2456
|
+
- languages: defaultSubtitle option in constructor and loadVideo is deprecated in favor of
|
|
2457
|
+
defaultTextTrack
|
|
2458
|
+
- languages: defaultLanguage option in constructor and loadVideo is deprecated in favor of
|
|
2459
|
+
defaultAudioTrack
|
|
1684
2460
|
- languages: getAvailableLanguages is deprecated in favor of getAvailableAudioTracks
|
|
1685
2461
|
- languages: getAvailableSubtitles is deprecated in favor of getAvailableTextTracks
|
|
1686
2462
|
- languages: getLanguage is deprecated in favor of getAudioTrack
|
|
@@ -1692,14 +2468,17 @@
|
|
|
1692
2468
|
|
|
1693
2469
|
### Bug fixes
|
|
1694
2470
|
|
|
1695
|
-
- adaptive: fix a bug where it was impossible to switch between multiple videos
|
|
2471
|
+
- adaptive: fix a bug where it was impossible to switch between multiple videos
|
|
2472
|
+
representations with the same width
|
|
1696
2473
|
- languages: fix bug where the user could switch to a closed caption track unknowngly
|
|
1697
2474
|
- languages: fix bug where the user could switch to an audio description track unknowngly
|
|
1698
2475
|
- manifest: improved and documented getManifest's return value
|
|
1699
|
-
- manifest: defined and documented a generic manifest object structure (slowly replacing
|
|
2476
|
+
- manifest: defined and documented a generic manifest object structure (slowly replacing
|
|
2477
|
+
the old object).
|
|
1700
2478
|
- images: image playlists are now not re-fetched if the request failed (no retry)
|
|
1701
2479
|
- dash: lowered security time raising the startup time for SegmentTemplate-based contents
|
|
1702
|
-
- api: getLanguage/getSubtitle returns now the language of the last chunk received, not
|
|
2480
|
+
- api: getLanguage/getSubtitle returns now the language of the last chunk received, not
|
|
2481
|
+
the last set
|
|
1703
2482
|
- manifest: fixed manifest-refreshing logic (mainly for live contents)
|
|
1704
2483
|
- dash: fixed support for dash SegmentTimeline-based contents
|
|
1705
2484
|
- api: differentiate unset default languages from empty strings
|
|
@@ -1721,12 +2500,10 @@
|
|
|
1721
2500
|
- demo: The Demo has been completely rewritten
|
|
1722
2501
|
- demo: The bundle has been removed from the code committed.
|
|
1723
2502
|
|
|
1724
|
-
|
|
1725
2503
|
## v2.0.0-alpha1 (2016-02-09)
|
|
1726
2504
|
|
|
1727
2505
|
- RxJS: use RxJS5.beta1
|
|
1728
|
-
- Promise: remove es6-promise dependency and stop relying completely
|
|
1729
|
-
on promises
|
|
2506
|
+
- Promise: remove es6-promise dependency and stop relying completely on promises
|
|
1730
2507
|
|
|
1731
2508
|
- eme: improve IE11 and Edge support on EME
|
|
1732
2509
|
- smooth: activate patch in place on non IE targets for less memory allocation
|
|
@@ -1740,7 +2517,6 @@
|
|
|
1740
2517
|
|
|
1741
2518
|
- lint: add new rules (no-var, prefer-const, enforce brackets)
|
|
1742
2519
|
|
|
1743
|
-
|
|
1744
2520
|
## v1.4.0 (2016-01-26)
|
|
1745
2521
|
|
|
1746
2522
|
### Added
|
|
@@ -1752,7 +2528,7 @@
|
|
|
1752
2528
|
|
|
1753
2529
|
### Bug fixes
|
|
1754
2530
|
|
|
1755
|
-
- player: fix getAvailable
|
|
2531
|
+
- player: fix getAvailable\* for direct files
|
|
1756
2532
|
- player: fix subtle race on loadedmetadata after retry
|
|
1757
2533
|
- eme: remove compat code for old chrome versions with eme flags
|
|
1758
2534
|
- eme: always ask for temporary session type
|
|
@@ -1760,19 +2536,16 @@
|
|
|
1760
2536
|
- eme: improve persistent license support and compat
|
|
1761
2537
|
- smooth: fix index timeline if no duration
|
|
1762
2538
|
|
|
1763
|
-
Demo
|
|
1764
|
-
----
|
|
2539
|
+
## Demo
|
|
1765
2540
|
|
|
1766
2541
|
- allow to pass query parameters
|
|
1767
2542
|
|
|
1768
|
-
|
|
1769
2543
|
## v1.3.1 (2015-10-14)
|
|
1770
2544
|
|
|
1771
2545
|
### Bug fixes
|
|
1772
2546
|
|
|
1773
2547
|
- smooth: fix parseBoolean causing isLive to be always true
|
|
1774
2548
|
|
|
1775
|
-
|
|
1776
2549
|
## v1.3.0 (2015-10-14)
|
|
1777
2550
|
|
|
1778
2551
|
### Added
|
|
@@ -1781,19 +2554,16 @@ Demo
|
|
|
1781
2554
|
- timings: add progress sampling
|
|
1782
2555
|
- compat: add firefox workaround for autoplay
|
|
1783
2556
|
|
|
1784
|
-
|
|
1785
2557
|
## v1.2.1 (2015-09-23)
|
|
1786
2558
|
|
|
1787
2559
|
### Bug fixes
|
|
1788
2560
|
|
|
1789
2561
|
- stream: do not stall on loadedmetadata event
|
|
1790
2562
|
|
|
1791
|
-
|
|
1792
2563
|
## v1.2.0 (2015-09-23)
|
|
1793
2564
|
|
|
1794
|
-
This release introduces the use of ES6 classes for all modules that
|
|
1795
|
-
|
|
1796
|
-
RxJSv3.1.1.
|
|
2565
|
+
This release introduces the use of ES6 classes for all modules that depends on a sort of
|
|
2566
|
+
class hierarchy. It comes with an upgrade of RxJSv3.1.1.
|
|
1797
2567
|
|
|
1798
2568
|
We also started using eslint as our main linter instead of jshint.
|
|
1799
2569
|
|
|
@@ -1805,7 +2575,6 @@ We also started using eslint as our main linter instead of jshint.
|
|
|
1805
2575
|
- dash: incremental id from adaptations/representations (c24fecb)
|
|
1806
2576
|
- stream: discontinuity check on each stalled tick (3a5b796)
|
|
1807
2577
|
|
|
1808
|
-
|
|
1809
2578
|
### Bug fixes
|
|
1810
2579
|
|
|
1811
2580
|
- fix missing new on Promise (4679632)
|
|
@@ -1817,7 +2586,6 @@ We also started using eslint as our main linter instead of jshint.
|
|
|
1817
2586
|
- player: fix getUrl (577ce87)
|
|
1818
2587
|
- manifest: enforce id setting to parsers (927d275)
|
|
1819
2588
|
|
|
1820
|
-
|
|
1821
2589
|
## v1.1.0 (2015-08-14)
|
|
1822
2590
|
|
|
1823
2591
|
### Added
|
|
@@ -1834,7 +2602,6 @@ We also started using eslint as our main linter instead of jshint.
|
|
|
1834
2602
|
- fix no MediaKeySession reuse on Chrome
|
|
1835
2603
|
- fix quota error with MediaKeys attached to multiple video elements on Chrome
|
|
1836
2604
|
|
|
1837
|
-
|
|
1838
2605
|
## v1.0.0 (2015-06-16)
|
|
1839
2606
|
|
|
1840
2607
|
Initial public release.
|