setEchoCancellation method

Future<void> setEchoCancellation(
  1. bool enabled
)

Enables or disables the echo cancellation of local media in call.

Implementation

Future<void> setEchoCancellation(bool enabled) async {
  await _call.value.applyVoiceProcessing(echoCancellation: enabled);
  await _settingsRepo.setEchoCancellation(enabled);
}