- From: pantoin via GitHub <sysbot+gh@w3.org>
- Date: Mon, 10 Apr 2017 16:37:55 +0000
- To: public-media-capture-logs@w3.org
pantoin has just created a new issue for https://github.com/w3c/mediacapture-main: == echoCancellation with advanced constraints == Hi, With webaudio if echoCancellation isn't set to false amplitude value changes after few seconds. So constraints must be like this : var constraints = { audio: { optional: [{ echoCancellation: false }] } }; But with an advanced constraint (just set device id) i have this error : navigator.getUserMedia error: TypeError: Failed to execute 'getUserMedia' on 'MediaDevices': Malformed constraint: Cannot use both optional/mandatory and specific or advanced constraints. var constraints = { audio: { deviceId: audioSource ? {exact: audioSource.id} : undefined, optional: [{ echoCancellation: false }] } }; So i make the constraint like this : var constraints = { audio: { deviceId: audioSource ? {exact: audioSource.id} : undefined, echoCancellation: false } }; But with this new constraint echoCancellation seems to be always active 👍 the output gain drops after few seconds. Someone would have an idea about that? Thank you Using Chrome 57.0.2987.133 Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/443 using your GitHub account
Received on Monday, 10 April 2017 16:38:05 UTC