OTVideoViewScaleBehavior Constants Reference

Declared in OpenTok.h

OTVideoViewScaleBehavior

Definition

typedef NS_ENUM(NSInteger, OTVideoViewScaleBehavior ) {
   OTVideoViewScaleBehaviorFit,
   OTVideoViewScaleBehaviorFill,
};

Constants

OTVideoViewScaleBehaviorFit

The video shrinks, as needed, so that the entire video is visible with pillarboxing.

Declared In OpenTok.h.

OTVideoViewScaleBehaviorFill

The video scales to fill the entire area of the renderer, with cropping as needed.

Declared In OpenTok.h.

Declared In

OpenTok.h