@bitmovin/player-web-x 10.2.0-beta.6 → 10.2.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/playerx-bitmovin-v8-core.js +2 -2
- package/bundles/playerx-bitmovin-v8.js +2 -2
- package/bundles/playerx-core.js +2 -2
- package/bundles/playerx-dash.js +2 -2
- package/bundles/playerx-hls-ts-audio.js +2 -2
- package/bundles/playerx-hls.js +2 -2
- package/bundles/playerx-playback.js +2 -2
- package/bundles/playerx-tv.js +2 -2
- package/framework-types/Types.d.ts +3 -1
- package/framework-types/effects/LoggerEffect.d.ts +59 -0
- package/package.json +1 -1
- package/packages/playerx-adaptation.package.js +2 -2
- package/packages/playerx-advertising-api.package.js +1 -1
- package/packages/playerx-advertising-base.package.js +2 -2
- package/packages/playerx-advertising-bitmovin.package.js +2 -2
- package/packages/playerx-analytics.package.js +1 -1
- package/packages/playerx-bitmovin-advertising-bundle.package.js +2 -2
- package/packages/playerx-bitmovin-source-api.package.js +1 -1
- package/packages/playerx-bitmovin-ui.package.js +1 -1
- package/packages/playerx-bitmovin-v8-core.package.js +1 -1
- package/packages/playerx-bitmovin-v8-static-api.package.js +2 -2
- package/packages/playerx-bitmovin-video-element-utils.package.js +2 -2
- package/packages/playerx-capabilities.package.js +1 -1
- package/packages/playerx-container-mp4.package.js +2 -2
- package/packages/playerx-container-ts.package.js +1 -1
- package/packages/playerx-core.package.js +2 -2
- package/packages/playerx-dash-manifest-technology.package.js +2 -2
- package/packages/playerx-dash-manifest.package.js +2 -2
- package/packages/playerx-dash-parsing.package.js +1 -1
- package/packages/playerx-dash-translation.package.js +2 -2
- package/packages/playerx-dash.package.js +2 -2
- package/packages/playerx-data.package.js +2 -2
- package/packages/playerx-event-bus.package.js +2 -2
- package/packages/playerx-hls-manifest-technology.package.js +2 -2
- package/packages/playerx-hls-manifest.package.js +2 -2
- package/packages/playerx-hls-parsing.package.js +2 -2
- package/packages/playerx-hls-translation.package.js +2 -2
- package/packages/playerx-hls.package.js +2 -2
- package/packages/playerx-mse-playback.package.js +2 -2
- package/packages/playerx-mse-presentation.package.js +2 -2
- package/packages/playerx-native-playback.package.js +2 -2
- package/packages/playerx-native-presentation.package.js +2 -2
- package/packages/playerx-network.package.js +2 -2
- package/packages/playerx-no-adaptation.package.js +2 -2
- package/packages/playerx-playback-api.package.js +2 -2
- package/packages/playerx-playback-technology.package.js +2 -2
- package/packages/playerx-playback.package.js +2 -2
- package/packages/playerx-player-api.package.js +2 -2
- package/packages/playerx-segment-processing.package.js +1 -1
- package/packages/playerx-source.package.js +2 -2
- package/packages/playerx-sources-api.package.js +2 -2
- package/packages/playerx-stream-data-structure.package.js +2 -2
- package/packages/playerx-streaming.package.js +1 -1
- package/packages/playerx-subtitle-api.package.js +2 -2
- package/packages/playerx-subtitle-base.package.js +2 -2
- package/packages/playerx-subtitle-format-detection.package.js +2 -2
- package/packages/playerx-subtitle-native-renderer.package.js +1 -1
- package/packages/playerx-subtitles.package.js +2 -2
- package/packages/playerx-trick-play.package.js +2 -2
- package/packages/playerx-ts-transmuxer.package.js +1 -1
- package/packages/playerx-tv.package.js +2 -2
- package/packages/playerx-ui.package.js +2 -2
- package/packages/playerx-view-mode.package.js +2 -2
- package/packages/playerx-web-vtt.package.js +1 -1
- package/playerx-framework-utils.js +1 -1
- package/types/bundles/Dash.bundle.d.ts +0 -2
- package/types/bundles/Hls.bundle.d.ts +0 -2
- package/types/bundles/Types.d.ts +1 -2
- package/types/packages/adaptation/AdaptationStateAtom.d.ts +1 -7
- package/types/packages/adaptation/Types.d.ts +0 -3
- package/types/packages/adaptation/WishConfigAtom.d.ts +1 -7
- package/types/packages/advertising/base/AdPosition.d.ts +1 -1
- package/types/packages/advertising/base/Types.d.ts +0 -3
- package/types/packages/advertising/bitmovin/Types.d.ts +0 -3
- package/types/packages/capabilities/Types.d.ts +1 -1
- package/types/packages/core/state/StateMachineAtom.d.ts +0 -3
- package/types/packages/core/utils/Types.d.ts +0 -2
- package/types/packages/data/Types.d.ts +0 -3
- package/types/packages/event-bus/Types.d.ts +1 -6
- package/types/packages/manifest/dash/parsing/DashParsing.package.d.ts +0 -3
- package/types/packages/manifest/dash/root/Types.d.ts +0 -3
- package/types/packages/manifest/dash/translation/Types.d.ts +0 -3
- package/types/packages/manifest/hls/parsing/HlsParsing.package.d.ts +0 -3
- package/types/packages/manifest/hls/parsing/HlsParsingFunctions.d.ts +1 -1
- package/types/packages/manifest/hls/parsing/m3u8/TranslatorStream.d.ts +2 -2
- package/types/packages/manifest/hls/root/Hls.package.d.ts +0 -3
- package/types/packages/manifest/hls/translation/HlsTranslation.package.d.ts +0 -3
- package/types/packages/playback/play-pause/Types.d.ts +0 -3
- package/types/packages/playback/playback-state/Types.d.ts +0 -3
- package/types/packages/playback-api/playback-api-events/Types.d.ts +0 -3
- package/types/packages/playback-api/time-api/SeekableRangeProviderAtom.d.ts +20 -0
- package/types/packages/playback-api/time-api/Types.d.ts +9 -6
- package/types/packages/playback-technology/Types.d.ts +2 -4
- package/types/packages/player-api/PlayerApi.package.d.ts +0 -3
- package/types/packages/player-api/Types.d.ts +2 -1
- package/types/packages/presentation/mse/presentation/MsePresentation.package.d.ts +0 -3
- package/types/packages/presentation/native/presentation/Types.d.ts +0 -3
- package/types/packages/segment-processing/Types.d.ts +0 -3
- package/types/packages/source/atoms/SourceStateAtom.d.ts +1 -1
- package/types/packages/sources-api/Types.d.ts +1 -2
- package/types/packages/stream-data-structure/Types.d.ts +1 -2
- package/types/packages/stream-data-structure/segment/SegmentUtils.d.ts +1 -2
- package/types/packages/stream-data-structure/selection-group/SelectionGroupTypeGuards.d.ts +10 -4
- package/types/packages/stream-data-structure/track/TrackAtom.d.ts +3 -3
- package/types/packages/stream-data-structure/track/TrackTypeGuards.d.ts +6 -0
- package/types/packages/subtitles/subtitle-api/Types.d.ts +0 -3
- package/types/packages/subtitles/subtitle-base/Types.d.ts +0 -3
- package/types/packages/subtitles/subtitle-format-detection/Types.d.ts +0 -3
- package/types/packages/trick-play/TrickPlay.package.d.ts +0 -3
- package/types/packages/tv/Tv.package.d.ts +0 -3
- package/types/packages/v8-compat/BitmovinV8StaticApi.package.d.ts +0 -3
- package/types/packages/v8-compat/video-element/BitmovinVideoElementUtils.package.d.ts +0 -3
- package/types/packages/view-mode/ViewMode.package.d.ts +0 -3
- package/types/packages/core/utils/Logger.d.ts +0 -40
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* ### Dash.bundle used packages
|
|
10
10
|
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-7.5 -8 343.546875 1766" style="max-width: 343.547px; 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 transform="translate(-7.5, -8)" class="root"><g class="clusters"><g id="Dash.bundle" class="cluster default flowchart-label"><rect height="1750" width="327.546875" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(126.8515625, 8)" class="cluster-label"><foreignObject height="18" width="89.84375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Dash.bundle</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(25.5, 35)" class="root"><g class="clusters"><g id="DashBundlePackage" class="cluster default flowchart-label"><rect height="1680" width="277.546875" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(72.0546875, 8)" class="cluster-label"><foreignObject height="18" width="149.4375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">DashBundlePackage</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(146.7734375, 59.5)" data-id="CorePackage" data-node="true" id="flowchart-CorePackage-1" class="node default default flowchart-label"><rect height="33" width="111.953125" y="-16.5" x="-55.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CorePackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 142.5)" data-id="StreamDataStructurePackage" data-node="true" id="flowchart-StreamDataStructurePackage-2" class="node default default flowchart-label"><rect height="33" width="227.546875" y="-16.5" x="-113.7734375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-106.2734375, -9)" style="" class="label"><rect/><foreignObject height="18" width="212.546875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">StreamDataStructurePackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 225.5)" data-id="StreamingPackage" data-node="true" id="flowchart-StreamingPackage-3" class="node default default flowchart-label"><rect height="33" width="150.1875" y="-16.5" x="-75.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-67.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="135.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">StreamingPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 308.5)" data-id="EventBusPackage" data-node="true" id="flowchart-EventBusPackage-4" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">EventBusPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 391.5)" data-id="PlayerApiPackage" data-node="true" id="flowchart-PlayerApiPackage-5" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlayerApiPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 474.5)" data-id="CapabilitiesPackage" data-node="true" id="flowchart-CapabilitiesPackage-6" class="node default default flowchart-label"><rect height="33" width="159.984375" y="-16.5" x="-79.9921875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.4921875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.984375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CapabilitiesPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 557.5)" data-id="SegmentProcessingPackage" data-node="true" id="flowchart-SegmentProcessingPackage-7" class="node default default flowchart-label"><rect height="33" width="220.453125" y="-16.5" x="-110.2265625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-102.7265625, -9)" style="" class="label"><rect/><foreignObject height="18" width="205.453125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessingPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 640.5)" data-id="ContainerMp4Package" data-node="true" id="flowchart-ContainerMp4Package-8" class="node default default flowchart-label"><rect height="33" width="177.765625" y="-16.5" x="-88.8828125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.3828125, -9)" style="" class="label"><rect/><foreignObject height="18" width="162.765625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerMp4Package</span></div></foreignObject></g></g><g transform="translate(146.7734375, 723.5)" data-id="DataPackage" data-node="true" id="flowchart-DataPackage-9" class="node default default flowchart-label"><rect height="33" width="111.0625" y="-16.5" x="-55.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">DataPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 806.5)" data-id="NetworkPackage" data-node="true" id="flowchart-NetworkPackage-10" class="node default default flowchart-label"><rect height="33" width="135.953125" y="-16.5" x="-67.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-60.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="120.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">NetworkPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 889.5)" data-id="PlaybackTechnologyPackage" data-node="true" id="flowchart-PlaybackTechnologyPackage-11" class="node default default flowchart-label"><rect height="33" width="223.140625" y="-16.5" x="-111.5703125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-104.0703125, -9)" style="" class="label"><rect/><foreignObject height="18" width="208.140625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackTechnologyPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 972.5)" data-id="DashManifestPackage" data-node="true" id="flowchart-DashManifestPackage-12" class="node default default flowchart-label"><rect height="33" width="175.09375" y="-16.5" x="-87.546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-80.046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="160.09375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">DashManifestPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1055.5)" data-id="MsePlaybackPackage" data-node="true" id="flowchart-MsePlaybackPackage-13" class="node default default flowchart-label"><rect height="33" width="172.421875" y="-16.5" x="-86.2109375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-78.7109375, -9)" style="" class="label"><rect/><foreignObject height="18" width="157.421875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">MsePlaybackPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1138.5)" data-id="NativePlaybackPackage" data-node="true" id="flowchart-NativePlaybackPackage-14" class="node default default flowchart-label"><rect height="33" width="187.546875" y="-16.5" x="-93.7734375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-86.2734375, -9)" style="" class="label"><rect/><foreignObject height="18" width="172.546875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">NativePlaybackPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1221.5)" data-id="SourcePackage" data-node="true" id="flowchart-SourcePackage-15" class="node default default flowchart-label"><rect height="33" width="127.96875" y="-16.5" x="-63.984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-56.484375, -9)" style="" class="label"><rect/><foreignObject height="18" width="112.96875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcePackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1304.5)" data-id="SourcesApiPackage" data-node="true" id="flowchart-SourcesApiPackage-16" class="node default default flowchart-label"><rect height="33" width="159.09375" y="-16.5" x="-79.546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.09375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcesApiPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1387.5)" data-id="AdaptationPackage" data-node="true" id="flowchart-AdaptationPackage-17" class="node default default flowchart-label"><rect height="33" width="153.78125" y="-16.5" x="-76.890625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.390625, -9)" style="" class="label"><rect/><foreignObject height="18" width="138.78125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">AdaptationPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1470.5)" data-id="PlaybackPackage" data-node="true" id="flowchart-PlaybackPackage-18" class="node default default flowchart-label"><rect height="33" width="142.1875" y="-16.5" x="-71.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-63.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="127.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1553.5)" data-id="PlaybackApiPackage" data-node="true" id="flowchart-PlaybackApiPackage-19" class="node default default flowchart-label"><rect height="33" width="165.3125" y="-16.5" x="-82.65625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-75.15625, -9)" style="" class="label"><rect/><foreignObject height="18" width="150.3125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackApiPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1636.5)" data-id="ViewModePackage" data-node="true" id="flowchart-ViewModePackage-20" class="node default default flowchart-label"><rect height="33" width="151.6875" y="-16.5" x="-75.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-68.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="136.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ViewModePackage</span></div></foreignObject></g></g></g></g></g></g></g></g></g></svg>
|
|
11
11
|
*/
|
|
12
|
-
import { Logger } from '../packages/core/utils/Logger';
|
|
13
12
|
import type { PlaybackApi } from '../packages/playback-api/Types';
|
|
14
13
|
import type { PlayerApi } from '../packages/player-api/Types';
|
|
15
14
|
import type { SourceApiBase, SourcesApi } from '../packages/sources-api/Types';
|
|
@@ -17,7 +16,6 @@ import type { ViewModeApi } from '../packages/view-mode/Types';
|
|
|
17
16
|
import type { EmptyObject } from '../Types';
|
|
18
17
|
import type { BundleExportNames, PlayerConfig } from './Types';
|
|
19
18
|
type MonolithExports = {
|
|
20
|
-
[BundleExportNames.Logger]: Logger;
|
|
21
19
|
[BundleExportNames.PlayerConfig]: PlayerConfig;
|
|
22
20
|
};
|
|
23
21
|
type SourceApi = SourceApiBase & PlaybackApi & ViewModeApi;
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* ### Hls.bundle used packages
|
|
10
10
|
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-7.5 -8 343.546875 1932" style="max-width: 343.547px; 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 transform="translate(-7.5, -8)" class="root"><g class="clusters"><g id="Hls.bundle" class="cluster default flowchart-label"><rect height="1916" width="327.546875" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(133.96875, 8)" class="cluster-label"><foreignObject height="18" width="75.609375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Hls.bundle</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(25.5, 35)" class="root"><g class="clusters"><g id="HlsBundlePackage" class="cluster default flowchart-label"><rect height="1846" width="277.546875" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(79.171875, 8)" class="cluster-label"><foreignObject height="18" width="135.203125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsBundlePackage</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(146.7734375, 59.5)" data-id="CorePackage" data-node="true" id="flowchart-CorePackage-1" class="node default default flowchart-label"><rect height="33" width="111.953125" y="-16.5" x="-55.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CorePackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 142.5)" data-id="StreamDataStructurePackage" data-node="true" id="flowchart-StreamDataStructurePackage-2" class="node default default flowchart-label"><rect height="33" width="227.546875" y="-16.5" x="-113.7734375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-106.2734375, -9)" style="" class="label"><rect/><foreignObject height="18" width="212.546875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">StreamDataStructurePackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 225.5)" data-id="StreamingPackage" data-node="true" id="flowchart-StreamingPackage-3" class="node default default flowchart-label"><rect height="33" width="150.1875" y="-16.5" x="-75.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-67.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="135.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">StreamingPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 308.5)" data-id="EventBusPackage" data-node="true" id="flowchart-EventBusPackage-4" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">EventBusPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 391.5)" data-id="PlayerApiPackage" data-node="true" id="flowchart-PlayerApiPackage-5" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlayerApiPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 474.5)" data-id="CapabilitiesPackage" data-node="true" id="flowchart-CapabilitiesPackage-6" class="node default default flowchart-label"><rect height="33" width="159.984375" y="-16.5" x="-79.9921875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.4921875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.984375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CapabilitiesPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 557.5)" data-id="SegmentProcessingPackage" data-node="true" id="flowchart-SegmentProcessingPackage-7" class="node default default flowchart-label"><rect height="33" width="220.453125" y="-16.5" x="-110.2265625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-102.7265625, -9)" style="" class="label"><rect/><foreignObject height="18" width="205.453125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessingPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 640.5)" data-id="ContainerMp4Package" data-node="true" id="flowchart-ContainerMp4Package-8" class="node default default flowchart-label"><rect height="33" width="177.765625" y="-16.5" x="-88.8828125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.3828125, -9)" style="" class="label"><rect/><foreignObject height="18" width="162.765625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerMp4Package</span></div></foreignObject></g></g><g transform="translate(146.7734375, 723.5)" data-id="ContainerTsPackage" data-node="true" id="flowchart-ContainerTsPackage-9" class="node default default flowchart-label"><rect height="33" width="162.640625" y="-16.5" x="-81.3203125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-73.8203125, -9)" style="" class="label"><rect/><foreignObject height="18" width="147.640625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerTsPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 806.5)" data-id="TsTransmuxerPackage" data-node="true" id="flowchart-TsTransmuxerPackage-10" class="node default default flowchart-label"><rect height="33" width="178.03125" y="-16.5" x="-89.015625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.515625, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.03125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">TsTransmuxerPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 889.5)" data-id="DataPackage" data-node="true" id="flowchart-DataPackage-11" class="node default default flowchart-label"><rect height="33" width="111.0625" y="-16.5" x="-55.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">DataPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 972.5)" data-id="NetworkPackage" data-node="true" id="flowchart-NetworkPackage-12" class="node default default flowchart-label"><rect height="33" width="135.953125" y="-16.5" x="-67.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-60.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="120.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">NetworkPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1055.5)" data-id="PlaybackTechnologyPackage" data-node="true" id="flowchart-PlaybackTechnologyPackage-13" class="node default default flowchart-label"><rect height="33" width="223.140625" y="-16.5" x="-111.5703125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-104.0703125, -9)" style="" class="label"><rect/><foreignObject height="18" width="208.140625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackTechnologyPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1138.5)" data-id="HlsManifestPackage" data-node="true" id="flowchart-HlsManifestPackage-14" class="node default default flowchart-label"><rect height="33" width="160.84375" y="-16.5" x="-80.421875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.921875, -9)" style="" class="label"><rect/><foreignObject height="18" width="145.84375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsManifestPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1221.5)" data-id="MsePlaybackPackage" data-node="true" id="flowchart-MsePlaybackPackage-15" class="node default default flowchart-label"><rect height="33" width="172.421875" y="-16.5" x="-86.2109375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-78.7109375, -9)" style="" class="label"><rect/><foreignObject height="18" width="157.421875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">MsePlaybackPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1304.5)" data-id="NativePlaybackPackage" data-node="true" id="flowchart-NativePlaybackPackage-16" class="node default default flowchart-label"><rect height="33" width="187.546875" y="-16.5" x="-93.7734375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-86.2734375, -9)" style="" class="label"><rect/><foreignObject height="18" width="172.546875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">NativePlaybackPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1387.5)" data-id="SourcePackage" data-node="true" id="flowchart-SourcePackage-17" class="node default default flowchart-label"><rect height="33" width="127.96875" y="-16.5" x="-63.984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-56.484375, -9)" style="" class="label"><rect/><foreignObject height="18" width="112.96875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcePackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1470.5)" data-id="SourcesApiPackage" data-node="true" id="flowchart-SourcesApiPackage-18" class="node default default flowchart-label"><rect height="33" width="159.09375" y="-16.5" x="-79.546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.09375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcesApiPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1553.5)" data-id="AdaptationPackage" data-node="true" id="flowchart-AdaptationPackage-19" class="node default default flowchart-label"><rect height="33" width="153.78125" y="-16.5" x="-76.890625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.390625, -9)" style="" class="label"><rect/><foreignObject height="18" width="138.78125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">AdaptationPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1636.5)" data-id="PlaybackPackage" data-node="true" id="flowchart-PlaybackPackage-20" class="node default default flowchart-label"><rect height="33" width="142.1875" y="-16.5" x="-71.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-63.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="127.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1719.5)" data-id="PlaybackApiPackage" data-node="true" id="flowchart-PlaybackApiPackage-21" class="node default default flowchart-label"><rect height="33" width="165.3125" y="-16.5" x="-82.65625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-75.15625, -9)" style="" class="label"><rect/><foreignObject height="18" width="150.3125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackApiPackage</span></div></foreignObject></g></g><g transform="translate(146.7734375, 1802.5)" data-id="ViewModePackage" data-node="true" id="flowchart-ViewModePackage-22" class="node default default flowchart-label"><rect height="33" width="151.6875" y="-16.5" x="-75.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-68.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="136.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ViewModePackage</span></div></foreignObject></g></g></g></g></g></g></g></g></g></svg>
|
|
11
11
|
*/
|
|
12
|
-
import { Logger } from '../packages/core/utils/Logger';
|
|
13
12
|
import type { MergeApisAndEventBuses } from '../packages/event-bus/Types';
|
|
14
13
|
import type { PlaybackApi } from '../packages/playback-api/Types';
|
|
15
14
|
import type { PlayerApi } from '../packages/player-api/Types';
|
|
@@ -19,7 +18,6 @@ import type { ViewModeApi } from '../packages/view-mode/Types';
|
|
|
19
18
|
import type { EmptyObject } from '../Types';
|
|
20
19
|
import type { BundleExportNames, PlayerConfig } from './Types';
|
|
21
20
|
type MonolithExports = {
|
|
22
|
-
[BundleExportNames.Logger]: Logger;
|
|
23
21
|
[BundleExportNames.PlayerConfig]: PlayerConfig;
|
|
24
22
|
};
|
|
25
23
|
type SourceApi = MergeApisAndEventBuses<[SourceApiBase, PlaybackApi, ViewModeApi, SubtitleSourceApi]>;
|
package/types/bundles/Types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Normalize } from '../../framework-types/BaseTypes';
|
|
2
|
-
import type { LogLevel } from '
|
|
2
|
+
import type { LogLevel } from '../../framework-types/effects/LoggerEffect';
|
|
3
3
|
export type PlaybackConfig = {
|
|
4
4
|
muted: boolean;
|
|
5
5
|
autoplay: boolean;
|
|
@@ -71,7 +71,6 @@ export type PlayerConfig = {
|
|
|
71
71
|
analytics?: AnalyticsConfig;
|
|
72
72
|
};
|
|
73
73
|
export declare enum BundleExportNames {
|
|
74
|
-
Logger = "logger",
|
|
75
74
|
PlayerConfig = "player-config"
|
|
76
75
|
}
|
|
77
76
|
export {};
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type { ContextHaving } from '../../../framework-types/execution-context/Types';
|
|
2
|
-
import { BundleExportNames } from '../../bundles/Types';
|
|
3
|
-
import type { EmptyObject } from '../../Types';
|
|
4
1
|
import type { MediaType } from '../core/Constants';
|
|
5
|
-
import type { Logger } from '../core/utils/Logger';
|
|
6
2
|
import type { MediaTrackAtom } from '../stream-data-structure/track/TrackAtom';
|
|
7
3
|
import type { ContextWithState } from '../Types';
|
|
8
4
|
type AbrAlgorithm = 'wish' | 'default';
|
|
@@ -18,9 +14,7 @@ export declare function getDefaultState(baseState?: Partial<AdaptationState>): {
|
|
|
18
14
|
suggestion: AdaptationSuggestion;
|
|
19
15
|
};
|
|
20
16
|
export type AdaptationStateAtom = ReturnType<typeof createAdaptationStateAtom>;
|
|
21
|
-
export declare function createAdaptationStateAtom(context:
|
|
22
|
-
[BundleExportNames.Logger]: Logger;
|
|
23
|
-
}, EmptyObject, ContextWithState>, baseState?: Partial<AdaptationState>): import("../core/state/Types").StateAtom<{
|
|
17
|
+
export declare function createAdaptationStateAtom(context: ContextWithState, baseState?: Partial<AdaptationState>): import("../core/state/Types").StateAtom<{
|
|
24
18
|
abr: string;
|
|
25
19
|
suggestion: AdaptationSuggestion;
|
|
26
20
|
}, {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { ContextHaving, ContextUsing } from '../../../framework-types/execution-context/Types';
|
|
2
|
-
import type { BundleExportNames } from '../../bundles/Types';
|
|
3
2
|
import type { MetricsAtom } from '../core/metrics/MetricsAtom';
|
|
4
3
|
import type { StoreEffectFactory } from '../core/state/StoreEffectFactory';
|
|
5
4
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../core/Types';
|
|
6
|
-
import type { Logger } from '../core/utils/Logger';
|
|
7
5
|
import type { SourceStateAtom } from '../source/atoms/SourceStateAtom';
|
|
8
6
|
import type { SourceExportNames } from '../source/Types';
|
|
9
7
|
import type { StreamDataStructureSegments } from '../stream-data-structure/segment/Exports';
|
|
@@ -28,7 +26,6 @@ export type AdaptationExports = {
|
|
|
28
26
|
[AdaptationExportNames.AdaptationTask]: typeof AdaptationTask;
|
|
29
27
|
};
|
|
30
28
|
export type AdaptationDependencies = {
|
|
31
|
-
[BundleExportNames.Logger]: Logger;
|
|
32
29
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
33
30
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
34
31
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import type { ContextHaving } from '../../../framework-types/execution-context/Types';
|
|
2
|
-
import { BundleExportNames } from '../../bundles/Types';
|
|
3
|
-
import type { EmptyObject } from '../../Types';
|
|
4
|
-
import type { Logger } from '../core/utils/Logger';
|
|
5
1
|
import type { ContextWithState } from '../Types';
|
|
6
2
|
export declare enum QualityFunction {
|
|
7
3
|
Linear = "linear",
|
|
@@ -18,9 +14,7 @@ export declare function getDefaultConfig(baseConfig?: Partial<WishConfig>): {
|
|
|
18
14
|
qualityFunction: QualityFunction;
|
|
19
15
|
};
|
|
20
16
|
export type WishConfigAtom = ReturnType<typeof createWishConfigAtom>;
|
|
21
|
-
export declare function createWishConfigAtom(context:
|
|
22
|
-
[BundleExportNames.Logger]: Logger;
|
|
23
|
-
}, EmptyObject, ContextWithState>, baseConfig?: Partial<WishConfig>): import("../core/state/Types").StateAtom<{
|
|
17
|
+
export declare function createWishConfigAtom(context: ContextWithState, baseConfig?: Partial<WishConfig>): import("../core/state/Types").StateAtom<{
|
|
24
18
|
xi: number;
|
|
25
19
|
delta: number;
|
|
26
20
|
qualityFunction: QualityFunction;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const AdPositionNotYetKnown: unique symbol;
|
|
2
2
|
export type AdPosition = (contentDuration: number) => typeof AdPositionNotYetKnown | number;
|
|
3
|
-
export declare function resolveAdPosition(position:
|
|
3
|
+
export declare function resolveAdPosition(position: unknown, contentDuration: number): number | typeof AdPositionNotYetKnown;
|
|
4
4
|
export declare function createAdPosition(configuredPosition?: string | number): AdPosition;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
2
|
-
import type { BundleExportNames } from '../../../bundles/Types';
|
|
3
2
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../core/Types';
|
|
4
|
-
import type { Logger } from '../../core/utils/Logger';
|
|
5
3
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
6
4
|
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
7
5
|
import type { SourceExportNames } from '../../source/Types';
|
|
@@ -33,7 +31,6 @@ export declare enum BaseAdState {
|
|
|
33
31
|
Error = "error"
|
|
34
32
|
}
|
|
35
33
|
export type AdvertisingBasePackageDependencies = {
|
|
36
|
-
[BundleExportNames.Logger]: Logger;
|
|
37
34
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
38
35
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
39
36
|
[CoreExportNames.Utils]: CoreUtils;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
2
|
-
import type { BundleExportNames } from '../../../bundles/Types';
|
|
3
2
|
import type { AdaptationExportNames } from '../../adaptation/Types';
|
|
4
3
|
import type { Constants } from '../../core/Constants';
|
|
5
4
|
import type { MetricsAtom } from '../../core/metrics/MetricsAtom';
|
|
6
5
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../core/Types';
|
|
7
|
-
import type { Logger } from '../../core/utils/Logger';
|
|
8
6
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
9
7
|
import type { NetworkTask } from '../../network/NetworkTask';
|
|
10
8
|
import type { NetworkExportNames } from '../../network/Types';
|
|
@@ -23,7 +21,6 @@ import type { createBaseAdAtom } from '../base/BaseAdAtom';
|
|
|
23
21
|
import type { createBaseAdBreakAtom } from '../base/BaseAdBreakAtom';
|
|
24
22
|
import type { AdQuartile, AdSourceAdExports, AdType, AdvertisingBaseExportNames, BaseAdBreakState, BaseAdState, ContentSourceAdExports } from '../base/Types';
|
|
25
23
|
export type AdvertisingBitmovinPackageDependencies = {
|
|
26
|
-
[BundleExportNames.Logger]: Logger;
|
|
27
24
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
28
25
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
29
26
|
[CoreExportNames.Utils]: CoreUtils;
|
|
@@ -2,7 +2,7 @@ import type { ContainerFormat } from '../stream-data-structure/segment/SegmentDa
|
|
|
2
2
|
export interface PlatformCapabilities {
|
|
3
3
|
mediaSourceSupported(): boolean;
|
|
4
4
|
typeSupported(mimeType: string): boolean;
|
|
5
|
-
isContainerSupported(container: ContainerFormat): boolean;
|
|
5
|
+
isContainerSupported(container: ContainerFormat, index?: number, array?: ContainerFormat[]): boolean;
|
|
6
6
|
hlsSupported(): boolean;
|
|
7
7
|
progressiveSupported(): boolean;
|
|
8
8
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { EmptyObject } from '../../../../framework-types/BaseTypes';
|
|
2
2
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
3
3
|
import type { NamedTask, Task } from '../../../../framework-types/task/Types';
|
|
4
|
-
import { BundleExportNames } from '../../../bundles/Types';
|
|
5
4
|
import type { ContextWithState } from '../../Types';
|
|
6
5
|
import { CoreExportNames } from '../Types';
|
|
7
|
-
import type { Logger } from '../utils/Logger';
|
|
8
6
|
import type { CoreUtils } from '../utils/Types';
|
|
9
7
|
import type { StateAtom } from './Types';
|
|
10
8
|
export interface StateMachine<S> {
|
|
@@ -25,7 +23,6 @@ export type HandlerMap<S extends string, C extends ContextWithState, D = void> =
|
|
|
25
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>;
|
|
26
24
|
export declare function flushPendingUpdates(context: ContextWithState, stateMachine: StateMachineAtom<string, ContextWithState>): void;
|
|
27
25
|
type ContextWithStateAndLogger = ContextHaving<{
|
|
28
|
-
[BundleExportNames.Logger]: Logger;
|
|
29
26
|
[CoreExportNames.Utils]: CoreUtils;
|
|
30
27
|
}, EmptyObject, ContextWithState>;
|
|
31
28
|
export declare function logTransitions<S extends string, C extends ContextWithState, D = void>(context: ContextWithStateAndLogger, stateMachine: StateMachineAtom<S, C, D>, name: string): void;
|
|
@@ -3,7 +3,6 @@ import type ArrayHelper from './ArrayHelper';
|
|
|
3
3
|
import type CodecStringHelper from './CodecStringHelper';
|
|
4
4
|
import type DomUtils from './DomUtils';
|
|
5
5
|
import type ErrorHelper from './FormatError';
|
|
6
|
-
import type { Logger } from './Logger';
|
|
7
6
|
import type RangesHelper from './RangesHelper';
|
|
8
7
|
import type StateUtils from './StateUtils';
|
|
9
8
|
import type StringHelper from './StringHelper';
|
|
@@ -13,7 +12,6 @@ export type CoreUtils = {
|
|
|
13
12
|
Dom: typeof DomUtils;
|
|
14
13
|
Url: typeof UrlHelper;
|
|
15
14
|
Codecs: typeof CodecStringHelper;
|
|
16
|
-
Logger: typeof Logger;
|
|
17
15
|
Ranges: typeof RangesHelper;
|
|
18
16
|
Error: typeof ErrorHelper;
|
|
19
17
|
String: typeof StringHelper;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ContextHaving, ContextUsing } from '../../../framework-types/execution-context/Types';
|
|
2
2
|
import type { BaseContext } from '../../../framework-types/Types';
|
|
3
|
-
import type { BundleExportNames } from '../../bundles/Types';
|
|
4
3
|
import type { AdaptationExportNames } from '../adaptation/Types';
|
|
5
4
|
import type { CapabilitiesExportNames, PlatformCapabilities } from '../capabilities/Types';
|
|
6
5
|
import type { Constants } from '../core/Constants';
|
|
@@ -10,7 +9,6 @@ import type { QueueAtom } from '../core/state/QueueAtom';
|
|
|
10
9
|
import type { StateEffect } from '../core/state/state-effect/StateEffectFactory';
|
|
11
10
|
import type { StreamTimelineAtom } from '../core/state/stream-timeline/StreamTimelineMapAtom';
|
|
12
11
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../core/Types';
|
|
13
|
-
import type { Logger } from '../core/utils/Logger';
|
|
14
12
|
import type { CoreUtils } from '../core/utils/Types';
|
|
15
13
|
import type { NetworkTask } from '../network/NetworkTask';
|
|
16
14
|
import type { NetworkExportNames } from '../network/Types';
|
|
@@ -30,7 +28,6 @@ export type DataDependencies = {
|
|
|
30
28
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
31
29
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
32
30
|
[CoreExportNames.Utils]: CoreUtils;
|
|
33
|
-
[BundleExportNames.Logger]: Logger;
|
|
34
31
|
[AdaptationExportNames.Metrics]: MetricsAtom;
|
|
35
32
|
[NetworkExportNames.NetworkTask]: typeof NetworkTask;
|
|
36
33
|
[SegmentProcessingExportNames.SegmentProcessorErrors]: typeof SegmentProcessorErrors;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import type { EmptyObject } from '../../../framework-types/BaseTypes';
|
|
2
|
-
import type { ContextHaving } from '../../../framework-types/execution-context/Types';
|
|
3
2
|
import type { BaseContext } from '../../../framework-types/Types';
|
|
4
|
-
import type { BundleExportNames } from '../../bundles/Types';
|
|
5
|
-
import type { Logger } from '../core/utils/Logger';
|
|
6
3
|
export type EventBase = {
|
|
7
4
|
timestamp: number;
|
|
8
5
|
type: string;
|
|
9
6
|
};
|
|
10
7
|
export type EventListener<Event extends object> = (event: Event & EventBase) => void;
|
|
11
|
-
export type EventBusContext =
|
|
12
|
-
[BundleExportNames.Logger]: Logger;
|
|
13
|
-
}, EmptyObject, BaseContext>;
|
|
8
|
+
export type EventBusContext = BaseContext;
|
|
14
9
|
export type EventMap = {
|
|
15
10
|
[key: string]: object;
|
|
16
11
|
};
|
|
@@ -8,10 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { ContextHaving } from '../../../../../framework-types/execution-context/Types';
|
|
10
10
|
import type { BaseContext } from '../../../../../framework-types/Types';
|
|
11
|
-
import type { BundleExportNames } from '../../../../bundles/Types';
|
|
12
11
|
import type { EmptyObject } from '../../../../Types';
|
|
13
12
|
import type { CoreExportNames } from '../../../core/Types';
|
|
14
|
-
import type { Logger } from '../../../core/utils/Logger';
|
|
15
13
|
import type { CoreUtils } from '../../../core/utils/Types';
|
|
16
14
|
import { DashParsingTask } from './DashParsingTask';
|
|
17
15
|
import type { DashErrors } from './Types';
|
|
@@ -21,7 +19,6 @@ export type DashParsingPackageExports = {
|
|
|
21
19
|
[DashParsingExportNames.Errors]: DashErrors;
|
|
22
20
|
};
|
|
23
21
|
export type DashParsingContext = ContextHaving<{
|
|
24
|
-
[BundleExportNames.Logger]: Logger;
|
|
25
22
|
[CoreExportNames.Utils]: CoreUtils;
|
|
26
23
|
}, EmptyObject, BaseContext>;
|
|
27
24
|
export declare const DashParsingPackage: import("../../../../../framework-types/package-api/Package").Package<EmptyObject, DashParsingPackageExports, EmptyObject>;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { ContextHaving } from '../../../../../framework-types/execution-context/Types';
|
|
2
2
|
import type { NamedTask, Task } from '../../../../../framework-types/task/Types';
|
|
3
|
-
import type { BundleExportNames } from '../../../../bundles/Types';
|
|
4
3
|
import type { AdaptationExportNames } from '../../../adaptation/Types';
|
|
5
4
|
import type { Constants } from '../../../core/Constants';
|
|
6
5
|
import type { MetricsAtom } from '../../../core/metrics/MetricsAtom';
|
|
7
6
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../../core/Types';
|
|
8
|
-
import type { Logger } from '../../../core/utils/Logger';
|
|
9
7
|
import type { CoreUtils } from '../../../core/utils/Types';
|
|
10
8
|
import type { NetworkTask } from '../../../network/NetworkTask';
|
|
11
9
|
import type { NetworkExportNames } from '../../../network/Types';
|
|
@@ -25,7 +23,6 @@ export declare enum DashPackageExportNames {
|
|
|
25
23
|
export type DashDependencies = {
|
|
26
24
|
[CoreExportNames.Utils]: CoreUtils;
|
|
27
25
|
[CoreExportNames.Constants]: Constants;
|
|
28
|
-
[BundleExportNames.Logger]: Logger;
|
|
29
26
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
30
27
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
31
28
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { ContextHaving } from '../../../../../framework-types/execution-context/Types';
|
|
2
|
-
import type { BundleExportNames } from '../../../../bundles/Types';
|
|
3
2
|
import type { Constants } from '../../../core/Constants';
|
|
4
3
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../../core/Types';
|
|
5
|
-
import type { Logger } from '../../../core/utils/Logger';
|
|
6
4
|
import type { CoreUtils } from '../../../core/utils/Types';
|
|
7
5
|
import type { StreamDataStructurePackageExports } from '../../../stream-data-structure/Types';
|
|
8
6
|
import type { ContextWithState } from '../../../Types';
|
|
@@ -13,7 +11,6 @@ export declare enum DashTranslationExportNames {
|
|
|
13
11
|
export type DashTranslationPackageDependencies = {
|
|
14
12
|
[CoreExportNames.Utils]: CoreUtils;
|
|
15
13
|
[CoreExportNames.Constants]: Constants;
|
|
16
|
-
[BundleExportNames.Logger]: Logger;
|
|
17
14
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
18
15
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
19
16
|
} & StreamDataStructurePackageExports;
|
|
@@ -8,10 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { ContextHaving } from '../../../../../framework-types/execution-context/Types';
|
|
10
10
|
import type { BaseContext } from '../../../../../framework-types/Types';
|
|
11
|
-
import type { BundleExportNames } from '../../../../bundles/Types';
|
|
12
11
|
import type { EmptyObject } from '../../../../Types';
|
|
13
12
|
import type { CoreExportNames } from '../../../core/Types';
|
|
14
|
-
import type { Logger } from '../../../core/utils/Logger';
|
|
15
13
|
import type { CoreUtils } from '../../../core/utils/Types';
|
|
16
14
|
import { HlsParsingFunctions } from './HlsParsingFunctions';
|
|
17
15
|
import { HlsParsingTask } from './HlsParsingTask';
|
|
@@ -23,7 +21,6 @@ export type HlsParsingPackageExports = {
|
|
|
23
21
|
[HlsParsingExportNames.Errors]: HlsErrors;
|
|
24
22
|
};
|
|
25
23
|
export type HlsParsingContext = ContextHaving<{
|
|
26
|
-
[BundleExportNames.Logger]: Logger;
|
|
27
24
|
[CoreExportNames.Utils]: CoreUtils;
|
|
28
25
|
[HlsParsingExportNames.ParsingFunctions]: typeof HlsParsingFunctions;
|
|
29
26
|
}, EmptyObject, BaseContext>;
|
|
@@ -3,7 +3,7 @@ import { TranslatorStream } from './m3u8/TranslatorStream';
|
|
|
3
3
|
import type { HlsManifest, MediaPlaylist, MultivariantPlaylist } from './Types';
|
|
4
4
|
declare function isMultivariantPlaylist(manifest: HlsManifest): manifest is MultivariantPlaylist;
|
|
5
5
|
declare function isMediaPlaylist(manifest: HlsManifest): manifest is MediaPlaylist;
|
|
6
|
-
declare function createTranslator(manifestText: string, { registry }: HlsParsingContext): [TranslatorStream, string];
|
|
6
|
+
declare function createTranslator(manifestText: string, { registry, effects }: HlsParsingContext): [TranslatorStream, string];
|
|
7
7
|
declare function addDefaultTagParsers([translator, manifestText]: [TranslatorStream, string]): [TranslatorStream, string];
|
|
8
8
|
declare function parsePlaylist([translator, manifestText]: [TranslatorStream, string]): HlsManifest;
|
|
9
9
|
export declare const HlsParsingFunctions: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { LoggerEffect } from '../../../../../../framework-types/effects/LoggerEffect';
|
|
2
2
|
import type { CoreUtils } from '../../../../core/utils/Types';
|
|
3
3
|
import type { HlsManifest, Tag } from '../Types';
|
|
4
4
|
import { Stream } from './AbstractStream';
|
|
@@ -19,7 +19,7 @@ export declare class TranslatorStream extends Stream<string, Tag> {
|
|
|
19
19
|
private lineStream;
|
|
20
20
|
private parseStream;
|
|
21
21
|
private currentDiscontinuitySequence;
|
|
22
|
-
constructor(logger:
|
|
22
|
+
constructor(logger: LoggerEffect, utils: CoreUtils);
|
|
23
23
|
addTagParsers(parsers: TagParser<Tag>[]): void;
|
|
24
24
|
get manifest(): HlsManifest;
|
|
25
25
|
private getCustomTag;
|
|
@@ -12,14 +12,12 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import type { ContextHaving } from '../../../../../framework-types/execution-context/Types';
|
|
14
14
|
import type { NamedTask, Task } from '../../../../../framework-types/task/Types';
|
|
15
|
-
import { BundleExportNames } from '../../../../bundles/Types';
|
|
16
15
|
import type { EmptyObject } from '../../../../Types';
|
|
17
16
|
import type { AdaptationExportNames } from '../../../adaptation/Types';
|
|
18
17
|
import type { Constants } from '../../../core/Constants';
|
|
19
18
|
import type { MetricsAtom } from '../../../core/metrics/MetricsAtom';
|
|
20
19
|
import type { CoreEffects, CoreStateAtoms } from '../../../core/Types';
|
|
21
20
|
import { CoreExportNames } from '../../../core/Types';
|
|
22
|
-
import type { Logger } from '../../../core/utils/Logger';
|
|
23
21
|
import type { CoreUtils } from '../../../core/utils/Types';
|
|
24
22
|
import type { NetworkTask } from '../../../network/NetworkTask';
|
|
25
23
|
import { NetworkExportNames } from '../../../network/Types';
|
|
@@ -39,7 +37,6 @@ import { HlsPackageExportNames } from './Types';
|
|
|
39
37
|
type HlsDependencies = {
|
|
40
38
|
[CoreExportNames.Utils]: CoreUtils;
|
|
41
39
|
[CoreExportNames.Constants]: Constants;
|
|
42
|
-
[BundleExportNames.Logger]: Logger;
|
|
43
40
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
44
41
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
45
42
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
@@ -7,12 +7,10 @@
|
|
|
7
7
|
* <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>
|
|
8
8
|
*/
|
|
9
9
|
import type { ContextHaving } from '../../../../../framework-types/execution-context/Types';
|
|
10
|
-
import type { BundleExportNames } from '../../../../bundles/Types';
|
|
11
10
|
import type { EmptyObject } from '../../../../Types';
|
|
12
11
|
import type { Constants } from '../../../core/Constants';
|
|
13
12
|
import type { CoreEffects, CoreStateAtoms } from '../../../core/Types';
|
|
14
13
|
import { CoreExportNames } from '../../../core/Types';
|
|
15
|
-
import type { Logger } from '../../../core/utils/Logger';
|
|
16
14
|
import type { CoreUtils } from '../../../core/utils/Types';
|
|
17
15
|
import type { StreamDataStructurePackageExports } from '../../../stream-data-structure/Types';
|
|
18
16
|
import type { ContextWithState } from '../../../Types';
|
|
@@ -22,7 +20,6 @@ import { HlsTranslationExportNames } from './Types';
|
|
|
22
20
|
type Dependencies = {
|
|
23
21
|
[CoreExportNames.Utils]: CoreUtils;
|
|
24
22
|
[CoreExportNames.Constants]: Constants;
|
|
25
|
-
[BundleExportNames.Logger]: Logger;
|
|
26
23
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
27
24
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
28
25
|
} & StreamDataStructurePackageExports;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { EmptyObject } from '../../../../framework-types/BaseTypes';
|
|
2
2
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
3
|
-
import type { BundleExportNames } from '../../../bundles/Types';
|
|
4
3
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../core/Types';
|
|
5
|
-
import type { Logger } from '../../core/utils/Logger';
|
|
6
4
|
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
7
5
|
import type { SourceExportNames } from '../../source/Types';
|
|
8
6
|
import type { ContextWithState } from '../../Types';
|
|
@@ -17,7 +15,6 @@ export type PlayPausePackageDependencies = {
|
|
|
17
15
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
18
16
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
19
17
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
20
|
-
[BundleExportNames.Logger]: Logger;
|
|
21
18
|
[VideoElementStateExportNames.VideoElementState]: VideoElementStateAtom;
|
|
22
19
|
};
|
|
23
20
|
export type PlayPausePackageApi = EmptyObject;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
2
|
-
import type { BundleExportNames } from '../../../bundles/Types';
|
|
3
2
|
import type { StateMachineAtom } from '../../core/state/StateMachineAtom';
|
|
4
3
|
import type { CoreEffects, CoreExportNames, CoreStateAtoms } from '../../core/Types';
|
|
5
|
-
import type { Logger } from '../../core/utils/Logger';
|
|
6
4
|
import type { CoreUtils } from '../../core/utils/Types';
|
|
7
5
|
import type { SourceStateAtom } from '../../source/atoms/SourceStateAtom';
|
|
8
6
|
import type { SourceExportNames } from '../../source/Types';
|
|
@@ -28,7 +26,6 @@ export declare enum PlaybackState {
|
|
|
28
26
|
}
|
|
29
27
|
export type PlaybackStatePackageDependencies = {
|
|
30
28
|
[CoreExportNames.Utils]: CoreUtils;
|
|
31
|
-
[BundleExportNames.Logger]: Logger;
|
|
32
29
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
33
30
|
[SourceExportNames.SourceState]: SourceStateAtom;
|
|
34
31
|
[CoreExportNames.CoreStateAtoms]: CoreStateAtoms;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { ApiManager } from '../../../../framework-types/api-manager/ApiManager';
|
|
2
2
|
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
3
|
-
import type { BundleExportNames } from '../../../bundles/Types';
|
|
4
3
|
import type { CoreEffects, CoreExportNames } from '../../core/Types';
|
|
5
|
-
import type { Logger } from '../../core/utils/Logger';
|
|
6
4
|
import type { extendEventBusTypes } from '../../event-bus/EventBus';
|
|
7
5
|
import type { EventBus, EventBusExportNames } from '../../event-bus/Types';
|
|
8
6
|
import type { PlaybackState, PlaybackStateMachineAtom, PlaybackStatePackageExportNames } from '../../playback/playback-state/Types';
|
|
@@ -14,7 +12,6 @@ import type { SourcesApiExportNames } from '../../sources-api/Types';
|
|
|
14
12
|
import type { ContextWithState } from '../../Types';
|
|
15
13
|
import type { PlaybackEvent, PlaybackEventMap } from './events/PlaybackEventMap';
|
|
16
14
|
export type PlaybackApiEventsPackageDependencies = {
|
|
17
|
-
[BundleExportNames.Logger]: Logger;
|
|
18
15
|
[CoreExportNames.CoreEffects]: CoreEffects;
|
|
19
16
|
[EventBusExportNames.ExtendEventBusTypes]: typeof extendEventBusTypes;
|
|
20
17
|
[PlaybackStatePackageExportNames.PlaybackState]: typeof PlaybackState;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { EmptyObject } from '../../../../framework-types/BaseTypes';
|
|
2
|
+
import type { ContextHaving } from '../../../../framework-types/execution-context/Types';
|
|
3
|
+
import type { ArrayAtom } from '../../core/state/ArrayStateAtom';
|
|
4
|
+
import type { StateAtom } from '../../core/state/Types';
|
|
5
|
+
import { CoreExportNames } from '../../core/Types';
|
|
6
|
+
import type { CoreUtils } from '../../core/utils/Types';
|
|
7
|
+
import type { VideoElementAtom } from '../../source/atoms/VideoElementAtom';
|
|
8
|
+
import type { TrackAtom } from '../../stream-data-structure/track/TrackAtom';
|
|
9
|
+
import type { ContextWithState } from '../../Types';
|
|
10
|
+
import type { TimeRange } from './Types';
|
|
11
|
+
type SeekableRangerProvider = {
|
|
12
|
+
range: TimeRange | undefined;
|
|
13
|
+
};
|
|
14
|
+
type Context = ContextHaving<{
|
|
15
|
+
[CoreExportNames.Utils]: CoreUtils;
|
|
16
|
+
}, EmptyObject, ContextWithState>;
|
|
17
|
+
export type SeekableRangeProviderAtom = StateAtom<SeekableRangerProvider>;
|
|
18
|
+
export declare function createSeekableRangeProvider(context: Context, video: VideoElementAtom): SeekableRangeProviderAtom;
|
|
19
|
+
export declare function createSeekableRangeProvider(context: Context, tracks: ArrayAtom<TrackAtom>): SeekableRangeProviderAtom;
|
|
20
|
+
export {};
|