Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to turn on echo cancellation? #3

Closed
goderfly opened this issue Aug 1, 2018 · 11 comments
Closed

How to turn on echo cancellation? #3

goderfly opened this issue Aug 1, 2018 · 11 comments

Comments

@goderfly
Copy link

goderfly commented Aug 1, 2018

I use the biresip on the tablet, the call comes from the dial pad of the intercom, from the side of the tablet I can not hear the echo, but the person who dial from the panel hears himself. How to suppress an echo using opensles or any other module? How to turn on echo cancellation in baresip?

@juha-h
Copy link
Owner

juha-h commented Apr 19, 2019

Added reference to #26.

@juha-h juha-h closed this as completed Apr 19, 2019
@juha-h juha-h reopened this May 20, 2019
@juha-h
Copy link
Owner

juha-h commented May 20, 2019

Echo cancellation has now been implemented for PCMU, PCMA, and G.722.1 codecs. Opus is not (currently) supported, due to its high frequency and 2 channels.

@juha-h juha-h closed this as completed May 20, 2019
@assegaf
Copy link

assegaf commented Jun 25, 2022

hi juha, its it automatic enabled or need some config when using that codec,

@juha-h
Copy link
Owner

juha-h commented Jun 25, 2022

Currently echo cancellation is enabled for all codecs. Opus now uses only one channel at sample rate 16000.

@assegaf
Copy link

assegaf commented Jun 25, 2022

I am kinda using the libbaresip to convert whatsapp voice call to sip, kinda point us where to turn that off, we want pure no modification audio to make sure the quality not compromised ..

@juha-h
Copy link
Owner

juha-h commented Jun 26, 2022

You can disable echo cancellation by not loading webrtc_aecm.so module. Check also other audio related lines in config file.

@assegaf
Copy link

assegaf commented Jun 26, 2022

I thought we talking about spandsp thing, it is pure src/play ? no modification ?

we are not enabling webrtc_aecm module on compile ...

@assegaf
Copy link

assegaf commented Jun 26, 2022

there module
libbaresip-android/baresip/modules/echo
echo.c module.mk

is this ?

@assegaf
Copy link

assegaf commented Jun 26, 2022

You can disable echo cancellation by not loading webrtc_aecm.so module. Check also other audio related lines in config file.

but I will try that module too, maybe quality getting better ..., its seem overkill requirement to compile it ... very long,

@juha-h
Copy link
Owner

juha-h commented Jun 26, 2022 via email

@assegaf
Copy link

assegaf commented Jun 26, 2022

Echo cancellation has now been implemented for PCMU, PCMA, and G.722.1 codecs. Opus is not (currently) supported, due to its high frequency and 2 channels.

my mistakes, I thought of it enabled by default, it seem its just an echo application (for baresip pc), not pre processing audio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants