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

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

Issue 1849003002: Add video frame refresh to MediaStream and VideoCapture stacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed last round of comments from xjz and emircan. Created 4 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
Index: content/renderer/media/media_stream_constraints_util.h
diff --git a/content/renderer/media/media_stream_constraints_util.h b/content/renderer/media/media_stream_constraints_util.h
index bd2d81825a162b46379770ac1b4539d86adcf3e5..7b24be2f25f22ebe2ebc5fbaa5bb670dd134d252 100644
--- a/content/renderer/media/media_stream_constraints_util.h
+++ b/content/renderer/media/media_stream_constraints_util.h
@@ -47,6 +47,11 @@ bool CONTENT_EXPORT GetConstraintValueAsDouble(
const blink::DoubleConstraint blink::WebMediaTrackConstraintSet::*picker,
double* value);
+bool CONTENT_EXPORT GetConstraintMinAsDouble(
+ const blink::WebMediaConstraints& constraints,
+ const blink::DoubleConstraint blink::WebMediaTrackConstraintSet::*picker,
+ double* value);
+
bool CONTENT_EXPORT GetConstraintMaxAsDouble(
const blink::WebMediaConstraints& constraints,
const blink::DoubleConstraint blink::WebMediaTrackConstraintSet::*picker,

Powered by Google App Engine
This is Rietveld 408576698