node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

46
server/node_modules/media-tracks/dist/video-track.js generated vendored Normal file
View File

@@ -0,0 +1,46 @@
import { selectedChanged } from "./video-track-list.js";
import { VideoRendition } from "./video-rendition.js";
import { addRendition, removeRendition } from "./video-rendition-list.js";
const VideoTrackKind = {
alternative: "alternative",
captions: "captions",
main: "main",
sign: "sign",
subtitles: "subtitles",
commentary: "commentary"
};
class VideoTrack {
id;
kind;
label = "";
language = "";
sourceBuffer;
#selected = false;
addRendition(src, width, height, codec, bitrate, frameRate) {
const rendition = new VideoRendition();
rendition.src = src;
rendition.width = width;
rendition.height = height;
rendition.frameRate = frameRate;
rendition.bitrate = bitrate;
rendition.codec = codec;
addRendition(this, rendition);
return rendition;
}
removeRendition(rendition) {
removeRendition(rendition);
}
get selected() {
return this.#selected;
}
set selected(val) {
if (this.#selected === val) return;
this.#selected = val;
if (val !== true) return;
selectedChanged(this);
}
}
export {
VideoTrack,
VideoTrackKind
};