Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable WebRTC audio processing on WebAudio inputs.
When a microphone input is routed through WebAudio, the constraints that were supplied when opening the device are lost. Without these constraints, we cannot determine whether the user requested to disable AEC, AGC, etc. Currently, all these audio processing functions are enabled by default for microphone inputs, but are always disabled for WebAudio inputs. They were disabled in Revision 182669 (https://codereview.chromium.org/12220121), in order to serve the needs of a loopback demo (http://simpl.info/webrtcwebaudio/). However, these settings break any actual WebRTC use (i.e. peer-to-peer). This CL changes the settings to favor the actual use case, by using settings that match the default microphone behavior, at the expense of the loopback (demo) case. BUG=none TEST=Fixes audio quality problem (echo) in p2p tests. Review URL: https://chromiumcodereview.appspot.com/16879009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207224 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information