fm.liveswitch.VideoIntent Class Reference

Represents video-specific media intent with resolution, frame rate, and bitrate information. More...

Public Member Functions

double getFrameRate ()
 Gets the frame rate in frames per second. More...
 
long getPixels ()
 Gets the total number of pixels (width × height). More...
 
fm.liveswitch.Size getResolution ()
 Gets the video resolution. More...
 
fm.liveswitch.VideoType getVideoType ()
 Gets the video type. More...
 
String serialize ()
 Serializes the video intent to a string format. More...
 
void setFrameRate (double value)
 Sets the frame rate in frames per second. More...
 
void setResolution (fm.liveswitch.Size value)
 Sets the video resolution. More...
 
void setVideoType (fm.liveswitch.VideoType value)
 Sets the video type. More...
 
 VideoIntent ()
 Initializes a new instance of the VideoIntent class. More...
 
- Public Member Functions inherited from fm.liveswitch.MediaIntent
long getBitrate ()
 Gets the target output bitrate, in kbps. More...
 
boolean getIsVideo ()
 Gets whether this intent is for video media. More...
 
fm.liveswitch.StreamDirection getLocalDirection ()
 Gets the local stream direction. More...
 
void setBitrate (long value)
 Sets the target output bitrate, in kbps. More...
 
void setLocalDirection (fm.liveswitch.StreamDirection value)
 Sets the local stream direction. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from fm.liveswitch.MediaIntent
static fm.liveswitch.MediaIntent parse (String media)
 Parses a media intent string into a MediaIntent object. More...
 
- Protected Member Functions inherited from fm.liveswitch.MediaIntent
 MediaIntent ()
 Initializes a new instance of the MediaIntent class. More...
 
void setIsVideo (boolean value)
 Sets whether this intent is for video media. More...
 

Detailed Description

Represents video-specific media intent with resolution, frame rate, and bitrate information.

Constructor & Destructor Documentation

◆ VideoIntent()

fm.liveswitch.VideoIntent.VideoIntent ( )

Initializes a new instance of the VideoIntent class.

Member Function Documentation

◆ getFrameRate()

double fm.liveswitch.VideoIntent.getFrameRate ( )

Gets the frame rate in frames per second.

◆ getPixels()

long fm.liveswitch.VideoIntent.getPixels ( )

Gets the total number of pixels (width × height).

◆ getResolution()

fm.liveswitch.Size fm.liveswitch.VideoIntent.getResolution ( )

Gets the video resolution.

◆ getVideoType()

fm.liveswitch.VideoType fm.liveswitch.VideoIntent.getVideoType ( )

Gets the video type.

◆ serialize()

String fm.liveswitch.VideoIntent.serialize ( )

Serializes the video intent to a string format.

Returns
Serialized video intent string.

Reimplemented from fm.liveswitch.MediaIntent.

◆ setFrameRate()

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

Sets the frame rate in frames per second.

◆ setResolution()

void fm.liveswitch.VideoIntent.setResolution ( fm.liveswitch.Size  value)

Sets the video resolution.

◆ setVideoType()

void fm.liveswitch.VideoIntent.setVideoType ( fm.liveswitch.VideoType  value)

Sets the video type.