mattebox 0.2.1 → 0.2.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/dist/cdn/mattebox.dash-drm.min.js +1 -1
- package/dist/cdn/mattebox.dash.min.js +1 -1
- package/dist/cdn/mattebox.dual-drm.min.js +1 -1
- 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 +1 -1
- package/dist/cdn/mattebox.hls-drm.min.js +1 -1
- 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 +1 -1
- package/dist/cdn/mattebox.kernel.min.js +1 -1
- package/dist/cdn/mattebox.min.js +3 -3
- package/dist/containers/ts-transmux/index.d.ts +0 -13
- package/dist/containers/ts-transmux/index.d.ts.map +1 -1
- package/dist/containers/ts-transmux/index.js +24 -1
- package/dist/containers/ts-transmux/index.js.map +1 -1
- package/dist/containers/ts-transmux/runner.d.ts +2 -2
- package/dist/containers/ts-transmux/runner.d.ts.map +1 -1
- package/dist/containers/ts-transmux/runner.js +9 -8
- package/dist/containers/ts-transmux/runner.js.map +1 -1
- package/dist/containers/ts-transmux/transmux.d.ts +10 -1
- package/dist/containers/ts-transmux/transmux.d.ts.map +1 -1
- package/dist/containers/ts-transmux/transmux.js +13 -5
- package/dist/containers/ts-transmux/transmux.js.map +1 -1
- package/dist/containers/ts-transmux/transmux.worker.js +16 -6
- package/dist/containers/ts-transmux/transmux.worker.js.map +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/asyncToGenerator.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/defineProperty.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectSpread2.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectWithoutProperties.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/toPrimitive.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/toPropertyKey.js +1 -1
- package/dist/es2015/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/typeof.js +1 -1
- package/dist/es2015/containers/id3.js +1 -1
- package/dist/es2015/containers/ts-transmux/h264.js +1 -1
- package/dist/es2015/containers/ts-transmux/index.js +22 -2
- package/dist/es2015/containers/ts-transmux/runner.js +12 -9
- package/dist/es2015/containers/ts-transmux/transmux.js +10 -6
- package/dist/es2015/containers/ts-transmux/transmux.worker.js +6 -4
- package/dist/es2015/index.js +2 -2
- package/dist/es2015/kernel/append-queue.js +1 -1
- package/dist/es2015/kernel/mse.js +2 -2
- package/dist/es2015/kernel/reducer.js +2 -2
- package/dist/es2015/kernel/rendition-select.js +1 -1
- package/dist/es2015/kernel/scheduler.js +1 -1
- package/dist/es2015/kernel/transport.js +2 -2
- package/dist/es2015/presets/define.js +2 -2
- package/dist/es2015/protocols/dash-cmaf/index.js +1 -1
- package/dist/es2015/protocols/dash-cmaf/parse.js +1 -1
- package/dist/es2015/protocols/dash-live/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-live/index.js +1 -1
- package/dist/es2015/stages/abr/index.js +1 -1
- package/dist/es2015/stages/abr-persist/index.js +1 -1
- package/dist/es2015/stages/aes-128/index.js +1 -1
- 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/recovery/index.js +1 -1
- package/dist/es2015/stages/text-cea608/decode.js +1 -1
- package/dist/es2015/stages/text-webvtt/parse.js +1 -1
- package/dist/es2015/stages/thumbnails/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
//#region src/kernel/append-queue.ts
|
|
3
3
|
function isQuotaError(err) {
|
|
4
4
|
return err instanceof DOMException && err.name === "QuotaExceededError";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { createAppendQueue } from "./append-queue.js";
|
|
3
3
|
import { createEvictor } from "./evictor.js";
|
|
4
|
-
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.
|
|
4
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/asyncToGenerator.js";
|
|
5
5
|
//#region src/kernel/mse.ts
|
|
6
6
|
function managedMediaSource() {
|
|
7
7
|
return globalThis.ManagedMediaSource;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { normalizeMimeType } from "./mime.js";
|
|
2
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { bufferedEndFrom, schedule } from "./scheduler.js";
|
|
4
4
|
import { canSwitchTo, codecFamily, createArbiter, planPinApply } from "./rendition-select.js";
|
|
5
5
|
import { sbIdFor } from "./sinks/mse-sink.js";
|
|
6
|
-
import _objectWithoutProperties from "../_virtual/_@oxc-project_runtime@0.
|
|
6
|
+
import _objectWithoutProperties from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectWithoutProperties.js";
|
|
7
7
|
//#region src/kernel/reducer.ts
|
|
8
8
|
const _excluded = ["repeat"];
|
|
9
9
|
const _excluded2 = ["initFor"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { segmentAtTime } from "./timeline.js";
|
|
3
3
|
import { bufferedEndFrom } from "./scheduler.js";
|
|
4
4
|
//#region src/kernel/rendition-select.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { buildEpochs, epochForSeq, segmentAtTime, timestampOffsetFor } from "./timeline.js";
|
|
3
3
|
//#region src/kernel/scheduler.ts
|
|
4
4
|
const DEFAULT_GAP_TOLERANCE = .25;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
|
+
import _asyncToGenerator from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/asyncToGenerator.js";
|
|
3
3
|
//#region src/kernel/transport.ts
|
|
4
4
|
const DEFAULT_RETRY_POLICY = {
|
|
5
5
|
maxAttempts: 3,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import _objectWithoutProperties from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
|
+
import _objectWithoutProperties from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectWithoutProperties.js";
|
|
3
3
|
import { mattebox } from "../index.js";
|
|
4
4
|
//#region src/presets/define.ts
|
|
5
5
|
const _excluded = ["stages", "without"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { normalizeMimeType } from "../../kernel/mime.js";
|
|
2
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { mergeSidx, parse, sidxToSegments } from "./parse.js";
|
|
4
4
|
//#region src/protocols/dash-cmaf/index.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { findBox, parseSidx } from "../../containers/mp4-box/index.js";
|
|
3
3
|
//#region src/protocols/dash-cmaf/parse.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { registerLiveNamespace } from "../live-shared.js";
|
|
3
3
|
import { parse } from "../dash-cmaf/parse.js";
|
|
4
4
|
//#region src/protocols/dash-live/index.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { normalizeMimeType } from "../../kernel/mime.js";
|
|
2
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { mergePlaylist, parse, parseMediaPlaylist } from "./parse.js";
|
|
4
4
|
//#region src/protocols/hls-cmaf/index.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { lex } from "./lexer.js";
|
|
3
3
|
//#region src/protocols/hls-cmaf/parse.ts
|
|
4
4
|
function manifestError(reason) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { mergePlaylist, parseMediaPlaylist } from "../hls-cmaf/parse.js";
|
|
3
3
|
import { registerLiveNamespace } from "../live-shared.js";
|
|
4
4
|
//#region src/protocols/hls-live/index.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { canSwitchTo } from "../../kernel/rendition-select.js";
|
|
3
3
|
//#region src/stages/abr/index.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
//#region src/stages/abr-persist/index.ts
|
|
3
3
|
const INITIAL = {
|
|
4
4
|
seeded: false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/asyncToGenerator.js";
|
|
2
2
|
//#region src/stages/aes-128/index.ts
|
|
3
3
|
/** Before the transmux (100) and the codec probe (5), which must read clear bytes. */
|
|
4
4
|
const DECRYPT_ORDER = 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
//#region src/stages/content-steering/index.ts
|
|
3
3
|
const MANIFEST_TOKEN = "steering:manifest";
|
|
4
4
|
const RELOAD_TOKEN = "steering:reload";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/asyncToGenerator.js";
|
|
3
3
|
import { keySystemHandlers, normalizeSystemId } from "../drm-shared.js";
|
|
4
4
|
//#region src/stages/eme-core/index.ts
|
|
5
5
|
const CLEARKEY = "org.w3.clearkey";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
import { registerKeySystem } from "../drm-shared.js";
|
|
3
3
|
//#region src/stages/eme-fairplay/index.ts
|
|
4
4
|
const FAIRPLAY_SYSTEM_ID = "94ce86fb-07ff-4f43-adb8-93d2fa968ca2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
//#region src/stages/recovery/index.ts
|
|
3
3
|
const DEFAULTS = {
|
|
4
4
|
excludeAfter: 2,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _defineProperty from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _defineProperty from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/defineProperty.js";
|
|
2
2
|
//#region 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,4 +1,4 @@
|
|
|
1
|
-
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/objectSpread2.js";
|
|
2
2
|
//#region src/stages/text-webvtt/parse.ts
|
|
3
3
|
/** `HH:MM:SS.mmm` or `MM:SS.mmm` to seconds, or null. */
|
|
4
4
|
function parseTimestamp(text) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/asyncToGenerator.js";
|
|
2
2
|
//#region src/stages/thumbnails/index.ts
|
|
3
3
|
function timestamp(text) {
|
|
4
4
|
const parts = text.trim().split(":").map(Number);
|