PublisherKit.CustomVideoTransformer

public abstract static interface CustomVideoTransformer

Enclosing class: PublisherKit

Defines a custom transformer for a video stream, to be passed into the VideoTransformer constructor.

Methods

Name Description
onTransform(frame) Called when a video frame is available to be transformed.

onTransform(frame)

Called when a video frame is available to be transformed. Transform the data in your implementation of the method. The method is only called after the setVideoTransformers(ArrayList) method is called.

Parameters:
Name Type Description
frame BaseVideoRenderer.Frame The frame to be transformed.