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

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp

Issue 2606983002: Media Capture Depth Stream Extensions API: focal length and depth range. (Closed)
Patch Set: Added to MediaTrackSupportedConstraints and MediaTrackConstraintSet. Thanks mcasas@. Created 3 years, 11 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: third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp b/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
index 2cae78f0213ebd40e4b99a80a424cc96cc7527e0..0e15d4b0cc0f7c752ecff359de9bad715ca55465 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
@@ -357,6 +357,10 @@ WebMediaTrackConstraintSet::WebMediaTrackConstraintSet()
deviceId("deviceId"),
disableLocalEcho("disableLocalEcho"),
groupId("groupId"),
+ depthNear("depthNear"),
+ depthFar("depthFar"),
+ focalLengthX("focalLengthX"),
+ focalLengthY("focalLengthY"),
mediaStreamSource("mediaStreamSource"),
renderToAssociatedSink("chromeRenderToAssociatedSink"),
hotwordEnabled("hotwordEnabled"),
@@ -413,6 +417,10 @@ std::vector<const BaseConstraint*> WebMediaTrackConstraintSet::allConstraints()
&channelCount,
&deviceId,
&groupId,
+ &depthNear,
+ &depthFar,
+ &focalLengthX,
+ &focalLengthY,
&mediaStreamSource,
&disableLocalEcho,
&renderToAssociatedSink,

Powered by Google App Engine
This is Rietveld 408576698