mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-28 03:13:51 +02:00
Add getMimeType to Output & other small adjustments
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user