Skip to navigation

RenderScaleType (enum)

Android SDK v3 API reference
View as Markdown

com.voximplant.android.sdk.calls

Types of video renderer scaling.

Values

Values

Balanced

Balanced

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

Fill

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

Fit

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