Implement Ogg muxer

This commit is contained in:
Vanilagy
2025-02-09 10:56:54 +01:00
parent cd30c9faec
commit 0db871dd21
13 changed files with 715 additions and 204 deletions
+4
View File
@@ -101,6 +101,8 @@ export class Mp3Muxer extends Muxer {
return;
}
const release = await this.mutex.acquire();
const endPos = this.writer.getPos();
this.writer.seek(0);
@@ -121,5 +123,7 @@ export class Mp3Muxer extends Muxer {
this.mp3Writer.writeXingFrame(this.xingFrameData);
this.writer.seek(endPos);
release();
}
}