mattebox 0.17.1 → 0.17.2
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/README.md +1 -1
- package/dist/cdn/mattebox.dash-drm.min.js +3 -3
- package/dist/cdn/mattebox.dash-ll.min.js +3 -3
- package/dist/cdn/mattebox.dash.min.js +3 -3
- package/dist/cdn/mattebox.dual-drm.min.js +3 -3
- package/dist/cdn/mattebox.dual-ll.min.js +3 -3
- package/dist/cdn/mattebox.dual-ts-drm.min.js +3 -3
- package/dist/cdn/mattebox.dual-ts.min.js +3 -3
- package/dist/cdn/mattebox.dual.min.js +3 -3
- package/dist/cdn/mattebox.hls-drm.min.js +3 -3
- package/dist/cdn/mattebox.hls-ll.min.js +3 -3
- package/dist/cdn/mattebox.hls-ts-drm.min.js +3 -3
- package/dist/cdn/mattebox.hls-ts.min.js +3 -3
- package/dist/cdn/mattebox.hls.min.js +3 -3
- package/dist/cdn/mattebox.kernel.min.js +1 -1
- package/dist/cdn/mattebox.min.js +6 -6
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/asyncToGenerator.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/defineProperty.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/objectSpread2.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/objectWithoutProperties.js +3 -3
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/objectWithoutPropertiesLoose.js +2 -2
- package/dist/es2015/_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/toPrimitive.js +13 -0
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/toPropertyKey.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/typeof.js +1 -1
- package/dist/es2015/containers/codec-probe/index.js +1 -1
- package/dist/es2015/containers/fmp4/fit.js +1 -1
- package/dist/es2015/containers/id3.js +1 -1
- package/dist/es2015/containers/packed-audio/index.js +1 -1
- package/dist/es2015/containers/scte35.js +1 -1
- package/dist/es2015/containers/ts-transmux/demux.js +1 -1
- package/dist/es2015/containers/ts-transmux/h264.js +1 -1
- package/dist/es2015/containers/ts-transmux/h265.js +1 -1
- package/dist/es2015/containers/ts-transmux/index.js +3 -3
- package/dist/es2015/containers/ts-transmux/runner.js +2 -2
- package/dist/es2015/containers/ts-transmux/transmux.js +3 -3
- package/dist/es2015/containers/webvtt.js +1 -1
- package/dist/es2015/containers/wvtt.js +1 -1
- package/dist/es2015/eme/index.js +3 -3
- package/dist/es2015/index.js +10 -10
- package/dist/es2015/kernel/append-queue.js +1 -1
- package/dist/es2015/kernel/dry-run.js +1 -1
- package/dist/es2015/kernel/lifecycle.js +1 -1
- package/dist/es2015/kernel/mse.js +15 -3
- package/dist/es2015/kernel/prepare.js +2 -2
- package/dist/es2015/kernel/reducer.js +17 -5
- package/dist/es2015/kernel/refresh.js +1 -1
- package/dist/es2015/kernel/rendition-select.js +3 -3
- package/dist/es2015/kernel/scheduler.js +1 -1
- package/dist/es2015/kernel/sinks/caption-tracks.js +1 -1
- package/dist/es2015/kernel/sinks/text-formats.js +1 -1
- package/dist/es2015/kernel/timeline.js +1 -1
- package/dist/es2015/kernel/trace.js +1 -1
- package/dist/es2015/kernel/transport.js +2 -2
- package/dist/es2015/presets/dash/index.js +2 -1
- package/dist/es2015/presets/dash-drm/index.js +3 -1
- package/dist/es2015/presets/dash-ll/index.js +3 -1
- package/dist/es2015/presets/define.js +2 -2
- package/dist/es2015/presets/dual/index.js +3 -1
- package/dist/es2015/presets/dual-drm/index.js +4 -1
- package/dist/es2015/presets/dual-ll/index.js +4 -1
- package/dist/es2015/presets/dual-ts/index.js +4 -1
- package/dist/es2015/presets/dual-ts-drm/index.js +5 -1
- package/dist/es2015/presets/full/index.js +15 -10
- package/dist/es2015/presets/hls/index.js +2 -1
- package/dist/es2015/presets/hls-drm/index.js +3 -1
- package/dist/es2015/presets/hls-ll/index.js +3 -1
- package/dist/es2015/presets/hls-ts/index.js +3 -1
- package/dist/es2015/presets/hls-ts-drm/index.js +4 -1
- package/dist/es2015/presets/tiers/base.js +52 -0
- package/dist/es2015/presets/tiers/dash-ll.js +17 -0
- package/dist/es2015/presets/tiers/dash.js +14 -0
- package/dist/es2015/presets/tiers/drm.js +19 -0
- package/dist/es2015/presets/tiers/hls-ll.js +17 -0
- package/dist/es2015/presets/tiers/hls.js +19 -0
- package/dist/es2015/presets/tiers/low-latency.js +16 -0
- package/dist/es2015/presets/tiers/ts.js +23 -0
- package/dist/es2015/protocols/dash-cmaf/index.js +2 -2
- package/dist/es2015/protocols/dash-cmaf/parse.js +1 -1
- package/dist/es2015/protocols/dash-cmaf/periods-runtime.js +1 -1
- package/dist/es2015/protocols/dash-cmaf/periods.js +1 -1
- package/dist/es2015/protocols/dash-live/index.js +2 -2
- package/dist/es2015/protocols/dash-ll/index.js +1 -1
- package/dist/es2015/protocols/hls-cmaf/index.js +1 -1
- package/dist/es2015/protocols/hls-cmaf/parse.js +1 -1
- package/dist/es2015/protocols/hls-cmaf/unavailable.js +1 -1
- package/dist/es2015/protocols/hls-live/index.js +1 -1
- package/dist/es2015/protocols/hls-ll/index.js +1 -1
- package/dist/es2015/protocols/hls-ll/parse.js +1 -1
- package/dist/es2015/stages/abr/index.js +1 -1
- package/dist/es2015/stages/aes-128/index.js +1 -1
- package/dist/es2015/stages/chapters/index.js +2 -2
- package/dist/es2015/stages/chapters/parse.js +2 -2
- package/dist/es2015/stages/cmcd/index.js +1 -1
- package/dist/es2015/stages/codec-probe/index.js +2 -2
- package/dist/es2015/stages/content-steering/index.js +1 -1
- package/dist/es2015/stages/eme-core/index.js +2 -2
- package/dist/es2015/stages/eme-fairplay/index.js +1 -1
- package/dist/es2015/stages/hdr/index.js +1 -1
- package/dist/es2015/stages/interstitials/breaks.js +1 -1
- package/dist/es2015/stages/interstitials/index.js +3 -3
- package/dist/es2015/stages/nal-scan/index.js +1 -1
- package/dist/es2015/stages/qoe/index.js +1 -1
- package/dist/es2015/stages/recovery/index.js +1 -1
- package/dist/es2015/stages/rendition-names/index.js +1 -1
- package/dist/es2015/stages/text-cea608/decode.js +1 -1
- package/dist/es2015/stages/text-cea708/decode.js +2 -2
- package/dist/es2015/stages/text-cea708/index.js +1 -1
- package/dist/es2015/stages/text-ttml/index.js +3 -3
- package/dist/es2015/stages/text-ttml/parse.js +1 -1
- package/dist/es2015/stages/thumbnails/index.js +2 -2
- package/dist/es2015/stages/timed-metadata/index.js +2 -2
- package/dist/es2015/stages/trick-play/index.js +5 -5
- package/dist/kernel/mse.d.ts.map +1 -1
- package/dist/kernel/mse.js +18 -2
- package/dist/kernel/mse.js.map +1 -1
- package/dist/kernel/reducer.d.ts +1 -1
- package/dist/kernel/reducer.d.ts.map +1 -1
- package/dist/kernel/reducer.js +17 -1
- package/dist/kernel/reducer.js.map +1 -1
- package/dist/presets/dash/index.d.ts.map +1 -1
- package/dist/presets/dash/index.js +2 -1
- package/dist/presets/dash/index.js.map +1 -1
- package/dist/presets/dash-drm/index.d.ts.map +1 -1
- package/dist/presets/dash-drm/index.js +3 -1
- package/dist/presets/dash-drm/index.js.map +1 -1
- package/dist/presets/dash-ll/index.d.ts.map +1 -1
- package/dist/presets/dash-ll/index.js +3 -1
- package/dist/presets/dash-ll/index.js.map +1 -1
- package/dist/presets/dual/index.d.ts.map +1 -1
- package/dist/presets/dual/index.js +3 -1
- package/dist/presets/dual/index.js.map +1 -1
- package/dist/presets/dual-drm/index.d.ts.map +1 -1
- package/dist/presets/dual-drm/index.js +4 -1
- package/dist/presets/dual-drm/index.js.map +1 -1
- package/dist/presets/dual-ll/index.d.ts.map +1 -1
- package/dist/presets/dual-ll/index.js +4 -1
- package/dist/presets/dual-ll/index.js.map +1 -1
- package/dist/presets/dual-ts/index.d.ts.map +1 -1
- package/dist/presets/dual-ts/index.js +4 -1
- package/dist/presets/dual-ts/index.js.map +1 -1
- package/dist/presets/dual-ts-drm/index.d.ts.map +1 -1
- package/dist/presets/dual-ts-drm/index.js +5 -1
- package/dist/presets/dual-ts-drm/index.js.map +1 -1
- package/dist/presets/full/index.d.ts.map +1 -1
- package/dist/presets/full/index.js +6 -1
- package/dist/presets/full/index.js.map +1 -1
- package/dist/presets/hls/index.d.ts.map +1 -1
- package/dist/presets/hls/index.js +2 -1
- package/dist/presets/hls/index.js.map +1 -1
- package/dist/presets/hls-drm/index.d.ts.map +1 -1
- package/dist/presets/hls-drm/index.js +3 -1
- package/dist/presets/hls-drm/index.js.map +1 -1
- package/dist/presets/hls-ll/index.d.ts.map +1 -1
- package/dist/presets/hls-ll/index.js +3 -1
- package/dist/presets/hls-ll/index.js.map +1 -1
- package/dist/presets/hls-ts/index.d.ts.map +1 -1
- package/dist/presets/hls-ts/index.js +3 -1
- package/dist/presets/hls-ts/index.js.map +1 -1
- package/dist/presets/hls-ts-drm/index.d.ts.map +1 -1
- package/dist/presets/hls-ts-drm/index.js +4 -1
- package/dist/presets/hls-ts-drm/index.js.map +1 -1
- package/dist/presets/tiers/base.d.ts +13 -0
- package/dist/presets/tiers/base.d.ts.map +1 -0
- package/dist/presets/tiers/base.js +51 -0
- package/dist/presets/tiers/base.js.map +1 -0
- package/dist/presets/tiers/dash-ll.d.ts +8 -0
- package/dist/presets/tiers/dash-ll.d.ts.map +1 -0
- package/dist/presets/tiers/dash-ll.js +16 -0
- package/dist/presets/tiers/dash-ll.js.map +1 -0
- package/dist/presets/tiers/dash.d.ts +4 -0
- package/dist/presets/tiers/dash.d.ts.map +1 -0
- package/dist/presets/tiers/dash.js +13 -0
- package/dist/presets/tiers/dash.js.map +1 -0
- package/dist/presets/tiers/drm.d.ts +4 -0
- package/dist/presets/tiers/drm.d.ts.map +1 -0
- package/dist/presets/tiers/drm.js +14 -0
- package/dist/presets/tiers/drm.js.map +1 -0
- package/dist/presets/tiers/hls-ll.d.ts +7 -0
- package/dist/presets/tiers/hls-ll.d.ts.map +1 -0
- package/dist/presets/tiers/hls-ll.js +16 -0
- package/dist/presets/tiers/hls-ll.js.map +1 -0
- package/dist/presets/tiers/hls.d.ts +4 -0
- package/dist/presets/tiers/hls.d.ts.map +1 -0
- package/dist/presets/tiers/hls.js +16 -0
- package/dist/presets/tiers/hls.js.map +1 -0
- package/dist/presets/tiers/low-latency.d.ts +7 -0
- package/dist/presets/tiers/low-latency.d.ts.map +1 -0
- package/dist/presets/tiers/low-latency.js +15 -0
- package/dist/presets/tiers/low-latency.js.map +1 -0
- package/dist/presets/tiers/ts.d.ts +8 -0
- package/dist/presets/tiers/ts.d.ts.map +1 -0
- package/dist/presets/tiers/ts.js +18 -0
- package/dist/presets/tiers/ts.js.map +1 -0
- package/package.json +1 -1
- package/dist/es2015/_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/toPrimitive.js +0 -13
- package/dist/es2015/presets/tiers.js +0 -123
- package/dist/presets/tiers.d.ts +0 -41
- package/dist/presets/tiers.d.ts.map +0 -1
- package/dist/presets/tiers.js +0 -112
- package/dist/presets/tiers.js.map +0 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { definePreset } from "../define.js";
|
|
2
|
-
import { base
|
|
2
|
+
import { base } from "../tiers/base.js";
|
|
3
|
+
import { drmTier } from "../tiers/drm.js";
|
|
4
|
+
import { hlsLine } from "../tiers/hls.js";
|
|
3
5
|
// src/presets/hls-drm/index.ts
|
|
4
6
|
/**
|
|
5
7
|
* The `hls-drm` preset: `hls` plus the EME stages, for protected HLS.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { definePreset } from "../define.js";
|
|
2
|
-
import { base
|
|
2
|
+
import { base } from "../tiers/base.js";
|
|
3
|
+
import { hlsLlLine } from "../tiers/hls-ll.js";
|
|
4
|
+
import { lowLatencyTier } from "../tiers/low-latency.js";
|
|
3
5
|
// src/presets/hls-ll/index.ts
|
|
4
6
|
/**
|
|
5
7
|
* The `hls-ll` preset: low-latency HLS on demand and live, CMAF segments,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { definePreset } from "../define.js";
|
|
2
|
-
import { base
|
|
2
|
+
import { base } from "../tiers/base.js";
|
|
3
|
+
import { hlsLine } from "../tiers/hls.js";
|
|
4
|
+
import { tsTier } from "../tiers/ts.js";
|
|
3
5
|
// src/presets/hls-ts/index.ts
|
|
4
6
|
/**
|
|
5
7
|
* The `hls-ts` preset: `hls` plus the MPEG-TS family, for a backend that still emits transport streams.
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { definePreset } from "../define.js";
|
|
2
|
-
import { base
|
|
2
|
+
import { base } from "../tiers/base.js";
|
|
3
|
+
import { drmTier } from "../tiers/drm.js";
|
|
4
|
+
import { hlsLine } from "../tiers/hls.js";
|
|
5
|
+
import { tsTier } from "../tiers/ts.js";
|
|
3
6
|
// src/presets/hls-ts-drm/index.ts
|
|
4
7
|
/**
|
|
5
8
|
* The `hls-ts-drm` preset: `hls-ts` plus the EME stages.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import abr from "../../stages/abr/index.js";
|
|
2
|
+
import abrCapSize from "../../stages/abr-cap-size/index.js";
|
|
3
|
+
import altAudio from "../../stages/alt-audio/index.js";
|
|
4
|
+
import cmafTiming from "../../stages/cmaf-timing/index.js";
|
|
5
|
+
import codecProbe from "../../stages/codec-probe/index.js";
|
|
6
|
+
import codecSwitch from "../../stages/codec-switch/index.js";
|
|
7
|
+
import contentSteering from "../../stages/content-steering/index.js";
|
|
8
|
+
import forcedSubtitles from "../../stages/forced-subtitles/index.js";
|
|
9
|
+
import mp4Box from "../../stages/mp4-box/index.js";
|
|
10
|
+
import nalScan from "../../stages/nal-scan/index.js";
|
|
11
|
+
import pdt from "../../stages/pdt/index.js";
|
|
12
|
+
import recovery from "../../stages/recovery/index.js";
|
|
13
|
+
import textCea608 from "../../stages/text-cea608/index.js";
|
|
14
|
+
import textWebvtt from "../../stages/text-webvtt/index.js";
|
|
15
|
+
import textWebvttSegmented from "../../stages/text-webvtt-segmented/index.js";
|
|
16
|
+
// src/presets/tiers/base.ts
|
|
17
|
+
/**
|
|
18
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
19
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
20
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
21
|
+
* a function so a preset gets fresh stage instances.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* What every preset carries: adaptive quality with a size cap, recovery, content steering (inert until a manifest asks for it),
|
|
25
|
+
* alternate audio with codec switching, WebVTT subtitles, CMAF timing (reads
|
|
26
|
+
* each segment's decode time so the kernel lands it at its playlist time,
|
|
27
|
+
* whatever clock the packager wrote), program date time from either
|
|
28
|
+
* protocol's anchor, the codec probe (types a SourceBuffer whose playlist
|
|
29
|
+
* declares no codecs, which Chrome otherwise refuses), and CEA-608 captions
|
|
30
|
+
* from fMP4 video. The caption scan costs per NAL unit, not per byte, and
|
|
31
|
+
* only when a segment has H.264 or HEVC.
|
|
32
|
+
*/
|
|
33
|
+
function base() {
|
|
34
|
+
return [
|
|
35
|
+
abr(),
|
|
36
|
+
abrCapSize(),
|
|
37
|
+
recovery(),
|
|
38
|
+
contentSteering(),
|
|
39
|
+
codecSwitch(),
|
|
40
|
+
altAudio(),
|
|
41
|
+
textWebvtt(),
|
|
42
|
+
textWebvttSegmented(),
|
|
43
|
+
forcedSubtitles(),
|
|
44
|
+
cmafTiming(),
|
|
45
|
+
pdt(),
|
|
46
|
+
mp4Box(),
|
|
47
|
+
codecProbe(),
|
|
48
|
+
nalScan(),
|
|
49
|
+
textCea608()
|
|
50
|
+
];
|
|
51
|
+
}
|
|
52
|
+
export { base };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import dashLl from "../../protocols/dash-ll/index.js";
|
|
2
|
+
// src/presets/tiers/dash-ll.ts
|
|
3
|
+
/**
|
|
4
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
5
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
6
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
7
|
+
* a function so a preset gets fresh stage instances.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Low-latency DASH: dash-ll in place of dash-cmaf and dash-live, which it
|
|
11
|
+
* contains. An MPD without low-latency signalling plays as the DASH line
|
|
12
|
+
* plays it.
|
|
13
|
+
*/
|
|
14
|
+
function dashLlLine() {
|
|
15
|
+
return [dashLl()];
|
|
16
|
+
}
|
|
17
|
+
export { dashLlLine };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import dashCmaf from "../../protocols/dash-cmaf/index.js";
|
|
2
|
+
import dashLive from "../../protocols/dash-live/index.js";
|
|
3
|
+
// src/presets/tiers/dash.ts
|
|
4
|
+
/**
|
|
5
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
6
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
7
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
8
|
+
* a function so a preset gets fresh stage instances.
|
|
9
|
+
*/
|
|
10
|
+
/** DASH on demand and live. */
|
|
11
|
+
function dashLine() {
|
|
12
|
+
return [dashCmaf(), dashLive()];
|
|
13
|
+
}
|
|
14
|
+
export { dashLine };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import emeCenc from "../../stages/eme-cenc/index.js";
|
|
2
|
+
import emeCore from "../../stages/eme-core/index.js";
|
|
3
|
+
import emeFairplay from "../../stages/eme-fairplay/index.js";
|
|
4
|
+
// src/presets/tiers/drm.ts
|
|
5
|
+
/**
|
|
6
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
7
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
8
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
9
|
+
* a function so a preset gets fresh stage instances.
|
|
10
|
+
*/
|
|
11
|
+
/** The EME stages: sessions, CENC (Widevine, PlayReady, ClearKey), FairPlay. */
|
|
12
|
+
function drmTier() {
|
|
13
|
+
return [
|
|
14
|
+
emeCore(),
|
|
15
|
+
emeCenc(),
|
|
16
|
+
emeFairplay()
|
|
17
|
+
];
|
|
18
|
+
}
|
|
19
|
+
export { drmTier };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import hlsLl from "../../protocols/hls-ll/index.js";
|
|
2
|
+
import aes128 from "../../stages/aes-128/index.js";
|
|
3
|
+
// src/presets/tiers/hls-ll.ts
|
|
4
|
+
/**
|
|
5
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
6
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
7
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
8
|
+
* a function so a preset gets fresh stage instances.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Low-latency HLS: hls-ll in place of hls-cmaf and hls-live, which it
|
|
12
|
+
* contains. A playlist without parts plays as the HLS line plays it.
|
|
13
|
+
*/
|
|
14
|
+
function hlsLlLine() {
|
|
15
|
+
return [hlsLl(), aes128()];
|
|
16
|
+
}
|
|
17
|
+
export { hlsLlLine };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import hlsCmaf from "../../protocols/hls-cmaf/index.js";
|
|
2
|
+
import hlsLive from "../../protocols/hls-live/index.js";
|
|
3
|
+
import aes128 from "../../stages/aes-128/index.js";
|
|
4
|
+
// src/presets/tiers/hls.ts
|
|
5
|
+
/**
|
|
6
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
7
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
8
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
9
|
+
* a function so a preset gets fresh stage instances.
|
|
10
|
+
*/
|
|
11
|
+
/** HLS on demand and live, with AES-128 segment decryption. */
|
|
12
|
+
function hlsLine() {
|
|
13
|
+
return [
|
|
14
|
+
hlsCmaf(),
|
|
15
|
+
hlsLive(),
|
|
16
|
+
aes128()
|
|
17
|
+
];
|
|
18
|
+
}
|
|
19
|
+
export { hlsLine };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import liveCatchup from "../../stages/live-catchup/index.js";
|
|
2
|
+
// src/presets/tiers/low-latency.ts
|
|
3
|
+
/**
|
|
4
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
5
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
6
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
7
|
+
* a function so a preset gets fresh stage instances.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* What a low-latency line needs beside it: the catch-up that holds the
|
|
11
|
+
* latency. It holds any live stream at its hold-back.
|
|
12
|
+
*/
|
|
13
|
+
function lowLatencyTier() {
|
|
14
|
+
return [liveCatchup()];
|
|
15
|
+
}
|
|
16
|
+
export { lowLatencyTier };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import packedAudio from "../../containers/packed-audio/index.js";
|
|
2
|
+
import tsTransmux from "../../containers/ts-transmux/index.js";
|
|
3
|
+
import metaId3 from "../../stages/meta-id3/index.js";
|
|
4
|
+
// src/presets/tiers/ts.ts
|
|
5
|
+
/**
|
|
6
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
7
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
8
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
9
|
+
* a function so a preset gets fresh stage instances.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Legacy MPEG-TS: the transmuxer and packed audio, plus ID3 metadata, which
|
|
13
|
+
* rides on the transport stream. The transmuxer is also a caption source for
|
|
14
|
+
* the base's text-cea608, next to nal-scan.
|
|
15
|
+
*/
|
|
16
|
+
function tsTier() {
|
|
17
|
+
return [
|
|
18
|
+
tsTransmux(),
|
|
19
|
+
packedAudio(),
|
|
20
|
+
metaId3()
|
|
21
|
+
];
|
|
22
|
+
}
|
|
23
|
+
export { tsTier };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { scheduled, tickAfter } from "../../kernel/effects.js";
|
|
3
2
|
import { normalizeMimeType } from "../../kernel/mime.js";
|
|
4
3
|
import { findRendition } from "../../kernel/presentation.js";
|
|
5
|
-
import { isUnresolved } from "../../kernel/timeline.js";
|
|
6
4
|
import { activeRenditions } from "../../kernel/rendition-select.js";
|
|
5
|
+
import { isUnresolved } from "../../kernel/timeline.js";
|
|
7
6
|
import { manifestFact } from "../adapter-shared.js";
|
|
8
7
|
import { parse, sidxToSegments } from "./parse.js";
|
|
9
8
|
import { installPeriods } from "./periods-runtime.js";
|
|
9
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
10
10
|
// src/protocols/dash-cmaf/index.ts
|
|
11
11
|
/**
|
|
12
12
|
* The dash-cmaf protocol adapter as a stage. Inert module: exports a
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { findBox, parseSidx } from "../../containers/mp4-box/index.js";
|
|
3
2
|
import { base64ToBytes } from "../../kernel/base64.js";
|
|
4
3
|
import { resolveUrl } from "../../kernel/url.js";
|
|
5
4
|
import { manifestError } from "../adapter-shared.js";
|
|
6
5
|
import { dimensions } from "../dimensions.js";
|
|
7
6
|
import { flattenPeriods } from "./periods.js";
|
|
7
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
8
8
|
// src/protocols/dash-cmaf/parse.ts
|
|
9
9
|
/**
|
|
10
10
|
* MPD into the IR. Pure: no fetching, no state, no side effects. DOMParser
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
|
|
2
1
|
import { findRendition } from "../../kernel/presentation.js";
|
|
3
2
|
import { segmentAt } from "../../kernel/timeline.js";
|
|
3
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/asyncToGenerator.js";
|
|
4
4
|
// src/protocols/dash-cmaf/periods-runtime.ts
|
|
5
5
|
/**
|
|
6
6
|
* What a flattened multi-period presentation needs at playback time, kept
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { isIndexed, isUnresolved, segmentAt } from "../../kernel/timeline.js";
|
|
2
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
// src/protocols/dash-cmaf/periods.ts
|
|
4
4
|
/**
|
|
5
5
|
* Several DASH Periods as one continuous presentation, the way Shaka
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { scheduled, tickAfter } from "../../kernel/effects.js";
|
|
3
|
-
import { registerLiveNamespace } from "../live-shared.js";
|
|
4
2
|
import { parse } from "../dash-cmaf/parse.js";
|
|
3
|
+
import { registerLiveNamespace } from "../live-shared.js";
|
|
4
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
5
5
|
// src/protocols/dash-live/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* DASH live: the edge is computed, never read. Wall clock enters only as
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { completeChunks } from "../../containers/mp4-box/index.js";
|
|
2
|
-
import { registerLiveNamespace } from "../live-shared.js";
|
|
3
2
|
import { MANIFEST_TYPES, createReduceDash, installDashPeriods } from "../dash-cmaf/index.js";
|
|
4
3
|
import { createReduceDashLive } from "../dash-live/index.js";
|
|
4
|
+
import { registerLiveNamespace } from "../live-shared.js";
|
|
5
5
|
// src/protocols/dash-ll/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* Low-latency DASH (DASH-IF IOP low-latency modes, ISO/IEC 23009-1 Annex
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { scheduled, tickAfter } from "../../kernel/effects.js";
|
|
3
2
|
import { normalizeMimeType } from "../../kernel/mime.js";
|
|
4
3
|
import { activeRenditions } from "../../kernel/rendition-select.js";
|
|
5
4
|
import { manifestFact } from "../adapter-shared.js";
|
|
6
5
|
import { parse, parseMediaPlaylist, refreshFor } from "./parse.js";
|
|
7
6
|
import { LOAD_FAILED, readmitMessage, unavailableMessages } from "./unavailable.js";
|
|
7
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
8
8
|
// src/protocols/hls-cmaf/index.ts
|
|
9
9
|
/**
|
|
10
10
|
* The hls-cmaf protocol adapter as a stage. Inert module: exports a
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { base64ToBytes, byteToHex, bytesToHex } from "../../kernel/base64.js";
|
|
3
2
|
import { resolveUrl } from "../../kernel/url.js";
|
|
4
3
|
import { manifestError } from "../adapter-shared.js";
|
|
5
4
|
import { dimensions } from "../dimensions.js";
|
|
6
5
|
import { lex } from "./lexer.js";
|
|
6
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
7
7
|
// src/protocols/hls-cmaf/parse.ts
|
|
8
8
|
/**
|
|
9
9
|
* m3u8 into the IR. Pure: no fetching, no state, no side effects. URLs are
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { isTrick } from "../../kernel/presentation.js";
|
|
3
2
|
import { withDeadGroups } from "../../kernel/rendition-select.js";
|
|
3
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
// src/protocols/hls-cmaf/unavailable.ts
|
|
5
5
|
/**
|
|
6
6
|
* What a playlist that cannot be used means for playback. Pure; shared by
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { scheduled, tickAfter } from "../../kernel/effects.js";
|
|
3
2
|
import { findRendition } from "../../kernel/presentation.js";
|
|
4
3
|
import { activeRenditions } from "../../kernel/rendition-select.js";
|
|
5
4
|
import { parseMediaPlaylist, refreshFor } from "../hls-cmaf/parse.js";
|
|
6
5
|
import { RELOAD_FAILED, readmitMessage, unavailableMessages } from "../hls-cmaf/unavailable.js";
|
|
7
6
|
import { registerLiveNamespace } from "../live-shared.js";
|
|
7
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
8
8
|
// src/protocols/hls-live/index.ts
|
|
9
9
|
/**
|
|
10
10
|
* HLS live: the edge is read, never computed. A slice reducer reloads the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MANIFEST_TYPES, createReduceHls } from "../hls-cmaf/index.js";
|
|
2
|
-
import { registerLiveNamespace } from "../live-shared.js";
|
|
3
2
|
import { createReduceHlsLive } from "../hls-live/index.js";
|
|
3
|
+
import { registerLiveNamespace } from "../live-shared.js";
|
|
4
4
|
import { nextReload, parseLowLatency, reportsOf } from "./parse.js";
|
|
5
5
|
// src/protocols/hls-ll/index.ts
|
|
6
6
|
/** The stage factory. It provides `hls-cmaf` and `hls-live`, so stages that require either compose with it. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { resolveUrl } from "../../kernel/url.js";
|
|
3
2
|
import { manifestError } from "../adapter-shared.js";
|
|
4
3
|
import { lex } from "../hls-cmaf/lexer.js";
|
|
5
4
|
import { parseByteRange, parseMediaLines } from "../hls-cmaf/parse.js";
|
|
5
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
6
6
|
// src/protocols/hls-ll/parse.ts
|
|
7
7
|
/**
|
|
8
8
|
* Low-latency HLS media playlists (RFC 8216bis §4.4.3.7, §4.4.3.8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { scheduled } from "../../kernel/effects.js";
|
|
3
2
|
import { findRendition, isTrick } from "../../kernel/presentation.js";
|
|
4
3
|
import { canSwitchTo } from "../../kernel/rendition-select.js";
|
|
4
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
5
5
|
// src/stages/abr/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* Adaptive bitrate as a stage, not kernel. It registers one chooser
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
|
|
2
1
|
import { findRendition } from "../../kernel/presentation.js";
|
|
2
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/asyncToGenerator.js";
|
|
3
3
|
// src/stages/aes-128/index.ts
|
|
4
4
|
/**
|
|
5
5
|
* aes-128 as a stage: full-segment AES-CBC decryption for HLS EXT-X-KEY
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
|
-
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
|
|
3
1
|
import { findTrackSite } from "../../kernel/presentation.js";
|
|
4
2
|
import { chaptersFromInput, parseAppleChapters, parseChapterTrack } from "./parse.js";
|
|
3
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
4
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/asyncToGenerator.js";
|
|
5
5
|
// src/stages/chapters/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* Chapters: named spans of the presentation, answered through
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
|
-
import _objectWithoutProperties from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectWithoutProperties.js";
|
|
3
1
|
import { parseVtt } from "../../containers/webvtt.js";
|
|
4
2
|
import { resolveUrl } from "../../kernel/url.js";
|
|
3
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
4
|
+
import _objectWithoutProperties from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectWithoutProperties.js";
|
|
5
5
|
// src/stages/chapters/parse.ts
|
|
6
6
|
/**
|
|
7
7
|
* Chapter files into one record shape. Pure. A WebVTT file serves two
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { bytesToHex } from "../../kernel/base64.js";
|
|
1
2
|
import { findRendition } from "../../kernel/presentation.js";
|
|
2
3
|
import { segmentAt } from "../../kernel/timeline.js";
|
|
3
|
-
import { bytesToHex } from "../../kernel/base64.js";
|
|
4
4
|
// src/stages/cmcd/index.ts
|
|
5
5
|
/**
|
|
6
6
|
* Common Media Client Data (CTA-5004). The engine already exposes the seam
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
|
-
import { findRendition } from "../../kernel/presentation.js";
|
|
3
1
|
import { codecMismatch, probeInitSegment } from "../../containers/codec-probe/index.js";
|
|
2
|
+
import { findRendition } from "../../kernel/presentation.js";
|
|
3
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
// src/stages/codec-probe/index.ts
|
|
5
5
|
/**
|
|
6
6
|
* codec-probe as a loadable stage. The derivation itself lives in the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { scheduled, tickAfter } from "../../kernel/effects.js";
|
|
2
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
// src/stages/content-steering/index.ts
|
|
4
4
|
/**
|
|
5
5
|
* Content steering: pathway switching from a steering manifest, plus
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
|
-
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
|
|
3
1
|
import { bytesToBase64 } from "../../kernel/base64.js";
|
|
4
2
|
import { keySystemHandlers, normalizeSystemId } from "../drm-shared.js";
|
|
3
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
4
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/asyncToGenerator.js";
|
|
5
5
|
// src/stages/eme-core/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* The generic EME handshake, entanglement #3 resolved: DRM lands without
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { base64ToBytes, bytesToBase64 } from "../../kernel/base64.js";
|
|
3
2
|
import { registerKeySystem } from "../drm-shared.js";
|
|
3
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
// src/stages/eme-fairplay/index.ts
|
|
5
5
|
/**
|
|
6
6
|
* FairPlay Streaming: the non-standard SPC/CKC flow. Safari only, and it
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/asyncToGenerator.js";
|
|
2
2
|
// src/stages/hdr/index.ts
|
|
3
3
|
const SOURCE = "hdr";
|
|
4
4
|
/** The display's answer, or null when the browser does not know `dynamic-range`. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { scte35Summary } from "../../containers/scte35.js";
|
|
3
2
|
import { resolveUrl } from "../../kernel/url.js";
|
|
3
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
// src/stages/interstitials/breaks.ts
|
|
5
5
|
/**
|
|
6
6
|
* Breaks from what the stream signals, as plain data. HLS interstitials
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
|
-
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
|
|
3
|
-
import { findBox, trackTimescales } from "../../containers/mp4-box/index.js";
|
|
4
1
|
import { placeEmsg } from "../../containers/emsg.js";
|
|
2
|
+
import { findBox, trackTimescales } from "../../containers/mp4-box/index.js";
|
|
5
3
|
import { bytesToBase64 } from "../../kernel/base64.js";
|
|
6
4
|
import { assetsOf, breaksOf, fromEvent } from "./breaks.js";
|
|
5
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
6
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/asyncToGenerator.js";
|
|
7
7
|
// src/stages/interstitials/index.ts
|
|
8
8
|
/**
|
|
9
9
|
* Plays breaks: HLS interstitials, DASH alternative MPD events, and the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { findBox, findBoxes, fourcc, fragmentSamples, sampleEntries, trackInfo, trexDefaults } from "../../containers/mp4-box/index.js";
|
|
2
1
|
import { captionsWanted, deliverCaptions } from "../../containers/captions.js";
|
|
2
|
+
import { findBox, findBoxes, fourcc, fragmentSamples, sampleEntries, trackInfo, trexDefaults } from "../../containers/mp4-box/index.js";
|
|
3
3
|
import { ccTriplesFromSei } from "../../containers/sei.js";
|
|
4
4
|
// src/stages/nal-scan/index.ts
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { scheduled, tickAfter } from "../../kernel/effects.js";
|
|
3
2
|
import { findRendition, findTrackSite } from "../../kernel/presentation.js";
|
|
4
3
|
import { segmentAt as segmentAt$1, segmentAtTime } from "../../kernel/timeline.js";
|
|
4
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
5
5
|
// src/stages/recovery/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* Recovery as a stage: the kernel keeps its circuit breakers as the last
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
// src/stages/rendition-names/index.ts
|
|
3
3
|
const DATA_ID = "_hls.localized-rendition-names";
|
|
4
4
|
const FETCH_TOKEN = "rendition-names:dictionary";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _defineProperty from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _defineProperty from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/defineProperty.js";
|
|
2
2
|
// src/stages/text-cea608/decode.ts
|
|
3
3
|
const ROWS = 15;
|
|
4
4
|
/** The basic CEA-608 character set: ASCII with a handful of substitutions. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _defineProperty from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/defineProperty.js";
|
|
2
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
3
1
|
import { escapeCueText } from "../../containers/webvtt.js";
|
|
2
|
+
import _defineProperty from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/defineProperty.js";
|
|
3
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
// src/stages/text-cea708/decode.ts
|
|
5
5
|
/**
|
|
6
6
|
* A CEA-708 caption decoder (CTA-708-E): DTVCC packets to cue text per
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { registerCaptionConsumer } from "../../containers/captions.js";
|
|
3
2
|
import { inbandCaptions, vttCue } from "../../kernel/sinks/caption-tracks.js";
|
|
4
3
|
import { Dtvcc } from "./decode.js";
|
|
4
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
5
5
|
// src/stages/text-cea708/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* CEA-708 in-band captions as a stage. It registers a caption consumer
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
|
-
import { findRendition } from "../../kernel/presentation.js";
|
|
3
|
-
import { segmentAt } from "../../kernel/timeline.js";
|
|
4
1
|
import { timedSamples, trackTimescales } from "../../containers/mp4-box/index.js";
|
|
2
|
+
import { findRendition } from "../../kernel/presentation.js";
|
|
5
3
|
import { joinTextSink } from "../../kernel/sinks/text-formats.js";
|
|
4
|
+
import { segmentAt } from "../../kernel/timeline.js";
|
|
6
5
|
import { showImages } from "./images.js";
|
|
7
6
|
import { parseTtml } from "./parse.js";
|
|
7
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
8
8
|
// src/stages/text-ttml/index.ts
|
|
9
9
|
/**
|
|
10
10
|
* TTML subtitles as a stage, for the IMSC1 Text Profile and EBU-TT-D. It
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
1
|
import { escapeCueText } from "../../containers/webvtt.js";
|
|
2
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
// src/stages/text-ttml/parse.ts
|
|
4
4
|
/**
|
|
5
5
|
* TTML to cues, for the IMSC1 Text Profile (W3C IMSC 1.0.1 to 1.2), which
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { parseVtt } from "../../containers/webvtt.js";
|
|
1
2
|
import { scheduled } from "../../kernel/effects.js";
|
|
2
|
-
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
|
|
3
3
|
import { isIndexed, segmentAt, segmentAtTime } from "../../kernel/timeline.js";
|
|
4
|
-
import { parseVtt } from "../../containers/webvtt.js";
|
|
5
4
|
import { resolveUrl } from "../../kernel/url.js";
|
|
5
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/asyncToGenerator.js";
|
|
6
6
|
// src/stages/thumbnails/index.ts
|
|
7
7
|
/**
|
|
8
8
|
* Thumbnails: the trick-play images a scrubbing UI shows, answered through
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
|
|
2
|
-
import { findBox, trackTimescales } from "../../containers/mp4-box/index.js";
|
|
3
1
|
import { placeEmsg } from "../../containers/emsg.js";
|
|
4
2
|
import { id3Frames } from "../../containers/id3.js";
|
|
5
3
|
import { registerMetadataConsumer } from "../../containers/metadata.js";
|
|
4
|
+
import { findBox, trackTimescales } from "../../containers/mp4-box/index.js";
|
|
6
5
|
import { scte35Summary } from "../../containers/scte35.js";
|
|
7
6
|
import { bytesToHex } from "../../kernel/base64.js";
|
|
8
7
|
import { adoptTextTrack, emptyTextTrack } from "../../kernel/sinks/text-track-sink.js";
|
|
8
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.157.0/helpers/esm/objectSpread2.js";
|
|
9
9
|
// src/stages/timed-metadata/index.ts
|
|
10
10
|
/**
|
|
11
11
|
* Timed metadata from every source in one list, one API, and one native
|