# 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 videoCaptureConsumer`

#### Declared 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 videoContentHint`

#### 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:(nonnull OTVideoFormat *)videoFormat`

#### Parameters

`videoFormat` | The video format used.

#### Declared In

`OTVideoKit.h`