Enclosing class:
: PublisherKit
public static interface PublisherKit.CustomVideoTransformer
Defines a custom transformer for a video stream, to be passed into the
PublisherKit.VideoTransformer
constructor.
Method Summary
All MethodsInstance MethodsAbstract Methods
Modifier and Type
Method
Description
void
onTransform(BaseVideoRenderer.Frame frame)
Called when a video frame is available to be transformed.
Method Details
onTransform
void onTransform(BaseVideoRenderer.Frame 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 PublisherKit.setVideoTransformers(ArrayList) method
is called.
Parameters:
: frame - The frame to be transformed.