Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix: avoid unsupported display media min constraint
EtienneLescot3d1d4a5ff070
diff --git a/src/hooks/useScreenRecorder.ts b/src/hooks/useScreenRecorder.tsindex 8aa673e5b..7cd86a7a6 100644--- a/src/hooks/useScreenRecorder.ts+++ b/src/hooks/useScreenRecorder.ts@@ -5,7 +5,6 @@ import { useScopedT } from "@/contexts/I18nContext";import { requestCameraAccess } from "@/lib/requestCameraAccess";const TARGET_FRAME_RATE = 60;-const MIN_FRAME_RATE = 30;const TARGET_WIDTH = 3840;const TARGET_HEIGHT = 2160;const FOUR_K_PIXELS = TARGET_WIDTH * TARGET_HEIGHT;@@ -585,7 +584,7 @@ export function useScreenRecorder(): UseScreenRecorderReturn {cursor: "never",width: { max: TARGET_WIDTH },height: { max: TARGET_HEIGHT },- frameRate: { ideal: TARGET_FRAME_RATE, min: MIN_FRAME_RATE },+ frameRate: { ideal: TARGET_FRAME_RATE },} as MediaTrackConstraints,audio: systemAudioEnabled,} as DisplayMediaStreamOptions);