pub struct ServerVadConfig {
pub prefix_padding_ms: Option<u32>,
pub silence_duration_ms: Option<u32>,
pub threshold: Option<f32>,
}Expand description
Manual VAD detection parameters, sent as the server_vad chunking
strategy.
Fields§
§prefix_padding_ms: Option<u32>Amount of audio to include before the VAD detected speech (in milliseconds).
silence_duration_ms: Option<u32>Duration of silence to detect speech stop (in milliseconds).
threshold: Option<f32>Sensitivity threshold (0.0 to 1.0) for voice activity detection.
Trait Implementations§
Source§impl Clone for ServerVadConfig
impl Clone for ServerVadConfig
Source§fn clone(&self) -> ServerVadConfig
fn clone(&self) -> ServerVadConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerVadConfig
impl Debug for ServerVadConfig
Source§impl Default for ServerVadConfig
impl Default for ServerVadConfig
Source§fn default() -> ServerVadConfig
fn default() -> ServerVadConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerVadConfig
impl RefUnwindSafe for ServerVadConfig
impl Send for ServerVadConfig
impl Sync for ServerVadConfig
impl Unpin for ServerVadConfig
impl UnsafeUnpin for ServerVadConfig
impl UnwindSafe for ServerVadConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more