OTVideoCapture Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | OTVideoKit.h |
Overview
Defines a video capturer to be used by an OTPublisherKit object.
See the videoCapture
property of an OTPublisherKit object.
videoCaptureConsumer
required method
The OTVideoCaptureConsumer object that consumes frames for the video capturer.
@property (atomic, assign) id<OTVideoCaptureConsumer> videoCaptureConsumer
Declared In
OTVideoKit.h
– initCapture
required method
Initializes the video capturer.
- (void)initCapture
Declared In
OTVideoKit.h
– releaseCapture
required method
Releases the video capturer.
- (void)releaseCapture
Declared In
OTVideoKit.h
– startCapture
required method
Starts capturing video.
- (int32_t)startCapture
Declared In
OTVideoKit.h
– stopCapture
required method
Stops capturing video.
- (int32_t)stopCapture
Declared In
OTVideoKit.h
– isCaptureStarted
required method
Whether video is being captured.
- (BOOL)isCaptureStarted
Declared In
OTVideoKit.h
– captureSettings:
required method
The video format of the video capturer.
- (int32_t)captureSettings:(OTVideoFormat *)videoFormat
Parameters
videoFormat |
The video format used. |
---|
Declared In
OTVideoKit.h