Documentation

Support

Vivox Unity SDK

Vivox Unity SDK

Acoustic echo cancellation

Enable acoustic echo cancellation to improve audio quality on mobile devices.
Read time 1 minuteLast updated 2 days ago

When certain devices, particularly mobile devices, or devices with integrated input and output devices, are being used, there's a chance that the input device will pick up on the audio from the output device. Vivox includes Acoustic Echo Cancellation (AEC), which helps to prevent this situation from occurring. While devices will often have their own hardware acoustic echo cancellation, Vivox's software Acoustic Echo Cancellation can be further enabled using the
VivoxService.Instance.EnableAcousticEchoCancellation()
method, and can be disabled using the
VivoxService.Instance.DisableAcousticEchoCancellation()
. This provides a second level of AEC on top of the platform’s AEC, if the device has AEC already, or it becomes the only layer of AEC if the device doesn’t have its own AEC. Often, platform AEC will only activate in certain scenarios while the Vivox AEC ensures that at least one form of AEC will activate in most circumstances.