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

Unified Diff: third_party/WebKit/public/platform/WebMediaConstraints.h

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/public/platform/WebMediaConstraints.h
diff --git a/third_party/WebKit/public/platform/WebMediaConstraints.h b/third_party/WebKit/public/platform/WebMediaConstraints.h
index a17459072865f3939ab041a35e92276897ff58b0..e7aa6c7a3a71a3351941617575856807af7cf238 100644
--- a/third_party/WebKit/public/platform/WebMediaConstraints.h
+++ b/third_party/WebKit/public/platform/WebMediaConstraints.h
@@ -231,6 +231,11 @@ struct WebMediaTrackConstraintSet {
StringConstraint deviceId;
BooleanConstraint disableLocalEcho;
StringConstraint groupId;
+ // https://w3c.github.io/mediacapture-depth/#mediatrackconstraints
+ DoubleConstraint depthNear;
+ DoubleConstraint depthFar;
+ DoubleConstraint focalLengthX;
+ DoubleConstraint focalLengthY;
// Constraints not exposed in Blink at the moment, only through
// the legacy name interface.
StringConstraint mediaStreamSource; // tab, screen, desktop, system

Powered by Google App Engine
This is Rietveld 408576698