pub struct EchoCanceller3Config {
pub buffering: Buffering,
pub delay: Delay,
pub filter: Filter,
pub erle: Erle,
pub ep_strength: EpStrength,
pub echo_audibility: EchoAudibility,
pub render_levels: RenderLevels,
pub echo_removal_control: EchoRemovalControl,
pub echo_model: EchoModel,
pub comfort_noise: ComfortNoise,
pub suppressor: Suppressor,
pub multi_channel: MultiChannel,
}Expand description
Configuration for the Echo Canceller 3.
This is a detailed internal configuration with many tuning parameters.
Most users should not need to modify these values — the defaults match
the upstream C++ WebRTC configuration. Use validate() to
clamp all parameters to reasonable ranges.
Fields§
§buffering: BufferingRender buffering and excess detection settings.
delay: DelayDelay estimation and alignment settings.
filter: FilterAdaptive filter configuration.
erle: ErleEcho Return Loss Enhancement (ERLE) estimation settings.
ep_strength: EpStrengthEcho path strength estimation settings.
echo_audibility: EchoAudibilityEcho audibility detection settings.
render_levels: RenderLevelsRender signal power thresholds.
echo_removal_control: EchoRemovalControlEcho removal control settings.
echo_model: EchoModelEcho model parameters.
comfort_noise: ComfortNoiseComfort noise generation settings.
suppressor: SuppressorSuppression filter settings.
multi_channel: MultiChannelMulti-channel processing settings.
Implementations§
Source§impl EchoCanceller3Config
impl EchoCanceller3Config
Sourcepub fn validate(&mut self) -> bool
pub fn validate(&mut self) -> bool
Validates and clamps config parameters to reasonable ranges.
Returns true if no changes were needed.
Sourcepub fn create_default_multichannel_config() -> Self
pub fn create_default_multichannel_config() -> Self
Creates the default configuration tuned for multichannel.
Trait Implementations§
Source§impl Clone for EchoCanceller3Config
impl Clone for EchoCanceller3Config
Source§fn clone(&self) -> EchoCanceller3Config
fn clone(&self) -> EchoCanceller3Config
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more