Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

Merge pull request #600 from sagar290/webcam-layout-constraints

Sid086039bf673b
diff --cc src/hooks/useScreenRecorder.ts
index cdd4088d0,1b9148ea1..08d062ca4
--- a/src/hooks/useScreenRecorder.ts
+++ b/src/hooks/useScreenRecorder.ts
@@@ -855,11 -637,11 +849,11 @@@ export function useScreenRecorder(): Us
},
},
webcam: {
- enabled: webcamEnabled,
+ enabled: webcamEnabled && !browserWebcamRecorder,
deviceId: webcamDeviceId,
deviceName: webcamDeviceName,
- width: WEBCAM_TARGET_WIDTH,
- height: WEBCAM_TARGET_HEIGHT,
+ width: 0,
+ height: 0,
fps: WEBCAM_TARGET_FRAME_RATE,
},
cursor: {