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

Unified Diff: content/public/common/content_features.cc

Issue 2941563002: Enable new getUserMedia audio constraints algorithm behind a flag. (Closed)
Patch Set: remove vertical space from DEPS Created 3 years, 6 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
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/media/media_stream_audio_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 15fb85f6ab5ca9ed4a15758c954097dfafcf506a..59d38ce7b75fa325fb7bf363997c64d9381b1ecf 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -136,6 +136,10 @@ const base::Feature kMediaDocumentDownloadButton{
base::FEATURE_DISABLED_BY_DEFAULT
};
+// Enables the old algorithm for processing audio constraints in getUserMedia().
+const base::Feature kMediaStreamOldAudioConstraints{
+ "MediaStreamOldAudioConstraints", base::FEATURE_ENABLED_BY_DEFAULT};
+
// Enables the old algorithm for processing video constraints in getUserMedia().
const base::Feature kMediaStreamOldVideoConstraints{
"MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT};
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/media/media_stream_audio_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698