enableAEC abstract method

Future<int> enableAEC(
  1. bool enable
)

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.

  • enable Whether to enable echo cancellation.
  • Returns The result of the API call.

Implementation

Future<int> enableAEC(bool enable);