Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Reduce forward jump threshold in output pipeline

Richie McIlroy2093ea679f76
diff --git a/crates/recording/src/output_pipeline/core.rs b/crates/recording/src/output_pipeline/core.rs
index ed150eb3e..cdc7e0b54 100644
--- a/crates/recording/src/output_pipeline/core.rs
+++ b/crates/recording/src/output_pipeline/core.rs
@@ -27,7 +27,7 @@ use tracing::*;
const CONSECUTIVE_ANOMALY_ERROR_THRESHOLD: u64 = 30;
const LARGE_BACKWARD_JUMP_SECS: f64 = 1.0;
-const LARGE_FORWARD_JUMP_SECS: f64 = 5.0;
+const LARGE_FORWARD_JUMP_SECS: f64 = 0.5;
struct AudioTimestampGenerator {
sample_rate: u32,