# OTCustomVideoTransformer Protocol Reference

Conforms to | NSObject
Declared in | OTPublisherKit.h

## Overview

Defines a custom transformer for a video stream, to be passed into the [OTVideoTransformer initWithName:transformer:] method.

### `– transform:` required method

Called when a video frame is available to be transformed. Transform the data in your implementation of the method.

`- (void)transform:(nonnull OTVideoFrame *)frame`

#### Parameters

`frame` | The frame to be transformed.

#### Declared In

`OTPublisherKit.h`