mattebox 0.17.0 → 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 +4 -4
- 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 +12 -11
- 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 +34 -9
- 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/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- 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 +33 -2
- 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/dist/types/kernel.d.ts +5 -0
- package/dist/types/kernel.d.ts.map +1 -1
- 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
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* The `hls-drm` preset: `hls` plus the EME stages, for protected HLS.
|
|
3
3
|
*/
|
|
4
4
|
import { definePreset } from '../define.js';
|
|
5
|
-
import { base
|
|
5
|
+
import { base } from '../tiers/base.js';
|
|
6
|
+
import { drmTier } from '../tiers/drm.js';
|
|
7
|
+
import { hlsLine } from '../tiers/hls.js';
|
|
6
8
|
const preset = definePreset('hls-drm', () => [...hlsLine(), ...base(), ...drmTier()]);
|
|
7
9
|
export default preset;
|
|
8
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presets/hls-drm/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presets/hls-drm/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,MAAM,MAAM,GAAG,YAAY,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,OAAO,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC,CAAC;AACtF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presets/hls-ll/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presets/hls-ll/index.ts"],"names":[],"mappings":"AASA,QAAA,MAAM,MAAM,6BAAiF,CAAC;AAC9F,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
* live catch-up, the base. A stream without parts plays as in `hls`.
|
|
4
4
|
*/
|
|
5
5
|
import { definePreset } from '../define.js';
|
|
6
|
-
import { base
|
|
6
|
+
import { base } from '../tiers/base.js';
|
|
7
|
+
import { hlsLlLine } from '../tiers/hls-ll.js';
|
|
8
|
+
import { lowLatencyTier } from '../tiers/low-latency.js';
|
|
7
9
|
const preset = definePreset('hls-ll', () => [...hlsLlLine(), ...lowLatencyTier(), ...base()]);
|
|
8
10
|
export default preset;
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presets/hls-ll/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presets/hls-ll/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,MAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,SAAS,EAAE,EAAE,GAAG,cAAc,EAAE,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC;AAC9F,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presets/hls-ts/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presets/hls-ts/index.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,MAAM,6BAAuE,CAAC;AACpF,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* The `hls-ts` preset: `hls` plus the MPEG-TS family, for a backend that still emits transport streams.
|
|
3
3
|
*/
|
|
4
4
|
import { definePreset } from '../define.js';
|
|
5
|
-
import { base
|
|
5
|
+
import { base } from '../tiers/base.js';
|
|
6
|
+
import { hlsLine } from '../tiers/hls.js';
|
|
7
|
+
import { tsTier } from '../tiers/ts.js';
|
|
6
8
|
const preset = definePreset('hls-ts', () => [...hlsLine(), ...base(), ...tsTier()]);
|
|
7
9
|
export default preset;
|
|
8
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presets/hls-ts/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presets/hls-ts/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,MAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,OAAO,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC;AACpF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presets/hls-ts-drm/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/presets/hls-ts-drm/index.ts"],"names":[],"mappings":"AASA,QAAA,MAAM,MAAM,6BAKV,CAAC;AACH,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
* The `hls-ts-drm` preset: `hls-ts` plus the EME stages.
|
|
3
3
|
*/
|
|
4
4
|
import { definePreset } from '../define.js';
|
|
5
|
-
import { base
|
|
5
|
+
import { base } from '../tiers/base.js';
|
|
6
|
+
import { drmTier } from '../tiers/drm.js';
|
|
7
|
+
import { hlsLine } from '../tiers/hls.js';
|
|
8
|
+
import { tsTier } from '../tiers/ts.js';
|
|
6
9
|
const preset = definePreset('hls-ts-drm', () => [
|
|
7
10
|
...hlsLine(),
|
|
8
11
|
...base(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presets/hls-ts-drm/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/presets/hls-ts-drm/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,MAAM,MAAM,GAAG,YAAY,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC;IAC9C,GAAG,OAAO,EAAE;IACZ,GAAG,IAAI,EAAE;IACT,GAAG,MAAM,EAAE;IACX,GAAG,OAAO,EAAE;CACb,CAAC,CAAC;AACH,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Stage } from '../../types/stage.js';
|
|
2
|
+
/**
|
|
3
|
+
* What every preset carries: adaptive quality with a size cap, recovery, content steering (inert until a manifest asks for it),
|
|
4
|
+
* alternate audio with codec switching, WebVTT subtitles, CMAF timing (reads
|
|
5
|
+
* each segment's decode time so the kernel lands it at its playlist time,
|
|
6
|
+
* whatever clock the packager wrote), program date time from either
|
|
7
|
+
* protocol's anchor, the codec probe (types a SourceBuffer whose playlist
|
|
8
|
+
* declares no codecs, which Chrome otherwise refuses), and CEA-608 captions
|
|
9
|
+
* from fMP4 video. The caption scan costs per NAL unit, not per byte, and
|
|
10
|
+
* only when a segment has H.264 or HEVC.
|
|
11
|
+
*/
|
|
12
|
+
export declare function base(): Stage[];
|
|
13
|
+
//# sourceMappingURL=base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/presets/tiers/base.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;;;;;;GASG;AACH,wBAAgB,IAAI,IAAI,KAAK,EAAE,CAkB9B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
3
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
4
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
5
|
+
* a function so a preset gets fresh stage instances.
|
|
6
|
+
*/
|
|
7
|
+
import abr from '../../stages/abr/index.js';
|
|
8
|
+
import abrCapSize from '../../stages/abr-cap-size/index.js';
|
|
9
|
+
import altAudio from '../../stages/alt-audio/index.js';
|
|
10
|
+
import cmafTiming from '../../stages/cmaf-timing/index.js';
|
|
11
|
+
import codecProbe from '../../stages/codec-probe/index.js';
|
|
12
|
+
import codecSwitch from '../../stages/codec-switch/index.js';
|
|
13
|
+
import contentSteering from '../../stages/content-steering/index.js';
|
|
14
|
+
import forcedSubtitles from '../../stages/forced-subtitles/index.js';
|
|
15
|
+
import mp4Box from '../../stages/mp4-box/index.js';
|
|
16
|
+
import nalScan from '../../stages/nal-scan/index.js';
|
|
17
|
+
import pdt from '../../stages/pdt/index.js';
|
|
18
|
+
import recovery from '../../stages/recovery/index.js';
|
|
19
|
+
import textCea608 from '../../stages/text-cea608/index.js';
|
|
20
|
+
import textWebvtt from '../../stages/text-webvtt/index.js';
|
|
21
|
+
import textWebvttSegmented from '../../stages/text-webvtt-segmented/index.js';
|
|
22
|
+
/**
|
|
23
|
+
* What every preset carries: adaptive quality with a size cap, recovery, content steering (inert until a manifest asks for it),
|
|
24
|
+
* alternate audio with codec switching, WebVTT subtitles, CMAF timing (reads
|
|
25
|
+
* each segment's decode time so the kernel lands it at its playlist time,
|
|
26
|
+
* whatever clock the packager wrote), program date time from either
|
|
27
|
+
* protocol's anchor, the codec probe (types a SourceBuffer whose playlist
|
|
28
|
+
* declares no codecs, which Chrome otherwise refuses), and CEA-608 captions
|
|
29
|
+
* from fMP4 video. The caption scan costs per NAL unit, not per byte, and
|
|
30
|
+
* only when a segment has H.264 or HEVC.
|
|
31
|
+
*/
|
|
32
|
+
export function base() {
|
|
33
|
+
return [
|
|
34
|
+
abr(),
|
|
35
|
+
abrCapSize(),
|
|
36
|
+
recovery(),
|
|
37
|
+
contentSteering(),
|
|
38
|
+
codecSwitch(),
|
|
39
|
+
altAudio(),
|
|
40
|
+
textWebvtt(),
|
|
41
|
+
textWebvttSegmented(),
|
|
42
|
+
forcedSubtitles(),
|
|
43
|
+
cmafTiming(),
|
|
44
|
+
pdt(),
|
|
45
|
+
mp4Box(),
|
|
46
|
+
codecProbe(),
|
|
47
|
+
nalScan(),
|
|
48
|
+
textCea608(),
|
|
49
|
+
];
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/presets/tiers/base.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,GAAG,MAAM,2BAA2B,CAAC;AAC5C,OAAO,UAAU,MAAM,oCAAoC,CAAC;AAC5D,OAAO,QAAQ,MAAM,iCAAiC,CAAC;AACvD,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAC3D,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAC3D,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAC7D,OAAO,eAAe,MAAM,wCAAwC,CAAC;AACrE,OAAO,eAAe,MAAM,wCAAwC,CAAC;AACrE,OAAO,MAAM,MAAM,+BAA+B,CAAC;AACnD,OAAO,OAAO,MAAM,gCAAgC,CAAC;AACrD,OAAO,GAAG,MAAM,2BAA2B,CAAC;AAC5C,OAAO,QAAQ,MAAM,gCAAgC,CAAC;AACtD,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAC3D,OAAO,UAAU,MAAM,mCAAmC,CAAC;AAC3D,OAAO,mBAAmB,MAAM,6CAA6C,CAAC;AAG9E;;;;;;;;;GASG;AACH,MAAM,UAAU,IAAI;IAClB,OAAO;QACL,GAAG,EAAE;QACL,UAAU,EAAE;QACZ,QAAQ,EAAE;QACV,eAAe,EAAE;QACjB,WAAW,EAAE;QACb,QAAQ,EAAE;QACV,UAAU,EAAE;QACZ,mBAAmB,EAAE;QACrB,eAAe,EAAE;QACjB,UAAU,EAAE;QACZ,GAAG,EAAE;QACL,MAAM,EAAE;QACR,UAAU,EAAE;QACZ,OAAO,EAAE;QACT,UAAU,EAAE;KACb,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Stage } from '../../types/stage.js';
|
|
2
|
+
/**
|
|
3
|
+
* Low-latency DASH: dash-ll in place of dash-cmaf and dash-live, which it
|
|
4
|
+
* contains. An MPD without low-latency signalling plays as the DASH line
|
|
5
|
+
* plays it.
|
|
6
|
+
*/
|
|
7
|
+
export declare function dashLlLine(): Stage[];
|
|
8
|
+
//# sourceMappingURL=dash-ll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dash-ll.d.ts","sourceRoot":"","sources":["../../../src/presets/tiers/dash-ll.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;GAIG;AACH,wBAAgB,UAAU,IAAI,KAAK,EAAE,CAEpC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
3
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
4
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
5
|
+
* a function so a preset gets fresh stage instances.
|
|
6
|
+
*/
|
|
7
|
+
import dashLl from '../../protocols/dash-ll/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Low-latency DASH: dash-ll in place of dash-cmaf and dash-live, which it
|
|
10
|
+
* contains. An MPD without low-latency signalling plays as the DASH line
|
|
11
|
+
* plays it.
|
|
12
|
+
*/
|
|
13
|
+
export function dashLlLine() {
|
|
14
|
+
return [dashLl()];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=dash-ll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dash-ll.js","sourceRoot":"","sources":["../../../src/presets/tiers/dash-ll.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,MAAM,MAAM,kCAAkC,CAAC;AAGtD;;;;GAIG;AACH,MAAM,UAAU,UAAU;IACxB,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;AACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dash.d.ts","sourceRoot":"","sources":["../../../src/presets/tiers/dash.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,+BAA+B;AAC/B,wBAAgB,QAAQ,IAAI,KAAK,EAAE,CAElC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
3
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
4
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
5
|
+
* a function so a preset gets fresh stage instances.
|
|
6
|
+
*/
|
|
7
|
+
import dashCmaf from '../../protocols/dash-cmaf/index.js';
|
|
8
|
+
import dashLive from '../../protocols/dash-live/index.js';
|
|
9
|
+
/** DASH on demand and live. */
|
|
10
|
+
export function dashLine() {
|
|
11
|
+
return [dashCmaf(), dashLive()];
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=dash.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dash.js","sourceRoot":"","sources":["../../../src/presets/tiers/dash.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,QAAQ,MAAM,oCAAoC,CAAC;AAC1D,OAAO,QAAQ,MAAM,oCAAoC,CAAC;AAG1D,+BAA+B;AAC/B,MAAM,UAAU,QAAQ;IACtB,OAAO,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drm.d.ts","sourceRoot":"","sources":["../../../src/presets/tiers/drm.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,gFAAgF;AAChF,wBAAgB,OAAO,IAAI,KAAK,EAAE,CAEjC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
3
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
4
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
5
|
+
* a function so a preset gets fresh stage instances.
|
|
6
|
+
*/
|
|
7
|
+
import emeCenc from '../../stages/eme-cenc/index.js';
|
|
8
|
+
import emeCore from '../../stages/eme-core/index.js';
|
|
9
|
+
import emeFairplay from '../../stages/eme-fairplay/index.js';
|
|
10
|
+
/** The EME stages: sessions, CENC (Widevine, PlayReady, ClearKey), FairPlay. */
|
|
11
|
+
export function drmTier() {
|
|
12
|
+
return [emeCore(), emeCenc(), emeFairplay()];
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=drm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drm.js","sourceRoot":"","sources":["../../../src/presets/tiers/drm.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,OAAO,MAAM,gCAAgC,CAAC;AACrD,OAAO,OAAO,MAAM,gCAAgC,CAAC;AACrD,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAG7D,gFAAgF;AAChF,MAAM,UAAU,OAAO;IACrB,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Stage } from '../../types/stage.js';
|
|
2
|
+
/**
|
|
3
|
+
* Low-latency HLS: hls-ll in place of hls-cmaf and hls-live, which it
|
|
4
|
+
* contains. A playlist without parts plays as the HLS line plays it.
|
|
5
|
+
*/
|
|
6
|
+
export declare function hlsLlLine(): Stage[];
|
|
7
|
+
//# sourceMappingURL=hls-ll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hls-ll.d.ts","sourceRoot":"","sources":["../../../src/presets/tiers/hls-ll.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;GAGG;AACH,wBAAgB,SAAS,IAAI,KAAK,EAAE,CAEnC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
3
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
4
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
5
|
+
* a function so a preset gets fresh stage instances.
|
|
6
|
+
*/
|
|
7
|
+
import hlsLl from '../../protocols/hls-ll/index.js';
|
|
8
|
+
import aes128 from '../../stages/aes-128/index.js';
|
|
9
|
+
/**
|
|
10
|
+
* Low-latency HLS: hls-ll in place of hls-cmaf and hls-live, which it
|
|
11
|
+
* contains. A playlist without parts plays as the HLS line plays it.
|
|
12
|
+
*/
|
|
13
|
+
export function hlsLlLine() {
|
|
14
|
+
return [hlsLl(), aes128()];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=hls-ll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hls-ll.js","sourceRoot":"","sources":["../../../src/presets/tiers/hls-ll.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,iCAAiC,CAAC;AACpD,OAAO,MAAM,MAAM,+BAA+B,CAAC;AAGnD;;;GAGG;AACH,MAAM,UAAU,SAAS;IACvB,OAAO,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;AAC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hls.d.ts","sourceRoot":"","sources":["../../../src/presets/tiers/hls.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,+DAA+D;AAC/D,wBAAgB,OAAO,IAAI,KAAK,EAAE,CAIjC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
3
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
4
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
5
|
+
* a function so a preset gets fresh stage instances.
|
|
6
|
+
*/
|
|
7
|
+
import hlsCmaf from '../../protocols/hls-cmaf/index.js';
|
|
8
|
+
import hlsLive from '../../protocols/hls-live/index.js';
|
|
9
|
+
import aes128 from '../../stages/aes-128/index.js';
|
|
10
|
+
/** HLS on demand and live, with AES-128 segment decryption. */
|
|
11
|
+
export function hlsLine() {
|
|
12
|
+
// AES-128 rides with HLS: full-segment keys are common enough on HLS, and
|
|
13
|
+
// the stage is a kilobyte, so no HLS deployment should meet one unprepared.
|
|
14
|
+
return [hlsCmaf(), hlsLive(), aes128()];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=hls.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hls.js","sourceRoot":"","sources":["../../../src/presets/tiers/hls.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,OAAO,MAAM,mCAAmC,CAAC;AACxD,OAAO,OAAO,MAAM,mCAAmC,CAAC;AACxD,OAAO,MAAM,MAAM,+BAA+B,CAAC;AAGnD,+DAA+D;AAC/D,MAAM,UAAU,OAAO;IACrB,0EAA0E;IAC1E,4EAA4E;IAC5E,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;AAC1C,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Stage } from '../../types/stage.js';
|
|
2
|
+
/**
|
|
3
|
+
* What a low-latency line needs beside it: the catch-up that holds the
|
|
4
|
+
* latency. It holds any live stream at its hold-back.
|
|
5
|
+
*/
|
|
6
|
+
export declare function lowLatencyTier(): Stage[];
|
|
7
|
+
//# sourceMappingURL=low-latency.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"low-latency.d.ts","sourceRoot":"","sources":["../../../src/presets/tiers/low-latency.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;GAGG;AACH,wBAAgB,cAAc,IAAI,KAAK,EAAE,CAExC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
3
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
4
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
5
|
+
* a function so a preset gets fresh stage instances.
|
|
6
|
+
*/
|
|
7
|
+
import liveCatchup from '../../stages/live-catchup/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* What a low-latency line needs beside it: the catch-up that holds the
|
|
10
|
+
* latency. It holds any live stream at its hold-back.
|
|
11
|
+
*/
|
|
12
|
+
export function lowLatencyTier() {
|
|
13
|
+
return [liveCatchup()];
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=low-latency.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"low-latency.js","sourceRoot":"","sources":["../../../src/presets/tiers/low-latency.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAG7D;;;GAGG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;AACzB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Stage } from '../../types/stage.js';
|
|
2
|
+
/**
|
|
3
|
+
* Legacy MPEG-TS: the transmuxer and packed audio, plus ID3 metadata, which
|
|
4
|
+
* rides on the transport stream. The transmuxer is also a caption source for
|
|
5
|
+
* the base's text-cea608, next to nal-scan.
|
|
6
|
+
*/
|
|
7
|
+
export declare function tsTier(): Stage[];
|
|
8
|
+
//# sourceMappingURL=ts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../src/presets/tiers/ts.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;GAIG;AACH,wBAAgB,MAAM,IAAI,KAAK,EAAE,CAEhC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One group of the preset matrix. Each group is its own module so a preset
|
|
3
|
+
* imports only the groups it composes: a bundle that splits the presets into
|
|
4
|
+
* lazy chunks then gives each preset its stages and no others. Each group is
|
|
5
|
+
* a function so a preset gets fresh stage instances.
|
|
6
|
+
*/
|
|
7
|
+
import packedAudio from '../../containers/packed-audio/index.js';
|
|
8
|
+
import tsTransmux from '../../containers/ts-transmux/index.js';
|
|
9
|
+
import metaId3 from '../../stages/meta-id3/index.js';
|
|
10
|
+
/**
|
|
11
|
+
* Legacy MPEG-TS: the transmuxer and packed audio, plus ID3 metadata, which
|
|
12
|
+
* rides on the transport stream. The transmuxer is also a caption source for
|
|
13
|
+
* the base's text-cea608, next to nal-scan.
|
|
14
|
+
*/
|
|
15
|
+
export function tsTier() {
|
|
16
|
+
return [tsTransmux(), packedAudio(), metaId3()];
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=ts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../src/presets/tiers/ts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,WAAW,MAAM,wCAAwC,CAAC;AACjE,OAAO,UAAU,MAAM,uCAAuC,CAAC;AAC/D,OAAO,OAAO,MAAM,gCAAgC,CAAC;AAGrD;;;;GAIG;AACH,MAAM,UAAU,MAAM;IACpB,OAAO,CAAC,UAAU,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;AAClD,CAAC"}
|
package/dist/types/kernel.d.ts
CHANGED
|
@@ -225,6 +225,11 @@ export interface KernelState {
|
|
|
225
225
|
readonly resolve?: ReadonlySet<RenditionId>;
|
|
226
226
|
/** Tracks added with ADD_TRACK, re-joined to every merged presentation. */
|
|
227
227
|
readonly added?: readonly Track[];
|
|
228
|
+
/**
|
|
229
|
+
* The video track an I-frame track stands in for while the I-frame track
|
|
230
|
+
* is active, for a scan or a scrub. The quality API keeps describing it.
|
|
231
|
+
*/
|
|
232
|
+
readonly behindTrick?: TrackId;
|
|
228
233
|
};
|
|
229
234
|
readonly quality: QualityState;
|
|
230
235
|
readonly stats: StatsState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kernel.d.ts","sourceRoot":"","sources":["../../src/types/kernel.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,WAAW,EACX,SAAS,EACT,kBAAkB,EAClB,KAAK,EACL,OAAO,EACR,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC,gFAAgF;AAChF,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC;AAE1B;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC3B,gEAAgE;IAChE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,qHAAqH;IACrH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,6FAA6F;IAC7F,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;;;;OAKG;IACH,QAAQ,CAAC,gBAAg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GAIG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,OAAO,IAAI,CACtC,KAAK,EAAE,CAAC,GAAG,SAAS,EACpB,GAAG,EAAE,OAAO,EACZ,MAAM,EAAE,QAAQ,CAAC,WAAW,CAAC,KAC1B,SAAS,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC;AAErC;;;;GAIG;AACH,MAAM,WAAW,GAAG;IAClB,QAAQ,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,2DAA2D;IAC3D,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,mFAAmF;IACnF,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG;IAAE,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,UAAU,EAAE,CAAA;CAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import _typeof from "./typeof.js";
|
|
2
|
-
// \0@oxc-project+runtime@0.155.0/helpers/esm/toPrimitive.js
|
|
3
|
-
function toPrimitive(t, r) {
|
|
4
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
5
|
-
var e = t[Symbol.toPrimitive];
|
|
6
|
-
if (void 0 !== e) {
|
|
7
|
-
var i = e.call(t, r || "default");
|
|
8
|
-
if ("object" != _typeof(i)) return i;
|
|
9
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
10
|
-
}
|
|
11
|
-
return ("string" === r ? String : Number)(t);
|
|
12
|
-
}
|
|
13
|
-
export { toPrimitive as default };
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import textWebvttSegmented from "../stages/text-webvtt-segmented/index.js";
|
|
2
|
-
import textWebvtt from "../stages/text-webvtt/index.js";
|
|
3
|
-
import textCea608 from "../stages/text-cea608/index.js";
|
|
4
|
-
import recovery from "../stages/recovery/index.js";
|
|
5
|
-
import pdt from "../stages/pdt/index.js";
|
|
6
|
-
import nalScan from "../stages/nal-scan/index.js";
|
|
7
|
-
import mp4Box from "../stages/mp4-box/index.js";
|
|
8
|
-
import metaId3 from "../stages/meta-id3/index.js";
|
|
9
|
-
import liveCatchup from "../stages/live-catchup/index.js";
|
|
10
|
-
import forcedSubtitles from "../stages/forced-subtitles/index.js";
|
|
11
|
-
import emeFairplay from "../stages/eme-fairplay/index.js";
|
|
12
|
-
import emeCore from "../stages/eme-core/index.js";
|
|
13
|
-
import emeCenc from "../stages/eme-cenc/index.js";
|
|
14
|
-
import contentSteering from "../stages/content-steering/index.js";
|
|
15
|
-
import codecSwitch from "../stages/codec-switch/index.js";
|
|
16
|
-
import codecProbe from "../stages/codec-probe/index.js";
|
|
17
|
-
import cmafTiming from "../stages/cmaf-timing/index.js";
|
|
18
|
-
import altAudio from "../stages/alt-audio/index.js";
|
|
19
|
-
import aes128 from "../stages/aes-128/index.js";
|
|
20
|
-
import abrCapSize from "../stages/abr-cap-size/index.js";
|
|
21
|
-
import abr from "../stages/abr/index.js";
|
|
22
|
-
import hlsCmaf from "../protocols/hls-cmaf/index.js";
|
|
23
|
-
import hlsLive from "../protocols/hls-live/index.js";
|
|
24
|
-
import hlsLl from "../protocols/hls-ll/index.js";
|
|
25
|
-
import dashCmaf from "../protocols/dash-cmaf/index.js";
|
|
26
|
-
import dashLive from "../protocols/dash-live/index.js";
|
|
27
|
-
import dashLl from "../protocols/dash-ll/index.js";
|
|
28
|
-
import packedAudio from "../containers/packed-audio/index.js";
|
|
29
|
-
import tsTransmux from "../containers/ts-transmux/index.js";
|
|
30
|
-
// src/presets/tiers.ts
|
|
31
|
-
/**
|
|
32
|
-
* The building blocks of the preset matrix. Three axes answer a technical
|
|
33
|
-
* requirement, each set by the packaging backend or the rights situation:
|
|
34
|
-
* the protocol line (HLS, DASH, both), the container tier (CMAF only, or
|
|
35
|
-
* legacy MPEG-TS as well, an HLS-side axis), and the DRM tier. Every preset
|
|
36
|
-
* carries the same base on top of its line. Each group is a function so a
|
|
37
|
-
* preset gets fresh stage instances, and a group a preset never calls
|
|
38
|
-
* tree-shakes out of it with the stages it imports.
|
|
39
|
-
*/
|
|
40
|
-
/** HLS on demand and live, with AES-128 segment decryption. */
|
|
41
|
-
function hlsLine() {
|
|
42
|
-
return [
|
|
43
|
-
hlsCmaf(),
|
|
44
|
-
hlsLive(),
|
|
45
|
-
aes128()
|
|
46
|
-
];
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Low-latency HLS: hls-ll in place of hls-cmaf and hls-live, which it
|
|
50
|
-
* contains. A playlist without parts plays as the HLS line plays it.
|
|
51
|
-
*/
|
|
52
|
-
function hlsLlLine() {
|
|
53
|
-
return [hlsLl(), aes128()];
|
|
54
|
-
}
|
|
55
|
-
/** DASH on demand and live. */
|
|
56
|
-
function dashLine() {
|
|
57
|
-
return [dashCmaf(), dashLive()];
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Low-latency DASH: dash-ll in place of dash-cmaf and dash-live, which it
|
|
61
|
-
* contains. An MPD without low-latency signalling plays as the DASH line
|
|
62
|
-
* plays it.
|
|
63
|
-
*/
|
|
64
|
-
function dashLlLine() {
|
|
65
|
-
return [dashLl()];
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* What a low-latency line needs beside it: the catch-up that holds the
|
|
69
|
-
* latency. It holds any live stream at its hold-back.
|
|
70
|
-
*/
|
|
71
|
-
function lowLatencyTier() {
|
|
72
|
-
return [liveCatchup()];
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* What every preset carries: adaptive quality with a size cap, recovery, content steering (inert until a manifest asks for it),
|
|
76
|
-
* alternate audio with codec switching, WebVTT subtitles, CMAF timing (reads
|
|
77
|
-
* each segment's decode time so the kernel lands it at its playlist time,
|
|
78
|
-
* whatever clock the packager wrote), program date time from either
|
|
79
|
-
* protocol's anchor, the codec probe (types a SourceBuffer whose playlist
|
|
80
|
-
* declares no codecs, which Chrome otherwise refuses), and CEA-608 captions
|
|
81
|
-
* from fMP4 video. The caption scan costs per NAL unit, not per byte, and
|
|
82
|
-
* only when a segment has H.264 or HEVC.
|
|
83
|
-
*/
|
|
84
|
-
function base() {
|
|
85
|
-
return [
|
|
86
|
-
abr(),
|
|
87
|
-
abrCapSize(),
|
|
88
|
-
recovery(),
|
|
89
|
-
contentSteering(),
|
|
90
|
-
codecSwitch(),
|
|
91
|
-
altAudio(),
|
|
92
|
-
textWebvtt(),
|
|
93
|
-
textWebvttSegmented(),
|
|
94
|
-
forcedSubtitles(),
|
|
95
|
-
cmafTiming(),
|
|
96
|
-
pdt(),
|
|
97
|
-
mp4Box(),
|
|
98
|
-
codecProbe(),
|
|
99
|
-
nalScan(),
|
|
100
|
-
textCea608()
|
|
101
|
-
];
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Legacy MPEG-TS: the transmuxer and packed audio, plus ID3 metadata, which
|
|
105
|
-
* rides on the transport stream. The transmuxer is also a caption source for
|
|
106
|
-
* the base's text-cea608, next to nal-scan.
|
|
107
|
-
*/
|
|
108
|
-
function tsTier() {
|
|
109
|
-
return [
|
|
110
|
-
tsTransmux(),
|
|
111
|
-
packedAudio(),
|
|
112
|
-
metaId3()
|
|
113
|
-
];
|
|
114
|
-
}
|
|
115
|
-
/** The EME stages: sessions, CENC (Widevine, PlayReady, ClearKey), FairPlay. */
|
|
116
|
-
function drmTier() {
|
|
117
|
-
return [
|
|
118
|
-
emeCore(),
|
|
119
|
-
emeCenc(),
|
|
120
|
-
emeFairplay()
|
|
121
|
-
];
|
|
122
|
-
}
|
|
123
|
-
export { base, dashLine, dashLlLine, drmTier, hlsLine, hlsLlLine, lowLatencyTier, tsTier };
|
package/dist/presets/tiers.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { Stage } from '../types/stage.js';
|
|
2
|
-
/** HLS on demand and live, with AES-128 segment decryption. */
|
|
3
|
-
export declare function hlsLine(): Stage[];
|
|
4
|
-
/**
|
|
5
|
-
* Low-latency HLS: hls-ll in place of hls-cmaf and hls-live, which it
|
|
6
|
-
* contains. A playlist without parts plays as the HLS line plays it.
|
|
7
|
-
*/
|
|
8
|
-
export declare function hlsLlLine(): Stage[];
|
|
9
|
-
/** DASH on demand and live. */
|
|
10
|
-
export declare function dashLine(): Stage[];
|
|
11
|
-
/**
|
|
12
|
-
* Low-latency DASH: dash-ll in place of dash-cmaf and dash-live, which it
|
|
13
|
-
* contains. An MPD without low-latency signalling plays as the DASH line
|
|
14
|
-
* plays it.
|
|
15
|
-
*/
|
|
16
|
-
export declare function dashLlLine(): Stage[];
|
|
17
|
-
/**
|
|
18
|
-
* What a low-latency line needs beside it: the catch-up that holds the
|
|
19
|
-
* latency. It holds any live stream at its hold-back.
|
|
20
|
-
*/
|
|
21
|
-
export declare function lowLatencyTier(): Stage[];
|
|
22
|
-
/**
|
|
23
|
-
* What every preset carries: adaptive quality with a size cap, recovery, content steering (inert until a manifest asks for it),
|
|
24
|
-
* alternate audio with codec switching, WebVTT subtitles, CMAF timing (reads
|
|
25
|
-
* each segment's decode time so the kernel lands it at its playlist time,
|
|
26
|
-
* whatever clock the packager wrote), program date time from either
|
|
27
|
-
* protocol's anchor, the codec probe (types a SourceBuffer whose playlist
|
|
28
|
-
* declares no codecs, which Chrome otherwise refuses), and CEA-608 captions
|
|
29
|
-
* from fMP4 video. The caption scan costs per NAL unit, not per byte, and
|
|
30
|
-
* only when a segment has H.264 or HEVC.
|
|
31
|
-
*/
|
|
32
|
-
export declare function base(): Stage[];
|
|
33
|
-
/**
|
|
34
|
-
* Legacy MPEG-TS: the transmuxer and packed audio, plus ID3 metadata, which
|
|
35
|
-
* rides on the transport stream. The transmuxer is also a caption source for
|
|
36
|
-
* the base's text-cea608, next to nal-scan.
|
|
37
|
-
*/
|
|
38
|
-
export declare function tsTier(): Stage[];
|
|
39
|
-
/** The EME stages: sessions, CENC (Widevine, PlayReady, ClearKey), FairPlay. */
|
|
40
|
-
export declare function drmTier(): Stage[];
|
|
41
|
-
//# sourceMappingURL=tiers.d.ts.map
|