build(media): build26 from 45504a2b

This commit is contained in:
publish
2026-08-05 18:57:42 +02:00
commit 46507f9d0d
320 changed files with 11597 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
//#region src/core/constants.ts
/** A frozen, empty `TimeRanges`-like value for hosts with no ranges. */
const EMPTY_TIME_RANGES = Object.freeze({
length: 0,
start: () => 0,
end: () => 0
});
/** A frozen, empty `TextTrackList`-like value for hosts with no text tracks. */
const EMPTY_TEXT_TRACKS = Object.assign(new EventTarget(), {
length: 0,
*[Symbol.iterator]() {},
getTrackById: () => null
});
const EMPTY_REMOTE = new EventTarget();
Object.freeze({});
//#endregion
export { EMPTY_REMOTE, EMPTY_TEXT_TRACKS, EMPTY_TIME_RANGES };
//# sourceMappingURL=constants.js.map