Improve unsupported encoder configuration error messages

This commit is contained in:
Vanilagy
2025-07-07 11:21:42 +02:00
parent f78fc697cd
commit 1b382d3e57
4 changed files with 12 additions and 9 deletions
+3 -2
View File
@@ -21,7 +21,7 @@
chunked: true,
chunkSize: 2**20
});
const outputFormat = new Mediabunny.MovOutputFormat();
const outputFormat = new Mediabunny.Mp4OutputFormat();
const button = document.createElement('button');
button.textContent = 'Cancel';
@@ -38,7 +38,8 @@
target
}),
audio: {
codec: 'pcm-f64'
codec: 'opus',
bitrate: 128000,
//numberOfChannels: 1,
//sampleRate: 4000
//discard: true