QuickTime 😩

This commit is contained in:
Vanilagy
2025-07-14 09:53:26 +02:00
parent b06f510382
commit c5d299c4ec
+1 -1
View File
@@ -85,7 +85,7 @@ const startRecording = async () => {
// Add the video track, with the canvas as the source // Add the video track, with the canvas as the source
videoSource = new CanvasSource(canvas, { videoSource = new CanvasSource(canvas, {
codec: 'vp9', codec: 'avc',
bitrate: QUALITY_MEDIUM, bitrate: QUALITY_MEDIUM,
keyFrameInterval: 0.5, keyFrameInterval: 0.5,
latencyMode: 'realtime', // Allow the encoder to skip frames to keep up with real-time constraints latencyMode: 'realtime', // Allow the encoder to skip frames to keep up with real-time constraints