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

Side by Side Diff: talk/app/webrtc/objc/avfoundationvideocapturer.h

Issue 1804133003: Delete unused VideoCapturer statistics. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Address nits. Update both copies of AVFoundationVideoCapturer.' Created 4 years, 9 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
« no previous file with comments | « no previous file | talk/app/webrtc/objc/avfoundationvideocapturer.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2015 Google Inc. 3 * Copyright 2015 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 17 matching lines...) Expand all
28 #ifndef TALK_APP_WEBRTC_OBJC_AVFOUNDATION_VIDEO_CAPTURER_H_ 28 #ifndef TALK_APP_WEBRTC_OBJC_AVFOUNDATION_VIDEO_CAPTURER_H_
29 #define TALK_APP_WEBRTC_OBJC_AVFOUNDATION_VIDEO_CAPTURER_H_ 29 #define TALK_APP_WEBRTC_OBJC_AVFOUNDATION_VIDEO_CAPTURER_H_
30 30
31 #include "webrtc/media/base/videocapturer.h" 31 #include "webrtc/media/base/videocapturer.h"
32 #include "webrtc/video_frame.h" 32 #include "webrtc/video_frame.h"
33 33
34 #import <AVFoundation/AVFoundation.h> 34 #import <AVFoundation/AVFoundation.h>
35 35
36 @class RTCAVFoundationVideoCapturerInternal; 36 @class RTCAVFoundationVideoCapturerInternal;
37 37
38 namespace rtc {
39 class Thread;
40 } // namespace rtc
41
38 namespace webrtc { 42 namespace webrtc {
39 43
40 class AVFoundationVideoCapturer : public cricket::VideoCapturer { 44 class AVFoundationVideoCapturer : public cricket::VideoCapturer {
41 public: 45 public:
42 AVFoundationVideoCapturer(); 46 AVFoundationVideoCapturer();
43 ~AVFoundationVideoCapturer(); 47 ~AVFoundationVideoCapturer();
44 48
45 cricket::CaptureState Start(const cricket::VideoFormat& format) override; 49 cricket::CaptureState Start(const cricket::VideoFormat& format) override;
46 void Stop() override; 50 void Stop() override;
47 bool IsRunning() override; 51 bool IsRunning() override;
(...skipping 24 matching lines...) Expand all
72 // Used to signal frame capture on the thread that capturer was started on. 76 // Used to signal frame capture on the thread that capturer was started on.
73 void SignalFrameCapturedOnStartThread(const cricket::CapturedFrame* frame); 77 void SignalFrameCapturedOnStartThread(const cricket::CapturedFrame* frame);
74 78
75 RTCAVFoundationVideoCapturerInternal* _capturer; 79 RTCAVFoundationVideoCapturerInternal* _capturer;
76 rtc::Thread* _startThread; // Set in Start(), unset in Stop(). 80 rtc::Thread* _startThread; // Set in Start(), unset in Stop().
77 }; // AVFoundationVideoCapturer 81 }; // AVFoundationVideoCapturer
78 82
79 } // namespace webrtc 83 } // namespace webrtc
80 84
81 #endif // TALK_APP_WEBRTC_OBJC_AVFOUNDATION_CAPTURER_H_ 85 #endif // TALK_APP_WEBRTC_OBJC_AVFOUNDATION_CAPTURER_H_
OLDNEW
« no previous file with comments | « no previous file | talk/app/webrtc/objc/avfoundationvideocapturer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698