Video Frame Processor
interface VideoFrameProcessor
Interface for processing video frames before they are sent to the media server.
Implement this interface to apply custom video processing effects (e.g., background blur, filters, overlays) to each captured video frame.
Register a processor using applyVideoProcessor and remove it using removeVideoProcessor.
Code Example:
val processor = object : VideoFrameProcessor {
override fun onFrameCaptured(videoFrame: VideoFrame): VideoFrame {
// Apply custom processing to the frame
return processedFrame
}
}
VideoSDK.applyVideoProcessor(processor)
Content copied to clipboard
See also
VideoSDK.removeVideoProcessor()