Default latency needs to be 30s to work smoothly
This commit is contained in:
parent
36b6f8e70d
commit
2f09033c50
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -47,4 +47,4 @@ pub struct WordInfo {
|
|||
pub word: String,
|
||||
pub start: f64,
|
||||
pub end: f64,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue