Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

only 1s delay

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