is there means to turn on echo cancellation?
Closed this issue · 5 comments
Issue juha-h/baresip-studio#3 was opened on my baresip-studio project regarding echo cancellation on Android. I vaguely remember that this has been discussed earlier, but could not find a trace. What are the options? I have seen mentioned Speex AEC, GStreamer, and somehow attaching Android AudioManager to the audio session.
the best would be if Android has Hardware AEC. does anyone know if this is supported
by Android SW and/or HW ?
you can try the speex_aec module (Software AEC) but most likely it will not work
very well.
we should create a new module e.g. "webrtc_aec" that is using the AEC apis
from the Webrtc native project. This one has high quality AEC processing:
https://webrtc.googlesource.com/src/+/master/modules/audio_processing/aec3/
Alfred
There is some info about webrtc AEC native implementations on the web, e.g.
- https://stackoverflow.com/questions/12818721/webrtc-aec-on-android#14692832
- https://github.com/ThePacific/webrtc-android-jni
Also pjsip lib includes webrtc AEC:
I'll add enhancement (feature request) label to this issue.
This might be a bit late, but you can use pulse, and in pulse configure the webrtc arc module. This works fine.