iOS video_capture: move @private vars to impl.
Promised change from https://webrtc-codereview.appspot.com/10539005/ that got dropped accidentally. R=noahric@google.com Review URL: https://webrtc-codereview.appspot.com/10639004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5781 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
76d4f389bb
commit
e52b3b9c95
@ -21,16 +21,7 @@
|
||||
// This notification must be posted in order for the capturer to reflect the
|
||||
// orientation change in video w.r.t. the application orientation.
|
||||
@interface RTCVideoCaptureIosObjC
|
||||
: NSObject<AVCaptureVideoDataOutputSampleBufferDelegate> {
|
||||
@private
|
||||
webrtc::videocapturemodule::VideoCaptureIos* _owner;
|
||||
webrtc::VideoCaptureCapability _capability;
|
||||
AVCaptureSession* _captureSession;
|
||||
int _captureId;
|
||||
AVCaptureConnection* _connection;
|
||||
BOOL _captureStarting; // Guarded by _captureStartingCondition.
|
||||
NSCondition* _captureStartingCondition;
|
||||
}
|
||||
: NSObject<AVCaptureVideoDataOutputSampleBufferDelegate>
|
||||
|
||||
@property webrtc::VideoCaptureRotation frameRotation;
|
||||
|
||||
|
@ -26,7 +26,15 @@ using namespace webrtc::videocapturemodule;
|
||||
- (int)changeCaptureInputWithName:(NSString*)captureDeviceName;
|
||||
@end
|
||||
|
||||
@implementation RTCVideoCaptureIosObjC
|
||||
@implementation RTCVideoCaptureIosObjC {
|
||||
webrtc::videocapturemodule::VideoCaptureIos* _owner;
|
||||
webrtc::VideoCaptureCapability _capability;
|
||||
AVCaptureSession* _captureSession;
|
||||
int _captureId;
|
||||
AVCaptureConnection* _connection;
|
||||
BOOL _captureStarting; // Guarded by _captureStartingCondition.
|
||||
NSCondition* _captureStartingCondition;
|
||||
}
|
||||
|
||||
@synthesize frameRotation = _framRotation;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user