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... | |
Represents video-specific media intent with resolution, frame rate, and bitrate information.
| fm.liveswitch.VideoIntent.VideoIntent | ( | ) |
Initializes a new instance of the VideoIntent class.
| double fm.liveswitch.VideoIntent.getFrameRate | ( | ) |
Gets the frame rate in frames per second.
| long fm.liveswitch.VideoIntent.getPixels | ( | ) |
Gets the total number of pixels (width × height).
| fm.liveswitch.Size fm.liveswitch.VideoIntent.getResolution | ( | ) |
Gets the video resolution.
| fm.liveswitch.VideoType fm.liveswitch.VideoIntent.getVideoType | ( | ) |
Gets the video type.
| String fm.liveswitch.VideoIntent.serialize | ( | ) |
Serializes the video intent to a string format.
Reimplemented from fm.liveswitch.MediaIntent.
| void fm.liveswitch.VideoIntent.setFrameRate | ( | double | value | ) |
Sets the frame rate in frames per second.
| void fm.liveswitch.VideoIntent.setResolution | ( | fm.liveswitch.Size | value | ) |
Sets the video resolution.
| void fm.liveswitch.VideoIntent.setVideoType | ( | fm.liveswitch.VideoType | value | ) |
Sets the video type.