Add better BBB example file

This commit is contained in:
Vanilagy
2025-05-30 19:49:41 +02:00
parent 61c9883817
commit 218803a9fe
2 changed files with 5 additions and 4 deletions
Binary file not shown.
+5 -4
View File
@@ -21,7 +21,7 @@
chunked: true, chunked: true,
chunkSize: 2**20 chunkSize: 2**20
}); });
const outputFormat = new Metamuxer.WavOutputFormat(); const outputFormat = new Metamuxer.Mp4OutputFormat();
const button = document.createElement('button'); const button = document.createElement('button');
button.textContent = 'Cancel'; button.textContent = 'Cancel';
@@ -38,8 +38,8 @@
target target
}), }),
audio: { audio: {
numberOfChannels: 1, numberOfChannels: 2,
sampleRate: 8000 //sampleRate: 8000
//discard: true //discard: true
//forceReencode: true, //forceReencode: true,
}, },
@@ -68,7 +68,8 @@
}, },
*/ */
video: { video: {
discard: true, width: 1280,
//discard: true,
//width: 640 //width: 640
//forceReencode: true, //forceReencode: true,
//rotate: 90 //rotate: 90