enableAEC abstract method
Enable custom audio source echo cancellation.
Available since: 3.25.0
Description: Enable custom audio source echo cancellation.
Use cases: Typically used in educational scenarios that require switching between different audio capture sources.
When to call: After the custom audio source is created by createCustomAudioSource.
Restrictions: None.
Caution: ZegoCustomAudioSource can only be used as a mix source, not as the main capture source.
enableWhether to enable echo cancellation.- Returns The result of the API call.
Implementation
Future<int> enableAEC(bool enable);