Add WebVTT subtitle support to MP4 & a bunch of misc changes

This commit is contained in:
Vanilagy
2024-11-24 14:57:31 +01:00
parent 39aea03565
commit 29ecccb26a
15 changed files with 2355 additions and 1557 deletions
+3 -1
View File
@@ -48,4 +48,6 @@ export const toUint8Array = (source: AllowSharedBufferSource): Uint8Array => {
} else {
return new Uint8Array(source.buffer, source.byteOffset, source.byteLength);
}
};
};
export const textEncoder = new TextEncoder();