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

Side by Side Diff: content/renderer/media/rtc_video_capturer.h

Issue 11141008: Roll libjingle to r204 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more changes Created 8 years, 2 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RTC_VIDEO_CAPTURER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURER_H_
6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURER_H_ 6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 17 matching lines...) Expand all
28 28
29 // cricket::VideoCapturer implementation. 29 // cricket::VideoCapturer implementation.
30 // These methods are accessed from a libJingle thread. 30 // These methods are accessed from a libJingle thread.
31 virtual cricket::CaptureState Start( 31 virtual cricket::CaptureState Start(
32 const cricket::VideoFormat& capture_format) OVERRIDE; 32 const cricket::VideoFormat& capture_format) OVERRIDE;
33 virtual void Stop() OVERRIDE; 33 virtual void Stop() OVERRIDE;
34 virtual bool IsRunning() OVERRIDE; 34 virtual bool IsRunning() OVERRIDE;
35 virtual bool GetPreferredFourccs(std::vector<uint32>* fourccs) OVERRIDE; 35 virtual bool GetPreferredFourccs(std::vector<uint32>* fourccs) OVERRIDE;
36 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired, 36 virtual bool GetBestCaptureFormat(const cricket::VideoFormat& desired,
37 cricket::VideoFormat* best_format) OVERRIDE; 37 cricket::VideoFormat* best_format) OVERRIDE;
38 virtual bool IsScreencast() OVERRIDE;
38 39
39 private: 40 private:
40 // Frame captured callback method. 41 // Frame captured callback method.
41 virtual void OnFrameCaptured( 42 virtual void OnFrameCaptured(
42 const media::VideoCapture::VideoFrameBuffer& frame); 43 const media::VideoCapture::VideoFrameBuffer& frame);
43 44
44 scoped_refptr<RtcVideoCaptureDelegate> delegate_; 45 scoped_refptr<RtcVideoCaptureDelegate> delegate_;
45 video_capture::State state_; 46 video_capture::State state_;
46 base::Time start_time_; 47 base::Time start_time_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(RtcVideoCapturer); 49 DISALLOW_COPY_AND_ASSIGN(RtcVideoCapturer);
49 }; 50 };
50 51
51 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURER_H_ 52 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_CAPTURER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/mock_peer_connection_impl.cc ('k') | content/renderer/media/rtc_video_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698