@bitmovin/player-web-x 10.2.0-beta.0 → 10.2.0-beta.11
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 +3 -3
- package/bundles/playerx-bitmovin-v8.js +3 -3
- package/bundles/playerx-core.js +3 -3
- package/bundles/playerx-dash.js +3 -3
- package/bundles/playerx-hls-ts-audio.d.ts +1 -0
- package/bundles/playerx-hls-ts-audio.js +3 -3
- package/bundles/playerx-hls.js +3 -3
- package/bundles/playerx-playback.d.ts +1 -0
- package/bundles/playerx-playback.js +10 -0
- package/bundles/playerx-tv.js +3 -3
- package/framework-types/Types.d.ts +3 -1
- package/framework-types/effects/LoggerEffect.d.ts +59 -0
- package/framework-types/registry/Registry.d.ts +3 -3
- package/package.json +1 -1
- package/packages/playerx-adaptation.package.js +3 -3
- package/packages/playerx-advertising-api.package.d.ts +1 -0
- package/packages/playerx-advertising-api.package.js +10 -0
- package/packages/playerx-advertising-base.package.d.ts +1 -0
- package/packages/playerx-advertising-base.package.js +10 -0
- package/packages/playerx-advertising-bitmovin.package.d.ts +1 -0
- package/packages/playerx-advertising-bitmovin.package.js +10 -0
- package/packages/playerx-analytics.package.d.ts +1 -0
- package/packages/playerx-analytics.package.js +3 -3
- package/packages/playerx-bitmovin-advertising-bundle.package.d.ts +1 -0
- package/packages/playerx-bitmovin-advertising-bundle.package.js +10 -0
- package/packages/playerx-bitmovin-source-api.package.js +3 -3
- package/packages/playerx-bitmovin-ui.package.js +3 -3
- package/packages/playerx-bitmovin-v8-core.package.js +3 -3
- package/packages/playerx-bitmovin-v8-static-api.package.js +3 -3
- package/packages/playerx-bitmovin-video-element-utils.package.js +3 -3
- package/packages/playerx-capabilities.package.js +3 -3
- package/packages/playerx-container-mp4.package.js +3 -3
- package/packages/playerx-container-ts.package.js +3 -3
- package/packages/playerx-core.package.js +3 -3
- package/packages/playerx-dash-manifest-technology.package.d.ts +1 -0
- package/packages/playerx-dash-manifest-technology.package.js +10 -0
- package/packages/playerx-dash-manifest.package.d.ts +1 -0
- package/packages/playerx-dash-manifest.package.js +10 -0
- package/packages/playerx-dash-parsing.package.js +3 -3
- package/packages/playerx-dash-translation.package.js +3 -3
- package/packages/playerx-dash.package.js +3 -3
- package/packages/playerx-data.package.js +3 -3
- package/packages/playerx-event-bus.package.js +3 -3
- package/packages/playerx-hls-manifest-technology.package.d.ts +1 -0
- package/packages/playerx-hls-manifest-technology.package.js +10 -0
- package/packages/playerx-hls-manifest.package.d.ts +1 -0
- package/packages/playerx-hls-manifest.package.js +10 -0
- package/packages/playerx-hls-parsing.package.js +3 -3
- package/packages/playerx-hls-translation.package.js +3 -3
- package/packages/playerx-hls.package.js +3 -3
- package/packages/playerx-mse-playback.package.d.ts +1 -0
- package/packages/playerx-mse-playback.package.js +10 -0
- package/packages/playerx-mse-presentation.package.d.ts +1 -0
- package/packages/playerx-mse-presentation.package.js +10 -0
- package/packages/playerx-native-playback.package.d.ts +1 -0
- package/packages/playerx-native-playback.package.js +10 -0
- package/packages/playerx-native-presentation.package.d.ts +1 -0
- package/packages/playerx-native-presentation.package.js +10 -0
- package/packages/playerx-network.package.js +3 -3
- package/packages/playerx-no-adaptation.package.d.ts +1 -0
- package/packages/playerx-no-adaptation.package.js +3 -3
- package/packages/playerx-playback-api.package.js +3 -3
- package/packages/playerx-playback-technology.package.d.ts +1 -0
- package/packages/playerx-playback-technology.package.js +10 -0
- package/packages/playerx-playback.package.js +3 -3
- package/packages/playerx-player-api.package.js +3 -3
- package/packages/playerx-segment-processing.package.js +3 -3
- package/packages/playerx-source.package.js +3 -3
- package/packages/playerx-sources-api.package.js +3 -3
- package/packages/playerx-stream-data-structure.package.d.ts +1 -0
- package/packages/playerx-stream-data-structure.package.js +10 -0
- package/packages/playerx-streaming.package.d.ts +1 -0
- package/packages/playerx-streaming.package.js +10 -0
- package/packages/playerx-subtitle-api.package.js +3 -3
- package/packages/playerx-subtitle-base.package.js +3 -3
- package/packages/playerx-subtitle-format-detection.package.js +3 -3
- package/packages/playerx-subtitle-native-renderer.package.js +3 -3
- package/packages/playerx-subtitles.package.js +3 -3
- package/packages/playerx-trick-play.package.js +3 -3
- package/packages/playerx-ts-transmuxer.package.js +3 -3
- package/packages/playerx-tv.package.js +3 -3
- package/packages/playerx-ui.package.d.ts +1 -0
- package/packages/playerx-ui.package.js +10 -0
- package/packages/playerx-view-mode.package.js +3 -3
- package/packages/playerx-web-vtt.package.js +3 -3
- package/playerx-framework-utils.js +2 -2
- package/types/bundles/BitmovinV8.bundle.d.ts +1 -1
- package/types/bundles/Dash.bundle.d.ts +2 -3
- package/types/bundles/Hls.bundle.d.ts +3 -4
- package/types/bundles/HlsTsAudio.bundle.d.ts +26 -0
- package/types/bundles/Playback.bundle.d.ts +28 -0
- package/types/bundles/Tv.bundle.d.ts +1 -1
- package/types/bundles/Types.d.ts +2 -2
- package/types/packages/adaptation/Adaptation.package.d.ts +4 -3
- package/types/packages/adaptation/AdaptationStateAtom.d.ts +14 -23
- package/types/packages/adaptation/NoAdaptation.package.d.ts +10 -0
- package/types/packages/adaptation/Types.d.ts +32 -8
- package/types/packages/adaptation/WishConfigAtom.d.ts +4 -29
- package/types/packages/advertising/BitmovinAdvertisingBundle.package.d.ts +14 -0
- package/types/packages/advertising/api/AdvertisingApi.package.d.ts +12 -0
- package/types/packages/advertising/api/AdvertisingEvents.d.ts +44 -0
- package/types/packages/advertising/api/Types.d.ts +49 -0
- package/types/packages/advertising/base/AdPosition.d.ts +4 -0
- package/types/packages/advertising/base/AdSchedule.d.ts +3 -0
- package/types/packages/advertising/base/AdTagAtom.d.ts +11 -0
- package/types/packages/advertising/base/AdvertisingBase.package.d.ts +12 -0
- package/types/packages/advertising/base/BaseAdAtom.d.ts +22 -0
- package/types/packages/advertising/base/BaseAdBreakAtom.d.ts +29 -0
- package/types/packages/advertising/base/PreloadConfigAtom.d.ts +17 -0
- package/types/packages/advertising/base/Types.d.ts +67 -0
- package/types/packages/advertising/bitmovin/AdvertisingBitmovin.package.d.ts +14 -0
- package/types/packages/advertising/bitmovin/Types.d.ts +46 -0
- package/types/packages/analytics/Analytics.package.d.ts +15 -0
- package/types/packages/analytics/Types.d.ts +20 -0
- package/types/packages/capabilities/Capabilities.package.d.ts +1 -1
- package/types/packages/capabilities/Types.d.ts +5 -2
- package/types/packages/container/container-mp4/ContainerMp4.package.d.ts +3 -2
- package/types/packages/container/container-ts/ContainerTs.package.d.ts +3 -2
- package/types/packages/container/ts-transmuxer/TsTransmuxer.package.d.ts +3 -2
- package/types/packages/core/Constants.d.ts +11 -2
- package/types/packages/core/Types.d.ts +4 -54
- package/types/packages/core/state/StateMachineAtom.d.ts +20 -6
- package/types/packages/core/state/Symbols.d.ts +1 -0
- package/types/packages/core/state/Types.d.ts +2 -1
- package/types/packages/core/state/stream-timeline/StreamSectionAtom.d.ts +1 -1
- package/types/packages/core/state/stream-timeline/StreamSequenceMapAtom.d.ts +2 -2
- package/types/packages/core/state/timeline/Types.d.ts +1 -1
- package/types/packages/core/technology/Types.d.ts +19 -0
- package/types/packages/core/utils/MapUnsubscribedError.d.ts +1 -1
- package/types/packages/core/utils/RangesHelper.d.ts +3 -1
- package/types/packages/core/utils/StateUtils.d.ts +9 -3
- package/types/packages/core/utils/Types.d.ts +0 -2
- package/types/packages/data/Data.package.d.ts +1 -1
- package/types/packages/data/Types.d.ts +6 -7
- package/types/packages/event-bus/EventBus.d.ts +6 -3
- package/types/packages/event-bus/EventBus.package.d.ts +2 -1
- package/types/packages/event-bus/Types.d.ts +32 -12
- package/types/packages/manifest/dash/DashManifest.package.d.ts +3 -0
- package/types/packages/manifest/dash/parsing/DashParsing.package.d.ts +0 -3
- package/types/packages/manifest/dash/root/Dash.package.d.ts +1 -1
- package/types/packages/manifest/dash/root/Types.d.ts +4 -4
- package/types/packages/manifest/dash/technology/DashManifestTechnology.package.d.ts +11 -0
- package/types/packages/manifest/dash/technology/Types.d.ts +32 -0
- package/types/packages/manifest/dash/technology/atoms/DashTechStateAtom.d.ts +10 -0
- package/types/packages/manifest/dash/translation/DashTranslation.package.d.ts +1 -1
- package/types/packages/manifest/dash/translation/Types.d.ts +2 -4
- package/types/packages/manifest/dash/translation/manifests/DashPlaylistTranslatorTask.d.ts +1 -1
- package/types/packages/manifest/hls/HlsManifest.package.d.ts +3 -0
- 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/Types.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 +5 -5
- package/types/packages/manifest/hls/technology/HlsManifestTechnology.package.d.ts +11 -0
- package/types/packages/manifest/hls/technology/Types.d.ts +32 -0
- package/types/packages/manifest/hls/technology/atoms/HlsTechStateAtom.d.ts +10 -0
- package/types/packages/manifest/hls/translation/HlsTranslation.package.d.ts +3 -5
- package/types/packages/manifest/hls/translation/manifests/HlsMultivariantPlaylistTranslatorTask.d.ts +1 -1
- package/types/packages/manifest/hls/translation/manifests/HlsVariantTranslationTask.d.ts +2 -2
- package/types/packages/network/Network.package.d.ts +1 -1
- 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/video-element-state/SeekRestrictionAtom.d.ts +2 -0
- package/types/packages/playback/video-element-state/Types.d.ts +4 -1
- package/types/packages/playback/volume/TargetVolumeStateAtom.d.ts +10 -0
- package/types/packages/playback/volume/Types.d.ts +19 -0
- package/types/packages/playback-api/Types.d.ts +5 -3
- package/types/packages/playback-api/playback-api-events/Types.d.ts +7 -5
- package/types/packages/playback-api/playback-api-events/events/DurationChangedEvent.d.ts +6 -0
- package/types/packages/playback-api/playback-api-events/events/PlaybackEventMap.d.ts +14 -1
- package/types/packages/playback-api/playback-api-events/events/PlaybackRateChangedEvent.d.ts +6 -0
- package/types/packages/playback-api/playback-api-events/events/VolumeChangedEvent.d.ts +6 -0
- package/types/packages/playback-api/time-api/SeekableRangeProviderAtom.d.ts +20 -0
- package/types/packages/playback-api/time-api/Types.d.ts +36 -0
- package/types/packages/playback-api/volume-api/Types.d.ts +19 -0
- package/types/packages/playback-technology/PlaybackTechnology.package.d.ts +23 -0
- package/types/packages/playback-technology/Types.d.ts +54 -0
- package/types/packages/player-api/PlayerApi.package.d.ts +2 -4
- package/types/packages/player-api/Types.d.ts +3 -2
- package/types/packages/presentation/mse/MsePlayback.package.d.ts +3 -0
- package/types/packages/presentation/mse/playback-technology/Types.d.ts +26 -0
- package/types/packages/presentation/mse/playback-technology/atoms/MsePresentationStateAtom.d.ts +10 -0
- package/types/packages/presentation/mse/presentation/MsePresentation.package.d.ts +55 -0
- package/types/packages/presentation/{Types.d.ts → mse/presentation/Types.d.ts} +1 -1
- package/types/packages/presentation/mse/presentation/cache/Types.d.ts +4 -0
- package/types/packages/presentation/native/NativePlayback.package.d.ts +4 -0
- package/types/packages/presentation/native/Types.d.ts +12 -0
- package/types/packages/presentation/native/playback-technology/Types.d.ts +26 -0
- package/types/packages/presentation/native/playback-technology/atoms/NativePresentationStateAtom.d.ts +10 -0
- package/types/packages/presentation/native/presentation/NativePresentation.package.d.ts +14 -0
- package/types/packages/presentation/native/presentation/Types.d.ts +12 -0
- package/types/packages/segment-processing/SegmentProcessing.package.d.ts +1 -1
- package/types/packages/segment-processing/Types.d.ts +4 -6
- package/types/packages/source/Source.package.d.ts +1 -1
- package/types/packages/source/SourceReference.d.ts +2 -1
- package/types/packages/source/Types.d.ts +4 -0
- package/types/packages/source/atoms/PlaybackAtom.d.ts +5 -1
- package/types/packages/source/atoms/PlaybackConfigAtom.d.ts +1 -0
- package/types/packages/source/atoms/SourceConfigAtom.d.ts +11 -4
- package/types/packages/source/atoms/SourceStateAtom.d.ts +10 -23
- package/types/packages/sources-api/SourceRemovedError.d.ts +5 -0
- package/types/packages/sources-api/SourcesApi.package.d.ts +1 -1
- package/types/packages/sources-api/Types.d.ts +22 -7
- package/types/packages/stream-data-structure/StreamDataStructure.package.d.ts +4 -0
- package/types/packages/stream-data-structure/Types.d.ts +23 -0
- package/types/packages/stream-data-structure/segment/Exports.d.ts +22 -0
- package/types/packages/{core/state → stream-data-structure}/segment/SegmentAtom.d.ts +8 -8
- package/types/packages/stream-data-structure/segment/SegmentDataAtom.d.ts +19 -0
- package/types/packages/{core/state → stream-data-structure}/segment/SegmentTimingAtom.d.ts +3 -3
- package/types/packages/{core/state → stream-data-structure}/segment/SegmentUtils.d.ts +10 -10
- package/types/packages/stream-data-structure/selection-group/Exports.d.ts +16 -0
- package/types/packages/{core/state → stream-data-structure}/selection-group/SelectionGroupAtom.d.ts +17 -15
- package/types/packages/stream-data-structure/selection-group/SelectionGroupTypeGuards.d.ts +11 -0
- package/types/packages/stream-data-structure/selection-group/SelectionGroupUtils.d.ts +7 -0
- package/types/packages/stream-data-structure/stream/Exports.d.ts +8 -0
- package/types/packages/{core/state → stream-data-structure}/stream/StreamAtom.d.ts +8 -8
- package/types/packages/stream-data-structure/track/Exports.d.ts +18 -0
- package/types/packages/{core/state → stream-data-structure}/track/TrackAtom.d.ts +18 -26
- package/types/packages/stream-data-structure/track/TrackTypeGuards.d.ts +13 -0
- package/types/packages/streaming/Streaming.package.d.ts +12 -0
- package/types/packages/streaming/Types.d.ts +11 -0
- package/types/packages/{core/state/data-ranges → streaming/atoms}/DataRangesAtom.d.ts +8 -8
- package/types/packages/streaming/atoms/StreamingStateAtom.d.ts +30 -0
- package/types/packages/subtitles/subtitle-api/SubtitleApi.package.d.ts +1 -1
- package/types/packages/subtitles/subtitle-api/Types.d.ts +8 -5
- package/types/packages/subtitles/subtitle-base/SubtitleBase.package.d.ts +1 -1
- package/types/packages/subtitles/subtitle-base/SubtitleCueMapAtom.d.ts +1 -1
- package/types/packages/subtitles/subtitle-base/Types.d.ts +4 -4
- package/types/packages/subtitles/subtitle-format-detection/SubtitleFormatDetection.package.d.ts +1 -1
- package/types/packages/subtitles/subtitle-format-detection/Types.d.ts +3 -4
- package/types/packages/subtitles/subtitle-native-renderer/SubtitleNativeRenderer.package.d.ts +1 -1
- package/types/packages/subtitles/subtitle-native-renderer/Types.d.ts +4 -1
- package/types/packages/subtitles/webvtt/Types.d.ts +5 -3
- package/types/packages/subtitles/webvtt/WebVtt.package.d.ts +1 -1
- package/types/packages/trick-play/TrickPlay.package.d.ts +6 -14
- package/types/packages/tv/Tv.package.d.ts +1 -4
- package/types/packages/ui/Types.d.ts +36 -0
- package/types/packages/ui/Ui.package.d.ts +4 -0
- package/types/packages/v8-compat/BitmovinUi.package.d.ts +1 -1
- package/types/packages/v8-compat/BitmovinV8StaticApi.package.d.ts +5 -6
- package/types/packages/v8-compat/source-api/BitmovinSourceApi.package.d.ts +4 -2
- package/types/packages/v8-compat/types/Types.d.ts +1 -1
- package/types/packages/v8-compat/video-element/BitmovinVideoElementUtils.package.d.ts +1 -4
- package/types/packages/view-mode/ViewMode.package.d.ts +1 -4
- package/packages/playerx-presentation.package.d.ts +0 -1
- package/packages/playerx-presentation.package.js +0 -10
- package/types/packages/core/state/segment/SegmentDataAtom.d.ts +0 -31
- package/types/packages/core/state/selection-group/SelectionGroupTypeGuards.d.ts +0 -5
- package/types/packages/core/state/selection-group/SelectionGroupUtils.d.ts +0 -7
- package/types/packages/core/state/track/TrackTypeGuards.d.ts +0 -7
- package/types/packages/core/utils/Logger.d.ts +0 -40
- package/types/packages/presentation/Presentation.package.d.ts +0 -62
- package/types/packages/presentation/cache/Types.d.ts +0 -4
- /package/types/packages/{core/state → stream-data-structure}/segment/SegmentTypeGuards.d.ts +0 -0
- /package/types/packages/{source → streaming}/atoms/BufferConfigAtom.d.ts +0 -0
- /package/types/packages/{source → streaming}/atoms/MediaTypeMapAtom.d.ts +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @packageDocumentation Analytics.package
|
|
3
|
+
*
|
|
4
|
+
* Analytics package enables Bitmovin Analytics Collector.
|
|
5
|
+
*
|
|
6
|
+
* Collector features are limited based on what API's are available on the PWX.
|
|
7
|
+
*
|
|
8
|
+
* ### `Analytics` Package Dependency Graph
|
|
9
|
+
* <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>
|
|
10
|
+
*/
|
|
11
|
+
import type { EmptyObject } from '../../../framework-types/BaseTypes';
|
|
12
|
+
import type { Package } from '../../../framework-types/package-api/Package';
|
|
13
|
+
import type { AnalyticsPackageDependencies } from './Types';
|
|
14
|
+
export declare const AnalyticsPackage: Package<AnalyticsPackageDependencies, EmptyObject, EmptyObject>;
|
|
15
|
+
export default AnalyticsPackage;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { EmptyObject } from '../../../framework-types/BaseTypes';
|
|
2
|
+
import type { BundleExportNames, PlayerConfig } from '../../bundles/Types';
|
|
3
|
+
import type { Constants } from '../core/Constants';
|
|
4
|
+
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../core/Types';
|
|
5
|
+
import type { EventBus } from '../event-bus/Types';
|
|
6
|
+
import type { PlaybackEvent, PlaybackEventMap } from '../playback-api/playback-api-events/events/PlaybackEventMap';
|
|
7
|
+
import type { PlaybackApiEventsPackageExportNames } from '../playback-api/playback-api-events/Types';
|
|
8
|
+
import type { SourceStateAtom } from '../source/atoms/SourceStateAtom';
|
|
9
|
+
import type { SourceExportNames } from '../source/Types';
|
|
10
|
+
import type { SourcesApiExportNames } from '../sources-api/Types';
|
|
11
|
+
export type AnalyticsPackageDependencies = {
|
|
12
|
+
[BundleExportNames.PlayerConfig]: PlayerConfig;
|
|
13
|
+
[CoreExportNames.Constants]: Constants;
|
|
14
|
+
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
15
|
+
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
16
|
+
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
17
|
+
[SourcesApiExportNames.SourceEventBus]: EventBus<PlaybackEventMap>;
|
|
18
|
+
[PlaybackApiEventsPackageExportNames.PlaybackEvent]: typeof PlaybackEvent;
|
|
19
|
+
};
|
|
20
|
+
export type AnalyticsPackageExports = EmptyObject;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* - *typeSupported* Verifies if passed `MediaType` is supported.
|
|
10
10
|
*
|
|
11
11
|
* ### `Capabilities` Package Dependency Graph
|
|
12
|
-
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-8 -8
|
|
12
|
+
* <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>
|
|
13
13
|
*/
|
|
14
14
|
import type { EmptyObject } from '../../Types';
|
|
15
15
|
import type { Constants } from '../core/Constants';
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import type { ContainerFormat } from '../
|
|
1
|
+
import type { ContainerFormat } from '../stream-data-structure/segment/SegmentDataAtom';
|
|
2
2
|
export interface PlatformCapabilities {
|
|
3
|
+
managedMediaSourceSupported(): boolean;
|
|
3
4
|
mediaSourceSupported(): boolean;
|
|
4
5
|
typeSupported(mimeType: string): boolean;
|
|
5
|
-
isContainerSupported(container: ContainerFormat): boolean;
|
|
6
|
+
isContainerSupported(container: ContainerFormat, index?: number, array?: ContainerFormat[]): boolean;
|
|
7
|
+
hlsSupported(): boolean;
|
|
8
|
+
progressiveSupported(): boolean;
|
|
6
9
|
}
|
|
7
10
|
export declare enum CapabilitiesExportNames {
|
|
8
11
|
PlatformCapabilities = "platform-capabilities"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* we have first playable data available.
|
|
11
11
|
*
|
|
12
12
|
* ### `ContainerMp4` Package Dependency Graph
|
|
13
|
-
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-8 -37.25 986.15625 278.5" style="max-width: 986.156px; 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-ContainerMp4 LE-Core" id="L-ContainerMp4-Core-0" d="M87.594,0L96.412,-4.875C105.23,-9.75,122.865,-19.5,149.031,-24.375C175.198,-29.25,209.896,-29.25,244.594,-29.25C279.292,-29.25,313.99,-29.25,348.76,-29.25C383.531,-29.25,418.375,-29.25,453.219,-29.25C488.063,-29.25,522.906,-29.25,561.728,-29.25C600.549,-29.25,643.349,-29.25,686.148,-29.25C728.948,-29.25,771.747,-29.25,805.043,-16.439C838.339,-3.628,862.131,21.994,874.027,34.805L885.924,47.616"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-ContainerMp4 LE-SegmentProcessing" id="L-ContainerMp4-SegmentProcessing-0" d="M110.774,33L115.729,34.542C120.683,36.083,130.591,39.167,138.829,40.708C147.067,42.25,153.633,42.25,156.917,42.25L160.2,42.25"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-ContainerMp4 LE-Source" id="L-ContainerMp4-Source-0" d="M110.774,0L115.729,-1.542C120.683,-3.083,130.591,-6.167,152.895,-7.708C175.198,-9.25,209.896,-9.25,244.594,-9.25C279.292,-9.25,313.99,-9.25,348.76,-9.25C383.531,-9.25,418.375,-9.25,453.219,-9.25C488.063,-9.25,522.906,-9.25,555.421,-3.872C587.935,1.505,618.12,12.26,633.212,17.638L648.304,23.016"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-ContainerMp4 LE-BitmovinV8StaticApi" id="L-ContainerMp4-BitmovinV8StaticApi-0" d="M75.425,33L86.271,43.125C97.117,53.25,118.808,73.5,147.003,83.625C175.198,93.75,209.896,93.75,244.594,93.75C279.292,93.75,313.99,93.75,339.884,96.672C365.778,99.595,382.868,105.44,391.414,108.362L399.959,111.285"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-SegmentProcessing LE-Source" id="L-SegmentProcessing-Source-0" d="M323.688,42.25L327.854,42.25C332.021,42.25,340.354,42.25,361.943,42.25C383.531,42.25,418.375,42.25,453.219,42.25C488.063,42.25,522.906,42.25,555.37,41.576C587.834,40.903,617.918,39.556,632.96,38.882L648.002,38.208"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-SegmentProcessing LE-BitmovinV8StaticApi" id="L-SegmentProcessing-BitmovinV8StaticApi-0" d="M262.255,58.75L276.66,72.208C291.066,85.667,319.877,112.583,337.569,125.727C355.262,138.871,361.837,138.242,365.124,137.928L368.412,137.613"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-Source LE-Core" id="L-Source-Core-0" d="M719,36.5L734.924,36.5C750.849,36.5,782.698,36.5,808.699,40.015C834.699,43.529,854.851,50.559,864.927,54.074L875.004,57.588"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-Core" id="L-BitmovinV8StaticApi-Core-0" d="M520.2,113L526.458,111.458C532.717,109.917,545.233,106.833,572.891,105.292C600.549,103.75,643.349,103.75,686.148,103.75C728.948,103.75,771.747,103.75,803.236,99.756C834.725,95.762,854.902,87.774,864.991,83.78L875.08,79.786"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-Source" id="L-BitmovinV8StaticApi-Source-0" d="M486.709,113L498.549,107.167C510.39,101.333,534.07,89.667,560.994,78.958C587.918,68.249,618.086,58.499,633.17,53.623L648.254,48.748"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-BitmovinV8Core" id="L-BitmovinV8StaticApi-BitmovinV8Core-0" d="M475.546,146L489.247,156.125C502.947,166.25,530.349,186.5,565.449,196.625C600.549,206.75,643.349,206.75,686.148,206.75C728.948,206.75,771.747,206.75,796.436,207.114C821.124,207.478,827.702,208.207,830.99,208.571L834.279,208.935"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-BitmovinVideoElementUtils" id="L-BitmovinV8StaticApi-BitmovinVideoElementUtils-0" d="M520.2,146L526.458,147.542C532.717,149.083,545.233,152.167,554.775,153.708C564.317,155.25,570.883,155.25,574.167,155.25L577.45,155.25"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinVideoElementUtils LE-Core" id="L-BitmovinVideoElementUtils-Core-0" d="M789.547,155.25L793.714,155.25C797.88,155.25,806.214,155.25,821.949,144.072C837.685,132.894,860.824,110.538,872.393,99.361L883.962,88.183"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinVideoElementUtils LE-BitmovinV8Core" id="L-BitmovinVideoElementUtils-BitmovinV8Core-0" d="M715.779,171.75L732.24,180.917C748.702,190.083,781.624,208.417,801.374,217.219C821.124,226.022,827.702,225.293,830.99,224.929L834.279,224.565"/></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 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 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 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 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 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 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 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 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 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 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 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 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(57.75, 16.5)" data-id="ContainerMp4" data-node="true" id="flowchart-ContainerMp4-0" class="node default default flowchart-label"><rect height="33" width="115.5" y="-16.5" x="-57.75" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-50.25, -9)" style="" class="label"><rect/><foreignObject height="18" width="100.5"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerMp4</span></div></foreignObject></g></g><g transform="translate(904.8515625, 68)" data-id="Core" data-node="true" id="flowchart-Core-1" class="node default default flowchart-label"><rect height="33" width="49.6875" y="-16.5" x="-24.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-17.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="34.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Core</span></div></foreignObject></g></g><g transform="translate(244.59375, 42.25)" data-id="SegmentProcessing" data-node="true" id="flowchart-SegmentProcessing-3" class="node default default flowchart-label"><rect height="33" width="158.1875" y="-16.5" x="-79.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-71.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="143.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessing</span></div></foreignObject></g></g><g transform="translate(686.1484375, 36.5)" data-id="Source" data-node="true" id="flowchart-Source-5" 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 transform="translate(453.21875, 129.5)" data-id="BitmovinV8StaticApi" data-node="true" id="flowchart-BitmovinV8StaticApi-7" class="node default default flowchart-label"><rect height="33" width="159.0625" y="-16.5" x="-79.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8StaticApi</span></div></foreignObject></g></g><g transform="translate(904.8515625, 216.75)" data-id="BitmovinV8Core" data-node="true" id="flowchart-BitmovinV8Core-19" class="node default default flowchart-label"><rect height="33" width="130.609375" y="-16.5" x="-65.3046875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-57.8046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="115.609375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8Core</span></div></foreignObject></g></g><g transform="translate(686.1484375, 155.25)" data-id="BitmovinVideoElementUtils" data-node="true" id="flowchart-BitmovinVideoElementUtils-21" class="node default default flowchart-label"><rect height="33" width="206.796875" y="-16.5" x="-103.3984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-95.8984375, -9)" style="" class="label"><rect/><foreignObject height="18" width="191.796875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinVideoElementUtils</span></div></foreignObject></g></g></g></g></g></svg>
|
|
13
|
+
* <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>
|
|
14
14
|
*/
|
|
15
15
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
16
16
|
import type { EmptyObject } from '../../../Types';
|
|
@@ -21,6 +21,7 @@ import type { SegmentProcessingComponent, SegmentProcessorType } from '../../seg
|
|
|
21
21
|
import { SegmentProcessingExportNames } from '../../segment-processing/Types';
|
|
22
22
|
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
23
23
|
import { SourceExportNames } from '../../source/Types';
|
|
24
|
+
import { StreamDataStructureSegments } from '../../stream-data-structure/segment/Exports';
|
|
24
25
|
import type { ContextWithState } from '../../Types';
|
|
25
26
|
type Dependencies = {
|
|
26
27
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
@@ -29,7 +30,7 @@ type Dependencies = {
|
|
|
29
30
|
[SegmentProcessingExportNames.SegmentProcessorType]: typeof SegmentProcessorType;
|
|
30
31
|
[SegmentProcessingExportNames.SegmentProcessingComponent]: SegmentProcessingComponent;
|
|
31
32
|
[SegmentProcessingExportNames.SegmentProcessorErrors]: typeof SegmentProcessorErrors;
|
|
32
|
-
};
|
|
33
|
+
} & StreamDataStructureSegments;
|
|
33
34
|
export type ContainerMp4PackageContext = ContextHaving<Dependencies, EmptyObject, ContextWithState>;
|
|
34
35
|
export declare const ContainerMp4Package: import("../../../../framework-types/package-api/Package").Package<Dependencies, EmptyObject, EmptyObject>;
|
|
35
36
|
export default ContainerMp4Package;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Provides Transport stream segments parser.
|
|
8
8
|
*
|
|
9
9
|
* ### `ContainerTs` Package Dependency Graph
|
|
10
|
-
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-8 -37.25 971.03125 278.5" style="max-width: 971.031px; 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-ContainerTs LE-Core" id="L-ContainerTs-Core-0" d="M77.304,0L85.316,-4.875C93.328,-9.75,109.351,-19.5,134.712,-24.375C160.073,-29.25,194.771,-29.25,229.469,-29.25C264.167,-29.25,298.865,-29.25,333.635,-29.25C368.406,-29.25,403.25,-29.25,438.094,-29.25C472.938,-29.25,507.781,-29.25,546.603,-29.25C585.424,-29.25,628.224,-29.25,671.023,-29.25C713.823,-29.25,756.622,-29.25,789.918,-16.439C823.214,-3.628,847.006,21.994,858.902,34.805L870.799,47.616"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-ContainerTs LE-SegmentProcessing" id="L-ContainerTs-SegmentProcessing-0" d="M98.366,33L102.867,34.542C107.369,36.083,116.372,39.167,124.157,40.708C131.942,42.25,138.508,42.25,141.792,42.25L145.075,42.25"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-ContainerTs LE-Source" id="L-ContainerTs-Source-0" d="M98.366,0L102.867,-1.542C107.369,-3.083,116.372,-6.167,138.222,-7.708C160.073,-9.25,194.771,-9.25,229.469,-9.25C264.167,-9.25,298.865,-9.25,333.635,-9.25C368.406,-9.25,403.25,-9.25,438.094,-9.25C472.938,-9.25,507.781,-9.25,540.296,-3.872C572.81,1.505,602.995,12.26,618.087,17.638L633.179,23.016"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-ContainerTs LE-BitmovinV8StaticApi" id="L-ContainerTs-BitmovinV8StaticApi-0" d="M66.247,33L76.102,43.125C85.956,53.25,105.666,73.5,132.869,83.625C160.073,93.75,194.771,93.75,229.469,93.75C264.167,93.75,298.865,93.75,324.759,96.672C350.653,99.595,367.743,105.44,376.289,108.362L384.834,111.285"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-SegmentProcessing LE-Source" id="L-SegmentProcessing-Source-0" d="M308.563,42.25L312.729,42.25C316.896,42.25,325.229,42.25,346.818,42.25C368.406,42.25,403.25,42.25,438.094,42.25C472.938,42.25,507.781,42.25,540.245,41.576C572.709,40.903,602.793,39.556,617.835,38.882L632.877,38.208"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-SegmentProcessing LE-BitmovinV8StaticApi" id="L-SegmentProcessing-BitmovinV8StaticApi-0" d="M247.13,58.75L261.535,72.208C275.941,85.667,304.752,112.583,322.444,125.727C340.137,138.871,346.712,138.242,349.999,137.928L353.287,137.613"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-Source LE-Core" id="L-Source-Core-0" d="M703.875,36.5L719.799,36.5C735.724,36.5,767.573,36.5,793.574,40.015C819.574,43.529,839.726,50.559,849.802,54.074L859.879,57.588"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-Core" id="L-BitmovinV8StaticApi-Core-0" d="M505.075,113L511.333,111.458C517.592,109.917,530.108,106.833,557.766,105.292C585.424,103.75,628.224,103.75,671.023,103.75C713.823,103.75,756.622,103.75,788.111,99.756C819.6,95.762,839.777,87.774,849.866,83.78L859.955,79.786"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-Source" id="L-BitmovinV8StaticApi-Source-0" d="M471.584,113L483.424,107.167C495.265,101.333,518.945,89.667,545.869,78.958C572.793,68.249,602.961,58.499,618.045,53.623L633.129,48.748"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-BitmovinV8Core" id="L-BitmovinV8StaticApi-BitmovinV8Core-0" d="M460.421,146L474.122,156.125C487.822,166.25,515.224,186.5,550.324,196.625C585.424,206.75,628.224,206.75,671.023,206.75C713.823,206.75,756.622,206.75,781.311,207.114C805.999,207.478,812.577,208.207,815.865,208.571L819.154,208.935"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-BitmovinVideoElementUtils" id="L-BitmovinV8StaticApi-BitmovinVideoElementUtils-0" d="M505.075,146L511.333,147.542C517.592,149.083,530.108,152.167,539.65,153.708C549.192,155.25,555.758,155.25,559.042,155.25L562.325,155.25"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinVideoElementUtils LE-Core" id="L-BitmovinVideoElementUtils-Core-0" d="M774.422,155.25L778.589,155.25C782.755,155.25,791.089,155.25,806.824,144.072C822.56,132.894,845.699,110.538,857.268,99.361L868.837,88.183"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinVideoElementUtils LE-BitmovinV8Core" id="L-BitmovinVideoElementUtils-BitmovinV8Core-0" d="M700.654,171.75L717.115,180.917C733.577,190.083,766.499,208.417,786.249,217.219C805.999,226.022,812.577,225.293,815.865,224.929L819.154,224.565"/></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 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 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 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 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 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 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 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 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 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 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 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 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(50.1875, 16.5)" data-id="ContainerTs" data-node="true" id="flowchart-ContainerTs-0" class="node default default flowchart-label"><rect height="33" width="100.375" y="-16.5" x="-50.1875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-42.6875, -9)" style="" class="label"><rect/><foreignObject height="18" width="85.375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerTs</span></div></foreignObject></g></g><g transform="translate(889.7265625, 68)" data-id="Core" data-node="true" id="flowchart-Core-1" class="node default default flowchart-label"><rect height="33" width="49.6875" y="-16.5" x="-24.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-17.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="34.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Core</span></div></foreignObject></g></g><g transform="translate(229.46875, 42.25)" data-id="SegmentProcessing" data-node="true" id="flowchart-SegmentProcessing-3" class="node default default flowchart-label"><rect height="33" width="158.1875" y="-16.5" x="-79.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-71.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="143.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessing</span></div></foreignObject></g></g><g transform="translate(671.0234375, 36.5)" data-id="Source" data-node="true" id="flowchart-Source-5" 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 transform="translate(438.09375, 129.5)" data-id="BitmovinV8StaticApi" data-node="true" id="flowchart-BitmovinV8StaticApi-7" class="node default default flowchart-label"><rect height="33" width="159.0625" y="-16.5" x="-79.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8StaticApi</span></div></foreignObject></g></g><g transform="translate(889.7265625, 216.75)" data-id="BitmovinV8Core" data-node="true" id="flowchart-BitmovinV8Core-19" class="node default default flowchart-label"><rect height="33" width="130.609375" y="-16.5" x="-65.3046875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-57.8046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="115.609375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8Core</span></div></foreignObject></g></g><g transform="translate(671.0234375, 155.25)" data-id="BitmovinVideoElementUtils" data-node="true" id="flowchart-BitmovinVideoElementUtils-21" class="node default default flowchart-label"><rect height="33" width="206.796875" y="-16.5" x="-103.3984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-95.8984375, -9)" style="" class="label"><rect/><foreignObject height="18" width="191.796875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinVideoElementUtils</span></div></foreignObject></g></g></g></g></g></svg>
|
|
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
12
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
13
13
|
import type { EmptyObject } from '../../../Types';
|
|
@@ -18,6 +18,7 @@ import type { SegmentProcessingComponent, SegmentProcessorType } from '../../seg
|
|
|
18
18
|
import { SegmentProcessingExportNames } from '../../segment-processing/Types';
|
|
19
19
|
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
20
20
|
import { SourceExportNames } from '../../source/Types';
|
|
21
|
+
import type { StreamDataStructureSegments } from '../../stream-data-structure/segment/Exports';
|
|
21
22
|
import type { ContextWithState } from '../../Types';
|
|
22
23
|
type Dependencies = {
|
|
23
24
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
@@ -26,7 +27,7 @@ type Dependencies = {
|
|
|
26
27
|
[SegmentProcessingExportNames.SegmentProcessorType]: typeof SegmentProcessorType;
|
|
27
28
|
[SegmentProcessingExportNames.SegmentProcessingComponent]: SegmentProcessingComponent;
|
|
28
29
|
[SegmentProcessingExportNames.SegmentProcessorErrors]: typeof SegmentProcessorErrors;
|
|
29
|
-
};
|
|
30
|
+
} & StreamDataStructureSegments;
|
|
30
31
|
export type ContainerTsPackageContext = ContextHaving<Dependencies, EmptyObject, ContextWithState>;
|
|
31
32
|
export declare const ContainerTsPackage: import("../../../../framework-types/package-api/Package").Package<Dependencies, EmptyObject, EmptyObject>;
|
|
32
33
|
export default ContainerTsPackage;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* impact the performance.
|
|
9
9
|
*
|
|
10
10
|
* ### `TsTransmuxer` Package Dependency Graph
|
|
11
|
-
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-8 -37.25 986.421875 278.5" style="max-width: 986.422px; 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-TsTransmuxer LE-Core" id="L-TsTransmuxer-Core-0" d="M87.775,0L96.607,-4.875C105.439,-9.75,123.102,-19.5,149.283,-24.375C175.464,-29.25,210.161,-29.25,244.859,-29.25C279.557,-29.25,314.255,-29.25,349.026,-29.25C383.797,-29.25,418.641,-29.25,453.484,-29.25C488.328,-29.25,523.172,-29.25,561.993,-29.25C600.815,-29.25,643.615,-29.25,686.414,-29.25C729.214,-29.25,772.013,-29.25,805.309,-16.439C838.605,-3.628,862.397,21.994,874.293,34.805L886.189,47.616"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-TsTransmuxer LE-SegmentProcessing" id="L-TsTransmuxer-SegmentProcessing-0" d="M110.992,33L115.954,34.542C120.917,36.083,130.841,39.167,139.087,40.708C147.332,42.25,153.899,42.25,157.182,42.25L160.466,42.25"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-TsTransmuxer LE-Source" id="L-TsTransmuxer-Source-0" d="M110.992,0L115.954,-1.542C120.917,-3.083,130.841,-6.167,153.152,-7.708C175.464,-9.25,210.161,-9.25,244.859,-9.25C279.557,-9.25,314.255,-9.25,349.026,-9.25C383.797,-9.25,418.641,-9.25,453.484,-9.25C488.328,-9.25,523.172,-9.25,555.686,-3.872C588.2,1.505,618.385,12.26,633.478,17.638L648.57,23.016"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-TsTransmuxer LE-BitmovinV8StaticApi" id="L-TsTransmuxer-BitmovinV8StaticApi-0" d="M75.586,33L86.449,43.125C97.313,53.25,119.039,73.5,147.251,83.625C175.464,93.75,210.161,93.75,244.859,93.75C279.557,93.75,314.255,93.75,340.149,96.672C366.044,99.595,383.134,105.44,391.679,108.362L400.224,111.285"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-SegmentProcessing LE-Source" id="L-SegmentProcessing-Source-0" d="M323.953,42.25L328.12,42.25C332.286,42.25,340.62,42.25,362.208,42.25C383.797,42.25,418.641,42.25,453.484,42.25C488.328,42.25,523.172,42.25,555.636,41.576C588.1,40.903,618.184,39.556,633.226,38.882L648.268,38.208"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-SegmentProcessing LE-BitmovinV8StaticApi" id="L-SegmentProcessing-BitmovinV8StaticApi-0" d="M262.521,58.75L276.926,72.208C291.331,85.667,320.142,112.583,337.835,125.727C355.528,138.871,362.103,138.242,365.39,137.928L368.677,137.613"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-Source LE-Core" id="L-Source-Core-0" d="M719.266,36.5L735.19,36.5C751.115,36.5,782.964,36.5,808.964,40.015C834.965,43.529,855.117,50.559,865.193,54.074L875.269,57.588"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-Core" id="L-BitmovinV8StaticApi-Core-0" d="M520.466,113L526.724,111.458C532.982,109.917,545.499,106.833,573.157,105.292C600.815,103.75,643.615,103.75,686.414,103.75C729.214,103.75,772.013,103.75,803.502,99.756C834.99,95.762,855.168,87.774,865.257,83.78L875.346,79.786"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-Source" id="L-BitmovinV8StaticApi-Source-0" d="M486.975,113L498.815,107.167C510.655,101.333,534.335,89.667,561.259,78.958C588.184,68.249,618.351,58.499,633.435,53.623L648.519,48.748"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-BitmovinV8Core" id="L-BitmovinV8StaticApi-BitmovinV8Core-0" d="M475.811,146L489.512,156.125C503.213,166.25,530.614,186.5,565.715,196.625C600.815,206.75,643.615,206.75,686.414,206.75C729.214,206.75,772.013,206.75,796.701,207.114C821.39,207.478,827.967,208.207,831.256,208.571L834.545,208.935"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinV8StaticApi LE-BitmovinVideoElementUtils" id="L-BitmovinV8StaticApi-BitmovinVideoElementUtils-0" d="M520.466,146L526.724,147.542C532.982,149.083,545.499,152.167,555.041,153.708C564.582,155.25,571.149,155.25,574.432,155.25L577.716,155.25"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinVideoElementUtils LE-Core" id="L-BitmovinVideoElementUtils-Core-0" d="M789.813,155.25L793.979,155.25C798.146,155.25,806.479,155.25,822.215,144.072C837.951,132.894,861.089,110.538,872.659,99.361L884.228,88.183"/><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-BitmovinVideoElementUtils LE-BitmovinV8Core" id="L-BitmovinVideoElementUtils-BitmovinV8Core-0" d="M716.044,171.75L732.506,180.917C748.967,190.083,781.89,208.417,801.64,217.219C821.39,226.022,827.967,225.293,831.256,224.929L834.545,224.565"/></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 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 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 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 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 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 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 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 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 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 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 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 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(57.8828125, 16.5)" data-id="TsTransmuxer" data-node="true" id="flowchart-TsTransmuxer-0" class="node default default flowchart-label"><rect height="33" width="115.765625" y="-16.5" x="-57.8828125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-50.3828125, -9)" style="" class="label"><rect/><foreignObject height="18" width="100.765625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">TsTransmuxer</span></div></foreignObject></g></g><g transform="translate(905.1171875, 68)" data-id="Core" data-node="true" id="flowchart-Core-1" class="node default default flowchart-label"><rect height="33" width="49.6875" y="-16.5" x="-24.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-17.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="34.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Core</span></div></foreignObject></g></g><g transform="translate(244.859375, 42.25)" data-id="SegmentProcessing" data-node="true" id="flowchart-SegmentProcessing-3" class="node default default flowchart-label"><rect height="33" width="158.1875" y="-16.5" x="-79.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-71.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="143.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessing</span></div></foreignObject></g></g><g transform="translate(686.4140625, 36.5)" data-id="Source" data-node="true" id="flowchart-Source-5" 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 transform="translate(453.484375, 129.5)" data-id="BitmovinV8StaticApi" data-node="true" id="flowchart-BitmovinV8StaticApi-7" class="node default default flowchart-label"><rect height="33" width="159.0625" y="-16.5" x="-79.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8StaticApi</span></div></foreignObject></g></g><g transform="translate(905.1171875, 216.75)" data-id="BitmovinV8Core" data-node="true" id="flowchart-BitmovinV8Core-19" class="node default default flowchart-label"><rect height="33" width="130.609375" y="-16.5" x="-65.3046875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-57.8046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="115.609375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8Core</span></div></foreignObject></g></g><g transform="translate(686.4140625, 155.25)" data-id="BitmovinVideoElementUtils" data-node="true" id="flowchart-BitmovinVideoElementUtils-21" class="node default default flowchart-label"><rect height="33" width="206.796875" y="-16.5" x="-103.3984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-95.8984375, -9)" style="" class="label"><rect/><foreignObject height="18" width="191.796875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinVideoElementUtils</span></div></foreignObject></g></g></g></g></g></svg>
|
|
11
|
+
* <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>
|
|
12
12
|
*/
|
|
13
13
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
14
14
|
import type { EmptyObject } from '../../../Types';
|
|
@@ -20,6 +20,7 @@ import type { SegmentProcessingComponent, SegmentProcessorType } from '../../seg
|
|
|
20
20
|
import { SegmentProcessingExportNames } from '../../segment-processing/Types';
|
|
21
21
|
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
22
22
|
import { SourceExportNames } from '../../source/Types';
|
|
23
|
+
import { StreamDataStructureSegments } from '../../stream-data-structure/segment/Exports';
|
|
23
24
|
import type { ContextWithState } from '../../Types';
|
|
24
25
|
type Dependencies = {
|
|
25
26
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
@@ -29,7 +30,7 @@ type Dependencies = {
|
|
|
29
30
|
[SegmentProcessingExportNames.SegmentProcessorType]: typeof SegmentProcessorType;
|
|
30
31
|
[SegmentProcessingExportNames.SegmentProcessingComponent]: SegmentProcessingComponent;
|
|
31
32
|
[SegmentProcessingExportNames.SegmentProcessorErrors]: typeof SegmentProcessorErrors;
|
|
32
|
-
};
|
|
33
|
+
} & StreamDataStructureSegments;
|
|
33
34
|
export type TsTransmuxerPackageContext = ContextHaving<Dependencies, EmptyObject, ContextWithState>;
|
|
34
35
|
export declare const TsTransmuxerPackage: import("../../../../framework-types/package-api/Package").Package<Dependencies, EmptyObject, EmptyObject>;
|
|
35
36
|
export default TsTransmuxerPackage;
|
|
@@ -20,11 +20,19 @@ export declare enum Codec {
|
|
|
20
20
|
export declare const MediaTypeValues: MediaType[];
|
|
21
21
|
export declare const Version = "<<PLAYER VERSION>>";
|
|
22
22
|
export declare enum ContentType {
|
|
23
|
-
Content = "content"
|
|
23
|
+
Content = "content",
|
|
24
|
+
Advertisement = "advertisement"
|
|
24
25
|
}
|
|
25
26
|
export declare enum ResourceType {
|
|
26
27
|
Hls = "hls",
|
|
27
|
-
Dash = "dash"
|
|
28
|
+
Dash = "dash",
|
|
29
|
+
Progressive = "progressive"
|
|
30
|
+
}
|
|
31
|
+
export declare enum PlaybackTechnology {
|
|
32
|
+
Mse = "mse",
|
|
33
|
+
WebRtc = "webrtc",
|
|
34
|
+
WebCodecs = "webcodecs",
|
|
35
|
+
Native = "native"
|
|
28
36
|
}
|
|
29
37
|
export declare enum LoadControl {
|
|
30
38
|
Nothing = 0,
|
|
@@ -37,6 +45,7 @@ export type Constants = {
|
|
|
37
45
|
MediaTypeValues: typeof MediaTypeValues;
|
|
38
46
|
ContentType: typeof ContentType;
|
|
39
47
|
ResourceType: typeof ResourceType;
|
|
48
|
+
PlaybackTechnology: typeof PlaybackTechnology;
|
|
40
49
|
LoadControl: typeof LoadControl;
|
|
41
50
|
Version: string;
|
|
42
51
|
SubtitleFormatType: typeof SubtitleFormatType;
|
|
@@ -9,25 +9,15 @@ 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 { createDataSegmentAtom, createInitSegmentAtom, createSelfInitSegmentAtom, getGapToNextSegment, getReadableSegmentName, getTimeRange } from './state/segment/SegmentAtom';
|
|
13
|
-
import type { ContainerFormat, createSegmentDataAtom } from './state/segment/SegmentDataAtom';
|
|
14
|
-
import type { createSegmentTiming } from './state/segment/SegmentTimingAtom';
|
|
15
|
-
import type { isDataOrSelfInitSegment, isDataSegment, isInitSegment } from './state/segment/SegmentTypeGuards';
|
|
16
|
-
import type { SegmentUtils } from './state/segment/SegmentUtils';
|
|
17
|
-
import type { createAudioSelectionGroupAtom, createSubtitleSelectionGroupAtom, createUnknownSelectionGroupAtom, createVideoSelectionGroupAtom } from './state/selection-group/SelectionGroupAtom';
|
|
18
|
-
import type { isAudioSelectionGroup, isMediaSelectionGroup, isSubtitleSelectionGroup, isVideoSelectionGroup } from './state/selection-group/SelectionGroupTypeGuards';
|
|
19
|
-
import type { SelectionGroupUtils } from './state/selection-group/SelectionGroupUtils';
|
|
20
12
|
import type { StateEffectFactory } from './state/state-effect/StateEffectFactory';
|
|
21
|
-
import type { createStateMachineAtom, flushPendingUpdates } from './state/StateMachineAtom';
|
|
13
|
+
import type { createStateMachineAtom, flushPendingUpdates, logTransitions } from './state/StateMachineAtom';
|
|
22
14
|
import type { CreateStoreEffectFactory } from './state/StoreEffectFactory';
|
|
23
|
-
import type { createStreamAtom, StreamType } from './state/stream/StreamAtom';
|
|
24
15
|
import type { createStreamSectionAtom } from './state/stream-timeline/StreamSectionAtom';
|
|
25
16
|
import type { createStreamSequenceMapAtom } from './state/stream-timeline/StreamSequenceMapAtom';
|
|
26
17
|
import type { createStreamTimelineAtom } from './state/stream-timeline/StreamTimelineMapAtom';
|
|
27
18
|
import type { createTimelineAtom } from './state/timeline/TimelineAtom';
|
|
28
19
|
import type { createTimelineTrackerAtom } from './state/timeline/TimelineTrackerAtom';
|
|
29
|
-
import type {
|
|
30
|
-
import type { isAudioTrack, isMediaOrSubtitleTrack, isMediaTrack, isMuxedTrack, isSubtitleTrack, isVideoTrack } from './state/track/TrackTypeGuards';
|
|
20
|
+
import type { TechnologyExports } from './technology/Types';
|
|
31
21
|
import type { CoreUtils } from './utils/Types';
|
|
32
22
|
export declare enum CoreExportNames {
|
|
33
23
|
Utils = "utils",
|
|
@@ -40,7 +30,7 @@ export type CoreExports = {
|
|
|
40
30
|
[CoreExportNames.Constants]: Constants;
|
|
41
31
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
42
32
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
43
|
-
};
|
|
33
|
+
} & TechnologyExports;
|
|
44
34
|
export type CoreDependencies = EmptyObject;
|
|
45
35
|
/**
|
|
46
36
|
* The core effects that the player needs to function.
|
|
@@ -75,47 +65,6 @@ export type CoreStateAtoms = {
|
|
|
75
65
|
createQueueAtom: typeof createQueueAtom;
|
|
76
66
|
QueueItemRemovedError: typeof QueueItemRemovedError;
|
|
77
67
|
};
|
|
78
|
-
Segments: {
|
|
79
|
-
ContainerFormat: typeof ContainerFormat;
|
|
80
|
-
createDataSegmentAtom: typeof createDataSegmentAtom;
|
|
81
|
-
createInitSegmentAtom: typeof createInitSegmentAtom;
|
|
82
|
-
createSelfInitSegmentAtom: typeof createSelfInitSegmentAtom;
|
|
83
|
-
createSegmentDataAtom: typeof createSegmentDataAtom;
|
|
84
|
-
createSegmentTiming: typeof createSegmentTiming;
|
|
85
|
-
getReadableSegmentName: typeof getReadableSegmentName;
|
|
86
|
-
getTimeRange: typeof getTimeRange;
|
|
87
|
-
getGapToNextSegment: typeof getGapToNextSegment;
|
|
88
|
-
isDataOrSelfInitSegment: typeof isDataOrSelfInitSegment;
|
|
89
|
-
isDataSegment: typeof isDataSegment;
|
|
90
|
-
isInitSegment: typeof isInitSegment;
|
|
91
|
-
} & typeof SegmentUtils;
|
|
92
|
-
SelectionGroups: {
|
|
93
|
-
createVideoSelectionGroupAtom: typeof createVideoSelectionGroupAtom;
|
|
94
|
-
createAudioSelectionGroupAtom: typeof createAudioSelectionGroupAtom;
|
|
95
|
-
createSubtitleSelectionGroupAtom: typeof createSubtitleSelectionGroupAtom;
|
|
96
|
-
createUnknownSelectionGroupAtom: typeof createUnknownSelectionGroupAtom;
|
|
97
|
-
isVideoSelectionGroup: typeof isVideoSelectionGroup;
|
|
98
|
-
isAudioSelectionGroup: typeof isAudioSelectionGroup;
|
|
99
|
-
isSubtitleSelectionGroup: typeof isSubtitleSelectionGroup;
|
|
100
|
-
isMediaSelectionGroup: typeof isMediaSelectionGroup;
|
|
101
|
-
} & typeof SelectionGroupUtils;
|
|
102
|
-
Tracks: {
|
|
103
|
-
createAudioTrackAtom: typeof createAudioTrackAtom;
|
|
104
|
-
createVideoTrackAtom: typeof createVideoTrackAtom;
|
|
105
|
-
createMuxedTrackAtom: typeof createMuxedTrackAtom;
|
|
106
|
-
createSubtitleTrackAtom: typeof createSubtitleTrackAtom;
|
|
107
|
-
createUnknownTrackAtom: typeof createUnknownTrackAtom;
|
|
108
|
-
isAudioTrack: typeof isAudioTrack;
|
|
109
|
-
isMediaTrack: typeof isMediaTrack;
|
|
110
|
-
isSubtitleTrack: typeof isSubtitleTrack;
|
|
111
|
-
isVideoTrack: typeof isVideoTrack;
|
|
112
|
-
isMuxedTrack: typeof isMuxedTrack;
|
|
113
|
-
isMediaOrSubtitleTrack: typeof isMediaOrSubtitleTrack;
|
|
114
|
-
};
|
|
115
|
-
Stream: {
|
|
116
|
-
Type: typeof StreamType;
|
|
117
|
-
createStreamAtom: typeof createStreamAtom;
|
|
118
|
-
};
|
|
119
68
|
SegmentTimeline: {
|
|
120
69
|
createStreamTimelineAtom: typeof createStreamTimelineAtom;
|
|
121
70
|
createStreamSequenceMapAtom: typeof createStreamSequenceMapAtom;
|
|
@@ -140,5 +89,6 @@ export type CoreStateAtoms = {
|
|
|
140
89
|
StateMachine: {
|
|
141
90
|
createStateMachineAtom: typeof createStateMachineAtom;
|
|
142
91
|
flushPendingUpdates: typeof flushPendingUpdates;
|
|
92
|
+
logTransitions: typeof logTransitions;
|
|
143
93
|
};
|
|
144
94
|
};
|
|
@@ -1,15 +1,29 @@
|
|
|
1
|
+
import type { EmptyObject } from '../../../../framework-types/BaseTypes';
|
|
2
|
+
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
3
|
+
import type { NamedTask, Task } from '../../../../framework-types/task/Types';
|
|
1
4
|
import type { ContextWithState } from '../../Types';
|
|
5
|
+
import { CoreExportNames } from '../Types';
|
|
6
|
+
import type { CoreUtils } from '../utils/Types';
|
|
2
7
|
import type { StateAtom } from './Types';
|
|
3
8
|
export interface StateMachine<S> {
|
|
4
9
|
current: S;
|
|
5
10
|
previous: S;
|
|
6
11
|
}
|
|
7
|
-
export type StateMachineAtom<S extends string, _ extends ContextWithState> = StateAtom<StateMachine<S>, {
|
|
8
|
-
updateState: (state: StateMachine<S
|
|
12
|
+
export type StateMachineAtom<S extends string, _ extends ContextWithState, D = void> = StateAtom<StateMachine<S>, {
|
|
13
|
+
updateState: (state: StateMachine<S>, data: D) => boolean;
|
|
9
14
|
}>;
|
|
10
|
-
export type Transition<S extends string, C extends ContextWithState> = (context: C) => S;
|
|
11
|
-
export type TransitionMap<S extends string, C extends ContextWithState> = {
|
|
12
|
-
[key in S]: Transition<S, C>;
|
|
15
|
+
export type Transition<S extends string, C extends ContextWithState, D = void> = (context: C, data: D) => S;
|
|
16
|
+
export type TransitionMap<S extends string, C extends ContextWithState, D = void> = {
|
|
17
|
+
[key in S]: Transition<S, C, D>;
|
|
13
18
|
};
|
|
14
|
-
export
|
|
19
|
+
export type Handler<S extends string, C extends ContextWithState, D = void> = NamedTask<Task<C, StateMachineAtom<S, C, D>, void>>;
|
|
20
|
+
export type HandlerMap<S extends string, C extends ContextWithState, D = void> = {
|
|
21
|
+
[key in S]?: Handler<S, C, D>;
|
|
22
|
+
};
|
|
23
|
+
export declare function createStateMachineAtom<S extends string, C extends ContextWithState, D = void>(context: C, initialState: S, transitions: TransitionMap<S, C, D>, handlers?: HandlerMap<S, C, D>): StateMachineAtom<S, C, D>;
|
|
15
24
|
export declare function flushPendingUpdates(context: ContextWithState, stateMachine: StateMachineAtom<string, ContextWithState>): void;
|
|
25
|
+
type ContextWithStateAndLogger = ContextHaving<{
|
|
26
|
+
[CoreExportNames.Utils]: CoreUtils;
|
|
27
|
+
}, EmptyObject, ContextWithState>;
|
|
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 {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EmptyObject } from '../../../Types';
|
|
2
|
-
import type { ModifierIdentifier, StateAtomIdentifier } from './Symbols';
|
|
2
|
+
import type { ModifierIdentifier, StateAtomIdentifier, StateAtomIdIdentifier } from './Symbols';
|
|
3
3
|
type AnyRecord = Record<string, any>;
|
|
4
4
|
type AnyFunction = (...args: any[]) => any;
|
|
5
5
|
type AnyModifier<Data = any> = (data: Data, ...parameters: any[]) => boolean;
|
|
@@ -22,5 +22,6 @@ export type StateAtom<DataType extends EmptyObject = EmptyObject, Modifiers exte
|
|
|
22
22
|
[key in keyof Modifiers]: BoundModifier<Modifiers[key]>;
|
|
23
23
|
} & {
|
|
24
24
|
[StateAtomIdentifier]: 10;
|
|
25
|
+
[StateAtomIdIdentifier]: string;
|
|
25
26
|
};
|
|
26
27
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ContextHaving } from '../../../../../framework-types/execution-context/Types';
|
|
2
2
|
import type { EmptyObject } from '../../../../Types';
|
|
3
|
+
import type { TimeRange } from '../../../stream-data-structure/track/TrackAtom';
|
|
3
4
|
import type { ContextWithState } from '../../../Types';
|
|
4
5
|
import type { CoreStateAtoms } from '../../Types';
|
|
5
6
|
import { CoreExportNames } from '../../Types';
|
|
6
7
|
import type { CoreUtils } from '../../utils/Types';
|
|
7
|
-
import type { TimeRange } from '../track/TrackAtom';
|
|
8
8
|
import type { StateAtom } from '../Types';
|
|
9
9
|
import type { StreamSequenceMapAtom } from './StreamSequenceMapAtom';
|
|
10
10
|
export type StreamSectionAtom = StateAtom<StreamSection>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { DataOrSelfInitSegmentAtom } from '../../../stream-data-structure/segment/SegmentAtom';
|
|
2
|
+
import type { SelectionGroupAtom } from '../../../stream-data-structure/selection-group/SelectionGroupAtom';
|
|
1
3
|
import type { ContextWithState } from '../../../Types';
|
|
2
4
|
import type { ArrayAtom } from '../ArrayStateAtom';
|
|
3
5
|
import type { MapStateAtom } from '../MapStateAtom';
|
|
4
|
-
import type { DataOrSelfInitSegmentAtom } from '../segment/SegmentAtom';
|
|
5
|
-
import type { SelectionGroupAtom } from '../selection-group/SelectionGroupAtom';
|
|
6
6
|
export type StreamSequenceMapAtom = MapStateAtom<SelectionGroupAtom, ArrayAtom<DataOrSelfInitSegmentAtom>>;
|
|
7
7
|
export declare const createStreamSequenceMapAtom: (context: ContextWithState) => StreamSequenceMapAtom;
|
|
@@ -2,11 +2,11 @@ import type { ContextHaving } from '../../../../../framework-types/execution-con
|
|
|
2
2
|
import type { EmptyObject } from '../../../../Types';
|
|
3
3
|
import type { SourceStateAtom } from '../../../source/atoms/SourceStateAtom';
|
|
4
4
|
import type { SourceExportNames } from '../../../source/Types';
|
|
5
|
+
import type { TimeRange } from '../../../stream-data-structure/track/TrackAtom';
|
|
5
6
|
import type { ContextWithState } from '../../../Types';
|
|
6
7
|
import type { CoreExportNames } from '../../Types';
|
|
7
8
|
import type { Transient } from '../../utils/StateUtils';
|
|
8
9
|
import type { CoreUtils } from '../../utils/Types';
|
|
9
|
-
import type { TimeRange } from '../track/TrackAtom';
|
|
10
10
|
import type { StateAtom } from '../Types';
|
|
11
11
|
export type TimelineContext = ContextHaving<{
|
|
12
12
|
[CoreExportNames.Utils]: CoreUtils;
|