setVideoProcessor

Installs a processor that sees every captured camera frame before it is encoded — for an effect or overlay the SDK does not provide. Works before join too, so a pre-join preview is processed.

VideoFrameProcessor.onFrameCaptured runs on the camera capture thread, so keep it under one frame interval or frames are dropped. One processor at a time: this replaces any processor already installed. removeVideoProcessor takes it back out, and leaving the room removes it.

Parameters

processor

the processor to install.