amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video / VideoScalingType

VideoScalingType

enum class VideoScalingType

VideoScalingType describes the scaling type of how video is rendered. Certain types may effect how much of a video is cropped. visibleFraction refers to the minimum amount of a video frame required to be shown per scaling type (e.g. AspectFit indicates showing the whole frame, no cropping).

Enum Values

AspectFit

Fit the frame to the surrounding view to avoid any cropping.

AspectBalanced

Attempt to avoid cropping seen using AspectFill while showing more of the image then AspectFit; this may crop if the aspect ratios do not match.

AspectFill

Fill the surrounding view; this may crop if the aspect ratios do not match.

Properties

visibleFraction

val visibleFraction: Float