GetUserMedia result in TrackStartError in Chrome

I had a WebRTC application that previously worked, and now I get an error message TrackStartErrorwhen called getuserMedia().

I am using Chrome version 50.0.2661.75 m (64-bit).

+2
source share
3 answers

It seems that Google has stopped using the following sound restrictions: googEchoCancellation2, googAutoGainControl, googAutoGainControl2, googNoiseSuppression2. Removing these restrictions worked for me. googAutoGainControlcan be used mainly.

+3
source

I had the same error, I used these flags

"mandatory": {
    googTypingNoiseDetection: false,
    googEchoCancellation: false,
    googEchoCancellation2: false,
    googAutoGainControl: false,
    googAutoGainControl2: false,
    googNoiseSuppression: false,
    googNoiseSuppression2: false,
    googHighpassFilter: false,
}

now, I have to check if the chrome version is above 50, in this case only these flags are used

"mandatory": {
    googTypingNoiseDetection: false,
    googEchoCancellation: false,
    //googEchoCancellation2: false,
    googAutoGainControl: false,
    //googAutoGainControl2: false,
    googNoiseSuppression: false,
    //googNoiseSuppression2: false,
    googHighpassFilter: false,
}
+2

Excluded goog prefixes are used at your own risk, and they may stop working at any time. The correct way to turn off sound processing in Chrome is to set echoCancellation to false.

+1
source

All Articles