Rate this page:

RenderScaleType

This API is in beta and subject to change.

Types of video renderer scaling.

Consts

Balanced

Copy URL

Compromise between RenderScaleType.Fill and RenderScaleType.Fit.

Video frame fills as much as possible of the view while maintaining aspect ratio, under the constraint that at least 56.25% of the frame content should be shown.

Fill

Copy URL

Video frame is scaled to fill the size of the view by maintaining the aspect ratio. Some portion of the video frame may be clipped.

Fit

Copy URL

Video frame is scaled to be fit the size of the view by maintaining the aspect ratio (black borders may be displayed).