mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-01 04:43:51 +02:00
Add getMimeType to Output & other small adjustments
This commit is contained in:
@@ -27,6 +27,10 @@ export class WaveMuxer extends Muxer {
|
||||
// Nothing needed here - we'll write the header with the first sample
|
||||
}
|
||||
|
||||
async getMimeType() {
|
||||
return 'audio/wav';
|
||||
}
|
||||
|
||||
async addEncodedVideoPacket() {
|
||||
throw new Error('WAVE does not support video.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user