TVIVideoDimensions Class Reference

Inherits from NSObject
Declared in TVIVideoBandwidthProfileOptions.h

Overview

TVIVideoDimensions represents dimensions for a VideoTrack.

  width

The video width.

@property (nonatomic, assign) NSUInteger width

Declared In

TVIVideoBandwidthProfileOptions.h

  height

The video height.

@property (nonatomic, assign) NSUInteger height

Declared In

TVIVideoBandwidthProfileOptions.h

+ dimensionsWithWidth:height:

Creates an instance of TVIVideoDimensions.

+ (nonnull instancetype)dimensionsWithWidth:(NSUInteger)width height:(NSUInteger)height

Parameters

width

The video width.

height

The video height.

Return Value

An instance of TVIVideoDimensions.

Declared In

TVIVideoBandwidthProfileOptions.h

– init

Developers shouldn’t initialize this class directly.

- (null_unspecified instancetype)init

Discussion

Use the class methods dimensionsWithWidth:height: instead.

Declared In

TVIVideoBandwidthProfileOptions.h