OTVideoViewScaleBehavior

Defines values for the [OTSubscriber viewScaleBehavior] and [OTPublisher viewScaleBehavior] properties.

Constants

Name Description
OTVideoViewScaleBehaviorFit The video shrinks, as needed, so that the entire video is visible with pillarboxing.
OTVideoViewScaleBehaviorFill The video scales to fill the entire area of the renderer, with cropping as needed.