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

Unified Diff: content/renderer/media/media_stream_source.h

Issue 227743004: Added a kEchoCancellation constraint to turn off the audio processing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: when kEchoCancellation is false, default values of all goog* constraints are false, added unittests Created 6 years, 7 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/media_stream_source.h
diff --git a/content/renderer/media/media_stream_source.h b/content/renderer/media/media_stream_source.h
index 138e58ec6bd9bfb55442d70ed20b7345c8906b38..18821c38cf5a4fc0c285f49932506ee570273069 100644
--- a/content/renderer/media/media_stream_source.h
+++ b/content/renderer/media/media_stream_source.h
@@ -27,6 +27,10 @@ class CONTENT_EXPORT MediaStreamSource
typedef base::Callback<void(MediaStreamSource* source,
bool success)> ConstraintsCallback;
+ // Source constraints key for
+ // http://dev.w3.org/2011/webrtc/editor/getusermedia.html.
+ static const char kSourceId[];
+
MediaStreamSource();
virtual ~MediaStreamSource();

Powered by Google App Engine
This is Rietveld 408576698