public interface VideoProcessor extends CapturerObserver
Modifier and Type | Interface and Description |
---|---|
static class |
VideoProcessor.FrameAdaptationParameters |
Modifier and Type | Method and Description |
---|---|
static VideoFrame |
applyFrameAdaptationParameters(VideoFrame frame,
VideoProcessor.FrameAdaptationParameters parameters)
Applies the frame adaptation parameters to a frame.
|
default void |
onFrameCaptured(VideoFrame frame,
VideoProcessor.FrameAdaptationParameters parameters)
This is a chance to access an unadapted frame.
|
void |
setSink(VideoSink sink)
Set the sink that receives the output from this processor.
|
onCapturerStarted, onCapturerStopped, onFrameCaptured
default void onFrameCaptured(VideoFrame frame, VideoProcessor.FrameAdaptationParameters parameters)
CapturerObserver.onFrameCaptured(VideoFrame)
.void setSink(@Nullable VideoSink sink)
@Nullable static VideoFrame applyFrameAdaptationParameters(VideoFrame frame, VideoProcessor.FrameAdaptationParameters parameters)
6.0.0