I am creating a video chat application for android using Chrome browser. Although the video quality is great and the constraints are clearly being used. The audio quality is terrible due to strong echo and noise. I tried setting the audio constraints but they seem to have no effect. If anyone has done this successfully or has any resources I would be thankful. Here is my code:
navigator.getUsermedia({
"audio": {
"mandatory": {
"googTypingNoiseDetection":true,
"googEchoCancellation": true,
"googAutoGainControl": true,
"googNoiseSuppression": true,
"googHighpassFilter": true
},
"optional": []
},
"video": {
"mandatory": {
"minWidth": "320",
"minHeight": "240",
"minFrameRate": "30",
"minAspectRatio": "1.333",
"maxWidth": "640",
"maxHeight": "480",
"maxFrameRate": "33",
"maxAspectRatio": "1.333"
},
"optional": []
}
}