setLayoutAspectRatio

open fun setLayoutAspectRatio(layoutAspectRatio: Float)

Set layout aspect ratio. This is used to crop frames when rendering to avoid stretched video. Set this to 0 to disable cropping.