Hi,
I have a small app in chrome, latest version (102) that opens the userMedia and connects the input to an audio/video renderer - very simple and no connection involved yet. The constraints are:
"video" -> <deviceId>
"echoCancellation" -> false
"autoGainControl" -> false
"noiseSuppression" -> false
This app outputs the input signal in stereo quality - just as expected.
And if I connect this peer to peer, the transmitted signal is - of course - also stereo.
If now using the constraints
"video" -> <deviceId>
"echoCancellation" -> true
"autoGainControl" -> false
"noiseSuppression" -> false
the sound is no longer stereo but monaural even though the input device produces stereo signals as before. This is unexpected.
And if I connect this peer to peer, the transmitted signal is - of course - also mono.
The chrome://webrtc-internals confirms that the constraints are applied properly.
How can I achieve that even with AEC active stereo is processed? Is the observed behavior - either stereo + no AEC OR AEC + Monaural - a bug or a feature?
I run the web app from localhost. Could the non-stereo output be due to not using https?
Any help is greatly appreciated. Thank you and best regards