Default latency needs to be 30s to work smoothly

This commit is contained in:
Rafael Caricio 2022-03-31 16:31:37 +02:00
parent 36b6f8e70d
commit 2f09033c50
Signed by: rafaelcaricio
GPG key ID: 3C86DBCE8E93C947
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ static RUNTIME: Lazy<runtime::Runtime> = 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);

View file

@ -47,4 +47,4 @@ pub struct WordInfo {
pub word: String,
pub start: f64,
pub end: f64,
}
}