@bitmovin/player-web-x 10.2.0-beta.6 → 10.2.0-beta.7
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/framework-types/Types.d.ts +3 -1
- package/framework-types/effects/LoggerEffect.d.ts +59 -0
- package/package.json +1 -1
- package/packages/playerx-adaptation.package.js +2 -2
- package/packages/playerx-advertising-api.package.js +1 -1
- package/packages/playerx-advertising-base.package.js +2 -2
- package/packages/playerx-advertising-bitmovin.package.js +2 -2
- package/packages/playerx-analytics.package.js +1 -1
- package/packages/playerx-bitmovin-advertising-bundle.package.js +2 -2
- package/packages/playerx-bitmovin-source-api.package.js +1 -1
- package/packages/playerx-bitmovin-ui.package.js +1 -1
- package/packages/playerx-bitmovin-v8-core.package.js +1 -1
- 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 +1 -1
- package/packages/playerx-container-mp4.package.js +2 -2
- package/packages/playerx-container-ts.package.js +1 -1
- 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 +1 -1
- 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-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-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-segment-processing.package.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/packages/playerx-subtitles.package.js +2 -2
- package/packages/playerx-trick-play.package.js +2 -2
- package/packages/playerx-ts-transmuxer.package.js +1 -1
- package/packages/playerx-tv.package.js +2 -2
- package/packages/playerx-ui.package.js +2 -2
- package/packages/playerx-view-mode.package.js +2 -2
- package/packages/playerx-web-vtt.package.js +1 -1
- package/playerx-framework-utils.js +1 -1
- package/types/bundles/Dash.bundle.d.ts +0 -2
- package/types/bundles/Hls.bundle.d.ts +0 -2
- package/types/bundles/Types.d.ts +1 -2
- package/types/packages/adaptation/AdaptationStateAtom.d.ts +1 -7
- package/types/packages/adaptation/Types.d.ts +0 -3
- package/types/packages/adaptation/WishConfigAtom.d.ts +1 -7
- package/types/packages/advertising/base/AdPosition.d.ts +1 -1
- package/types/packages/advertising/base/Types.d.ts +0 -3
- package/types/packages/advertising/bitmovin/Types.d.ts +0 -3
- package/types/packages/capabilities/Types.d.ts +1 -1
- package/types/packages/core/state/StateMachineAtom.d.ts +0 -3
- package/types/packages/core/utils/Types.d.ts +0 -2
- package/types/packages/data/Types.d.ts +0 -3
- package/types/packages/event-bus/Types.d.ts +1 -6
- package/types/packages/manifest/dash/parsing/DashParsing.package.d.ts +0 -3
- package/types/packages/manifest/dash/root/Types.d.ts +0 -3
- package/types/packages/manifest/dash/translation/Types.d.ts +0 -3
- package/types/packages/manifest/hls/parsing/HlsParsing.package.d.ts +0 -3
- package/types/packages/manifest/hls/parsing/HlsParsingFunctions.d.ts +1 -1
- package/types/packages/manifest/hls/parsing/m3u8/TranslatorStream.d.ts +2 -2
- package/types/packages/manifest/hls/root/Hls.package.d.ts +0 -3
- package/types/packages/manifest/hls/translation/HlsTranslation.package.d.ts +0 -3
- package/types/packages/playback/play-pause/Types.d.ts +0 -3
- package/types/packages/playback/playback-state/Types.d.ts +0 -3
- package/types/packages/playback-api/playback-api-events/Types.d.ts +0 -3
- package/types/packages/playback-api/time-api/SeekableRangeProviderAtom.d.ts +20 -0
- package/types/packages/playback-api/time-api/Types.d.ts +9 -6
- package/types/packages/playback-technology/Types.d.ts +2 -4
- package/types/packages/player-api/PlayerApi.package.d.ts +0 -3
- package/types/packages/player-api/Types.d.ts +2 -1
- package/types/packages/presentation/mse/presentation/MsePresentation.package.d.ts +0 -3
- package/types/packages/presentation/native/presentation/Types.d.ts +0 -3
- package/types/packages/segment-processing/Types.d.ts +0 -3
- package/types/packages/source/atoms/SourceStateAtom.d.ts +1 -1
- package/types/packages/sources-api/Types.d.ts +1 -2
- package/types/packages/stream-data-structure/Types.d.ts +1 -2
- package/types/packages/stream-data-structure/segment/SegmentUtils.d.ts +1 -2
- package/types/packages/stream-data-structure/selection-group/SelectionGroupTypeGuards.d.ts +10 -4
- package/types/packages/stream-data-structure/track/TrackAtom.d.ts +3 -3
- package/types/packages/stream-data-structure/track/TrackTypeGuards.d.ts +6 -0
- package/types/packages/subtitles/subtitle-api/Types.d.ts +0 -3
- package/types/packages/subtitles/subtitle-base/Types.d.ts +0 -3
- package/types/packages/subtitles/subtitle-format-detection/Types.d.ts +0 -3
- package/types/packages/trick-play/TrickPlay.package.d.ts +0 -3
- package/types/packages/tv/Tv.package.d.ts +0 -3
- package/types/packages/v8-compat/BitmovinV8StaticApi.package.d.ts +0 -3
- package/types/packages/v8-compat/video-element/BitmovinVideoElementUtils.package.d.ts +0 -3
- package/types/packages/view-mode/ViewMode.package.d.ts +0 -3
- package/types/packages/core/utils/Logger.d.ts +0 -40
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import type { ApiManager } from '../../../../framework-types/api-manager/ApiManager';
|
|
2
|
-
import type { EmptyObject } from '../../../../framework-types/BaseTypes';
|
|
3
2
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
4
|
-
import type {
|
|
3
|
+
import type { ArrayAtom } from '../../core/state/ArrayStateAtom';
|
|
4
|
+
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../core/Types';
|
|
5
5
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
6
6
|
import type { VideoElementStateExportNames } from '../../playback/video-element-state/Types';
|
|
7
7
|
import type { VideoElementStateAtom } from '../../playback/video-element-state/VideoElementStateAtom';
|
|
8
8
|
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
9
9
|
import type { SourceExportNames } from '../../source/Types';
|
|
10
10
|
import type { SourcesApiExportNames } from '../../sources-api/Types';
|
|
11
|
-
import type { StreamingStateAtom } from '../../streaming/atoms/StreamingStateAtom';
|
|
12
|
-
import type { StreamingState } from '../../streaming/Types';
|
|
13
11
|
import type { ContextWithState } from '../../Types';
|
|
12
|
+
import type { SeekableRangeProviderAtom } from './SeekableRangeProviderAtom';
|
|
14
13
|
export type TimeRange = {
|
|
15
14
|
start: number;
|
|
16
15
|
end: number;
|
|
@@ -22,12 +21,16 @@ export type TimeApi = {
|
|
|
22
21
|
playbackRate: number;
|
|
23
22
|
};
|
|
24
23
|
export type TimeApiPackageDependencies = {
|
|
24
|
+
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
25
25
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
26
26
|
[CoreExportNames.Utils]: CoreUtils;
|
|
27
27
|
[VideoElementStateExportNames.VideoElementState]: VideoElementStateAtom;
|
|
28
28
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
29
29
|
[SourcesApiExportNames.SourceApiManager]: ApiManager<TimeApi>;
|
|
30
|
-
[StreamingState]: StreamingStateAtom;
|
|
31
30
|
};
|
|
32
|
-
export
|
|
31
|
+
export declare const SeekableRangeProviders = "seekable-range-providers";
|
|
32
|
+
export type SeekableRangeProviders = {
|
|
33
|
+
[SeekableRangeProviders]: ArrayAtom<SeekableRangeProviderAtom>;
|
|
34
|
+
};
|
|
35
|
+
export type TimeApiPackageExports = SeekableRangeProviders;
|
|
33
36
|
export type TimeApiPackageContext = ContextHaving<TimeApiPackageDependencies, TimeApiPackageExports, ContextWithState>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { AnyRecord } from '../../../framework-types/BaseTypes';
|
|
2
2
|
import type { ContextHaving } from '../../../framework-types/execution-context/Types';
|
|
3
3
|
import type { NamedTask, Task } from '../../../framework-types/task/Types';
|
|
4
|
-
import type {
|
|
4
|
+
import type { BaseContext } from '../../../framework-types/Types';
|
|
5
5
|
import type { EmptyObject } from '../../Types';
|
|
6
6
|
import type { Constants, PlaybackTechnology, ResourceType } from '../core/Constants';
|
|
7
7
|
import type { CoreEffects, CoreExportNames } from '../core/Types';
|
|
8
|
-
import type { Logger } from '../core/utils/Logger';
|
|
9
8
|
import type { Resource } from '../source/atoms/SourceConfigAtom';
|
|
10
9
|
import type { SourceStateAtom } from '../source/atoms/SourceStateAtom';
|
|
11
10
|
import type { SourceExportNames } from '../source/Types';
|
|
@@ -44,11 +43,10 @@ export type PlaybackTechnologyDependencies = {
|
|
|
44
43
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
45
44
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
46
45
|
[CoreExportNames.Constants]: Constants;
|
|
47
|
-
[BundleExportNames.Logger]: Logger;
|
|
48
46
|
};
|
|
49
47
|
export type PlaybackTechnologyContext = ContextHaving<PlaybackTechnologyDependencies, EmptyObject, ContextWithState>;
|
|
50
48
|
export interface PlaybackTechnologyComponent {
|
|
51
|
-
addTechnology
|
|
49
|
+
addTechnology: NamedTask<Task<BaseContext, TechnologyEntry<AnyRecord>, void>>;
|
|
52
50
|
}
|
|
53
51
|
export declare const PlaybackTechnologyComponent = "playback-technology-component";
|
|
54
52
|
export type PlaybackTechnologyExports = {
|
|
@@ -10,15 +10,12 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { ContextHaving } from '../../../framework-types/execution-context/Types';
|
|
12
12
|
import type { BaseContext } from '../../../framework-types/Types';
|
|
13
|
-
import { BundleExportNames } from '../../bundles/Types';
|
|
14
|
-
import type { Logger } from '../core/utils/Logger';
|
|
15
13
|
import type { createEventBus, extendEventBusTypes } from '../event-bus/EventBus';
|
|
16
14
|
import type { EventBus } from '../event-bus/Types';
|
|
17
15
|
import { EventBusExportNames } from '../event-bus/Types';
|
|
18
16
|
import type { PlayerApi, PlayerEventMap } from './Types';
|
|
19
17
|
import { PlayerApiExportNames } from './Types';
|
|
20
18
|
type PlayerApiDependencies = {
|
|
21
|
-
[BundleExportNames.Logger]: Logger;
|
|
22
19
|
[EventBusExportNames.CreateEventBus]: typeof createEventBus;
|
|
23
20
|
[EventBusExportNames.ExtendEventBusTypes]: typeof extendEventBusTypes;
|
|
24
21
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LogLevel } from '
|
|
1
|
+
import type { LogLevel, OnLogCallback } from '../../../framework-types/effects/LoggerEffect';
|
|
2
2
|
import type { EventBus } from '../event-bus/Types';
|
|
3
3
|
export declare enum PlayerApiExportNames {
|
|
4
4
|
PlayerEventBus = "player-event-bus"
|
|
@@ -18,4 +18,5 @@ export type PlayerEventBus = EventBus<PlayerEventMap>;
|
|
|
18
18
|
export type PlayerApi = {
|
|
19
19
|
events: EventBus<PlayerEventMap, typeof PlayerEvent>;
|
|
20
20
|
logLevel: LogLevel;
|
|
21
|
+
addOnLogCallback: (callback: OnLogCallback) => () => void;
|
|
21
22
|
};
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { ContextHaving, ContextUsing } from '../../../../../framework-types/execution-context/Types';
|
|
17
17
|
import type { NamedTask, Task } from '../../../../../framework-types/task/Types';
|
|
18
|
-
import { BundleExportNames } from '../../../../bundles/Types';
|
|
19
18
|
import type { EmptyObject } from '../../../../Types';
|
|
20
19
|
import type { PlatformCapabilities } from '../../../capabilities/Types';
|
|
21
20
|
import { CapabilitiesExportNames } from '../../../capabilities/Types';
|
|
@@ -23,7 +22,6 @@ import type { MapStateAtom } from '../../../core/state/MapStateAtom';
|
|
|
23
22
|
import type { StoreEffectFactory } from '../../../core/state/StoreEffectFactory';
|
|
24
23
|
import type { StreamTimelineAtom } from '../../../core/state/stream-timeline/StreamTimelineMapAtom';
|
|
25
24
|
import type { CoreExports } from '../../../core/Types';
|
|
26
|
-
import type { Logger } from '../../../core/utils/Logger';
|
|
27
25
|
import { DataExportNames } from '../../../data/Types';
|
|
28
26
|
import type SegmentProcessorErrors from '../../../segment-processing/Errors';
|
|
29
27
|
import type { SegmentProcessingComponent, SegmentProcessorContext, SelectContainerFormatInput } from '../../../segment-processing/Types';
|
|
@@ -39,7 +37,6 @@ import { MsePresentationState } from '../playback-technology/Types';
|
|
|
39
37
|
import type { SegmentOutputCache } from './cache/Types';
|
|
40
38
|
import { MsePresentationExportNames } from './Types';
|
|
41
39
|
type Dependencies = {
|
|
42
|
-
[BundleExportNames.Logger]: Logger;
|
|
43
40
|
[SourceExportNames.SourceState]: SourceState;
|
|
44
41
|
[DataExportNames.StreamTimeline]: StreamTimelineAtom;
|
|
45
42
|
[CapabilitiesExportNames.PlatformCapabilities]: PlatformCapabilities;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import type { EmptyObject } from '../../../../../framework-types/BaseTypes';
|
|
2
2
|
import type { ContextHaving } from '../../../../../framework-types/execution-context/Types';
|
|
3
|
-
import type { BundleExportNames } from '../../../../bundles/Types';
|
|
4
3
|
import type { CoreExports } from '../../../core/Types';
|
|
5
|
-
import type { Logger } from '../../../core/utils/Logger';
|
|
6
4
|
import type { SourceState } from '../../../source/atoms/SourceStateAtom';
|
|
7
5
|
import type { SourceExportNames } from '../../../source/Types';
|
|
8
6
|
import type { ContextWithState } from '../../../Types';
|
|
9
7
|
import type { NativePresentationState } from '../playback-technology/Types';
|
|
10
8
|
export type NativePresentationExports = EmptyObject;
|
|
11
9
|
export type NativePresentationDependencies = {
|
|
12
|
-
[BundleExportNames.Logger]: Logger;
|
|
13
10
|
[SourceExportNames.SourceState]: SourceState;
|
|
14
11
|
} & CoreExports & NativePresentationState;
|
|
15
12
|
export type NativePresentationContext = ContextHaving<NativePresentationDependencies, NativePresentationExports, ContextWithState>;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { ContextHaving, ContextUsing } from '../../../framework-types/execution-context/Types';
|
|
2
2
|
import type { NamedTask, Task } from '../../../framework-types/task/Types';
|
|
3
|
-
import type { BundleExportNames } from '../../bundles/Types';
|
|
4
3
|
import type { EmptyObject } from '../../Types';
|
|
5
4
|
import type { Constants, MediaType } from '../core/Constants';
|
|
6
5
|
import type { EventListenerEffect } from '../core/effects/EventListenerEffectFactory';
|
|
7
6
|
import type { DataStreamAtom } from '../core/state/data-stream/DataStreamAtom';
|
|
8
7
|
import type { CoreExportNames, CoreStateAtoms } from '../core/Types';
|
|
9
|
-
import type { Logger } from '../core/utils/Logger';
|
|
10
8
|
import type { Transient } from '../core/utils/StateUtils';
|
|
11
9
|
import type { CoreUtils } from '../core/utils/Types';
|
|
12
10
|
import type { StreamDataStructureSegments } from '../stream-data-structure/segment/Exports';
|
|
@@ -15,7 +13,6 @@ import type { ContainerFormat, SegmentDataAtom } from '../stream-data-structure/
|
|
|
15
13
|
import type { ContextWithState } from '../Types';
|
|
16
14
|
import type Errors from './Errors';
|
|
17
15
|
type ProcessorDependencies = {
|
|
18
|
-
[BundleExportNames.Logger]: Logger;
|
|
19
16
|
[CoreExportNames.Utils]: CoreUtils;
|
|
20
17
|
[CoreExportNames.Constants]: Constants;
|
|
21
18
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LogLevel } from '../../../../framework-types/effects/LoggerEffect';
|
|
1
2
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
2
3
|
import type { PlaybackConfig } from '../../../bundles/Types';
|
|
3
4
|
import type { EmptyObject } from '../../../Types';
|
|
@@ -6,7 +7,6 @@ import type { ArrayAtom } from '../../core/state/ArrayStateAtom';
|
|
|
6
7
|
import type { PrimitiveAtom } from '../../core/state/PrimitiveAtom';
|
|
7
8
|
import type { CoreStateAtoms } from '../../core/Types';
|
|
8
9
|
import { CoreExportNames } from '../../core/Types';
|
|
9
|
-
import { LogLevel } from '../../core/utils/Logger';
|
|
10
10
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
11
11
|
import type { SelectionGroupAtom } from '../../stream-data-structure/selection-group/SelectionGroupAtom';
|
|
12
12
|
import type { TrackAtom } from '../../stream-data-structure/track/TrackAtom';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ApiManager } from '../../../framework-types/api-manager/ApiManager';
|
|
2
2
|
import type { EmptyObject } from '../../../framework-types/BaseTypes';
|
|
3
|
+
import type { LogLevel } from '../../../framework-types/effects/LoggerEffect';
|
|
3
4
|
import type { ContextHaving } from '../../../framework-types/execution-context/Types';
|
|
4
5
|
import type { BundleExportNames, PlayerConfig } from '../../bundles/Types';
|
|
5
6
|
import type { Constants, LoadControl } from '../core/Constants';
|
|
6
7
|
import type { MapStateAtom } from '../core/state/MapStateAtom';
|
|
7
8
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../core/Types';
|
|
8
|
-
import type { Logger, LogLevel } from '../core/utils/Logger';
|
|
9
9
|
import type { CoreUtils } from '../core/utils/Types';
|
|
10
10
|
import type { createEventBus, extendEventBusTypes } from '../event-bus/EventBus';
|
|
11
11
|
import type { EventBus, EventBusExportNames } from '../event-bus/Types';
|
|
@@ -92,7 +92,6 @@ export type SourcesApiDependencies = {
|
|
|
92
92
|
[CoreExportNames.Utils]: CoreUtils;
|
|
93
93
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
94
94
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
95
|
-
[BundleExportNames.Logger]: Logger;
|
|
96
95
|
[CoreExportNames.Constants]: Constants;
|
|
97
96
|
[BundleExportNames.PlayerConfig]: PlayerConfig;
|
|
98
97
|
[SourceExportNames.CreateSourceStateAtom]: CreateSourceStateAtom;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { EmptyObject } from '../../../framework-types/BaseTypes';
|
|
2
2
|
import type { ContextHaving } from '../../../framework-types/execution-context/Types';
|
|
3
3
|
import type { Constants } from '../core/Constants';
|
|
4
|
-
import type { CoreExportNames } from '../core/Types';
|
|
5
|
-
import { type CoreStateAtoms } from '../core/Types';
|
|
4
|
+
import type { CoreExportNames, CoreStateAtoms } from '../core/Types';
|
|
6
5
|
import type { CoreUtils } from '../core/utils/Types';
|
|
7
6
|
import type { ContextWithState } from '../Types';
|
|
8
7
|
import { StreamDataStructureSegments } from './segment/Exports';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
2
2
|
import type { EmptyObject } from '../../../Types';
|
|
3
3
|
import { CoreExportNames } from '../../core/Types';
|
|
4
|
-
import type { Logger } from '../../core/utils/Logger';
|
|
5
4
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
6
5
|
import type { ContextWithState } from '../../Types';
|
|
7
6
|
import type { DataOrSelfInitSegmentAtom, SegmentAtom } from './SegmentAtom';
|
|
@@ -10,7 +9,7 @@ type ExtendedContext = ContextHaving<{
|
|
|
10
9
|
[CoreExportNames.Utils]: CoreUtils;
|
|
11
10
|
}, EmptyObject, ContextWithState>;
|
|
12
11
|
declare function areSegmentsOverlapping(segments: DataOrSelfInitSegmentAtom[]): boolean;
|
|
13
|
-
declare function resetData(segment: SegmentAtom, { effects: { state } }: ContextWithState
|
|
12
|
+
declare function resetData(segment: SegmentAtom, { effects: { state, logger } }: ContextWithState): void;
|
|
14
13
|
declare function resolveContainerFormatFromUrl(context: ExtendedContext, url: string): ContainerFormat | undefined;
|
|
15
14
|
declare function resolveContainerFormatFromExtension(extension: string): ContainerFormat | undefined;
|
|
16
15
|
export declare const SegmentUtils: {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { AudioSelectionGroupAtom, MediaSelectionGroupAtom, SubtitleSelectionGroupAtom, UnknownSelectionGroupAtom, VideoSelectionGroupAtom } from './SelectionGroupAtom';
|
|
2
|
-
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
5
|
-
export declare function
|
|
2
|
+
type AnySelectionGroup = AudioSelectionGroupAtom | VideoSelectionGroupAtom | SubtitleSelectionGroupAtom | UnknownSelectionGroupAtom | MediaSelectionGroupAtom;
|
|
3
|
+
export declare function isVideoSelectionGroup(selectionGroup: AnySelectionGroup): selectionGroup is VideoSelectionGroupAtom;
|
|
4
|
+
export declare function isVideoSelectionGroup(selectionGroup: AnySelectionGroup, index: number, array: AnySelectionGroup[]): selectionGroup is VideoSelectionGroupAtom;
|
|
5
|
+
export declare function isAudioSelectionGroup(selectionGroup: AnySelectionGroup): selectionGroup is AudioSelectionGroupAtom;
|
|
6
|
+
export declare function isAudioSelectionGroup(selectionGroup: AnySelectionGroup, index: number, array: AnySelectionGroup[]): selectionGroup is AudioSelectionGroupAtom;
|
|
7
|
+
export declare function isSubtitleSelectionGroup(selectionGroup: AnySelectionGroup): selectionGroup is SubtitleSelectionGroupAtom;
|
|
8
|
+
export declare function isSubtitleSelectionGroup(selectionGroup: AnySelectionGroup, index: number, array: AnySelectionGroup[]): selectionGroup is SubtitleSelectionGroupAtom;
|
|
9
|
+
export declare function isMediaSelectionGroup(selectionGroup: AnySelectionGroup): selectionGroup is MediaSelectionGroupAtom;
|
|
10
|
+
export declare function isMediaSelectionGroup(selectionGroup: AnySelectionGroup, index: number, array: AnySelectionGroup[]): selectionGroup is MediaSelectionGroupAtom;
|
|
11
|
+
export {};
|
|
@@ -62,13 +62,13 @@ export type UnknownTrackAtom = StateAtom<UnknownTrack, ReturnType<typeof getBase
|
|
|
62
62
|
export type TrackAtom = AudioTrackAtom | VideoTrackAtom | MuxedTrackAtom | SubtitleTrackAtom | UnknownTrackAtom;
|
|
63
63
|
declare function getBaseModifiers(context: StreamDataStructureContext): {
|
|
64
64
|
setSegments: (track: Track, segments: ArrayAtom<DataOrSelfInitSegmentAtom>) => boolean;
|
|
65
|
-
setSequenceNumber: (track:
|
|
65
|
+
setSequenceNumber: (track: Track, sequenceNumber: number) => boolean;
|
|
66
66
|
setSelectionGroup: (track: VideoTrack | AudioTrack | MuxedTrack | UnknownTrack | SubtitleTrack, selectionGroup: SelectionGroupAtom) => boolean;
|
|
67
67
|
};
|
|
68
68
|
declare function getMediaTrackModifiers(context: StreamDataStructureContext): {
|
|
69
69
|
setBitrate: (track: MediaTrack, bitrate: number) => boolean;
|
|
70
70
|
setSegments: (track: Track, segments: ArrayAtom<DataOrSelfInitSegmentAtom>) => boolean;
|
|
71
|
-
setSequenceNumber: (track:
|
|
71
|
+
setSequenceNumber: (track: Track, sequenceNumber: number) => boolean;
|
|
72
72
|
setSelectionGroup: (track: AudioTrack | VideoTrack | MuxedTrack | SubtitleTrack | UnknownTrack, selectionGroup: SelectionGroupAtom) => boolean;
|
|
73
73
|
};
|
|
74
74
|
declare function getAudioTrackModifiers(context: StreamDataStructureContext): {
|
|
@@ -76,7 +76,7 @@ declare function getAudioTrackModifiers(context: StreamDataStructureContext): {
|
|
|
76
76
|
setLabel: (track: LanguageTrack, label: string) => boolean;
|
|
77
77
|
setBitrate: (track: MediaTrack, bitrate: number) => boolean;
|
|
78
78
|
setSegments: (track: Track, segments: ArrayAtom<DataOrSelfInitSegmentAtom>) => boolean;
|
|
79
|
-
setSequenceNumber: (track:
|
|
79
|
+
setSequenceNumber: (track: Track, sequenceNumber: number) => boolean;
|
|
80
80
|
setSelectionGroup: (track: AudioTrack | VideoTrack | MuxedTrack | SubtitleTrack | UnknownTrack, selectionGroup: SelectionGroupAtom) => boolean;
|
|
81
81
|
};
|
|
82
82
|
type RequiredBaseTrackKeys = 'id';
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import type { AudioTrackAtom, MediaTrackAtom, SubtitleTrackAtom, TrackAtom, VideoTrackAtom } from './TrackAtom';
|
|
2
2
|
export declare function isAudioTrack(track: TrackAtom): track is AudioTrackAtom;
|
|
3
|
+
export declare function isAudioTrack(track: TrackAtom, index: number, array: TrackAtom[]): track is AudioTrackAtom;
|
|
3
4
|
export declare function isMediaTrack(track: TrackAtom): track is MediaTrackAtom;
|
|
5
|
+
export declare function isMediaTrack(track: TrackAtom, index: number, array: TrackAtom[]): track is MediaTrackAtom;
|
|
4
6
|
export declare function isSubtitleTrack(track: TrackAtom): track is SubtitleTrackAtom;
|
|
7
|
+
export declare function isSubtitleTrack(track: TrackAtom, index: number, array: TrackAtom[]): track is SubtitleTrackAtom;
|
|
5
8
|
export declare function isVideoTrack(track: TrackAtom): track is VideoTrackAtom;
|
|
9
|
+
export declare function isVideoTrack(track: TrackAtom, index: number, array: TrackAtom[]): track is VideoTrackAtom;
|
|
6
10
|
export declare function isMuxedTrack(track: TrackAtom): track is VideoTrackAtom;
|
|
11
|
+
export declare function isMuxedTrack(track: TrackAtom, index: number, array: TrackAtom[]): track is VideoTrackAtom;
|
|
7
12
|
export declare function isMediaOrSubtitleTrack(track: TrackAtom): track is MediaTrackAtom | SubtitleTrackAtom;
|
|
13
|
+
export declare function isMediaOrSubtitleTrack(track: TrackAtom, index: number, array: TrackAtom[]): track is MediaTrackAtom | SubtitleTrackAtom;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { ApiManager } from '../../../../framework-types/api-manager/ApiManager';
|
|
2
2
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
3
|
-
import type { BundleExportNames } from '../../../bundles/Types';
|
|
4
3
|
import type { Constants, SubtitleFormatType } from '../../core/Constants';
|
|
5
4
|
import type { StreamTimelineAtom } from '../../core/state/stream-timeline/StreamTimelineMapAtom';
|
|
6
5
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../core/Types';
|
|
7
|
-
import type { Logger } from '../../core/utils/Logger';
|
|
8
6
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
9
7
|
import type { DataExportNames } from '../../data/Types';
|
|
10
8
|
import type { extendEventBusTypes } from '../../event-bus/EventBus';
|
|
@@ -26,7 +24,6 @@ export type SubtitleApiDependencies = {
|
|
|
26
24
|
[CoreExportNames.Utils]: CoreUtils;
|
|
27
25
|
[CoreExportNames.Constants]: Constants;
|
|
28
26
|
[DataExportNames.StreamTimeline]: StreamTimelineAtom;
|
|
29
|
-
[BundleExportNames.Logger]: Logger;
|
|
30
27
|
[EventBusExportNames.ExtendEventBusTypes]: typeof extendEventBusTypes;
|
|
31
28
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
32
29
|
[SourcesApiExportNames.SourceApiManager]: ApiManager<SubtitleSourceApi>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
2
|
-
import type { BundleExportNames } from '../../../bundles/Types';
|
|
3
2
|
import type { Constants } from '../../core/Constants';
|
|
4
3
|
import type { StreamTimelineAtom } from '../../core/state/stream-timeline/StreamTimelineMapAtom';
|
|
5
4
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../core/Types';
|
|
6
|
-
import type { Logger } from '../../core/utils/Logger';
|
|
7
5
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
8
6
|
import type { DataExportNames } from '../../data/Types';
|
|
9
7
|
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
@@ -21,7 +19,6 @@ export declare enum SubtitleBaseExportNames {
|
|
|
21
19
|
SubtitleBufferClearingTask = "subtitle-buffer-clearing-task"
|
|
22
20
|
}
|
|
23
21
|
export type SubtitleBaseDependencies = {
|
|
24
|
-
[BundleExportNames.Logger]: Logger;
|
|
25
22
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
26
23
|
[CoreExportNames.Utils]: CoreUtils;
|
|
27
24
|
[CoreExportNames.Constants]: Constants;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
2
2
|
import type { NamedTask, Task } from '../../../../framework-types/task/Types';
|
|
3
|
-
import type { BundleExportNames } from '../../../bundles/Types';
|
|
4
3
|
import type { Constants, SubtitleFormatType } from '../../core/Constants';
|
|
5
4
|
import type { StreamTimelineAtom } from '../../core/state/stream-timeline/StreamTimelineMapAtom';
|
|
6
5
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../core/Types';
|
|
7
|
-
import type { Logger } from '../../core/utils/Logger';
|
|
8
6
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
9
7
|
import type { DataExportNames } from '../../data/Types';
|
|
10
8
|
import type { StreamDataStructureSelectionGroups } from '../../stream-data-structure/selection-group/Exports';
|
|
@@ -18,7 +16,6 @@ export type SubtitleFormatDetectionExports = {
|
|
|
18
16
|
};
|
|
19
17
|
export type SubtitleFormatDetectionDependencies = {
|
|
20
18
|
[CoreExportNames.Utils]: CoreUtils;
|
|
21
|
-
[BundleExportNames.Logger]: Logger;
|
|
22
19
|
[CoreExportNames.Constants]: Constants;
|
|
23
20
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
24
21
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
@@ -9,17 +9,14 @@
|
|
|
9
9
|
* ### `TrickPlay` Package Dependency Graph
|
|
10
10
|
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-8 -8 16 16" style="max-width: 16px; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#ccc;}#my-svg .error-icon{fill:#a44141;}#my-svg .error-text{fill:#ddd;stroke:#ddd;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:lightgrey;stroke:lightgrey;}#my-svg .marker.cross{stroke:lightgrey;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#ccc;}#my-svg .cluster-label text{fill:#F9FFFE;}#my-svg .cluster-label span,#my-svg p{color:#F9FFFE;}#my-svg .label text,#my-svg span,#my-svg p{fill:#ccc;color:#ccc;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:lightgrey;}#my-svg .edgePath .path{stroke:lightgrey;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:lightgrey;fill:none;}#my-svg .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#my-svg .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#my-svg .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#my-svg .cluster text{fill:#F9FFFE;}#my-svg .cluster span,#my-svg p{color:#F9FFFE;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"/></g></g></svg>
|
|
11
11
|
*/
|
|
12
|
-
import { BundleExportNames } from '../../bundles/Types';
|
|
13
12
|
import type { EmptyObject } from '../../Types';
|
|
14
13
|
import type { CoreExports } from '../core/Types';
|
|
15
|
-
import type { Logger } from '../core/utils/Logger';
|
|
16
14
|
import type { SourceStateAtom } from '../source/atoms/SourceStateAtom';
|
|
17
15
|
import { SourceExportNames } from '../source/Types';
|
|
18
16
|
import { StreamDataStructureTracks } from '../stream-data-structure/track/Exports';
|
|
19
17
|
import type { TimeRange } from '../stream-data-structure/track/TrackAtom';
|
|
20
18
|
import { StreamingState } from '../streaming/Types';
|
|
21
19
|
type Dependencies = {
|
|
22
|
-
[BundleExportNames.Logger]: Logger;
|
|
23
20
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
24
21
|
} & CoreExports & StreamDataStructureTracks & StreamingState;
|
|
25
22
|
export type TrickPlayApi = {
|
|
@@ -8,17 +8,14 @@
|
|
|
8
8
|
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-8 -8 164.484375 49" style="max-width: 164.484px; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#ccc;}#my-svg .error-icon{fill:#a44141;}#my-svg .error-text{fill:#ddd;stroke:#ddd;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:lightgrey;stroke:lightgrey;}#my-svg .marker.cross{stroke:lightgrey;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#ccc;}#my-svg .cluster-label text{fill:#F9FFFE;}#my-svg .cluster-label span,#my-svg p{color:#F9FFFE;}#my-svg .label text,#my-svg span,#my-svg p{fill:#ccc;color:#ccc;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:lightgrey;}#my-svg .edgePath .path{stroke:lightgrey;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:lightgrey;fill:none;}#my-svg .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#my-svg .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#my-svg .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#my-svg .cluster text{fill:#F9FFFE;}#my-svg .cluster span,#my-svg p{color:#F9FFFE;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-Tv LE-Source" id="L-Tv-Source-0" d="M32.781,16.5L36.948,16.5C41.115,16.5,49.448,16.5,56.898,16.5C64.348,16.5,70.915,16.5,74.198,16.5L77.481,16.5"/></g><g class="edgeLabels"><g class="edgeLabel"><g transform="translate(0, 0)" class="label"><foreignObject height="0" width="0"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g transform="translate(16.390625, 16.5)" data-id="Tv" data-node="true" id="flowchart-Tv-0" class="node default default flowchart-label"><rect height="33" width="32.78125" y="-16.5" x="-16.390625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-8.890625, -9)" style="" class="label"><rect/><foreignObject height="18" width="17.78125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Tv</span></div></foreignObject></g></g><g transform="translate(115.6328125, 16.5)" data-id="Source" data-node="true" id="flowchart-Source-1" class="node default default flowchart-label"><rect height="33" width="65.703125" y="-16.5" x="-32.8515625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-25.3515625, -9)" style="" class="label"><rect/><foreignObject height="18" width="50.703125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Source</span></div></foreignObject></g></g></g></g></g></svg>
|
|
9
9
|
*/
|
|
10
10
|
import type { ContextHaving } from '../../../framework-types/execution-context/Types';
|
|
11
|
-
import { BundleExportNames } from '../../bundles/Types';
|
|
12
11
|
import type { EmptyObject } from '../../Types';
|
|
13
12
|
import type { CoreEffects } from '../core/Types';
|
|
14
13
|
import { CoreExportNames } from '../core/Types';
|
|
15
|
-
import type { Logger } from '../core/utils/Logger';
|
|
16
14
|
import type { SourceStateAtom } from '../source/atoms/SourceStateAtom';
|
|
17
15
|
import { SourceExportNames } from '../source/Types';
|
|
18
16
|
import type { ContextWithState } from '../Types';
|
|
19
17
|
export declare const TvPackageThreadName = "tv-package-thread";
|
|
20
18
|
interface TvPackageDependencies {
|
|
21
|
-
[BundleExportNames.Logger]: Logger;
|
|
22
19
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
23
20
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
24
21
|
}
|
|
@@ -12,14 +12,12 @@
|
|
|
12
12
|
import type { ApiManager } from '../../../framework-types/api-manager/ApiManager';
|
|
13
13
|
import type { ContextHaving, ContextUsing } from '../../../framework-types/execution-context/Types';
|
|
14
14
|
import type { BaseContext } from '../../../framework-types/Types';
|
|
15
|
-
import { BundleExportNames } from '../../bundles/Types';
|
|
16
15
|
import type { EmptyObject } from '../../Types';
|
|
17
16
|
import type { Constants } from '../core/Constants';
|
|
18
17
|
import type { EventListenerEffect } from '../core/effects/EventListenerEffectFactory';
|
|
19
18
|
import type { StateEffect } from '../core/state/state-effect/StateEffectFactory';
|
|
20
19
|
import type { CoreEffects, CoreStateAtoms } from '../core/Types';
|
|
21
20
|
import { CoreExportNames } from '../core/Types';
|
|
22
|
-
import type { Logger } from '../core/utils/Logger';
|
|
23
21
|
import type { CoreUtils } from '../core/utils/Types';
|
|
24
22
|
import type { EventBus } from '../event-bus/Types';
|
|
25
23
|
import type { createSourceStateAtom, SourceStateAtom } from '../source/atoms/SourceStateAtom';
|
|
@@ -32,7 +30,6 @@ import type { EventListenerAtom } from './event-handling/EventListenerAtom';
|
|
|
32
30
|
import type { PlayerConfig } from './types/PlayerConfig';
|
|
33
31
|
import type { BitmovinV8PlayerApi } from './types/Types';
|
|
34
32
|
type PlayerApiCompatDependencies = {
|
|
35
|
-
[BundleExportNames.Logger]: Logger;
|
|
36
33
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
37
34
|
[CoreExportNames.Utils]: CoreUtils;
|
|
38
35
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
@@ -9,16 +9,13 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
11
11
|
import type { BaseContext } from '../../../../framework-types/Types';
|
|
12
|
-
import { BundleExportNames } from '../../../bundles/Types';
|
|
13
12
|
import type { CoreEffects } from '../../core/Types';
|
|
14
13
|
import { CoreExportNames } from '../../core/Types';
|
|
15
|
-
import type { Logger } from '../../core/utils/Logger';
|
|
16
14
|
import { SourcesApiExportNames } from '../../sources-api/Types';
|
|
17
15
|
import type VideoElementUtils from '../../sources-api/VideoElementUtils';
|
|
18
16
|
import { AdditionalPlayerExports } from '../enums/PlayerExports';
|
|
19
17
|
import type { BitmovinV8PlayerApi, PlayerConfig } from '../types/Types';
|
|
20
18
|
type Dependencies = {
|
|
21
|
-
[BundleExportNames.Logger]: Logger;
|
|
22
19
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
23
20
|
[AdditionalPlayerExports.Container]: HTMLElement;
|
|
24
21
|
[AdditionalPlayerExports.UserConfig]: PlayerConfig;
|
|
@@ -10,11 +10,9 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { ApiManager } from '../../../framework-types/api-manager/ApiManager';
|
|
12
12
|
import type { ContextHaving } from '../../../framework-types/execution-context/Types';
|
|
13
|
-
import { BundleExportNames } from '../../bundles/Types';
|
|
14
13
|
import type { EmptyObject } from '../../Types';
|
|
15
14
|
import type { CoreEffects } from '../core/Types';
|
|
16
15
|
import { CoreExportNames } from '../core/Types';
|
|
17
|
-
import type { Logger } from '../core/utils/Logger';
|
|
18
16
|
import type { SourceStateAtom } from '../source/atoms/SourceStateAtom';
|
|
19
17
|
import { SourceExportNames } from '../source/Types';
|
|
20
18
|
import { SourcesApiExportNames } from '../sources-api/Types';
|
|
@@ -25,7 +23,6 @@ import type { ViewModeAtom } from './ViewModeAtom';
|
|
|
25
23
|
type Dependencies = {
|
|
26
24
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
27
25
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
28
|
-
[BundleExportNames.Logger]: Logger;
|
|
29
26
|
[SourcesApiExportNames.SourceApiManager]: ApiManager<ViewModeApi>;
|
|
30
27
|
};
|
|
31
28
|
export type ViewModePackageExports = {
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export declare enum LogLevel {
|
|
2
|
-
Off = 0,
|
|
3
|
-
Error = 1,
|
|
4
|
-
Warn = 2,
|
|
5
|
-
Log = 3,
|
|
6
|
-
Debug = 4,
|
|
7
|
-
Verbose = 5
|
|
8
|
-
}
|
|
9
|
-
export declare class Logger {
|
|
10
|
-
private readonly noop;
|
|
11
|
-
private verboseFn;
|
|
12
|
-
private debugFn;
|
|
13
|
-
private logFn;
|
|
14
|
-
private warnFn;
|
|
15
|
-
private errorFn;
|
|
16
|
-
private logLevel;
|
|
17
|
-
constructor();
|
|
18
|
-
get verbose(): {
|
|
19
|
-
(...data: any[]): void;
|
|
20
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
21
|
-
};
|
|
22
|
-
get debug(): {
|
|
23
|
-
(...data: any[]): void;
|
|
24
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
25
|
-
};
|
|
26
|
-
get log(): {
|
|
27
|
-
(...data: any[]): void;
|
|
28
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
29
|
-
};
|
|
30
|
-
get warn(): {
|
|
31
|
-
(...data: any[]): void;
|
|
32
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
33
|
-
};
|
|
34
|
-
get error(): {
|
|
35
|
-
(...data: any[]): void;
|
|
36
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
37
|
-
};
|
|
38
|
-
get level(): LogLevel;
|
|
39
|
-
setLevel(level: LogLevel): void;
|
|
40
|
-
}
|