FMLiveSwitchVideoConfig Class Reference

A video configuration. More...

Instance Methods

(NSString *) - description
 Returns a string that represents this instance. More...
 
(double) - frameDuration
 Gets the frame duration in milliseconds. More...
 
(double) - frameRate
 Gets the frame-rate. More...
 
(int) - height
 Gets the size height. More...
 
(instancetype) - initWithSize:frameRate:
 Initializes a new instance of the FMLiveSwitchVideoConfig class. More...
 
(instancetype) - initWithSize:frameRate:clockRate:
 Initializes a new instance of the FMLiveSwitchVideoConfig class. More...
 
(instancetype) - initWithWidth:height:frameRate:
 Initializes a new instance of the FMLiveSwitchVideoConfig class. More...
 
(instancetype) - initWithWidth:height:frameRate:clockRate:
 Initializes a new instance of the FMLiveSwitchVideoConfig class. More...
 
(bool) - isEquivalentWithConfig:
 Determines whether the specified configuration is equivalent. More...
 
(void) - setFrameRate:
 Sets the frame-rate. More...
 
(void) - setSize:
 Sets the size. More...
 
(FMLiveSwitchSize *) - size
 Gets the size. More...
 
(int) - width
 Gets the size width. More...
 
- Instance Methods inherited from FMLiveSwitchMediaConfig
(instancetype) - initWithClockRate:
 Initializes a new instance of the FMLiveSwitchMediaConfig`1 class. More...
 
(bool) - isEquivalentWithConfig:
 Determines whether the specified configuration is equivalent. More...
 

Class Methods

(FMLiveSwitchVideoConfig *) + videoConfigWithSize:frameRate:
 Initializes a new instance of the FMLiveSwitchVideoConfig class. More...
 
(FMLiveSwitchVideoConfig *) + videoConfigWithSize:frameRate:clockRate:
 Initializes a new instance of the FMLiveSwitchVideoConfig class. More...
 
(FMLiveSwitchVideoConfig *) + videoConfigWithWidth:height:frameRate:
 Initializes a new instance of the FMLiveSwitchVideoConfig class. More...
 
(FMLiveSwitchVideoConfig *) + videoConfigWithWidth:height:frameRate:clockRate:
 Initializes a new instance of the FMLiveSwitchVideoConfig class. More...
 
- Class Methods inherited from FMLiveSwitchMediaConfig
(FMLiveSwitchMediaConfig *) + mediaConfigWithClockRate:
 Initializes a new instance of the FMLiveSwitchMediaConfig`1 class. More...
 

Additional Inherited Members

- Protected Attributes inherited from FMLiveSwitchMediaConfig
 __pad0__: NSObject- (int) clockRate
 

Detailed Description

A video configuration.

Method Documentation

◆ description

- (NSString*) description

Returns a string that represents this instance.

◆ frameDuration

- (double) frameDuration

Gets the frame duration in milliseconds.

◆ frameRate

- (double) frameRate

Gets the frame-rate.

◆ height

- (int) height

Gets the size height.

◆ initWithSize:frameRate:

- (instancetype) initWithSize: (FMLiveSwitchSize *)  size
frameRate: (double)  frameRate 

Initializes a new instance of the FMLiveSwitchVideoConfig class.

Parameters
sizeThe size.
frameRateThe frame rate.

◆ initWithSize:frameRate:clockRate:

- (instancetype) initWithSize: (FMLiveSwitchSize *)  size
frameRate: (double)  frameRate
clockRate: (int)  clockRate 

Initializes a new instance of the FMLiveSwitchVideoConfig class.

Parameters
sizeThe size.
frameRateThe frame rate.
clockRateThe clock rate.

◆ initWithWidth:height:frameRate:

- (instancetype) initWithWidth: (int)  width
height: (int)  height
frameRate: (double)  frameRate 

Initializes a new instance of the FMLiveSwitchVideoConfig class.

Parameters
widthThe width.
heightThe height.
frameRateThe frame rate.

◆ initWithWidth:height:frameRate:clockRate:

- (instancetype) initWithWidth: (int)  width
height: (int)  height
frameRate: (double)  frameRate
clockRate: (int)  clockRate 

Initializes a new instance of the FMLiveSwitchVideoConfig class.

Parameters
widthThe width.
heightThe height.
frameRateThe frame rate.
clockRateThe clock rate.

◆ isEquivalentWithConfig:

- (bool) isEquivalentWithConfig: (FMLiveSwitchVideoConfig *)  config

Determines whether the specified configuration is equivalent.

Parameters
configThe configuration.

◆ setFrameRate:

- (void) setFrameRate: (double)  value

Sets the frame-rate.

◆ setSize:

- (void) setSize: (FMLiveSwitchSize *)  value

Sets the size.

◆ size

- (FMLiveSwitchSize*) size

Gets the size.

◆ videoConfigWithSize:frameRate:

+ (FMLiveSwitchVideoConfig*) videoConfigWithSize: (FMLiveSwitchSize *)  size
frameRate: (double)  frameRate 

Initializes a new instance of the FMLiveSwitchVideoConfig class.

Parameters
sizeThe size.
frameRateThe frame rate.

◆ videoConfigWithSize:frameRate:clockRate:

+ (FMLiveSwitchVideoConfig*) videoConfigWithSize: (FMLiveSwitchSize *)  size
frameRate: (double)  frameRate
clockRate: (int)  clockRate 

Initializes a new instance of the FMLiveSwitchVideoConfig class.

Parameters
sizeThe size.
frameRateThe frame rate.
clockRateThe clock rate.

◆ videoConfigWithWidth:height:frameRate:

+ (FMLiveSwitchVideoConfig*) videoConfigWithWidth: (int)  width
height: (int)  height
frameRate: (double)  frameRate 

Initializes a new instance of the FMLiveSwitchVideoConfig class.

Parameters
widthThe width.
heightThe height.
frameRateThe frame rate.

◆ videoConfigWithWidth:height:frameRate:clockRate:

+ (FMLiveSwitchVideoConfig*) videoConfigWithWidth: (int)  width
height: (int)  height
frameRate: (double)  frameRate
clockRate: (int)  clockRate 

Initializes a new instance of the FMLiveSwitchVideoConfig class.

Parameters
widthThe width.
heightThe height.
frameRateThe frame rate.
clockRateThe clock rate.

◆ width

- (int) width

Gets the size width.