# OTVideoViewScaleBehavior Constants Reference

Declared in | OTVideoKit.h

### OTVideoViewScaleBehavior

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

#### 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 `OTVideoKit.h`.

`OTVideoViewScaleBehaviorFill`

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

  Declared In `OTVideoKit.h`.

#### Declared In

`OTVideoKit.h`