diff --git a/src/transcriber/imp.rs b/src/transcriber/imp.rs index ea96cee..932a6ff 100644 --- a/src/transcriber/imp.rs +++ b/src/transcriber/imp.rs @@ -44,7 +44,7 @@ static RUNTIME: Lazy = Lazy::new(|| { .unwrap() }); -const DEFAULT_LATENCY: gst::ClockTime = gst::ClockTime::from_seconds(5); +const DEFAULT_LATENCY: gst::ClockTime = gst::ClockTime::from_seconds(30); const DEFAULT_SERVER_ADDRESS: &str = "ws://localhost:2700"; const GRANULARITY: gst::ClockTime = gst::ClockTime::from_mseconds(100); diff --git a/src/vosk_client/mod.rs b/src/vosk_client/mod.rs index 4efa32d..41049cd 100644 --- a/src/vosk_client/mod.rs +++ b/src/vosk_client/mod.rs @@ -47,4 +47,4 @@ pub struct WordInfo { pub word: String, pub start: f64, pub end: f64, -} \ No newline at end of file +}