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

Echocancellation doesn't always work in Chrome/Chromium browsers #5

Open
lukeocodes opened this issue Mar 1, 2024 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@lukeocodes
Copy link
Collaborator

Caused by a user not using peer-devices. Here is the ticket: https://bugs.chromium.org/p/chromium/issues/detail?id=687574 It basically says that the echo cancellation only works for audio that is coming from a peer connection. As soon as it is processed locally by the Web Audio API it will not be considered anymore by the echo cancellation.

Possible fix is to go ahead and volume-down the playback when you start speaking. This will improve the barge-in experience, and possibly duck the playback under the microphones' decibel threshold so it doesn't pick itself up.

@lukeocodes lukeocodes added the enhancement New feature or request label Mar 1, 2024
@lukeocodes lukeocodes self-assigned this Mar 1, 2024
@AndrewMTA
Copy link

Is there a way to fix this and just cancel the echo? Can you just route it through a peer device instead of the Web Audio API?

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

No branches or pull requests

2 participants