mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
QuickTime 😩
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user