VideoProcessor

Lightweight abstraction for an object that can receive video frames, process them, and pass them on to another object. This object is also allowed to observe capturer start/stop.

Types

Link copied to clipboard

Functions

Link copied to clipboard
Applies the frame adaptation parameters to a frame.
Link copied to clipboard
This is a chance to access an unadapted frame.
Link copied to clipboard
abstract fun setSink(@Nullable sink: VideoSink)
Set the sink that receives the output from this processor.

Inherited functions

Link copied to clipboard
abstract fun onCapturerStarted(success: Boolean)
Notify if the capturer have been started successfully or not.
Link copied to clipboard
abstract fun onCapturerStopped()
Notify that the capturer has been stopped.
Link copied to clipboard
abstract fun onFrameCaptured(frame: VideoFrame)
Delivers a captured frame.