Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Unified Diff: content/renderer/media/mock_constraint_factory.cc

Issue 2801853005: Create a private API for controlling WebRTC's AEC3 (Closed)
Patch Set: Fixing typo Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/mock_constraint_factory.cc
diff --git a/content/renderer/media/mock_constraint_factory.cc b/content/renderer/media/mock_constraint_factory.cc
index 763158a028a5943f82bb6bdc79fd5a836f39ec7a..8e5086544cde27046048901d0f6be64fd1b96283 100644
--- a/content/renderer/media/mock_constraint_factory.cc
+++ b/content/renderer/media/mock_constraint_factory.cc
@@ -42,6 +42,10 @@ void MockConstraintFactory::DisableDefaultAudioConstraints() {
basic_.goog_beamforming.SetExact(false);
}
+void MockConstraintFactory::DisableAecAudioConstraints() {
+ basic_.goog_echo_cancellation.SetExact(false);
+}
+
void MockConstraintFactory::Reset() {
basic_ = blink::WebMediaTrackConstraintSet();
advanced_.clear();
« no previous file with comments | « content/renderer/media/mock_constraint_factory.h ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698