Reputation: 21370
How can I enable noise suppression and audio mirroring in WebRTC?
What I tried is to put in the media constraints
audio: {
mandatory: {
googNoiseSupression: true
googAudioMirroring: true
}
}
but it doesn't work. After the browser asks permission to share the mic and I click on "Allow", then nothing happens.
I got the options from here: https://chromium.googlesource.com/external/webrtc/+/master/talk/app/webrtc/mediaconstraintsinterface.cc. Is there somewhere else a list of the media constraints that can be used?
I'm using Chrome.
Upvotes: 2
Views: 5182
Reputation: 21370
I finally made it work, but only with googNoiseSupression. Also adding googAudioMirroring and calling getUserMedia does nothing.
Upvotes: 2