Skip to content

Create professional demos and 3D mockups in seconds, directly in your browser

feat(screenRecording): increase maximum recording time limit from 60 to 120 seconds

CristianOlivera16beb90457b7c
diff --git a/hooks/useScreenRecording.ts b/hooks/useScreenRecording.ts
index 12e62b6..862db13 100644
--- a/hooks/useScreenRecording.ts
+++ b/hooks/useScreenRecording.ts
@@ -549,7 +549,7 @@ export function useScreenRecording() {
}, [restoreOriginals]);
useEffect(() => {
- if (recordingTime >= 60 && state === "recording") {
+ if (recordingTime >= 120 && state === "recording") {
stopRecording();
}
}, [recordingTime, state, stopRecording]);