wrapbox 0.0.1 → 0.0.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 +9 -1
- package/dist/index.es.js +100 -82
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,4 +84,12 @@ mp4file.onReady = (info) => {
|
|
|
84
84
|
|
|
85
85
|
## License
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
WrapBox is licensed under a two-tier system:
|
|
88
|
+
- **Free License**: For individuals, small teams (up to 3 employees), and non-profits.
|
|
89
|
+
- **Company License**: For organizations with more than 3 employees.
|
|
90
|
+
|
|
91
|
+
For detailed terms, see [LICENSE](https://github.com/designcombo/combo#license).
|
|
92
|
+
|
|
93
|
+
## Telemetry
|
|
94
|
+
|
|
95
|
+
To improve the library and monitor usage for licensing compliance, WrapBox includes anonymous telemetry. It sends a simple ping when the library is initialized and when video creation starts. No personal data or video content is ever transmitted.
|
package/dist/index.es.js
CHANGED
|
@@ -1501,13 +1501,13 @@ function ha(r) {
|
|
|
1501
1501
|
t[e] = r[e];
|
|
1502
1502
|
return String.fromCharCode.apply(void 0, t);
|
|
1503
1503
|
}
|
|
1504
|
-
var
|
|
1504
|
+
var wn = /* @__PURE__ */ new Date(), An = 4, ca = 3, da = 2, la = 1, j = An, d = {
|
|
1505
1505
|
setLogLevel(r) {
|
|
1506
1506
|
r === this.debug ? j = la : r === this.info ? j = da : r === this.warn ? j = ca : (this.error, j = An);
|
|
1507
1507
|
},
|
|
1508
1508
|
debug(r, t) {
|
|
1509
1509
|
console.debug === void 0 && (console.debug = console.log), la >= j && console.debug(
|
|
1510
|
-
"[" + d.getDurationString((/* @__PURE__ */ new Date()).getTime() -
|
|
1510
|
+
"[" + d.getDurationString((/* @__PURE__ */ new Date()).getTime() - wn.getTime(), 1e3) + "]",
|
|
1511
1511
|
"[" + r + "]",
|
|
1512
1512
|
t
|
|
1513
1513
|
);
|
|
@@ -1517,21 +1517,21 @@ var Sn = /* @__PURE__ */ new Date(), An = 4, ca = 3, da = 2, la = 1, j = An, d =
|
|
|
1517
1517
|
},
|
|
1518
1518
|
info(r, t) {
|
|
1519
1519
|
da >= j && console.info(
|
|
1520
|
-
"[" + d.getDurationString((/* @__PURE__ */ new Date()).getTime() -
|
|
1520
|
+
"[" + d.getDurationString((/* @__PURE__ */ new Date()).getTime() - wn.getTime(), 1e3) + "]",
|
|
1521
1521
|
"[" + r + "]",
|
|
1522
1522
|
t
|
|
1523
1523
|
);
|
|
1524
1524
|
},
|
|
1525
1525
|
warn(r, t) {
|
|
1526
1526
|
ca >= j && console.warn(
|
|
1527
|
-
"[" + d.getDurationString((/* @__PURE__ */ new Date()).getTime() -
|
|
1527
|
+
"[" + d.getDurationString((/* @__PURE__ */ new Date()).getTime() - wn.getTime(), 1e3) + "]",
|
|
1528
1528
|
"[" + r + "]",
|
|
1529
1529
|
t
|
|
1530
1530
|
);
|
|
1531
1531
|
},
|
|
1532
1532
|
error(r, t, e) {
|
|
1533
1533
|
e?.onError ? e.onError(r, t) : An >= j && console.error(
|
|
1534
|
-
"[" + d.getDurationString((/* @__PURE__ */ new Date()).getTime() -
|
|
1534
|
+
"[" + d.getDurationString((/* @__PURE__ */ new Date()).getTime() - wn.getTime(), 1e3) + "]",
|
|
1535
1535
|
"[" + r + "]",
|
|
1536
1536
|
t
|
|
1537
1537
|
);
|
|
@@ -1906,7 +1906,7 @@ var st = class extends z {
|
|
|
1906
1906
|
parse(r) {
|
|
1907
1907
|
this.parseFullHeader(r), this.data = r.readUint8Array(this.size - this.hdr_size);
|
|
1908
1908
|
}
|
|
1909
|
-
}, at,
|
|
1909
|
+
}, at, S = (at = class {
|
|
1910
1910
|
constructor(t) {
|
|
1911
1911
|
this.grouping_type = t;
|
|
1912
1912
|
}
|
|
@@ -2044,7 +2044,7 @@ var bo = (r) => {
|
|
|
2044
2044
|
sampleGroupEntry: {},
|
|
2045
2045
|
box: {}
|
|
2046
2046
|
};
|
|
2047
|
-
function
|
|
2047
|
+
function wo(r) {
|
|
2048
2048
|
const t = {
|
|
2049
2049
|
uuid: {},
|
|
2050
2050
|
sampleEntry: {},
|
|
@@ -2102,7 +2102,7 @@ function So(r) {
|
|
|
2102
2102
|
return D.uuid = { ...t.uuid }, D.sampleEntry = { ...t.sampleEntry }, D.sampleGroupEntry = { ...t.sampleGroupEntry }, D.box = { ...t.box }, D;
|
|
2103
2103
|
}
|
|
2104
2104
|
var On = {};
|
|
2105
|
-
function
|
|
2105
|
+
function So(r) {
|
|
2106
2106
|
return Object.entries(r).forEach(([t, e]) => On[t] = e), On;
|
|
2107
2107
|
}
|
|
2108
2108
|
function Bo(r) {
|
|
@@ -2322,7 +2322,7 @@ var y = class extends p {
|
|
|
2322
2322
|
isSubtitle() {
|
|
2323
2323
|
return !0;
|
|
2324
2324
|
}
|
|
2325
|
-
},
|
|
2325
|
+
}, wa = class extends G {
|
|
2326
2326
|
}, U = class extends G {
|
|
2327
2327
|
parse(r) {
|
|
2328
2328
|
this.parseHeader(r), r.readUint16(), r.readUint16(), r.readUint32Array(3), this.width = r.readUint16(), this.height = r.readUint16(), this.horizresolution = r.readUint32(), this.vertresolution = r.readUint32(), r.readUint32(), this.frame_count = r.readUint16();
|
|
@@ -2389,7 +2389,7 @@ var y = class extends p {
|
|
|
2389
2389
|
}
|
|
2390
2390
|
return r += "</tbody></table>", r;
|
|
2391
2391
|
}
|
|
2392
|
-
}, ht,
|
|
2392
|
+
}, ht, Sa = (ht = class extends p {
|
|
2393
2393
|
constructor() {
|
|
2394
2394
|
super(...arguments), this.box_name = "AVCConfigurationBox";
|
|
2395
2395
|
}
|
|
@@ -2482,15 +2482,15 @@ var y = class extends p {
|
|
|
2482
2482
|
constructor() {
|
|
2483
2483
|
super(...arguments), this.box_name = "MediaBox";
|
|
2484
2484
|
}
|
|
2485
|
-
}, Ut.fourcc = "mdia", Ut),
|
|
2485
|
+
}, Ut.fourcc = "mdia", Ut), wt, ka = (wt = class extends y {
|
|
2486
2486
|
constructor() {
|
|
2487
2487
|
super(...arguments), this.box_name = "MediaInformationBox";
|
|
2488
2488
|
}
|
|
2489
|
-
},
|
|
2489
|
+
}, wt.fourcc = "minf", wt), St, Ia = (St = class extends y {
|
|
2490
2490
|
constructor() {
|
|
2491
2491
|
super(...arguments), this.box_name = "DataInformationBox";
|
|
2492
2492
|
}
|
|
2493
|
-
},
|
|
2493
|
+
}, St.fourcc = "dinf", St), Bt, Ta = (Bt = class extends y {
|
|
2494
2494
|
constructor() {
|
|
2495
2495
|
super(...arguments), this.box_name = "SampleTableBox", this.sgpds = [], this.sbgps = [], this.subBoxNames = ["sgpd", "sbgp"];
|
|
2496
2496
|
}
|
|
@@ -3171,16 +3171,16 @@ var Nn = class extends U {
|
|
|
3171
3171
|
constructor() {
|
|
3172
3172
|
super(...arguments), this.box_name = "HEVCSampleEntry", this.colrs = [], this.subBoxNames = ["colr"];
|
|
3173
3173
|
}
|
|
3174
|
-
}, Ue.fourcc = "hev1", Ue),
|
|
3175
|
-
},
|
|
3174
|
+
}, Ue.fourcc = "hev1", Ue), we, vh = (we = class extends Gn {
|
|
3175
|
+
}, we.fourcc = "hev2", we), Se, Uh = (Se = class extends U {
|
|
3176
3176
|
constructor() {
|
|
3177
3177
|
super(...arguments), this.box_name = "HEVCTileSampleSampleEntry";
|
|
3178
3178
|
}
|
|
3179
|
-
},
|
|
3179
|
+
}, Se.fourcc = "hvt1", Se), Be, wh = (Be = class extends U {
|
|
3180
3180
|
constructor() {
|
|
3181
3181
|
super(...arguments), this.box_name = "LHEVCSampleEntry";
|
|
3182
3182
|
}
|
|
3183
|
-
}, Be.fourcc = "lhe1", Be), ze,
|
|
3183
|
+
}, Be.fourcc = "lhe1", Be), ze, Sh = (ze = class extends U {
|
|
3184
3184
|
constructor() {
|
|
3185
3185
|
super(...arguments), this.box_name = "LHEVCSampleEntry";
|
|
3186
3186
|
}
|
|
@@ -3291,7 +3291,7 @@ var Nn = class extends U {
|
|
|
3291
3291
|
super(...arguments), this.subBoxNames = ["sinf"], this.sinfs = [];
|
|
3292
3292
|
}
|
|
3293
3293
|
}, ei.fourcc = "encs", ei), ii, tc = (ii = class extends Hn {
|
|
3294
|
-
}, ii.fourcc = "mp4s", ii), si, ec = (si = class extends
|
|
3294
|
+
}, ii.fourcc = "mp4s", ii), si, ec = (si = class extends wa {
|
|
3295
3295
|
constructor() {
|
|
3296
3296
|
super(...arguments), this.subBoxNames = ["sinf"], this.sinfs = [];
|
|
3297
3297
|
}
|
|
@@ -3374,7 +3374,7 @@ var Nn = class extends U {
|
|
|
3374
3374
|
const e = t.readUint32();
|
|
3375
3375
|
for (let i = 0; i < e; i++) {
|
|
3376
3376
|
let s;
|
|
3377
|
-
this.grouping_type in D.sampleGroupEntry ? s = new D.sampleGroupEntry[this.grouping_type](this.grouping_type) : s = new
|
|
3377
|
+
this.grouping_type in D.sampleGroupEntry ? s = new D.sampleGroupEntry[this.grouping_type](this.grouping_type) : s = new S(this.grouping_type), this.entries.push(s), this.version === 1 ? this.default_length === 0 ? s.description_length = t.readUint32() : s.description_length = this.default_length : s.description_length = this.default_length, s.write === S.prototype.write && (d.info(
|
|
3378
3378
|
"BoxParser",
|
|
3379
3379
|
"SampleGroup for type " + this.grouping_type + " writing not yet implemented, keeping unparsed data in memory for later write"
|
|
3380
3380
|
), s.data = t.readUint8Array(s.description_length), t.seek(t.getPosition() - s.description_length)), s.parse(t);
|
|
@@ -3585,7 +3585,7 @@ var Nn = class extends U {
|
|
|
3585
3585
|
const e = this.baseMediaDecodeTime > B || this.version === 1;
|
|
3586
3586
|
this.version = e ? 1 : 0, this.size = 4, this.size += e ? 4 : 0, this.flags = 0, this.writeHeader(t), e ? t.writeUint64(this.baseMediaDecodeTime) : t.writeUint32(this.baseMediaDecodeTime);
|
|
3587
3587
|
}
|
|
3588
|
-
}, Ui.fourcc = "tfdt", Ui),
|
|
3588
|
+
}, Ui.fourcc = "tfdt", Ui), wi, Za = (wi = class extends l {
|
|
3589
3589
|
constructor() {
|
|
3590
3590
|
super(...arguments), this.box_name = "TrackFragmentHeaderBox";
|
|
3591
3591
|
}
|
|
@@ -3598,7 +3598,7 @@ var Nn = class extends U {
|
|
|
3598
3598
|
write(t) {
|
|
3599
3599
|
this.version = 0, this.size = 4, this.flags & Bn && (this.size += 8), this.flags & zn && (this.size += 4), this.flags & En && (this.size += 4), this.flags & kn && (this.size += 4), this.flags & In && (this.size += 4), this.writeHeader(t), t.writeUint32(this.track_id), this.flags & Bn && t.writeUint64(this.base_data_offset), this.flags & zn && t.writeUint32(this.default_sample_description_index), this.flags & En && t.writeUint32(this.default_sample_duration), this.flags & kn && t.writeUint32(this.default_sample_size), this.flags & In && t.writeUint32(this.default_sample_flags);
|
|
3600
3600
|
}
|
|
3601
|
-
},
|
|
3601
|
+
}, wi.fourcc = "tfhd", wi), Si, to = (Si = class extends l {
|
|
3602
3602
|
constructor() {
|
|
3603
3603
|
super(...arguments), this.box_name = "TrackHeaderBox", this.layer = 0, this.alternate_group = 0;
|
|
3604
3604
|
}
|
|
@@ -3613,7 +3613,7 @@ var Nn = class extends U {
|
|
|
3613
3613
|
print(t) {
|
|
3614
3614
|
super.printHeader(t), t.log(t.indent + "creation_time: " + this.creation_time), t.log(t.indent + "modification_time: " + this.modification_time), t.log(t.indent + "track_id: " + this.track_id), t.log(t.indent + "duration: " + this.duration), t.log(t.indent + "volume: " + (this.volume >> 8)), t.log(t.indent + "matrix: " + this.matrix.join(", ")), t.log(t.indent + "layer: " + this.layer), t.log(t.indent + "alternate_group: " + this.alternate_group), t.log(t.indent + "width: " + this.width), t.log(t.indent + "height: " + this.height);
|
|
3615
3615
|
}
|
|
3616
|
-
},
|
|
3616
|
+
}, Si.fourcc = "tkhd", Si), Bi, Jn = (Bi = class extends l {
|
|
3617
3617
|
constructor() {
|
|
3618
3618
|
super(...arguments), this.box_name = "TrackExtendsBox";
|
|
3619
3619
|
}
|
|
@@ -4282,7 +4282,7 @@ var Nn = class extends U {
|
|
|
4282
4282
|
let e, i, s, n, a, o;
|
|
4283
4283
|
t.samples = [], t.samples_duration = 0, t.samples_size = 0;
|
|
4284
4284
|
const h = t.mdia.minf.stbl.stco || t.mdia.minf.stbl.co64, c = t.mdia.minf.stbl.stsc, f = t.mdia.minf.stbl.stsz || t.mdia.minf.stbl.stz2, u = t.mdia.minf.stbl.stts, _ = t.mdia.minf.stbl.ctts, g = t.mdia.minf.stbl.stss, v = t.mdia.minf.stbl.stsd, b = t.mdia.minf.stbl.subs, A = t.mdia.minf.stbl.stdp, I = t.mdia.minf.stbl.sbgps, F = t.mdia.minf.stbl.sgpds;
|
|
4285
|
-
let C = -1, q = -1, O = -1,
|
|
4285
|
+
let C = -1, q = -1, O = -1, w = -1, V = 0, T = 0, M = 0;
|
|
4286
4286
|
if (Y.initSampleGroups(t, void 0, I, F), !(typeof f > "u")) {
|
|
4287
4287
|
for (e = 0; e < f.sample_sizes.length; e++) {
|
|
4288
4288
|
const x = {
|
|
@@ -4292,7 +4292,7 @@ var Nn = class extends U {
|
|
|
4292
4292
|
alreadyRead: 0,
|
|
4293
4293
|
size: f.sample_sizes[e]
|
|
4294
4294
|
};
|
|
4295
|
-
t.samples[e] = x, t.samples_size += x.size, e === 0 ? (s = 1, i = 0, x.chunk_index = s, x.chunk_run_index = i, o = c.samples_per_chunk[i], a = 0, i + 1 < c.first_chunk.length ? n = c.first_chunk[i + 1] - 1 : n = 1 / 0) : e < o ? (x.chunk_index = s, x.chunk_run_index = i) : (s++, x.chunk_index = s, a = 0, s <= n || (i++, i + 1 < c.first_chunk.length ? n = c.first_chunk[i + 1] - 1 : n = 1 / 0), x.chunk_run_index = i, o += c.samples_per_chunk[i]), x.description_index = c.sample_description_index[x.chunk_run_index] - 1, x.description = v.entries[x.description_index], x.offset = h.chunk_offsets[x.chunk_index - 1] + a, a += x.size, e > C && (q++, C < 0 && (C = 0), C += u.sample_counts[q]), e > 0 ? (t.samples[e - 1].duration = u.sample_deltas[q], t.samples_duration += t.samples[e - 1].duration, x.dts = t.samples[e - 1].dts + t.samples[e - 1].duration) : x.dts = 0, _ ? (e >= O && (
|
|
4295
|
+
t.samples[e] = x, t.samples_size += x.size, e === 0 ? (s = 1, i = 0, x.chunk_index = s, x.chunk_run_index = i, o = c.samples_per_chunk[i], a = 0, i + 1 < c.first_chunk.length ? n = c.first_chunk[i + 1] - 1 : n = 1 / 0) : e < o ? (x.chunk_index = s, x.chunk_run_index = i) : (s++, x.chunk_index = s, a = 0, s <= n || (i++, i + 1 < c.first_chunk.length ? n = c.first_chunk[i + 1] - 1 : n = 1 / 0), x.chunk_run_index = i, o += c.samples_per_chunk[i]), x.description_index = c.sample_description_index[x.chunk_run_index] - 1, x.description = v.entries[x.description_index], x.offset = h.chunk_offsets[x.chunk_index - 1] + a, a += x.size, e > C && (q++, C < 0 && (C = 0), C += u.sample_counts[q]), e > 0 ? (t.samples[e - 1].duration = u.sample_deltas[q], t.samples_duration += t.samples[e - 1].duration, x.dts = t.samples[e - 1].dts + t.samples[e - 1].duration) : x.dts = 0, _ ? (e >= O && (w++, O < 0 && (O = 0), O += _.sample_counts[w]), x.cts = t.samples[e].dts + _.sample_offsets[w]) : x.cts = x.dts, g ? (e === g.sample_numbers[V] - 1 ? (x.is_sync = !0, V++) : (x.is_sync = !1, x.degradation_priority = 0), b && b.entries[T].sample_delta + M === e + 1 && (x.subsamples = b.entries[T].subsamples, M += b.entries[T].sample_delta, T++)) : x.is_sync = !0, Y.process_sdtp(t.mdia.minf.stbl.sdtp, x, x.number), A ? x.degradation_priority = A.priority[e] : x.degradation_priority = 0, b && b.entries[T].sample_delta + M === e && (x.subsamples = b.entries[T].subsamples, M += b.entries[T].sample_delta), (I.length > 0 || F.length > 0) && Y.setSampleGroupProperties(t, x, e, t.sample_groups_info);
|
|
4296
4296
|
}
|
|
4297
4297
|
e > 0 && (t.samples[e - 1].duration = Math.max(t.mdia.mdhd.duration - t.samples[e - 1].dts, 0), t.samples_duration += t.samples[e - 1].duration);
|
|
4298
4298
|
}
|
|
@@ -4325,9 +4325,9 @@ var Nn = class extends U {
|
|
|
4325
4325
|
f.first_traf_merged || v > 0 ? C = f.samples[f.samples.length - 1].dts + f.samples[f.samples.length - 1].duration : (c.tfdt ? C = c.tfdt.baseMediaDecodeTime : C = 0, f.first_traf_merged = !0);
|
|
4326
4326
|
let q = C;
|
|
4327
4327
|
g.flags & bn && (q = C + g.sample_composition_time_offset[v]);
|
|
4328
|
-
const O = !!(c.tfhd.flags & Bn),
|
|
4328
|
+
const O = !!(c.tfhd.flags & Bn), w = !!(c.tfhd.flags & oa), V = !!(g.flags & gn);
|
|
4329
4329
|
let T = 0;
|
|
4330
|
-
O ? T = c.tfhd.base_data_offset :
|
|
4330
|
+
O ? T = c.tfhd.base_data_offset : w || _ === 0 ? T = o.start : T = n;
|
|
4331
4331
|
let M;
|
|
4332
4332
|
_ === 0 && v === 0 ? V ? M = T + g.data_offset : M = T : M = n, n = M + I;
|
|
4333
4333
|
const x = c.sample_number;
|
|
@@ -4756,17 +4756,17 @@ var Nn = class extends U {
|
|
|
4756
4756
|
if (!f) return;
|
|
4757
4757
|
const u = new f();
|
|
4758
4758
|
if (u.data_reference_index = 1, u instanceof U) {
|
|
4759
|
-
const
|
|
4760
|
-
V.graphicsmode = 0, V.opcolor = [0, 0, 0],
|
|
4759
|
+
const w = u, V = c.addBox(new so());
|
|
4760
|
+
V.graphicsmode = 0, V.opcolor = [0, 0, 0], w.width = e.width, w.height = e.height, w.horizresolution = 72 << 16, w.vertresolution = 72 << 16, w.frame_count = 1, w.compressorname = e.type + " Compressor", w.depth = 24, e.avcDecoderConfigRecord ? w.addBox(new Sa(e.avcDecoderConfigRecord.byteLength)).parse(new z(e.avcDecoderConfigRecord)) : e.hevcDecoderConfigRecord && w.addBox(new Oa(e.hevcDecoderConfigRecord.byteLength)).parse(new z(e.hevcDecoderConfigRecord));
|
|
4761
4761
|
} else if (u instanceof P) {
|
|
4762
|
-
const
|
|
4763
|
-
V.balance = e.balance || 0,
|
|
4762
|
+
const w = u, V = c.addBox(new $a());
|
|
4763
|
+
V.balance = e.balance || 0, w.channel_count = e.channel_count || 2, w.samplesize = e.samplesize || 16, w.samplerate = e.samplerate || 65536;
|
|
4764
4764
|
} else u instanceof Kn ? c.addBox(new Ba()) : u instanceof X ? (c.addBox(new Wa()), u instanceof ja && (u.namespace = e.namespace || "nonamespace", u.schema_location = e.schema_location || "", u.auxiliary_mime_types = e.auxiliary_mime_types || "")) : u instanceof et ? c.addBox(new Pn()) : u instanceof Hn ? c.addBox(new Pn()) : c.addBox(new Pn());
|
|
4765
4765
|
e.description && u.addBox.call(
|
|
4766
4766
|
u,
|
|
4767
4767
|
e.description
|
|
4768
|
-
), e.description_boxes && e.description_boxes.forEach(function(
|
|
4769
|
-
u.addBox.call(u,
|
|
4768
|
+
), e.description_boxes && e.description_boxes.forEach(function(w) {
|
|
4769
|
+
u.addBox.call(u, w);
|
|
4770
4770
|
});
|
|
4771
4771
|
const g = c.addBox(new Ia()).addBox(new Pa()), v = new io();
|
|
4772
4772
|
v.flags = 1, g.addEntry(v);
|
|
@@ -5037,14 +5037,14 @@ ua(fo, {
|
|
|
5037
5037
|
avc2SampleEntry: () => uh,
|
|
5038
5038
|
avc3SampleEntry: () => ph,
|
|
5039
5039
|
avc4SampleEntry: () => _h,
|
|
5040
|
-
avcCBox: () =>
|
|
5040
|
+
avcCBox: () => Sa,
|
|
5041
5041
|
avllSampleGroupEntry: () => Ol,
|
|
5042
5042
|
avs3SampleEntry: () => Ph,
|
|
5043
5043
|
avssSampleGroupEntry: () => Rl,
|
|
5044
5044
|
brstBox: () => td,
|
|
5045
|
-
btrtBox: () =>
|
|
5045
|
+
btrtBox: () => wc,
|
|
5046
5046
|
bxmlBox: () => Ao,
|
|
5047
|
-
ccstBox: () =>
|
|
5047
|
+
ccstBox: () => Sc,
|
|
5048
5048
|
cdefBox: () => Bc,
|
|
5049
5049
|
clapBox: () => zc,
|
|
5050
5050
|
clefBox: () => Gd,
|
|
@@ -5129,12 +5129,12 @@ ua(fo, {
|
|
|
5129
5129
|
keysBox: () => qd,
|
|
5130
5130
|
kindBox: () => bd,
|
|
5131
5131
|
levaBox: () => vd,
|
|
5132
|
-
lhe1SampleEntry: () =>
|
|
5133
|
-
lhv1SampleEntry: () =>
|
|
5132
|
+
lhe1SampleEntry: () => wh,
|
|
5133
|
+
lhv1SampleEntry: () => Sh,
|
|
5134
5134
|
lhvCBox: () => Ud,
|
|
5135
|
-
lselBox: () =>
|
|
5135
|
+
lselBox: () => wd,
|
|
5136
5136
|
m4aeSampleEntry: () => Hh,
|
|
5137
|
-
maxrBox: () =>
|
|
5137
|
+
maxrBox: () => Sd,
|
|
5138
5138
|
mdatBox: () => Cn,
|
|
5139
5139
|
mdcvBox: () => Bd,
|
|
5140
5140
|
mdhdBox: () => Ra,
|
|
@@ -5160,7 +5160,7 @@ ua(fo, {
|
|
|
5160
5160
|
mp4sSampleEntry: () => tc,
|
|
5161
5161
|
mp4vSampleEntry: () => Rh,
|
|
5162
5162
|
mskCBox: () => Ed,
|
|
5163
|
-
msrcTrackGroupTypeBox: () =>
|
|
5163
|
+
msrcTrackGroupTypeBox: () => Sl,
|
|
5164
5164
|
mvexBox: () => Xn,
|
|
5165
5165
|
mvhdBox: () => Na,
|
|
5166
5166
|
mvifSampleGroupEntry: () => Hl,
|
|
@@ -5253,7 +5253,7 @@ ua(fo, {
|
|
|
5253
5253
|
tminBox: () => bl,
|
|
5254
5254
|
totlBox: () => vl,
|
|
5255
5255
|
tpayBox: () => Ul,
|
|
5256
|
-
tpylBox: () =>
|
|
5256
|
+
tpylBox: () => wl,
|
|
5257
5257
|
trafBox: () => Ca,
|
|
5258
5258
|
trakBox: () => za,
|
|
5259
5259
|
trefBox: () => Bl,
|
|
@@ -5319,14 +5319,14 @@ var Ii, bc = (Ii = class extends p {
|
|
|
5319
5319
|
const e = this.size - this.hdr_size - (this.aux_type.length + 1);
|
|
5320
5320
|
this.aux_subtype = t.readUint8Array(e);
|
|
5321
5321
|
}
|
|
5322
|
-
}, Ai.fourcc = "auxC", Ai), Ci,
|
|
5322
|
+
}, Ai.fourcc = "auxC", Ai), Ci, wc = (Ci = class extends p {
|
|
5323
5323
|
constructor() {
|
|
5324
5324
|
super(...arguments), this.box_name = "BitRateBox";
|
|
5325
5325
|
}
|
|
5326
5326
|
parse(t) {
|
|
5327
5327
|
this.bufferSizeDB = t.readUint32(), this.maxBitrate = t.readUint32(), this.avgBitrate = t.readUint32();
|
|
5328
5328
|
}
|
|
5329
|
-
}, Ci.fourcc = "btrt", Ci), Pi,
|
|
5329
|
+
}, Ci.fourcc = "btrt", Ci), Pi, Sc = (Pi = class extends l {
|
|
5330
5330
|
constructor() {
|
|
5331
5331
|
super(...arguments), this.box_name = "CodingConstraintsBox";
|
|
5332
5332
|
}
|
|
@@ -5735,7 +5735,7 @@ var Ii, bc = (Ii = class extends p {
|
|
|
5735
5735
|
const e = t.readUint8();
|
|
5736
5736
|
this.reserved = e >> 7, this.axis = e & 1;
|
|
5737
5737
|
}
|
|
5738
|
-
}, Us.fourcc = "imir", Us),
|
|
5738
|
+
}, Us.fourcc = "imir", Us), ws, gd = (ws = class extends l {
|
|
5739
5739
|
constructor() {
|
|
5740
5740
|
super(...arguments), this.box_name = "ItemPropertyAssociationBox";
|
|
5741
5741
|
}
|
|
@@ -5758,14 +5758,14 @@ var Ii, bc = (Ii = class extends p {
|
|
|
5758
5758
|
});
|
|
5759
5759
|
}
|
|
5760
5760
|
}
|
|
5761
|
-
},
|
|
5761
|
+
}, ws.fourcc = "ipma", ws), Ss, md = (Ss = class extends p {
|
|
5762
5762
|
constructor() {
|
|
5763
5763
|
super(...arguments), this.box_name = "ImageRotation";
|
|
5764
5764
|
}
|
|
5765
5765
|
parse(t) {
|
|
5766
5766
|
this.angle = t.readUint8() & 3;
|
|
5767
5767
|
}
|
|
5768
|
-
},
|
|
5768
|
+
}, Ss.fourcc = "irot", Ss), Bs, xd = (Bs = class extends l {
|
|
5769
5769
|
constructor() {
|
|
5770
5770
|
super(...arguments), this.box_name = "ImageSpatialExtentsProperty";
|
|
5771
5771
|
}
|
|
@@ -5842,21 +5842,21 @@ var Ii, bc = (Ii = class extends p {
|
|
|
5842
5842
|
}
|
|
5843
5843
|
}
|
|
5844
5844
|
}
|
|
5845
|
-
}, Is.fourcc = "lhvC", Is), Ts,
|
|
5845
|
+
}, Is.fourcc = "lhvC", Is), Ts, wd = (Ts = class extends p {
|
|
5846
5846
|
constructor() {
|
|
5847
5847
|
super(...arguments), this.box_name = "LayerSelectorProperty";
|
|
5848
5848
|
}
|
|
5849
5849
|
parse(t) {
|
|
5850
5850
|
this.layer_id = t.readUint16();
|
|
5851
5851
|
}
|
|
5852
|
-
}, Ts.fourcc = "lsel", Ts), As,
|
|
5852
|
+
}, Ts.fourcc = "lsel", Ts), As, Sd = (As = class extends p {
|
|
5853
5853
|
constructor() {
|
|
5854
5854
|
super(...arguments), this.box_name = "hintmaxrate";
|
|
5855
5855
|
}
|
|
5856
5856
|
parse(t) {
|
|
5857
5857
|
this.period = t.readUint32(), this.bytes = t.readUint32();
|
|
5858
5858
|
}
|
|
5859
|
-
}, As.fourcc = "maxr", As),
|
|
5859
|
+
}, As.fourcc = "maxr", As), Sn = class {
|
|
5860
5860
|
constructor(r, t) {
|
|
5861
5861
|
this.x = r, this.y = t;
|
|
5862
5862
|
}
|
|
@@ -5868,7 +5868,7 @@ var Ii, bc = (Ii = class extends p {
|
|
|
5868
5868
|
super(...arguments), this.box_name = "MasteringDisplayColourVolumeBox";
|
|
5869
5869
|
}
|
|
5870
5870
|
parse(t) {
|
|
5871
|
-
this.display_primaries = [], this.display_primaries[0] = new
|
|
5871
|
+
this.display_primaries = [], this.display_primaries[0] = new Sn(t.readUint16(), t.readUint16()), this.display_primaries[1] = new Sn(t.readUint16(), t.readUint16()), this.display_primaries[2] = new Sn(t.readUint16(), t.readUint16()), this.white_point = new Sn(t.readUint16(), t.readUint16()), this.max_display_mastering_luminance = t.readUint32(), this.min_display_mastering_luminance = t.readUint32();
|
|
5872
5872
|
}
|
|
5873
5873
|
}, Cs.fourcc = "mdcv", Cs), Ps, zd = (Ps = class extends l {
|
|
5874
5874
|
constructor() {
|
|
@@ -6415,21 +6415,21 @@ var Z, _n = (Z = class extends p {
|
|
|
6415
6415
|
for (let s = 0; s < i; s++)
|
|
6416
6416
|
this.version === 1 ? (this.time = t.readUint64(), this.moof_offset = t.readUint64()) : (this.time = t.readUint32(), this.moof_offset = t.readUint32()), this.traf_number = t["readUint" + 8 * (this.length_size_of_traf_num + 1)](), this.trun_number = t["readUint" + 8 * (this.length_size_of_trun_num + 1)](), this.sample_number = t["readUint" + 8 * (this.length_size_of_sample_num + 1)]();
|
|
6417
6417
|
}
|
|
6418
|
-
}, Ur.fourcc = "tfra", Ur),
|
|
6418
|
+
}, Ur.fourcc = "tfra", Ur), wr, yl = (wr = class extends p {
|
|
6419
6419
|
constructor() {
|
|
6420
6420
|
super(...arguments), this.box_name = "hintmaxrelativetime";
|
|
6421
6421
|
}
|
|
6422
6422
|
parse(t) {
|
|
6423
6423
|
this.time = t.readUint32();
|
|
6424
6424
|
}
|
|
6425
|
-
},
|
|
6425
|
+
}, wr.fourcc = "tmax", wr), Sr, bl = (Sr = class extends p {
|
|
6426
6426
|
constructor() {
|
|
6427
6427
|
super(...arguments), this.box_name = "hintminrelativetime";
|
|
6428
6428
|
}
|
|
6429
6429
|
parse(t) {
|
|
6430
6430
|
this.time = t.readUint32();
|
|
6431
6431
|
}
|
|
6432
|
-
},
|
|
6432
|
+
}, Sr.fourcc = "tmin", Sr), Br, vl = (Br = class extends p {
|
|
6433
6433
|
constructor() {
|
|
6434
6434
|
super(...arguments), this.box_name = "hintBytesSent";
|
|
6435
6435
|
}
|
|
@@ -6443,14 +6443,14 @@ var Z, _n = (Z = class extends p {
|
|
|
6443
6443
|
parse(t) {
|
|
6444
6444
|
this.bytessent = t.readUint32();
|
|
6445
6445
|
}
|
|
6446
|
-
}, zr.fourcc = "tpay", zr), Er,
|
|
6446
|
+
}, zr.fourcc = "tpay", zr), Er, wl = (Er = class extends p {
|
|
6447
6447
|
constructor() {
|
|
6448
6448
|
super(...arguments), this.box_name = "hintBytesSent";
|
|
6449
6449
|
}
|
|
6450
6450
|
parse(t) {
|
|
6451
6451
|
this.bytessent = t.readUint64();
|
|
6452
6452
|
}
|
|
6453
|
-
}, Er.fourcc = "tpyl", Er), kr,
|
|
6453
|
+
}, Er.fourcc = "tpyl", Er), kr, Sl = (kr = class extends ma {
|
|
6454
6454
|
}, kr.fourcc = "msrc", kr), Q, Bl = (Q = class extends p {
|
|
6455
6455
|
constructor() {
|
|
6456
6456
|
super(...arguments), this.box_name = "TrackReferenceBox", this.references = [];
|
|
@@ -6581,7 +6581,7 @@ var Z, _n = (Z = class extends p {
|
|
|
6581
6581
|
const e = t.readUint8();
|
|
6582
6582
|
this.lengthSizeMinusOne = e & 3;
|
|
6583
6583
|
}
|
|
6584
|
-
}, Rr.fourcc = "vvnC", Rr), Mr, Ll = (Mr = class extends
|
|
6584
|
+
}, Rr.fourcc = "vvnC", Rr), Mr, Ll = (Mr = class extends S {
|
|
6585
6585
|
parse(t) {
|
|
6586
6586
|
const e = t.readUint16();
|
|
6587
6587
|
this.first_output_sample = t.readUint16(), this.sample_offset = [];
|
|
@@ -6592,11 +6592,11 @@ var Z, _n = (Z = class extends p {
|
|
|
6592
6592
|
for (let s = 0; s < i / 4; s++)
|
|
6593
6593
|
this.num_output_samples[s] = t.readUint16(), this.num_total_samples[s] = t.readUint16();
|
|
6594
6594
|
}
|
|
6595
|
-
}, Mr.grouping_type = "alst", Mr), Hr, Ol = (Hr = class extends
|
|
6595
|
+
}, Mr.grouping_type = "alst", Mr), Hr, Ol = (Hr = class extends S {
|
|
6596
6596
|
parse(t) {
|
|
6597
6597
|
this.layerNumber = t.readUint8(), this.accurateStatisticsFlag = t.readUint8(), this.avgBitRate = t.readUint16(), this.avgFrameRate = t.readUint16();
|
|
6598
6598
|
}
|
|
6599
|
-
}, Hr.grouping_type = "avll", Hr), Nr, Rl = (Nr = class extends
|
|
6599
|
+
}, Hr.grouping_type = "avll", Hr), Nr, Rl = (Nr = class extends S {
|
|
6600
6600
|
parse(t) {
|
|
6601
6601
|
this.subSequenceIdentifier = t.readUint16(), this.layerNumber = t.readUint8();
|
|
6602
6602
|
const e = t.readUint8();
|
|
@@ -6609,24 +6609,24 @@ var Z, _n = (Z = class extends p {
|
|
|
6609
6609
|
subSequenceIdentifier: t.readUint16()
|
|
6610
6610
|
});
|
|
6611
6611
|
}
|
|
6612
|
-
}, Nr.grouping_type = "avss", Nr), Gr, Ml = (Gr = class extends
|
|
6612
|
+
}, Nr.grouping_type = "avss", Nr), Gr, Ml = (Gr = class extends S {
|
|
6613
6613
|
parse(t) {
|
|
6614
6614
|
d.warn("BoxParser", "Sample Group type: " + this.grouping_type + " not fully parsed");
|
|
6615
6615
|
}
|
|
6616
|
-
}, Gr.grouping_type = "dtrt", Gr), Vr, Hl = (Vr = class extends
|
|
6616
|
+
}, Gr.grouping_type = "dtrt", Gr), Vr, Hl = (Vr = class extends S {
|
|
6617
6617
|
parse(t) {
|
|
6618
6618
|
d.warn("BoxParser", "Sample Group type: " + this.grouping_type + " not fully parsed");
|
|
6619
6619
|
}
|
|
6620
|
-
}, Vr.grouping_type = "mvif", Vr), jr, Nl = (jr = class extends
|
|
6620
|
+
}, Vr.grouping_type = "mvif", Vr), jr, Nl = (jr = class extends S {
|
|
6621
6621
|
parse(t) {
|
|
6622
6622
|
this.roll_distance = t.readInt16();
|
|
6623
6623
|
}
|
|
6624
|
-
}, jr.grouping_type = "prol", jr), $r, Gl = ($r = class extends
|
|
6624
|
+
}, jr.grouping_type = "prol", jr), $r, Gl = ($r = class extends S {
|
|
6625
6625
|
parse(t) {
|
|
6626
6626
|
const e = t.readUint8();
|
|
6627
6627
|
this.num_leading_samples_known = e >> 7, this.num_leading_samples = e & 127;
|
|
6628
6628
|
}
|
|
6629
|
-
}, $r.grouping_type = "rap ", $r), qr, Vl = (qr = class extends
|
|
6629
|
+
}, $r.grouping_type = "rap ", $r), qr, Vl = (qr = class extends S {
|
|
6630
6630
|
parse(t) {
|
|
6631
6631
|
if (this.operation_point_count = t.readUint16(), this.description_length !== 2 + (this.operation_point_count === 1 ? 2 : this.operation_point_count * 6) + 9)
|
|
6632
6632
|
d.warn("BoxParser", "Mismatch in " + this.grouping_type + " sample group length"), this.data = t.readUint8Array(this.description_length - 2);
|
|
@@ -6641,47 +6641,47 @@ var Z, _n = (Z = class extends p {
|
|
|
6641
6641
|
this.maximum_bitrate = t.readUint32(), this.minimum_bitrate = t.readUint32(), this.discard_priority = t.readUint8();
|
|
6642
6642
|
}
|
|
6643
6643
|
}
|
|
6644
|
-
}, qr.grouping_type = "rash", qr), Wr, jl = (Wr = class extends
|
|
6644
|
+
}, qr.grouping_type = "rash", qr), Wr, jl = (Wr = class extends S {
|
|
6645
6645
|
parse(t) {
|
|
6646
6646
|
this.roll_distance = t.readInt16();
|
|
6647
6647
|
}
|
|
6648
|
-
}, Wr.grouping_type = "roll", Wr), Yr, $l = (Yr = class extends
|
|
6648
|
+
}, Wr.grouping_type = "roll", Wr), Yr, $l = (Yr = class extends S {
|
|
6649
6649
|
parse(t) {
|
|
6650
6650
|
d.warn("BoxParser", "Sample Group type: " + this.grouping_type + " not fully parsed");
|
|
6651
6651
|
}
|
|
6652
|
-
}, Yr.grouping_type = "scif", Yr), Kr, ql = (Kr = class extends
|
|
6652
|
+
}, Yr.grouping_type = "scif", Yr), Kr, ql = (Kr = class extends S {
|
|
6653
6653
|
parse(t) {
|
|
6654
6654
|
d.warn("BoxParser", "Sample Group type: " + this.grouping_type + " not fully parsed");
|
|
6655
6655
|
}
|
|
6656
|
-
}, Kr.grouping_type = "scnm", Kr), Qr, Wl = (Qr = class extends
|
|
6656
|
+
}, Kr.grouping_type = "scnm", Kr), Qr, Wl = (Qr = class extends S {
|
|
6657
6657
|
parse(t) {
|
|
6658
6658
|
this.reserved = t.readUint8();
|
|
6659
6659
|
const e = t.readUint8();
|
|
6660
6660
|
this.crypt_byte_block = e >> 4, this.skip_byte_block = e & 15, this.isProtected = t.readUint8(), this.Per_Sample_IV_Size = t.readUint8(), this.KID = tt(t), this.constant_IV_size = 0, this.constant_IV = 0, this.isProtected === 1 && this.Per_Sample_IV_Size === 0 && (this.constant_IV_size = t.readUint8(), this.constant_IV = t.readUint8Array(this.constant_IV_size));
|
|
6661
6661
|
}
|
|
6662
|
-
}, Qr.grouping_type = "seig", Qr), Xr, Yl = (Xr = class extends
|
|
6662
|
+
}, Qr.grouping_type = "seig", Qr), Xr, Yl = (Xr = class extends S {
|
|
6663
6663
|
parse(t) {
|
|
6664
6664
|
d.warn("BoxParser", "Sample Group type: " + this.grouping_type + " not fully parsed");
|
|
6665
6665
|
}
|
|
6666
|
-
}, Xr.grouping_type = "stsa", Xr), Jr, Kl = (Jr = class extends
|
|
6666
|
+
}, Xr.grouping_type = "stsa", Xr), Jr, Kl = (Jr = class extends S {
|
|
6667
6667
|
parse(t) {
|
|
6668
6668
|
const e = t.readUint8();
|
|
6669
6669
|
this.NAL_unit_type = e & 63;
|
|
6670
6670
|
}
|
|
6671
|
-
}, Jr.grouping_type = "sync", Jr), Zr, Ql = (Zr = class extends
|
|
6671
|
+
}, Jr.grouping_type = "sync", Jr), Zr, Ql = (Zr = class extends S {
|
|
6672
6672
|
parse(t) {
|
|
6673
6673
|
const e = t.readUint8();
|
|
6674
6674
|
this.level_independently_decodable = e >> 7;
|
|
6675
6675
|
}
|
|
6676
|
-
}, Zr.grouping_type = "tele", Zr), tn, Xl = (tn = class extends
|
|
6676
|
+
}, Zr.grouping_type = "tele", Zr), tn, Xl = (tn = class extends S {
|
|
6677
6677
|
parse(t) {
|
|
6678
6678
|
d.warn("BoxParser", "Sample Group type: " + this.grouping_type + " not fully parsed");
|
|
6679
6679
|
}
|
|
6680
|
-
}, tn.grouping_type = "tsas", tn), en, Jl = (en = class extends
|
|
6680
|
+
}, tn.grouping_type = "tsas", tn), en, Jl = (en = class extends S {
|
|
6681
6681
|
parse(t) {
|
|
6682
6682
|
d.warn("BoxParser", "Sample Group type: " + this.grouping_type + " not fully parsed");
|
|
6683
6683
|
}
|
|
6684
|
-
}, en.grouping_type = "tscl", en), sn, Zl = (sn = class extends
|
|
6684
|
+
}, en.grouping_type = "tscl", en), sn, Zl = (sn = class extends S {
|
|
6685
6685
|
parse(t) {
|
|
6686
6686
|
d.warn("BoxParser", "Sample Group type: " + this.grouping_type + " not fully parsed");
|
|
6687
6687
|
}
|
|
@@ -6742,8 +6742,8 @@ var Z, _n = (Z = class extends p {
|
|
|
6742
6742
|
parse(t) {
|
|
6743
6743
|
this.content_id = t.readCString();
|
|
6744
6744
|
}
|
|
6745
|
-
}, fn.uuid = "261ef3741d975bbaacbd9d2c8ea73522", fn), uo =
|
|
6746
|
-
|
|
6745
|
+
}, fn.uuid = "261ef3741d975bbaacbd9d2c8ea73522", fn), uo = wo(fo);
|
|
6746
|
+
So(ao);
|
|
6747
6747
|
const Af = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6748
6748
|
__proto__: null,
|
|
6749
6749
|
AudioSampleEntry: P,
|
|
@@ -6764,14 +6764,14 @@ const Af = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6764
6764
|
MetadataSampleEntry: et,
|
|
6765
6765
|
MultiBufferStream: st,
|
|
6766
6766
|
SampleEntry: G,
|
|
6767
|
-
SampleGroupEntry:
|
|
6767
|
+
SampleGroupEntry: S,
|
|
6768
6768
|
SampleGroupInfo: Fn,
|
|
6769
6769
|
SingleItemTypeReferenceBox: xa,
|
|
6770
6770
|
SingleItemTypeReferenceBoxLarge: ya,
|
|
6771
6771
|
SubtitleSampleEntry: X,
|
|
6772
6772
|
SystemSampleEntry: Hn,
|
|
6773
6773
|
TX3GParser: yc,
|
|
6774
|
-
TextSampleEntry:
|
|
6774
|
+
TextSampleEntry: wa,
|
|
6775
6775
|
Textin4Parser: xc,
|
|
6776
6776
|
TrackGroupTypeBox: ma,
|
|
6777
6777
|
TrackReferenceTypeBox: ba,
|
|
@@ -6997,7 +6997,7 @@ function Uf(r) {
|
|
|
6997
6997
|
const t = (r.codec || "vp09.00.40.08").split("."), e = parseInt(t[1] || "0", 10), i = parseInt(t[2] || "40", 10), s = parseInt(t[3] || "08", 10), n = { bt709: 1, bt601: 5, bt2020: 9 }, a = { bt709: 1, srgb: 13, pq: 16, hlg: 18 }, o = { bt709: 1, bt601: 5, bt2020: 9 }, h = n[r.colorSpace?.primaries || "bt709"] || 1, c = a[r.colorSpace?.transfer || "bt709"] || 1, f = o[r.colorSpace?.matrix || "bt709"] || 1, u = r.colorSpace?.fullRange ? 1 : 0;
|
|
6998
6998
|
return new $(12).writeUint32(1 << 24).writeUint8(e).writeUint8(i).writeUint8(s << 4 | 1 << 1 | u).writeUint8(h).writeUint8(c).writeUint8(f).writeUint16(0).buffer.buffer;
|
|
6999
6999
|
}
|
|
7000
|
-
function
|
|
7000
|
+
function wf(r) {
|
|
7001
7001
|
if (r.byteLength < 7) return !1;
|
|
7002
7002
|
const t = new DataView(r);
|
|
7003
7003
|
let e = 0;
|
|
@@ -7021,7 +7021,7 @@ function Sf(r) {
|
|
|
7021
7021
|
return !1;
|
|
7022
7022
|
}
|
|
7023
7023
|
}
|
|
7024
|
-
function
|
|
7024
|
+
function Sf(r) {
|
|
7025
7025
|
if (!r || r.byteLength < 3) return;
|
|
7026
7026
|
const t = new Uint8Array(r);
|
|
7027
7027
|
t[2]?.toString(2).slice(-2).includes("1") && (t[2] = 0);
|
|
@@ -7175,7 +7175,7 @@ class If {
|
|
|
7175
7175
|
if (!t.decoderConfig) return;
|
|
7176
7176
|
let e = t.decoderConfig.description, i = "avc1";
|
|
7177
7177
|
if (this.opts.codec.startsWith("avc1")) {
|
|
7178
|
-
if (
|
|
7178
|
+
if (Sf(e), !wf(e)) {
|
|
7179
7179
|
E.warn("Invalid AVCC descriptor, waiting for next metadata");
|
|
7180
7180
|
return;
|
|
7181
7181
|
}
|
|
@@ -7279,6 +7279,24 @@ function Cf(r) {
|
|
|
7279
7279
|
a?.flush(),
|
|
7280
7280
|
o?.flush()
|
|
7281
7281
|
]);
|
|
7282
|
+
try {
|
|
7283
|
+
typeof fetch < "u" && fetch("https://telemetry.combo.sh/ping", {
|
|
7284
|
+
method: "POST",
|
|
7285
|
+
mode: "no-cors",
|
|
7286
|
+
headers: { "Content-Type": "application/json" },
|
|
7287
|
+
body: JSON.stringify({
|
|
7288
|
+
v: "0.0.2",
|
|
7289
|
+
d: typeof window < "u" ? window.location.hostname : "unknown",
|
|
7290
|
+
e: "render_complete",
|
|
7291
|
+
opts: {
|
|
7292
|
+
v: !!r.video,
|
|
7293
|
+
a: !!r.audio
|
|
7294
|
+
}
|
|
7295
|
+
})
|
|
7296
|
+
}).catch(() => {
|
|
7297
|
+
});
|
|
7298
|
+
} catch {
|
|
7299
|
+
}
|
|
7282
7300
|
},
|
|
7283
7301
|
close: () => {
|
|
7284
7302
|
e.all.clear(), a?.close(), o?.close();
|
|
@@ -7305,14 +7323,14 @@ export {
|
|
|
7305
7323
|
et as MetadataSampleEntry,
|
|
7306
7324
|
st as MultiBufferStream,
|
|
7307
7325
|
G as SampleEntry,
|
|
7308
|
-
|
|
7326
|
+
S as SampleGroupEntry,
|
|
7309
7327
|
Fn as SampleGroupInfo,
|
|
7310
7328
|
xa as SingleItemTypeReferenceBox,
|
|
7311
7329
|
ya as SingleItemTypeReferenceBoxLarge,
|
|
7312
7330
|
X as SubtitleSampleEntry,
|
|
7313
7331
|
Hn as SystemSampleEntry,
|
|
7314
7332
|
yc as TX3GParser,
|
|
7315
|
-
|
|
7333
|
+
wa as TextSampleEntry,
|
|
7316
7334
|
xc as Textin4Parser,
|
|
7317
7335
|
ma as TrackGroupTypeBox,
|
|
7318
7336
|
ba as TrackReferenceTypeBox,
|