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/modules/video_capture/objc/rtc_video_capture_objc.h

Issue 2534553002: Replace VideoCaptureDataCallback by VideoSinkInterface. (Closed)
Patch Set: Break overlong lines. Created 4 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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
(...skipping 12 matching lines...) Expand all
23 // This notification must be posted in order for the capturer to reflect the 23 // This notification must be posted in order for the capturer to reflect the
24 // orientation change in video w.r.t. the application orientation. 24 // orientation change in video w.r.t. the application orientation.
25 @interface RTCVideoCaptureIosObjC 25 @interface RTCVideoCaptureIosObjC
26 : NSObject<AVCaptureVideoDataOutputSampleBufferDelegate> 26 : NSObject<AVCaptureVideoDataOutputSampleBufferDelegate>
27 27
28 @property webrtc::VideoRotation frameRotation; 28 @property webrtc::VideoRotation frameRotation;
29 29
30 // custom initializer. Instance of VideoCaptureIos is needed 30 // custom initializer. Instance of VideoCaptureIos is needed
31 // for callback purposes. 31 // for callback purposes.
32 // default init methods have been overridden to return nil. 32 // default init methods have been overridden to return nil.
33 - (id)initWithOwner:(webrtc::videocapturemodule::VideoCaptureIos*)owner 33 - (id)initWithOwner:(webrtc::videocapturemodule::VideoCaptureIos*)owner;
34 captureId:(int)captureId;
35 - (BOOL)setCaptureDeviceByUniqueId:(NSString*)uniqueId; 34 - (BOOL)setCaptureDeviceByUniqueId:(NSString*)uniqueId;
36 - (BOOL)startCaptureWithCapability: 35 - (BOOL)startCaptureWithCapability:
37 (const webrtc::VideoCaptureCapability&)capability; 36 (const webrtc::VideoCaptureCapability&)capability;
38 - (BOOL)stopCapture; 37 - (BOOL)stopCapture;
39 38
40 @end 39 @end
41 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_OBJC_RTC_VIDEO_CAPTURE_OBJC_H_ 40 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_OBJC_RTC_VIDEO_CAPTURE_OBJC_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_capture/objc/device_info.mm ('k') | webrtc/modules/video_capture/objc/rtc_video_capture_objc.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698