ZegoAECMode enum

Audio echo cancellation mode.

Inheritance

Constructors

ZegoAECMode()
const

Values

Aggressive → const ZegoAECMode

Aggressive echo cancellation may affect the sound quality slightly, but the echo will be very clean.

Medium → const ZegoAECMode

Moderate echo cancellation, which may slightly affect a little bit of sound, but the residual echo will be less.

Soft → const ZegoAECMode

Comfortable echo cancellation, that is, echo cancellation does not affect the sound quality of the sound, and sometimes there may be a little echo, but it will not affect the normal listening.

AI → const ZegoAECMode

AI echo cancellation. Supports intelligent recognition and elimination of echo, with a significant improvement in vocal fidelity compared to traditional AEC algorithms, without additional delay or power consumption increase.

AIAggressive → const ZegoAECMode

AI Aggressive echo cancellation, Similar to ZegoAECModeAI, it offers cleaner echo cancellation in scenarios with significant reverberation, making it recommended for use in chat rooms with large reverberation. It can be left off in other scenarios, especially in KTV settings where music is played out loud, as it may cause slightly more distortion to the human voice.

AIBalanced → const ZegoAECMode

Balanced AI echo cancellation, Compared with ZegoAECModeAIAggressive, the echo suppression is cleaner, but the human voice will be more damaged. It is recommended to use it in voice chat scenarios.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ZegoAECMode>
A constant List of the values in this enum, in order of their declaration.