Inherits from NSObject
Declared in OTVideoKit.h

Overview

Defines a frame of a video. See [OTVideoRender renderVideoFrame:] and [OTVideoCaptureConsumer consumeFrame:].

Tasks

Properties of OTVideoFrame objects

Instantiating OTVideoFrame objects

Properties

format

The format of the video frame.

@property (nonatomic, retain) OTVideoFormat *format

Declared In

OTVideoKit.h

orientation

The orientation of the video frame.

@property (nonatomic, assign) OTVideoOrientation orientation

Declared In

OTVideoKit.h

planes

An array of planes in the video frame.

@property (nonatomic, retain) NSPointerArray *planes

Declared In

OTVideoKit.h

timestamp

A timestap of the video frame.

@property (nonatomic, assign) CMTime timestamp

Declared In

OTVideoKit.h

Instance Methods

clearPlanes

Cleans the planes in the video frame.

- (void)clearPlanes

Declared In

OTVideoKit.h

init

Initializes an OTVideoFrame object.

- (id)init

Declared In

OTVideoKit.h

initWithFormat:

Initializes an OTVideoFrame object with a specified format.

- (id)initWithFormat:(id)videoFormat

Parameters

videoFormat

The video format used by the video frame.

Declared In

OTVideoKit.h

setPlanesWithPointers:numPlanes:

Sets planes for the video frame.

- (void)setPlanesWithPointers:(id)planes numPlanes:(id)numPlanes

Parameters

planes

The planes to assign.

numPlanes

The number of planes to assign.

Declared In

OTVideoKit.h