Package 

Class ScaleCropVideoProcessor

  • All Implemented Interfaces:
    livekit.org.webrtc.CapturerObserver , livekit.org.webrtc.VideoProcessor

    
    public final class ScaleCropVideoProcessor
    extends ChainVideoProcessor
                        

    A video processor that scales down and crops to match the target dimensions and aspect ratio.

    If the frames are smaller than the target dimensions, upscaling will not occur, instead only cropping to match the aspect ratio.