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, weak) id<OTVideoCaptureConsumer> _Nullable videoCaptureConsumerDeclared In
OTVideoKit.h
videoContentHint
required method
This property will get/set the video content hint to one of the values given in the OTVideoContentHint enum. By default it is set to NONE.
@property (nonatomic, readwrite) OTVideoContentHint videoContentHintDeclared In
OTVideoKit.h
– initCapture
required method
Initializes the video capturer.
- (void)initCaptureDeclared In
OTVideoKit.h
– releaseCapture
required method
Releases the video capturer.
- (void)releaseCaptureDeclared In
OTVideoKit.h
– startCapture
required method
Starts capturing video.
- (int32_t)startCaptureDeclared In
OTVideoKit.h
– stopCapture
required method
Stops capturing video.
- (int32_t)stopCaptureDeclared In
OTVideoKit.h
– isCaptureStarted
required method
Whether video is being captured.
- (BOOL)isCaptureStartedDeclared In
OTVideoKit.h
– captureSettings:
required method
The video format of the video capturer.
- (int32_t)captureSettings:(nonnull OTVideoFormat *)videoFormatParameters
videoFormat |
The video format used. |
|---|
Declared In
OTVideoKit.h