mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 05:13:50 +02:00
Add live recording example
This commit is contained in:
@@ -101,7 +101,7 @@ const generateVideo = async () => {
|
||||
codec: videoCodec,
|
||||
bitrate: QUALITY_HIGH,
|
||||
});
|
||||
output.addVideoTrack(canvasSource);
|
||||
output.addVideoTrack(canvasSource, { frameRate });
|
||||
|
||||
// For audio, we use ArrayBufferSource, because we'll be creating an ArrayBuffer with OfflineAudioContext
|
||||
let audioBufferSource: AudioBufferSource | null = null;
|
||||
|
||||
Reference in New Issue
Block a user