pub struct EchoCancellation {
pub suppression_level: EchoCancellationSuppressionLevel,
pub enable_extended_filter: bool,
pub enable_delay_agnostic: bool,
pub stream_delay_ms: Option<i32>,
}
Expand description
Echo cancellation configuration.
Fields§
§suppression_level: EchoCancellationSuppressionLevel
Determines the aggressiveness of the suppressor. A higher level trades off double-talk performance for increased echo suppression.
enable_extended_filter: bool
Use to enable the extended filter mode in the AEC, along with robustness measures around the reported system delays. It comes with a significant increase in AEC complexity, but is much more robust to unreliable reported delays.
enable_delay_agnostic: bool
Enables delay-agnostic echo cancellation. This feature relies on internally estimated delays between the process and reverse streams, thus not relying on reported system delays.
stream_delay_ms: Option<i32>
Sets the delay in ms between process_render_frame() receiving a far-end frame and process_capture_frame() receiving a near-end frame containing the corresponding echo. You should set this only if you are certain that the delay will be stable and constant. enable_delay_agnostic will be ignored when this option is set.
Trait Implementations§
Source§impl Clone for EchoCancellation
impl Clone for EchoCancellation
Source§fn clone(&self) -> EchoCancellation
fn clone(&self) -> EchoCancellation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more