Class MediaTrackReport
Media track report.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class MediaTrackReport : Report
Constructors
MediaTrackReport()
Initializes a new instance of the MediaTrackReport class.
Declaration
public MediaTrackReport()
Properties
Bitrate
Gets or sets the bitrate.
Declaration
public int? Bitrate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
FrameHeight
Gets or sets the frame height.
Declaration
public int? FrameHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
FrameRate
Gets or sets the frame rate.
Declaration
public double? FrameRate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
FramesCorrupted
Gets or sets the number of frames corrupted.
Declaration
public long? FramesCorrupted { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
FramesDecoded
Gets or sets the number of frames decoded.
Declaration
public long? FramesDecoded { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
FramesDropped
Gets or sets the number of frames dropped.
Declaration
public long? FramesDropped { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
FramesEncoded
Gets or sets the number of frames encoded.
Declaration
public long? FramesEncoded { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
FramesReceived
Gets or sets the number of frames received.
Declaration
public long? FramesReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
FramesSent
Gets or sets the number of frames sent.
Declaration
public long? FramesSent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
FrameWidth
Gets or sets the frame width.
Declaration
public int? FrameWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
MaxBitrate
Gets or sets the maximum bitrate.
Declaration
public int? MaxBitrate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
MinBitrate
Gets or sets the minimum bitrate.
Declaration
public int? MinBitrate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Methods
DeserializeProperties(String, String)
Deserializes the properties.
Declaration
protected override void DeserializeProperties(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | valueJson | The value in JSON format. |
Overrides
FromJson(String)
Deserializes an instance from JSON.
Declaration
public static MediaTrackReport FromJson(string instanceJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | instanceJson | The instance JSON. |
Returns
Type | Description |
---|---|
MediaTrackReport | The deserialized instance. |
FromJsonArray(String)
Derializes an array from JSON.
Declaration
public static MediaTrackReport[] FromJsonArray(string arrayJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | arrayJson | The array JSON. |
Returns
Type | Description |
---|---|
MediaTrackReport[] | The deserialized array. |
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected override void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<System.String, System.String> | jsonObject | The JSON object. |
Overrides
ToJson()
Serializes this instance to JSON.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String |
ToJson(MediaTrackReport)
Serializes an instance to JSON.
Declaration
public static string ToJson(MediaTrackReport instance)
Parameters
Type | Name | Description |
---|---|---|
MediaTrackReport | instance | The instance. |
Returns
Type | Description |
---|---|
System.String | The serialized instance JSON. |
ToJsonArray(MediaTrackReport[])
Serializes an array to JSON.
Declaration
public static string ToJsonArray(MediaTrackReport[] array)
Parameters
Type | Name | Description |
---|---|---|
MediaTrackReport[] | array | The array. |
Returns
Type | Description |
---|---|
System.String | The serialized array JSON. |