Class VideoIntent
Represents video-specific media intent with resolution, frame rate, and bitrate information.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class VideoIntent : MediaIntent
Constructors
VideoIntent()
Initializes a new instance of the VideoIntent class.
Declaration
public VideoIntent()
Properties
FrameRate
Gets or sets the frame rate in frames per second.
Declaration
public double FrameRate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Pixels
Gets the total number of pixels (width × height).
Declaration
public long Pixels { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
Resolution
Gets or sets the video resolution.
Declaration
public Size Resolution { get; set; }
Property Value
| Type | Description |
|---|---|
| Size |
VideoType
Gets or sets the video type.
Declaration
public VideoType VideoType { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoType |
Methods
Serialize()
Serializes the video intent to a string format.
Declaration
public override string Serialize()
Returns
| Type | Description |
|---|---|
| System.String | Serialized video intent string. |