Add getMimeType to Output & other small adjustments

This commit is contained in:
Vanilagy
2025-06-07 22:51:57 +02:00
parent 85bd7bdcf4
commit c7c57e2132
21 changed files with 330 additions and 101 deletions
+4
View File
@@ -27,6 +27,10 @@ export class Mp3Muxer extends Muxer {
// Nothing needed here
}
async getMimeType() {
return 'audio/mpeg';
}
async addEncodedVideoPacket() {
throw new Error('MP3 does not support video.');
}