pub enum EchoCanceller {
Mobile {
stream_delay_ms: u16,
},
Full {
stream_delay_ms: Option<u16>,
},
}Expand description
AEC (acoustic echo cancellation) configuration. Defaults to Full (AEC3) mode with delay estimation (stream_delay unset).
Functionality in the C++ library that we don’t yet expose:
- EchoCanceller::enforce_high_pass_filtering: hard-coded to true on Full, false on Mobile
Variants§
Mobile
Use low-complexity AEC implementation that is optimized for mobile. Force-enables high pass filter.
Fields
Full
Uses the full AEC3 implementation.
Trait Implementations§
Source§impl Clone for EchoCanceller
impl Clone for EchoCanceller
Source§fn clone(&self) -> EchoCanceller
fn clone(&self) -> EchoCanceller
Returns a duplicate of the value. Read more
1.0.0 · 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 EchoCanceller
impl Debug for EchoCanceller
Source§impl Default for EchoCanceller
impl Default for EchoCanceller
Source§impl<'de> Deserialize<'de> for EchoCanceller
impl<'de> Deserialize<'de> for EchoCanceller
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EchoCanceller
impl Display for EchoCanceller
Source§impl IntoEnumIterator for EchoCanceller
impl IntoEnumIterator for EchoCanceller
type Iterator = EchoCancellerIter
fn iter() -> EchoCancellerIter ⓘ
Source§impl JsonSchema for EchoCanceller
impl JsonSchema for EchoCanceller
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for EchoCanceller
impl PartialEq for EchoCanceller
Source§impl Serialize for EchoCanceller
impl Serialize for EchoCanceller
impl Copy for EchoCanceller
impl StructuralPartialEq for EchoCanceller
Auto Trait Implementations§
impl Freeze for EchoCanceller
impl RefUnwindSafe for EchoCanceller
impl Send for EchoCanceller
impl Sync for EchoCanceller
impl Unpin for EchoCanceller
impl UnsafeUnpin for EchoCanceller
impl UnwindSafe for EchoCanceller
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