Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

reduce sleep to 500ms

Brendan Allan457c1c6cc0ac
diff --git a/apps/desktop/src-tauri/src/recording.rs b/apps/desktop/src-tauri/src/recording.rs
index 3d006115a..2dd1a2f58 100644
--- a/apps/desktop/src-tauri/src/recording.rs
+++ b/apps/desktop/src-tauri/src/recording.rs
@@ -260,7 +260,7 @@ pub async fn start(
let ffmpeg_process = ffmpeg.start();
- tokio::time::sleep(Duration::from_secs(1)).await;
+ tokio::time::sleep(Duration::from_millis(500)).await;
println!("Starting writing to named pipes");