Page 1 of 1

Voip echo cancellation

Posted: Tue Oct 13, 2020 11:06 am
by Patsjemoe
Hi,
In the espressif document on voip (attached), it is mentioned that it includes a dual channel acoustic echo cancellation (AEC).
When I call with my Android phone, I hear my words in my ear with delay, when I call my Pc, no echo happens.
How/where in the Voip app/esp-adf can I see what is implemented for AEC so I can change parameters or add programming lines to optimise the echo canceller?
Thank you for your help.
Best regards
Ludo

Re: Voip echo cancellation

Posted: Sat Oct 24, 2020 4:56 pm
by Patsjemoe
In attached document, it says that espressif has an aec solution. Please explain why this solution is not provided/shared?

Re: Voip echo cancellation

Posted: Tue Feb 06, 2024 1:23 pm
by Rich398
Can't find any code either. Looks from the hardware schematics of the Espressif audio development boards that the Mic signal and speaker feedback signal were intended to occupy the left and right channels of I2S, and the processing intended to occur within the ESP32 for AEC. However, I have been unable to find any AEC code within ESP-ADF library. Maybe this code has been left up to the open-source community to produce?

Re: Voip echo cancellation

Posted: Wed Feb 07, 2024 12:19 pm
by Rich398
Echo cancelling may be difficult to achieve with good performance within the ESP32. If that is indeed the case, then perhaps the ES7243 ADC on the LyraT-Mini development board, for example, can be replaced with Fortemedia FM1288 device (or similar) that has inbuilt DSP specifically for Echo Cancelling. Also has I2S interface. Maybe Espressif can produce a new development board including the FM1288 device and also code to configure this device in the ESP-ADF library?