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

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

Issue 2790823002: Spec compliant video constraints for getUserMedia behind flag. (Closed)
Patch Set: rebase 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
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/renderer/media_stream_utils.cc » ('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 c1ccf0d87d5ceeb569a69fe126d8edfbb38cb6d1..61fc77e4961e72d26ebac184fad9573e267a09e6 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -120,6 +120,10 @@ const base::Feature kMediaDocumentDownloadButton{
base::FEATURE_DISABLED_BY_DEFAULT
};
+// Enables the old algorithm for processing video constraints in getUserMedia().
+const base::Feature kMediaStreamOldVideoConstraints{
+ "MediaStreamOldVideoConstraints", base::FEATURE_ENABLED_BY_DEFAULT};
+
// Enables the memory coordinator.
// WARNING:
// The memory coordinator is not ready for use and enabling this may cause
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/renderer/media_stream_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698