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

Side by Side Diff: webrtc/api/objc/avfoundationvideocapturer.mm

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 | « webrtc/api/objc/avfoundationvideocapturer.h ('k') | webrtc/media/base/mediachannel.h » ('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 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/api/objc/avfoundationvideocapturer.h" 11 #include "webrtc/api/objc/avfoundationvideocapturer.h"
12 12
13 #include "webrtc/base/bind.h" 13 #include "webrtc/base/bind.h"
14 #include "webrtc/base/thread.h"
14 15
15 #import <AVFoundation/AVFoundation.h> 16 #import <AVFoundation/AVFoundation.h>
16 #import <Foundation/Foundation.h> 17 #import <Foundation/Foundation.h>
17 #import <UIKit/UIKit.h> 18 #import <UIKit/UIKit.h>
18 19
19 #import "webrtc/base/objc/RTCDispatcher.h" 20 #import "webrtc/base/objc/RTCDispatcher.h"
20 #import "webrtc/base/objc/RTCLogging.h" 21 #import "webrtc/base/objc/RTCLogging.h"
21 22
22 // TODO(tkchin): support other formats. 23 // TODO(tkchin): support other formats.
23 static NSString* const kDefaultPreset = AVCaptureSessionPreset640x480; 24 static NSString* const kDefaultPreset = AVCaptureSessionPreset640x480;
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 435
435 void AVFoundationVideoCapturer::SignalFrameCapturedOnStartThread( 436 void AVFoundationVideoCapturer::SignalFrameCapturedOnStartThread(
436 const cricket::CapturedFrame *frame) { 437 const cricket::CapturedFrame *frame) {
437 RTC_DCHECK(_startThread->IsCurrent()); 438 RTC_DCHECK(_startThread->IsCurrent());
438 // This will call a superclass method that will perform the frame conversion 439 // This will call a superclass method that will perform the frame conversion
439 // to I420. 440 // to I420.
440 SignalFrameCaptured(this, frame); 441 SignalFrameCaptured(this, frame);
441 } 442 }
442 443
443 } // namespace webrtc 444 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/api/objc/avfoundationvideocapturer.h ('k') | webrtc/media/base/mediachannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698