setScalingType

open override fun setScalingType(scalingType: RendererCommon.ScalingType)

Sets how the video is fitted into the bounds of this view.

On your own camera it applies only in a room without GPU video effects; the pre-call preview and the effects preview ignore it.

Parameters

scalingType

the fit to apply, for example ScalingType.SCALE_ASPECT_FIT to letterbox the video or ScalingType.SCALE_ASPECT_FILL to crop it.