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

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

Issue 2801853005: Create a private API for controlling WebRTC's AEC3 (Closed)
Patch Set: 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 133c63aca977e99d5c44bdf734e0e1c510e81d69..b3c757a0a63d7c36e5e6e53ab3ccced0056d36db 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_.googBeamforming.setExact(false);
}
+void MockConstraintFactory::DisableAecAudioConstraints() {
+ basic_.googEchoCancellation.setExact(false);
+}
+
void MockConstraintFactory::Reset() {
basic_ = blink::WebMediaTrackConstraintSet();
advanced_.clear();

Powered by Google App Engine
This is Rietveld 408576698