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

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

Issue 442643002: Allow MediaStream constraints to specify higher than 30 FPS tab capture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile whoops. Created 6 years, 4 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 | « no previous file | content/renderer/media/media_stream_video_capturer_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_video_capturer_source.h
diff --git a/content/renderer/media/media_stream_video_capturer_source.h b/content/renderer/media/media_stream_video_capturer_source.h
index 3b9588aa799cd42c3de74d3a6036c39db7696b23..fff2dcc7938aabb050139878d226d6a3ba2d3b94 100644
--- a/content/renderer/media/media_stream_video_capturer_source.h
+++ b/content/renderer/media/media_stream_video_capturer_source.h
@@ -28,12 +28,14 @@ class CONTENT_EXPORT VideoCapturerDelegate
const StreamDeviceInfo& device_info);
// Collects the formats that can currently be used.
- // |max_requested_height| and |max_requested_width| is used by Tab and Screen
- // capture to decide what resolution to generate.
- // |callback| is triggered when the formats have been collected.
+ // |max_requested_height|, |max_requested_width|, and
+ // |max_requested_frame_rate| is used by Tab and Screen capture to decide what
+ // resolution/framerate to generate. |callback| is triggered when the formats
+ // have been collected.
virtual void GetCurrentSupportedFormats(
int max_requested_width,
int max_requested_height,
+ double max_requested_frame_rate,
const VideoCaptureDeviceFormatsCB& callback);
// Starts capturing frames using the resolution in |params|.
@@ -102,6 +104,7 @@ class CONTENT_EXPORT MediaStreamVideoCapturerSource
virtual void GetCurrentSupportedFormats(
int max_requested_width,
int max_requested_height,
+ double max_requested_frame_rate,
const VideoCaptureDeviceFormatsCB& callback) OVERRIDE;
virtual void StartSourceImpl(
« no previous file with comments | « no previous file | content/renderer/media/media_stream_video_capturer_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698