@bitmovin/player-web-x 10.2.0-beta.9 → 10.2.0
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/bundles/playerx-bitmovin-v8-core.js +2 -2
- package/bundles/playerx-bitmovin-v8.js +2 -2
- package/bundles/playerx-core.js +2 -2
- package/bundles/playerx-dash.js +2 -2
- package/bundles/playerx-hls-ts-audio.js +2 -2
- package/bundles/playerx-hls.js +2 -2
- package/bundles/playerx-playback.js +2 -2
- package/bundles/playerx-tv.js +2 -2
- package/package.json +1 -1
- package/packages/playerx-adaptation.package.js +2 -2
- package/packages/playerx-advertising-api.package.js +2 -2
- package/packages/playerx-advertising-base.package.js +2 -2
- package/packages/playerx-advertising-bitmovin.package.js +2 -2
- package/packages/playerx-analytics.package.js +2 -2
- package/packages/playerx-bitmovin-advertising-bundle.package.js +2 -2
- package/packages/playerx-bitmovin-source-api.package.js +2 -2
- package/packages/playerx-bitmovin-ui.package.js +2 -2
- package/packages/playerx-bitmovin-v8-core.package.js +2 -2
- package/packages/playerx-bitmovin-v8-static-api.package.js +2 -2
- package/packages/playerx-bitmovin-video-element-utils.package.js +2 -2
- package/packages/playerx-capabilities.package.js +2 -2
- package/packages/playerx-container-mp4.package.js +2 -2
- package/packages/playerx-container-ts.package.js +2 -2
- package/packages/playerx-core.package.js +2 -2
- package/packages/playerx-dash-manifest-technology.package.js +2 -2
- package/packages/playerx-dash-manifest.package.js +2 -2
- package/packages/playerx-dash-parsing.package.js +2 -2
- package/packages/playerx-dash-translation.package.js +2 -2
- package/packages/playerx-dash.package.js +2 -2
- package/packages/playerx-data.package.js +2 -2
- package/packages/playerx-event-bus.package.js +2 -2
- package/packages/playerx-hls-manifest-technology.package.js +2 -2
- package/packages/playerx-hls-manifest.package.js +2 -2
- package/packages/playerx-hls-parsing.package.js +2 -2
- package/packages/playerx-hls-translation.package.js +2 -2
- package/packages/playerx-hls.package.js +2 -2
- package/packages/playerx-media-state.package.d.ts +1 -0
- package/packages/playerx-media-state.package.js +10 -0
- package/packages/playerx-mse-playback.package.js +2 -2
- package/packages/playerx-mse-presentation.package.js +2 -2
- package/packages/playerx-native-playback.package.js +2 -2
- package/packages/playerx-native-presentation.package.js +2 -2
- package/packages/playerx-network.package.js +2 -2
- package/packages/playerx-no-adaptation.package.js +2 -2
- package/packages/playerx-platform-detection.package.d.ts +1 -0
- package/packages/playerx-platform-detection.package.js +10 -0
- package/packages/playerx-playback-api.package.js +2 -2
- package/packages/playerx-playback-technology.package.js +2 -2
- package/packages/playerx-playback.package.js +2 -2
- package/packages/playerx-player-api.package.js +2 -2
- package/packages/playerx-safari.package.d.ts +1 -0
- package/packages/playerx-safari.package.js +10 -0
- package/packages/playerx-segment-processing.package.js +2 -2
- package/packages/playerx-source.package.js +2 -2
- package/packages/playerx-sources-api.package.js +2 -2
- package/packages/playerx-stream-data-structure.package.js +2 -2
- package/packages/playerx-streaming.package.js +2 -2
- package/packages/playerx-subtitle-api.package.js +2 -2
- package/packages/playerx-subtitle-base.package.js +2 -2
- package/packages/playerx-subtitle-format-detection.package.js +2 -2
- package/packages/playerx-subtitle-native-renderer.package.js +2 -2
- package/packages/playerx-subtitles.package.js +2 -2
- package/packages/playerx-trick-play.package.js +2 -2
- package/packages/playerx-ts-transmuxer.package.js +2 -2
- package/packages/playerx-tv.package.js +2 -2
- package/packages/playerx-ui.package.js +2 -2
- package/packages/playerx-video-element-controller.package.d.ts +1 -0
- package/packages/playerx-video-element-controller.package.js +10 -0
- package/packages/playerx-view-mode.package.js +2 -2
- package/packages/playerx-web-vtt.package.js +2 -2
- package/playerx-framework-utils.js +2 -2
- package/types/Types.d.ts +3 -0
- package/types/bundles/BitmovinV8.bundle.d.ts +7 -1
- package/types/bundles/BitmovinV8Core.bundle.d.ts +6 -0
- package/types/bundles/Core.bundle.d.ts +6 -0
- package/types/bundles/Dash.bundle.d.ts +7 -1
- package/types/bundles/Hls.bundle.d.ts +7 -1
- package/types/bundles/HlsTsAudio.bundle.d.ts +7 -1
- package/types/bundles/Playback.bundle.d.ts +7 -1
- package/types/bundles/Tv.bundle.d.ts +7 -1
- package/types/packages/adaptation/Adaptation.package.d.ts +9 -2
- package/types/packages/adaptation/AdaptationAlgorithm.d.ts +4 -0
- package/types/packages/adaptation/AdaptationStateAtom.d.ts +13 -16
- package/types/packages/adaptation/NoAdaptation.package.d.ts +2 -0
- package/types/packages/adaptation/StartupQuality.d.ts +5 -0
- package/types/packages/adaptation/Types.d.ts +24 -4
- package/types/packages/adaptation/WishConfigAtom.d.ts +4 -23
- package/types/packages/adaptation/WishDataAtom.d.ts +9 -2
- package/types/packages/advertising/BitmovinAdvertisingBundle.package.d.ts +3 -1
- package/types/packages/advertising/api/AdvertisingApi.package.d.ts +3 -1
- package/types/packages/advertising/api/AdvertisingEvents.d.ts +47 -7
- package/types/packages/advertising/api/Types.d.ts +110 -11
- package/types/packages/advertising/api/api-conversion/AdApiCache.d.ts +14 -0
- package/types/packages/advertising/api/content-source/AdBreakAtom.d.ts +19 -0
- package/types/packages/advertising/api/content-source/Types.d.ts +36 -0
- package/types/packages/advertising/base/AdExtension.d.ts +11 -0
- package/types/packages/advertising/base/AdIconAtom.d.ts +20 -0
- package/types/packages/advertising/base/AdIconPosition.d.ts +8 -0
- package/types/packages/advertising/base/AdPosition.d.ts +1 -0
- package/types/packages/advertising/base/AdQuartile.d.ts +5 -0
- package/types/packages/advertising/base/AdResource.d.ts +16 -0
- package/types/packages/advertising/base/AdSchedule.d.ts +2 -2
- package/types/packages/advertising/base/AdTagAtom.d.ts +1 -1
- package/types/packages/advertising/base/AdType.d.ts +4 -0
- package/types/packages/advertising/base/AdvertisingBase.package.d.ts +2 -0
- package/types/packages/advertising/base/BaseAdAtom.d.ts +27 -5
- package/types/packages/advertising/base/{BaseAdBreakAtom.d.ts → BaseAdPodAtom.d.ts} +8 -6
- package/types/packages/advertising/base/BaseAdPodState.d.ts +7 -0
- package/types/packages/advertising/base/BaseAdState.d.ts +7 -0
- package/types/packages/advertising/base/ClickThroughAtom.d.ts +11 -0
- package/types/packages/advertising/base/CompanionAdAtom.d.ts +18 -0
- package/types/packages/advertising/base/Types.d.ts +19 -29
- package/types/packages/advertising/bitmovin/AdvertisingBitmovin.package.d.ts +2 -0
- package/types/packages/advertising/bitmovin/Types.d.ts +17 -10
- package/types/packages/analytics/Analytics.package.d.ts +2 -0
- package/types/packages/browser-specific/safari/Safari.package.d.ts +5 -0
- package/types/packages/browser-specific/safari/Types.d.ts +24 -0
- package/types/packages/capabilities/Capabilities.package.d.ts +2 -0
- package/types/packages/capabilities/Types.d.ts +1 -1
- package/types/packages/container/container-mp4/ContainerMp4.package.d.ts +4 -0
- package/types/packages/container/container-ts/ContainerTs.package.d.ts +5 -1
- package/types/packages/container/ts-transmuxer/TsTransmuxer.package.d.ts +4 -0
- package/types/packages/core/Constants.d.ts +7 -0
- package/types/packages/core/Core.package.d.ts +2 -0
- package/types/packages/core/Types.d.ts +3 -2
- package/types/packages/core/metrics/MetricsAtom.d.ts +1 -1
- package/types/packages/{adaptation → core/state}/RingBufferAtom.d.ts +2 -2
- package/types/packages/core/state/StateMachineAtom.d.ts +13 -12
- package/types/packages/core/state/state-effect/Types.d.ts +2 -2
- package/types/packages/core/technology/Types.d.ts +2 -2
- package/types/packages/core/utils/ArrayHelper.d.ts +0 -2
- package/types/packages/core/utils/DomUtils.d.ts +5 -2
- package/types/packages/data/Data.package.d.ts +2 -0
- package/types/packages/data/Types.d.ts +7 -1
- package/types/packages/event-bus/EventBus.package.d.ts +2 -0
- package/types/packages/manifest/dash/DashManifest.package.d.ts +2 -0
- package/types/packages/manifest/dash/parsing/DashParsing.package.d.ts +2 -0
- package/types/packages/manifest/dash/parsing/Errors.d.ts +1 -1
- package/types/packages/manifest/dash/root/Dash.package.d.ts +2 -0
- package/types/packages/manifest/dash/root/Types.d.ts +3 -1
- package/types/packages/manifest/dash/technology/DashManifestTechnology.package.d.ts +2 -0
- package/types/packages/manifest/dash/technology/Types.d.ts +2 -1
- package/types/packages/manifest/dash/translation/DashTranslation.package.d.ts +2 -0
- package/types/packages/manifest/hls/HlsManifest.package.d.ts +2 -0
- package/types/packages/manifest/hls/parsing/Constants.d.ts +47 -0
- package/types/packages/manifest/hls/parsing/Errors.d.ts +1 -1
- package/types/packages/manifest/hls/parsing/HlsParsing.package.d.ts +2 -0
- package/types/packages/manifest/hls/parsing/Types.d.ts +5 -48
- package/types/packages/manifest/hls/parsing/m3u8/TranslatorStream.d.ts +1 -0
- package/types/packages/manifest/hls/root/Hls.package.d.ts +8 -1
- package/types/packages/manifest/hls/technology/HlsManifestTechnology.package.d.ts +2 -0
- package/types/packages/manifest/hls/technology/Types.d.ts +2 -1
- package/types/packages/manifest/hls/translation/HlsTranslation.package.d.ts +7 -0
- package/types/packages/manifest/hls/translation/Types.d.ts +10 -11
- package/types/packages/manifest/hls/translation/segments/StreamHelpers.d.ts +14 -0
- package/types/packages/manifest/hls/translation/stream/TracksToSelectionGroups.d.ts +6 -0
- package/types/packages/manifest/hls/translation/stream/UnknownTrackToMediaTrackTranslator.d.ts +4 -0
- package/types/packages/media-state/MediaInfoAtoms.d.ts +18 -0
- package/types/packages/media-state/MediaState.d.ts +10 -0
- package/types/packages/media-state/MediaState.package.d.ts +24 -0
- package/types/packages/media-state/MediaStateAtom.d.ts +16 -0
- package/types/packages/media-state/MediaStateTransitionType.d.ts +11 -0
- package/types/packages/media-state/SeekRestrictionAtom.d.ts +2 -0
- package/types/packages/media-state/Types.d.ts +48 -0
- package/types/packages/media-state/controllers/video-element/StaleTransitionTracker.d.ts +10 -0
- package/types/packages/media-state/controllers/video-element/Types.d.ts +35 -0
- package/types/packages/media-state/controllers/video-element/VideoElementController.package.d.ts +18 -0
- package/types/packages/network/HttpRequestMethod.d.ts +5 -0
- package/types/packages/network/HttpRequestType.d.ts +11 -0
- package/types/packages/network/HttpResponseType.d.ts +7 -0
- package/types/packages/network/Network.package.d.ts +2 -0
- package/types/packages/network/NetworkAtom.d.ts +15 -0
- package/types/packages/network/NetworkTask.d.ts +8 -7
- package/types/packages/network/Types.d.ts +17 -26
- package/types/packages/platform-detection/PlatformDetection.package.d.ts +6 -0
- package/types/packages/platform-detection/SemanticVersion.d.ts +10 -0
- package/types/packages/platform-detection/Types.d.ts +11 -0
- package/types/packages/platform-detection/browser-detection/BrowserName.d.ts +4 -0
- package/types/packages/platform-detection/browser-detection/Types.d.ts +12 -0
- package/types/packages/platform-detection/operating-system-detection/OperatingSystemName.d.ts +3 -0
- package/types/packages/platform-detection/operating-system-detection/Types.d.ts +12 -0
- package/types/packages/platform-detection/platform-detection/PlatformType.d.ts +3 -0
- package/types/packages/platform-detection/platform-detection/Types.d.ts +9 -0
- package/types/packages/playback/Playback.package.d.ts +2 -0
- package/types/packages/playback/play-pause/Types.d.ts +0 -3
- package/types/packages/playback/volume/Types.d.ts +2 -4
- package/types/packages/playback-api/PlaybackApi.package.d.ts +2 -0
- package/types/packages/playback-api/play-pause-api/Types.d.ts +4 -3
- package/types/packages/playback-api/playback-api-events/Types.d.ts +11 -8
- package/types/packages/playback-api/time-api/Types.d.ts +4 -5
- package/types/packages/playback-technology/PlaybackTechnology.package.d.ts +2 -0
- package/types/packages/playback-technology/PlaybackTechnologyEntryType.d.ts +4 -0
- package/types/packages/playback-technology/Types.d.ts +6 -6
- package/types/packages/player-api/PlayerApi.package.d.ts +4 -0
- package/types/packages/player-api/PlayerEvent.d.ts +3 -0
- package/types/packages/player-api/Types.d.ts +4 -4
- package/types/packages/presentation/mse/MsePlayback.package.d.ts +2 -0
- package/types/packages/presentation/mse/playback-technology/Types.d.ts +2 -1
- package/types/packages/presentation/mse/playback-technology/atoms/MsePresentationStateAtom.d.ts +1 -4
- package/types/packages/presentation/mse/presentation/MsePresentation.package.d.ts +6 -2
- package/types/packages/presentation/mse/presentation/Types.d.ts +6 -0
- package/types/packages/presentation/native/NativePlayback.package.d.ts +3 -2
- package/types/packages/presentation/native/playback-technology/Types.d.ts +2 -1
- package/types/packages/presentation/native/presentation/NativePresentation.package.d.ts +2 -0
- package/types/packages/segment-processing/SegmentProcessing.package.d.ts +4 -1
- package/types/packages/segment-processing/SegmentProcessorType.d.ts +7 -0
- package/types/packages/segment-processing/Types.d.ts +10 -10
- package/types/packages/source/Source.package.d.ts +2 -0
- package/types/packages/source/SourceReference.d.ts +1 -1
- package/types/packages/source/atoms/PlaybackConfigAtom.d.ts +2 -2
- package/types/packages/source/atoms/SourceConfigAtom.d.ts +2 -0
- package/types/packages/sources-api/SourcesApi.package.d.ts +2 -0
- package/types/packages/sources-api/SourcesApiEvent.d.ts +7 -0
- package/types/packages/sources-api/Types.d.ts +4 -8
- package/types/packages/stream-data-structure/StreamDataStructure.package.d.ts +2 -0
- package/types/packages/stream-data-structure/Types.d.ts +1 -0
- package/types/packages/stream-data-structure/segment/Exports.d.ts +3 -3
- package/types/packages/stream-data-structure/segment/SegmentAtom.d.ts +11 -2
- package/types/packages/stream-data-structure/segment/SegmentDataAtom.d.ts +1 -7
- package/types/packages/stream-data-structure/segment/SegmentUtils.d.ts +3 -2
- package/types/packages/stream-data-structure/selection-group/SelectionGroupAtom.d.ts +1 -2
- package/types/packages/stream-data-structure/track/Exports.d.ts +6 -1
- package/types/packages/stream-data-structure/track/TrackAtom.d.ts +19 -4
- package/types/packages/stream-data-structure/track/TrackTypeGuards.d.ts +3 -1
- package/types/packages/stream-data-structure/track/TypeDetection.d.ts +25 -0
- package/types/packages/stream-data-structure/track/TypeDetectionTypeGuards.d.ts +4 -0
- package/types/packages/streaming/Streaming.package.d.ts +4 -2
- package/types/packages/streaming/Types.d.ts +3 -2
- package/types/packages/subtitles/Subtitles.package.d.ts +2 -0
- package/types/packages/subtitles/subtitle-api/SubtitleApi.package.d.ts +2 -0
- package/types/packages/subtitles/subtitle-api/SubtitleEvent.d.ts +9 -0
- package/types/packages/subtitles/subtitle-api/Types.d.ts +3 -9
- package/types/packages/subtitles/subtitle-base/SubtitleBase.package.d.ts +2 -0
- package/types/packages/subtitles/subtitle-format-detection/SubtitleFormatDetection.package.d.ts +2 -0
- package/types/packages/subtitles/subtitle-native-renderer/SubtitleNativeRenderer.package.d.ts +2 -0
- package/types/packages/subtitles/webvtt/WebVtt.package.d.ts +2 -0
- package/types/packages/trick-play/TrickPlay.package.d.ts +4 -1
- package/types/packages/tv/Tv.package.d.ts +2 -0
- package/types/packages/ui/Ui.package.d.ts +2 -0
- package/types/packages/v8-compat/BitmovinUi.package.d.ts +6 -4
- package/types/packages/v8-compat/BitmovinV8Core.package.d.ts +18 -4
- package/types/packages/v8-compat/BitmovinV8StaticApi.package.d.ts +10 -5
- package/types/packages/v8-compat/apis/SourceApis.d.ts +5 -0
- package/types/packages/v8-compat/apis/SubtitleApi.d.ts +5 -0
- package/types/packages/v8-compat/enums/AdditionalPlayerExportNames.d.ts +9 -0
- package/types/packages/v8-compat/enums/PlayerExports.d.ts +0 -7
- package/types/packages/v8-compat/event-handling/EventDispatcher.d.ts +11 -0
- package/types/packages/v8-compat/source-api/BitmovinSourceApi.package.d.ts +12 -4
- package/types/packages/v8-compat/video-element/BitmovinVideoElementUtils.package.d.ts +6 -4
- package/types/packages/view-mode/Types.d.ts +4 -6
- package/types/packages/view-mode/ViewMode.d.ts +5 -0
- package/types/packages/view-mode/ViewMode.package.d.ts +4 -0
- package/types/packages/view-mode/ViewModeAtom.d.ts +1 -1
- package/types/packages/core/FrameworkError.d.ts +0 -4
- package/types/packages/core/network/NetworkAtom.d.ts +0 -21
- package/types/packages/playback/playback-state/Types.d.ts +0 -41
- package/types/packages/playback/video-element-state/SeekRestrictionAtom.d.ts +0 -2
- package/types/packages/playback/video-element-state/Types.d.ts +0 -32
- package/types/packages/playback/video-element-state/VideoElementStateAtom.d.ts +0 -58
- package/types/packages/presentation/native/Types.d.ts +0 -12
|
@@ -5,21 +5,25 @@ import type { MetricsAtom } from '../../core/metrics/MetricsAtom';
|
|
|
5
5
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../core/Types';
|
|
6
6
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
7
7
|
import type { NetworkTask } from '../../network/NetworkTask';
|
|
8
|
-
import type { NetworkExportNames } from '../../network/Types';
|
|
8
|
+
import type { HttpRequestMethod, HttpResponseType, NetworkExportNames } from '../../network/Types';
|
|
9
9
|
import type { TargetPlaybackState, TargetPlaybackStateAtom } from '../../playback/play-pause/TargetPlaybackStateAtom';
|
|
10
10
|
import type { PlayPauseExportNames } from '../../playback/play-pause/Types';
|
|
11
|
-
import type { SeekRestrictionAtom } from '../../playback/video-element-state/SeekRestrictionAtom';
|
|
12
|
-
import type { VideoElementStateExportNames } from '../../playback/video-element-state/Types';
|
|
13
|
-
import type { VideoElementStateAtom } from '../../playback/video-element-state/VideoElementStateAtom';
|
|
14
11
|
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
15
12
|
import type { createSourceReference } from '../../source/SourceReference';
|
|
16
13
|
import type { SourceExportNames, SourceReferences } from '../../source/Types';
|
|
17
14
|
import type { SourceRemovedError } from '../../sources-api/SourceRemovedError';
|
|
18
15
|
import type { SourcesApiExportNames } from '../../sources-api/Types';
|
|
19
16
|
import type { ContextWithState } from '../../Types';
|
|
17
|
+
import type { AdExtensionSource } from '../base/AdExtension';
|
|
18
|
+
import type { isAdPositionKnown } from '../base/AdPosition';
|
|
19
|
+
import type { AdQuartile } from '../base/AdQuartile';
|
|
20
|
+
import type { AdType } from '../base/AdType';
|
|
20
21
|
import type { createBaseAdAtom } from '../base/BaseAdAtom';
|
|
21
|
-
import type {
|
|
22
|
-
import type {
|
|
22
|
+
import type { createBaseAdPodAtom } from '../base/BaseAdPodAtom';
|
|
23
|
+
import type { BaseAdPodState } from '../base/BaseAdPodState';
|
|
24
|
+
import type { BaseAdState } from '../base/BaseAdState';
|
|
25
|
+
import type { createClickThroughAtom } from '../base/ClickThroughAtom';
|
|
26
|
+
import type { AdSourceAdExports, AdvertisingBaseExportNames, ContentSourceAdExports } from '../base/Types';
|
|
23
27
|
export type AdvertisingBitmovinPackageDependencies = {
|
|
24
28
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
25
29
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
@@ -29,18 +33,21 @@ export type AdvertisingBitmovinPackageDependencies = {
|
|
|
29
33
|
[SourceExportNames.CreateSourceReference]: typeof createSourceReference;
|
|
30
34
|
[SourceExportNames.SourceReferences]: SourceReferences;
|
|
31
35
|
[SourcesApiExportNames.SourceRemovedError]: typeof SourceRemovedError;
|
|
32
|
-
[VideoElementStateExportNames.VideoElementState]: VideoElementStateAtom;
|
|
33
|
-
[VideoElementStateExportNames.SeekRestriction]: SeekRestrictionAtom;
|
|
34
36
|
[NetworkExportNames.NetworkTask]: typeof NetworkTask;
|
|
37
|
+
[NetworkExportNames.HttpRequestMethod]: typeof HttpRequestMethod;
|
|
38
|
+
[NetworkExportNames.HttpResponseType]: typeof HttpResponseType;
|
|
35
39
|
[AdaptationExportNames.Metrics]: MetricsAtom;
|
|
36
40
|
[PlayPauseExportNames.TargetPlaybackState]: typeof TargetPlaybackState;
|
|
37
41
|
[PlayPauseExportNames.TargetPlaybackStateAtom]: TargetPlaybackStateAtom;
|
|
38
42
|
[AdvertisingBaseExportNames.AdType]: typeof AdType;
|
|
39
43
|
[AdvertisingBaseExportNames.AdQuartile]: typeof AdQuartile;
|
|
40
|
-
[AdvertisingBaseExportNames.
|
|
44
|
+
[AdvertisingBaseExportNames.AdExtensionSource]: typeof AdExtensionSource;
|
|
45
|
+
[AdvertisingBaseExportNames.BaseAdPodState]: typeof BaseAdPodState;
|
|
41
46
|
[AdvertisingBaseExportNames.BaseAdState]: typeof BaseAdState;
|
|
42
|
-
[AdvertisingBaseExportNames.
|
|
47
|
+
[AdvertisingBaseExportNames.CreateBaseAdPod]: typeof createBaseAdPodAtom;
|
|
43
48
|
[AdvertisingBaseExportNames.CreateBaseAd]: typeof createBaseAdAtom;
|
|
49
|
+
[AdvertisingBaseExportNames.CreateClickThrough]: typeof createClickThroughAtom;
|
|
50
|
+
[AdvertisingBaseExportNames.IsAdPositionKnown]: typeof isAdPositionKnown;
|
|
44
51
|
};
|
|
45
52
|
export type AdvertisingBitmovinPackageExports = ContentSourceAdExports & AdSourceAdExports;
|
|
46
53
|
export type AdvertisingBitmovinContext = ContextHaving<AdvertisingBitmovinPackageDependencies, AdvertisingBitmovinPackageExports, ContextWithState>;
|
|
@@ -13,3 +13,5 @@ import type { Package } from '../../../framework-types/package-api/Package';
|
|
|
13
13
|
import type { AnalyticsPackageDependencies } from './Types';
|
|
14
14
|
export declare const AnalyticsPackage: Package<AnalyticsPackageDependencies, EmptyObject, EmptyObject>;
|
|
15
15
|
export default AnalyticsPackage;
|
|
16
|
+
|
|
17
|
+
export declare const version: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { EmptyObject } from '../../../../framework-types/BaseTypes';
|
|
2
|
+
import type { SafariPackageDependencies } from './Types';
|
|
3
|
+
export declare const SafariPackage: import("../../../../framework-types/package-api/Package").Package<SafariPackageDependencies, EmptyObject, EmptyObject>;
|
|
4
|
+
|
|
5
|
+
export declare const version: string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { EmptyObject } from '../../../../framework-types/BaseTypes';
|
|
2
|
+
import type { ContextHaving, ContextUsing } from '../../../../framework-types/execution-context/Types';
|
|
3
|
+
import type { CapabilitiesExportNames, PlatformCapabilities } from '../../capabilities/Types';
|
|
4
|
+
import type { EventListenerEffect } from '../../core/effects/EventListenerEffectFactory';
|
|
5
|
+
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../core/Types';
|
|
6
|
+
import type { CoreUtils } from '../../core/utils/Types';
|
|
7
|
+
import type { MediaState, MediaStateAtom, MediaStateExportNames } from '../../media-state/Types';
|
|
8
|
+
import type { BrowserDetectionExports } from '../../platform-detection/browser-detection/Types';
|
|
9
|
+
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
10
|
+
import type { SourceExportNames } from '../../source/Types';
|
|
11
|
+
import type { ContextWithState } from '../../Types';
|
|
12
|
+
export type SafariPackageDependencies = BrowserDetectionExports & {
|
|
13
|
+
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
14
|
+
[CoreExportNames.Utils]: CoreUtils;
|
|
15
|
+
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
16
|
+
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
17
|
+
[MediaStateExportNames.MediaState]: typeof MediaState;
|
|
18
|
+
[MediaStateExportNames.MediaStateAtom]: MediaStateAtom;
|
|
19
|
+
[CapabilitiesExportNames.PlatformCapabilities]: PlatformCapabilities;
|
|
20
|
+
};
|
|
21
|
+
export type SafariPackageExports = EmptyObject;
|
|
22
|
+
export type SafariPackageContext = ContextUsing<[
|
|
23
|
+
EventListenerEffect
|
|
24
|
+
], ContextHaving<SafariPackageDependencies, SafariPackageExports, ContextWithState>>;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
16
16
|
import type { EmptyObject } from '../../../Types';
|
|
17
|
+
import type { Constants } from '../../core/Constants';
|
|
17
18
|
import type { CoreEffects, CoreStateAtoms } from '../../core/Types';
|
|
18
19
|
import { CoreExportNames } from '../../core/Types';
|
|
19
20
|
import type SegmentProcessorErrors from '../../segment-processing/Errors';
|
|
@@ -27,6 +28,7 @@ type Dependencies = {
|
|
|
27
28
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
28
29
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
29
30
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
31
|
+
[CoreExportNames.Constants]: Constants;
|
|
30
32
|
[SegmentProcessingExportNames.SegmentProcessorType]: typeof SegmentProcessorType;
|
|
31
33
|
[SegmentProcessingExportNames.SegmentProcessingComponent]: SegmentProcessingComponent;
|
|
32
34
|
[SegmentProcessingExportNames.SegmentProcessorErrors]: typeof SegmentProcessorErrors;
|
|
@@ -34,3 +36,5 @@ type Dependencies = {
|
|
|
34
36
|
export type ContainerMp4PackageContext = ContextHaving<Dependencies, EmptyObject, ContextWithState>;
|
|
35
37
|
export declare const ContainerMp4Package: import("../../../../framework-types/package-api/Package").Package<Dependencies, EmptyObject, EmptyObject>;
|
|
36
38
|
export default ContainerMp4Package;
|
|
39
|
+
|
|
40
|
+
export declare const version: string;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
13
13
|
import type { EmptyObject } from '../../../Types';
|
|
14
|
+
import type { Constants } from '../../core/Constants';
|
|
14
15
|
import type { CoreEffects, CoreStateAtoms } from '../../core/Types';
|
|
15
16
|
import { CoreExportNames } from '../../core/Types';
|
|
16
17
|
import type SegmentProcessorErrors from '../../segment-processing/Errors';
|
|
@@ -18,12 +19,13 @@ import type { SegmentProcessingComponent, SegmentProcessorType } from '../../seg
|
|
|
18
19
|
import { SegmentProcessingExportNames } from '../../segment-processing/Types';
|
|
19
20
|
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
20
21
|
import { SourceExportNames } from '../../source/Types';
|
|
21
|
-
import
|
|
22
|
+
import { StreamDataStructureSegments } from '../../stream-data-structure/segment/Exports';
|
|
22
23
|
import type { ContextWithState } from '../../Types';
|
|
23
24
|
type Dependencies = {
|
|
24
25
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
25
26
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
26
27
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
28
|
+
[CoreExportNames.Constants]: Constants;
|
|
27
29
|
[SegmentProcessingExportNames.SegmentProcessorType]: typeof SegmentProcessorType;
|
|
28
30
|
[SegmentProcessingExportNames.SegmentProcessingComponent]: SegmentProcessingComponent;
|
|
29
31
|
[SegmentProcessingExportNames.SegmentProcessorErrors]: typeof SegmentProcessorErrors;
|
|
@@ -31,3 +33,5 @@ type Dependencies = {
|
|
|
31
33
|
export type ContainerTsPackageContext = ContextHaving<Dependencies, EmptyObject, ContextWithState>;
|
|
32
34
|
export declare const ContainerTsPackage: import("../../../../framework-types/package-api/Package").Package<Dependencies, EmptyObject, EmptyObject>;
|
|
33
35
|
export default ContainerTsPackage;
|
|
36
|
+
|
|
37
|
+
export declare const version: string;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
14
14
|
import type { EmptyObject } from '../../../Types';
|
|
15
|
+
import type { Constants } from '../../core/Constants';
|
|
15
16
|
import type { CoreEffects, CoreStateAtoms } from '../../core/Types';
|
|
16
17
|
import { CoreExportNames } from '../../core/Types';
|
|
17
18
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
@@ -27,6 +28,7 @@ type Dependencies = {
|
|
|
27
28
|
[CoreExportNames.Utils]: CoreUtils;
|
|
28
29
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
29
30
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
31
|
+
[CoreExportNames.Constants]: Constants;
|
|
30
32
|
[SegmentProcessingExportNames.SegmentProcessorType]: typeof SegmentProcessorType;
|
|
31
33
|
[SegmentProcessingExportNames.SegmentProcessingComponent]: SegmentProcessingComponent;
|
|
32
34
|
[SegmentProcessingExportNames.SegmentProcessorErrors]: typeof SegmentProcessorErrors;
|
|
@@ -34,3 +36,5 @@ type Dependencies = {
|
|
|
34
36
|
export type TsTransmuxerPackageContext = ContextHaving<Dependencies, EmptyObject, ContextWithState>;
|
|
35
37
|
export declare const TsTransmuxerPackage: import("../../../../framework-types/package-api/Package").Package<Dependencies, EmptyObject, EmptyObject>;
|
|
36
38
|
export default TsTransmuxerPackage;
|
|
39
|
+
|
|
40
|
+
export declare const version: string;
|
|
@@ -39,6 +39,12 @@ export declare enum LoadControl {
|
|
|
39
39
|
Metadata = 1,
|
|
40
40
|
Data = 2
|
|
41
41
|
}
|
|
42
|
+
export declare enum ContainerFormat {
|
|
43
|
+
MP4 = "mp4",
|
|
44
|
+
TS = "mp2t",
|
|
45
|
+
WebM = "webm",
|
|
46
|
+
Unknown = "unknown"
|
|
47
|
+
}
|
|
42
48
|
export type Constants = {
|
|
43
49
|
Codec: typeof Codec;
|
|
44
50
|
MediaType: typeof MediaType;
|
|
@@ -49,4 +55,5 @@ export type Constants = {
|
|
|
49
55
|
LoadControl: typeof LoadControl;
|
|
50
56
|
Version: string;
|
|
51
57
|
SubtitleFormatType: typeof SubtitleFormatType;
|
|
58
|
+
ContainerFormat: typeof ContainerFormat;
|
|
52
59
|
};
|
|
@@ -11,3 +11,5 @@ import type { EmptyObject } from '../../Types';
|
|
|
11
11
|
import type { CoreExports } from './Types';
|
|
12
12
|
export declare const CorePackage: import("../../../framework-types/package-api/Package").Package<import("../../../framework-types/BaseTypes").EmptyObject, CoreExports, EmptyObject>;
|
|
13
13
|
export default CorePackage;
|
|
14
|
+
|
|
15
|
+
export declare const version: string;
|
|
@@ -9,8 +9,9 @@ import type { createDataStreamAtom, DataStreamClearedError, DataStreamClosedErro
|
|
|
9
9
|
import type { createMapStateAtom } from './state/MapStateAtom';
|
|
10
10
|
import type { createPrimitiveAtom } from './state/PrimitiveAtom';
|
|
11
11
|
import type { createQueueAtom, QueueItemRemovedError } from './state/QueueAtom';
|
|
12
|
+
import type { createRingBufferAtom } from './state/RingBufferAtom';
|
|
12
13
|
import type { StateEffectFactory } from './state/state-effect/StateEffectFactory';
|
|
13
|
-
import type { createStateMachineAtom, flushPendingUpdates
|
|
14
|
+
import type { createStateMachineAtom, flushPendingUpdates } from './state/StateMachineAtom';
|
|
14
15
|
import type { CreateStoreEffectFactory } from './state/StoreEffectFactory';
|
|
15
16
|
import type { createStreamSectionAtom } from './state/stream-timeline/StreamSectionAtom';
|
|
16
17
|
import type { createStreamSequenceMapAtom } from './state/stream-timeline/StreamSequenceMapAtom';
|
|
@@ -61,6 +62,7 @@ export type CoreStateAtoms = {
|
|
|
61
62
|
createPrimitiveAtom: typeof createPrimitiveAtom;
|
|
62
63
|
createTimelineAtom: typeof createTimelineAtom;
|
|
63
64
|
createTimelineTrackerAtom: typeof createTimelineTrackerAtom;
|
|
65
|
+
createRingBufferAtom: typeof createRingBufferAtom;
|
|
64
66
|
Queue: {
|
|
65
67
|
createQueueAtom: typeof createQueueAtom;
|
|
66
68
|
QueueItemRemovedError: typeof QueueItemRemovedError;
|
|
@@ -89,6 +91,5 @@ export type CoreStateAtoms = {
|
|
|
89
91
|
StateMachine: {
|
|
90
92
|
createStateMachineAtom: typeof createStateMachineAtom;
|
|
91
93
|
flushPendingUpdates: typeof flushPendingUpdates;
|
|
92
|
-
logTransitions: typeof logTransitions;
|
|
93
94
|
};
|
|
94
95
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
2
2
|
import type { EmptyObject } from '../../../Types';
|
|
3
|
-
import type { RingBufferAtom } from '../../adaptation/RingBufferAtom';
|
|
4
3
|
import type { ContextWithState } from '../../Types';
|
|
4
|
+
import type { RingBufferAtom } from '../state/RingBufferAtom';
|
|
5
5
|
import type { CoreExportNames, CoreStateAtoms } from '../Types';
|
|
6
6
|
import type { NetworkSampleAtom } from './network/NetworkSampleAtom';
|
|
7
7
|
export interface Metrics {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ContextWithState } from '
|
|
1
|
+
import type { ContextWithState } from '../../Types';
|
|
2
2
|
export interface RingBuffer<T> {
|
|
3
3
|
buffer: T[];
|
|
4
4
|
capacity: number;
|
|
@@ -10,7 +10,7 @@ export declare function getDefaultRingBuffer<T>(capacity?: number, input?: T[]):
|
|
|
10
10
|
export declare function getTail<T>(data: RingBufferAtom<T>): T | undefined;
|
|
11
11
|
export declare function getHead<T>(data: RingBufferAtom<T>): T | undefined;
|
|
12
12
|
export type RingBufferAtom<T> = ReturnType<typeof createRingBufferAtom<T>>;
|
|
13
|
-
export declare const createRingBufferAtom: <ElementType>(context: ContextWithState, capacity?: number, defaultData?: ElementType[] | undefined) => import("
|
|
13
|
+
export declare const createRingBufferAtom: <ElementType>(context: ContextWithState, capacity?: number, defaultData?: ElementType[] | undefined) => import("./Types").StateAtom<RingBuffer<ElementType>, {
|
|
14
14
|
add: (data: RingBuffer<ElementType>, element: ElementType) => boolean;
|
|
15
15
|
clear: (data: RingBuffer<ElementType>) => boolean;
|
|
16
16
|
}>;
|
|
@@ -9,21 +9,22 @@ export interface StateMachine<S> {
|
|
|
9
9
|
current: S;
|
|
10
10
|
previous: S;
|
|
11
11
|
}
|
|
12
|
-
export type
|
|
12
|
+
export type BaseStateMachineContext = ContextHaving<{
|
|
13
|
+
[CoreExportNames.Utils]: CoreUtils;
|
|
14
|
+
}, EmptyObject, ContextWithState>;
|
|
15
|
+
export type StateMachineAtom<S extends string, _ extends BaseStateMachineContext, D = void> = StateAtom<StateMachine<S>, {
|
|
13
16
|
updateState: (state: StateMachine<S>, data: D) => boolean;
|
|
14
17
|
}>;
|
|
15
|
-
export type Transition<S extends string, C extends
|
|
16
|
-
export type TransitionMap<S extends string, C extends
|
|
18
|
+
export type Transition<S extends string, C extends BaseStateMachineContext, D = void> = (context: C, data: D) => S;
|
|
19
|
+
export type TransitionMap<S extends string, C extends BaseStateMachineContext, D = void> = {
|
|
17
20
|
[key in S]: Transition<S, C, D>;
|
|
18
21
|
};
|
|
19
|
-
export type Handler<S extends string, C extends
|
|
20
|
-
export type HandlerMap<S extends string, C extends
|
|
22
|
+
export type Handler<S extends string, C extends BaseStateMachineContext, D = void> = NamedTask<Task<C, StateMachineAtom<S, C, D>, void>>;
|
|
23
|
+
export type HandlerMap<S extends string, C extends BaseStateMachineContext, D = void> = {
|
|
21
24
|
[key in S]?: Handler<S, C, D>;
|
|
22
25
|
};
|
|
23
|
-
export
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export declare function logTransitions<S extends string, C extends ContextWithState, D = void>(context: ContextWithStateAndLogger, stateMachine: StateMachineAtom<S, C, D>, name: string): void;
|
|
29
|
-
export {};
|
|
26
|
+
export type StateMachineLoggingOptions = {
|
|
27
|
+
name: string;
|
|
28
|
+
};
|
|
29
|
+
export declare function createStateMachineAtom<S extends string, C extends BaseStateMachineContext, D = void>(context: C, initialState: S, transitions: TransitionMap<S, C, D>, handlers?: HandlerMap<S, C, D>, loggingOptions?: StateMachineLoggingOptions): StateMachineAtom<S, C, D>;
|
|
30
|
+
export declare function flushPendingUpdates(context: BaseStateMachineContext, stateMachine: StateMachineAtom<string, BaseStateMachineContext>): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ExecutionContext } from '../../../../../framework-types/execution-context/ExecutionContext';
|
|
2
2
|
import type { AnyNamedTask, AnyParameterTask, AnyTask, NamedTask, TaskParam } from '../../../../../framework-types/task/Types';
|
|
3
3
|
import type { EmptyObject } from '../../../../Types';
|
|
4
|
-
import type {
|
|
4
|
+
import type { StateAtom } from '../Types';
|
|
5
5
|
export type ParameterizedTask<P, S extends NamedTask<AnyTask>> = S extends NamedTask<AnyParameterTask<P>> ? S : NamedTask<AnyParameterTask<P>>;
|
|
6
|
-
export type TaskParameter<Atom, Task extends ParameterizedTask<Atom, NamedTask<AnyTask>>> =
|
|
6
|
+
export type TaskParameter<Atom, Task extends ParameterizedTask<Atom, NamedTask<AnyTask>>> = Extract<TaskParam<Task>, StateAtom>;
|
|
7
7
|
export type ErrorCallback = (error: Error) => boolean;
|
|
8
8
|
export type SubscriberTuple = [ExecutionContext<EmptyObject, EmptyObject>, AnyNamedTask, ErrorCallback];
|
|
@@ -11,9 +11,9 @@ export type Factory<Payload, Context extends AnyExecutionContext, TechnologyName
|
|
|
11
11
|
resolve: NamedTask<Task<Context, Payload, void>>;
|
|
12
12
|
add(technology: Technology<Payload, Context, TechnologyName>, abortSignal: AbortSignal): void;
|
|
13
13
|
};
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const TechnologyExports = "technology";
|
|
15
15
|
export type TechnologyExports = {
|
|
16
|
-
[
|
|
16
|
+
[TechnologyExports]: {
|
|
17
17
|
create: <Payload, Context extends AnyExecutionContext, TechnologyName extends string>(context: ContextWithState, prioritize: Prioritize<Payload, Context, TechnologyName>) => Factory<Payload, Context, TechnologyName>;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
declare function findIndex<T>(arr: readonly T[], searchValue: number, getValue: (value: T) => number): number;
|
|
2
|
-
declare function AlternatingIndexGenerator(length: number, startIndex?: number): Generator<number, void, unknown>;
|
|
3
2
|
declare function findIndexWithPivot<T, V = number>(arr: readonly T[], pivotIndex: number, searchValue: V, getValue: (value: T) => V, matches: (value: T) => boolean): number;
|
|
4
3
|
declare class IterableStreamClosedError extends Error {
|
|
5
4
|
name: string;
|
|
@@ -16,7 +15,6 @@ declare const _default: {
|
|
|
16
15
|
insertSorted: typeof insertSorted;
|
|
17
16
|
sortedIndex: typeof sortedIndex;
|
|
18
17
|
};
|
|
19
|
-
AlternatingIndexGenerator: typeof AlternatingIndexGenerator;
|
|
20
18
|
IterableStreamClosedError: typeof IterableStreamClosedError;
|
|
21
19
|
readToEnd: typeof readToEnd;
|
|
22
20
|
equals: typeof equals;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type { ContextWithState } from '../../Types';
|
|
2
|
-
declare
|
|
2
|
+
export declare class ErrorCreatingTextTrack extends Error {
|
|
3
|
+
constructor(id: string);
|
|
4
|
+
}
|
|
3
5
|
declare function removeTextTrack(trackId: string): void;
|
|
4
6
|
declare const _default: {
|
|
5
|
-
getOrCreateTextTrack:
|
|
7
|
+
getOrCreateTextTrack: import("../../../../framework-types/task/Types").NamedTask<([video, label, kind, id]: [HTMLVideoElement, string, TextTrackKind, string], context: ContextWithState) => TextTrack | import("../../../../framework-types/abortable/Abortable").Abortable<TextTrack>>;
|
|
6
8
|
removeTextTrack: typeof removeTextTrack;
|
|
9
|
+
ErrorCreatingTextTrack: typeof ErrorCreatingTextTrack;
|
|
7
10
|
};
|
|
8
11
|
export default _default;
|
|
@@ -13,3 +13,5 @@ import type { EmptyObject } from '../../Types';
|
|
|
13
13
|
import type { DataDependencies, DataExports } from './Types';
|
|
14
14
|
export declare const DataPackage: import("../../../framework-types/package-api/Package").Package<DataDependencies, DataExports, EmptyObject>;
|
|
15
15
|
export default DataPackage;
|
|
16
|
+
|
|
17
|
+
export declare const version: string;
|
|
@@ -10,8 +10,10 @@ import type { StateEffect } from '../core/state/state-effect/StateEffectFactory'
|
|
|
10
10
|
import type { StreamTimelineAtom } from '../core/state/stream-timeline/StreamTimelineMapAtom';
|
|
11
11
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../core/Types';
|
|
12
12
|
import type { CoreUtils } from '../core/utils/Types';
|
|
13
|
+
import type { createNetworkAtom } from '../network/NetworkAtom';
|
|
14
|
+
import type { NetworkMessageType } from '../network/NetworkMessageTypes';
|
|
13
15
|
import type { NetworkTask } from '../network/NetworkTask';
|
|
14
|
-
import type { NetworkExportNames } from '../network/Types';
|
|
16
|
+
import type { HttpRequestMethod, HttpResponseType, NetworkExportNames } from '../network/Types';
|
|
15
17
|
import type SegmentProcessorErrors from '../segment-processing/Errors';
|
|
16
18
|
import type { SegmentProcessingComponent, SegmentProcessingExportNames } from '../segment-processing/Types';
|
|
17
19
|
import type { SourceStateAtom } from '../source/atoms/SourceStateAtom';
|
|
@@ -30,6 +32,10 @@ export type DataDependencies = {
|
|
|
30
32
|
[CoreExportNames.Utils]: CoreUtils;
|
|
31
33
|
[AdaptationExportNames.Metrics]: MetricsAtom;
|
|
32
34
|
[NetworkExportNames.NetworkTask]: typeof NetworkTask;
|
|
35
|
+
[NetworkExportNames.NetworkMessageType]: typeof NetworkMessageType;
|
|
36
|
+
[NetworkExportNames.NetworkAtom]: typeof createNetworkAtom;
|
|
37
|
+
[NetworkExportNames.HttpRequestMethod]: typeof HttpRequestMethod;
|
|
38
|
+
[NetworkExportNames.HttpResponseType]: typeof HttpResponseType;
|
|
33
39
|
[SegmentProcessingExportNames.SegmentProcessorErrors]: typeof SegmentProcessorErrors;
|
|
34
40
|
[SegmentProcessingExportNames.SegmentProcessingComponent]: SegmentProcessingComponent;
|
|
35
41
|
[AdaptationExportNames.Select]: (tracks: readonly MediaTrackAtom[]) => MediaTrackAtom;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import type { EmptyObject } from '../../../../framework-types/BaseTypes';
|
|
2
2
|
export declare const DashManifestPackage: import("../../../../framework-types/package-api/Package").Package<EmptyObject, EmptyObject, EmptyObject>;
|
|
3
3
|
export default DashManifestPackage;
|
|
4
|
+
|
|
5
|
+
export declare const version: string;
|
|
@@ -23,3 +23,5 @@ export type DashParsingContext = ContextHaving<{
|
|
|
23
23
|
}, EmptyObject, BaseContext>;
|
|
24
24
|
export declare const DashParsingPackage: import("../../../../../framework-types/package-api/Package").Package<EmptyObject, DashParsingPackageExports, EmptyObject>;
|
|
25
25
|
export default DashParsingPackage;
|
|
26
|
+
|
|
27
|
+
export declare const version: string;
|
|
@@ -13,3 +13,5 @@ import type { EmptyObject } from '../../../../Types';
|
|
|
13
13
|
import type { DashDependencies, DashExports } from './Types';
|
|
14
14
|
export declare const DashPackage: import("../../../../../framework-types/package-api/Package").Package<DashDependencies, DashExports, EmptyObject>;
|
|
15
15
|
export default DashPackage;
|
|
16
|
+
|
|
17
|
+
export declare const version: string;
|
|
@@ -6,7 +6,7 @@ import type { MetricsAtom } from '../../../core/metrics/MetricsAtom';
|
|
|
6
6
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../../core/Types';
|
|
7
7
|
import type { CoreUtils } from '../../../core/utils/Types';
|
|
8
8
|
import type { NetworkTask } from '../../../network/NetworkTask';
|
|
9
|
-
import type { NetworkExportNames } from '../../../network/Types';
|
|
9
|
+
import type { HttpRequestMethod, HttpResponseType, NetworkExportNames } from '../../../network/Types';
|
|
10
10
|
import type { SourceStateAtom } from '../../../source/atoms/SourceStateAtom';
|
|
11
11
|
import type { SourceExportNames } from '../../../source/Types';
|
|
12
12
|
import type { StreamDataStructurePackageExports } from '../../../stream-data-structure/Types';
|
|
@@ -28,6 +28,8 @@ export type DashDependencies = {
|
|
|
28
28
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
29
29
|
[AdaptationExportNames.Metrics]: MetricsAtom;
|
|
30
30
|
[NetworkExportNames.NetworkTask]: typeof NetworkTask;
|
|
31
|
+
[NetworkExportNames.HttpRequestMethod]: typeof HttpRequestMethod;
|
|
32
|
+
[NetworkExportNames.HttpResponseType]: typeof HttpResponseType;
|
|
31
33
|
[DashParsingExportNames.ParsingTask]: typeof DashParsingTask;
|
|
32
34
|
[DashTranslationExportNames.DashTranslator]: typeof DashPlaylistTranslatorTask;
|
|
33
35
|
} & StreamDataStructurePackageExports & StreamingState & DashTechState;
|
|
@@ -9,3 +9,5 @@ import type { EmptyObject } from '../../../../Types';
|
|
|
9
9
|
import type { DashManifestTechnologyDependencies } from './Types';
|
|
10
10
|
export declare const DashManifestTechnologyPackage: import("../../../../../framework-types/package-api/Package").Package<DashManifestTechnologyDependencies, import("../../../../../framework-types/BaseTypes").EmptyObject, EmptyObject>;
|
|
11
11
|
export default DashManifestTechnologyPackage;
|
|
12
|
+
|
|
13
|
+
export declare const version: string;
|
|
@@ -3,7 +3,7 @@ import type { ContextHaving } from '../../../../../framework-types/execution-con
|
|
|
3
3
|
import type { Constants } from '../../../core/Constants';
|
|
4
4
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../../core/Types';
|
|
5
5
|
import type { CoreUtils } from '../../../core/utils/Types';
|
|
6
|
-
import type { ManifestTechnologyEntry, PlaybackTechnologyComponent } from '../../../playback-technology/Types';
|
|
6
|
+
import type { ManifestTechnologyEntry, PlaybackTechnologyComponent, PlaybackTechnologyEntryType, PlaybackTechnologyExportNames } from '../../../playback-technology/Types';
|
|
7
7
|
import type { Resource } from '../../../source/atoms/SourceConfigAtom';
|
|
8
8
|
import type { StreamDataStructureStream } from '../../../stream-data-structure/stream/Exports';
|
|
9
9
|
import type { createStreamingStateAtom, StreamingStateAtom } from '../../../streaming/atoms/StreamingStateAtom';
|
|
@@ -20,6 +20,7 @@ export interface DashTechStateData {
|
|
|
20
20
|
export type DashManifestTechnologyExports = EmptyObject;
|
|
21
21
|
export type DashManifestTechnologyDependencies = {
|
|
22
22
|
[PlaybackTechnologyComponent]: PlaybackTechnologyComponent;
|
|
23
|
+
[PlaybackTechnologyExportNames.EntryType]: typeof PlaybackTechnologyEntryType;
|
|
23
24
|
[CoreExportNames.Constants]: Constants;
|
|
24
25
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
25
26
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
@@ -10,3 +10,5 @@ import type { EmptyObject } from '../../../../Types';
|
|
|
10
10
|
import type { DashTranslationPackageDependencies, DashTranslationPackageExports } from './Types';
|
|
11
11
|
export declare const DashTranslationPackage: import("../../../../../framework-types/package-api/Package").Package<DashTranslationPackageDependencies, DashTranslationPackageExports, EmptyObject>;
|
|
12
12
|
export default DashTranslationPackage;
|
|
13
|
+
|
|
14
|
+
export declare const version: string;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import type { EmptyObject } from '../../../../framework-types/BaseTypes';
|
|
2
2
|
export declare const HlsManifestPackage: import("../../../../framework-types/package-api/Package").Package<EmptyObject, EmptyObject, EmptyObject>;
|
|
3
3
|
export default HlsManifestPackage;
|
|
4
|
+
|
|
5
|
+
export declare const version: string;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare enum HlsEncryptionMethod {
|
|
2
|
+
NONE = "NONE",
|
|
3
|
+
AES_128 = "AES-128",
|
|
4
|
+
SAMPLE_AES = "SAMPLE-AES"
|
|
5
|
+
}
|
|
6
|
+
export declare enum MetadataType {
|
|
7
|
+
CUETAG = "CUETAG",
|
|
8
|
+
DATERANGE = "DATERANGE",
|
|
9
|
+
CUSTOM = "CUSTOM",
|
|
10
|
+
SCTE = "SCTE",
|
|
11
|
+
ID3 = "ID3",
|
|
12
|
+
EMSG = "EMSG"
|
|
13
|
+
}
|
|
14
|
+
export declare enum TagType {
|
|
15
|
+
M3u = "m3u",
|
|
16
|
+
AllowCache = "allow-cache",
|
|
17
|
+
ByteRange = "byterange",
|
|
18
|
+
EndList = "endlist",
|
|
19
|
+
Inf = "inf",
|
|
20
|
+
Key = "key",
|
|
21
|
+
MediaSequence = "media-sequence",
|
|
22
|
+
DiscontinuitySequence = "discontinuity-sequence",
|
|
23
|
+
PlaylistType = "playlist-type",
|
|
24
|
+
StreamInf = "stream-inf",
|
|
25
|
+
IframeStreamInf = "i-frame-stream-inf",
|
|
26
|
+
Media = "media",
|
|
27
|
+
Start = "start",
|
|
28
|
+
Discontinuity = "discontinuity",
|
|
29
|
+
DateTime = "date-time",
|
|
30
|
+
TargetDuration = "targetduration",
|
|
31
|
+
Map = "map",
|
|
32
|
+
IndependentSegments = "independent-segments",
|
|
33
|
+
SessionData = "session-data",
|
|
34
|
+
SessionKey = "session-key",
|
|
35
|
+
CueOut = "cue-out",
|
|
36
|
+
CueOutCont = "cue-out-cont",
|
|
37
|
+
CueIn = "cue-in",
|
|
38
|
+
Scte35 = "scte35",
|
|
39
|
+
DateRange = "daterange",
|
|
40
|
+
Version = "version",
|
|
41
|
+
Uri = "uri",
|
|
42
|
+
Unknown = "unknown"
|
|
43
|
+
}
|
|
44
|
+
export declare enum PlaylistType {
|
|
45
|
+
Vod = "VOD",
|
|
46
|
+
Event = "EVENT"
|
|
47
|
+
}
|
|
@@ -26,3 +26,5 @@ export type HlsParsingContext = ContextHaving<{
|
|
|
26
26
|
}, EmptyObject, BaseContext>;
|
|
27
27
|
export declare const HlsParsingPackage: import("../../../../../framework-types/package-api/Package").Package<EmptyObject, HlsParsingPackageExports, EmptyObject>;
|
|
28
28
|
export default HlsParsingPackage;
|
|
29
|
+
|
|
30
|
+
export declare const version: string;
|