fm.liveswitch.VideoConfig Class Reference

A video configuration. More...

Public Member Functions

double getFrameDuration ()
 Gets the frame duration in milliseconds. More...
 
double getFrameRate ()
 Gets the frame-rate. More...
 
int getHeight ()
 Gets the size height. More...
 
fm.liveswitch.Size getSize ()
 Gets the size. More...
 
int getWidth ()
 Gets the size width. More...
 
boolean isEquivalent (fm.liveswitch.VideoConfig config)
 Determines whether the specified configuration is equivalent. More...
 
void setFrameRate (double value)
 Sets the frame-rate. More...
 
void setSize (fm.liveswitch.Size value)
 Sets the size. More...
 
String toString ()
 Returns a string that represents this instance. More...
 
 VideoConfig (fm.liveswitch.Size size, double frameRate)
 Initializes a new instance of the fm.liveswitch.VideoConfig class. More...
 
 VideoConfig (fm.liveswitch.Size size, double frameRate, int clockRate)
 Initializes a new instance of the fm.liveswitch.VideoConfig class. More...
 
 VideoConfig (int width, int height, double frameRate)
 Initializes a new instance of the fm.liveswitch.VideoConfig class. More...
 
 VideoConfig (int width, int height, double frameRate, int clockRate)
 Initializes a new instance of the fm.liveswitch.VideoConfig class. More...
 

Detailed Description

A video configuration.

Constructor & Destructor Documentation

◆ VideoConfig() [1/4]

fm.liveswitch.VideoConfig.VideoConfig ( fm.liveswitch.Size  size,
double  frameRate 
)

Initializes a new instance of the fm.liveswitch.VideoConfig class.

Parameters
sizeThe size.
frameRateThe frame rate.

◆ VideoConfig() [2/4]

fm.liveswitch.VideoConfig.VideoConfig ( fm.liveswitch.Size  size,
double  frameRate,
int  clockRate 
)

Initializes a new instance of the fm.liveswitch.VideoConfig class.

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

◆ VideoConfig() [3/4]

fm.liveswitch.VideoConfig.VideoConfig ( int  width,
int  height,
double  frameRate 
)

Initializes a new instance of the fm.liveswitch.VideoConfig class.

Parameters
widthThe width.
heightThe height.
frameRateThe frame rate.

◆ VideoConfig() [4/4]

fm.liveswitch.VideoConfig.VideoConfig ( int  width,
int  height,
double  frameRate,
int  clockRate 
)

Initializes a new instance of the fm.liveswitch.VideoConfig class.

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

Member Function Documentation

◆ getFrameDuration()

double fm.liveswitch.VideoConfig.getFrameDuration ( )

Gets the frame duration in milliseconds.

◆ getFrameRate()

double fm.liveswitch.VideoConfig.getFrameRate ( )

Gets the frame-rate.

◆ getHeight()

int fm.liveswitch.VideoConfig.getHeight ( )

Gets the size height.

◆ getSize()

fm.liveswitch.Size fm.liveswitch.VideoConfig.getSize ( )

Gets the size.

◆ getWidth()

int fm.liveswitch.VideoConfig.getWidth ( )

Gets the size width.

◆ isEquivalent()

boolean fm.liveswitch.VideoConfig.isEquivalent ( fm.liveswitch.VideoConfig  config)

Determines whether the specified configuration is equivalent.

Parameters
configThe configuration.

◆ setFrameRate()

void fm.liveswitch.VideoConfig.setFrameRate ( double  value)

Sets the frame-rate.

◆ setSize()

void fm.liveswitch.VideoConfig.setSize ( fm.liveswitch.Size  value)

Sets the size.

◆ toString()

String fm.liveswitch.VideoConfig.toString ( )

Returns a string that represents this instance.