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

Side by Side Diff: content/renderer/media/webrtc/video_destination_handler.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_VIDEO_DESTINATION_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // FrameWriterInterface implementation. 46 // FrameWriterInterface implementation.
47 // This method will be called by the Pepper host from render thread. 47 // This method will be called by the Pepper host from render thread.
48 virtual void PutFrame(PPB_ImageData_Impl* image_data, 48 virtual void PutFrame(PPB_ImageData_Impl* image_data,
49 int64 time_stamp_ns) OVERRIDE; 49 int64 time_stamp_ns) OVERRIDE;
50 protected: 50 protected:
51 // MediaStreamVideoSource implementation. 51 // MediaStreamVideoSource implementation.
52 virtual void GetCurrentSupportedFormats( 52 virtual void GetCurrentSupportedFormats(
53 int max_requested_width, 53 int max_requested_width,
54 int max_requested_height, 54 int max_requested_height,
55 double max_requested_frame_rate,
55 const VideoCaptureDeviceFormatsCB& callback) OVERRIDE; 56 const VideoCaptureDeviceFormatsCB& callback) OVERRIDE;
56 virtual void StartSourceImpl( 57 virtual void StartSourceImpl(
57 const media::VideoCaptureParams& params, 58 const media::VideoCaptureParams& params,
58 const VideoCaptureDeliverFrameCB& frame_callback) OVERRIDE; 59 const VideoCaptureDeliverFrameCB& frame_callback) OVERRIDE;
59 virtual void StopSourceImpl() OVERRIDE; 60 virtual void StopSourceImpl() OVERRIDE;
60 61
61 private: 62 private:
62 media::VideoFramePool frame_pool_; 63 media::VideoFramePool frame_pool_;
63 64
64 class FrameWriterDelegate; 65 class FrameWriterDelegate;
(...skipping 17 matching lines...) Expand all
82 const std::string& url, 83 const std::string& url,
83 FrameWriterInterface** frame_writer); 84 FrameWriterInterface** frame_writer);
84 85
85 private: 86 private:
86 DISALLOW_COPY_AND_ASSIGN(VideoDestinationHandler); 87 DISALLOW_COPY_AND_ASSIGN(VideoDestinationHandler);
87 }; 88 };
88 89
89 } // namespace content 90 } // namespace content
90 91
91 #endif // CONTENT_RENDERER_MEDIA_VIDEO_DESTINATION_HANDLER_H_ 92 #endif // CONTENT_RENDERER_MEDIA_VIDEO_DESTINATION_HANDLER_H_
92
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698