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 Media
Declaration
public MediaTrackReport()
Properties
Bitrate
Gets or sets the bitrate.
Declaration
public int? Bitrate { get; set; }
Property Value
Type | Description |
---|---|
System. |
FrameHeight
Gets or sets the frame height.
Declaration
public int? FrameHeight { get; set; }
Property Value
Type | Description |
---|---|
System. |
FrameRate
Gets or sets the frame rate.
Declaration
public double? FrameRate { get; set; }
Property Value
Type | Description |
---|---|
System. |
FramesCorrupted
Gets or sets the number of frames corrupted.
Declaration
public long? FramesCorrupted { get; set; }
Property Value
Type | Description |
---|---|
System. |
FramesDecoded
Gets or sets the number of frames decoded.
Declaration
public long? FramesDecoded { get; set; }
Property Value
Type | Description |
---|---|
System. |
FramesDropped
Gets or sets the number of frames dropped.
Declaration
public long? FramesDropped { get; set; }
Property Value
Type | Description |
---|---|
System. |
FramesEncoded
Gets or sets the number of frames encoded.
Declaration
public long? FramesEncoded { get; set; }
Property Value
Type | Description |
---|---|
System. |
FramesReceived
Gets or sets the number of frames received.
Declaration
public long? FramesReceived { get; set; }
Property Value
Type | Description |
---|---|
System. |
FramesSent
Gets or sets the number of frames sent.
Declaration
public long? FramesSent { get; set; }
Property Value
Type | Description |
---|---|
System. |
FrameWidth
Gets or sets the frame width.
Declaration
public int? FrameWidth { get; set; }
Property Value
Type | Description |
---|---|
System. |
MaxBitrate
Gets or sets the maximum bitrate.
Declaration
public int? MaxBitrate { get; set; }
Property Value
Type | Description |
---|---|
System. |
MinBitrate
Gets or sets the minimum bitrate.
Declaration
public int? MinBitrate { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
DeserializeProperties(String, String)
Deserializes the properties.
Declaration
protected override void DeserializeProperties(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The key. |
System. |
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. |
instanceJson | The instance JSON. |
Returns
Type | Description |
---|---|
Media |
The deserialized instance. |
FromJsonArray(String)
Derializes an array from JSON.
Declaration
public static MediaTrackReport[] FromJsonArray(string arrayJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
arrayJson | The array JSON. |
Returns
Type | Description |
---|---|
Media |
The deserialized array. |
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected override void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
System. |
jsonObject | The JSON object. |
Overrides
ToJson()
Serializes this instance to JSON.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System. |
ToJson(MediaTrackReport)
Serializes an instance to JSON.
Declaration
public static string ToJson(MediaTrackReport instance)
Parameters
Type | Name | Description |
---|---|---|
Media |
instance | The instance. |
Returns
Type | Description |
---|---|
System. |
The serialized instance JSON. |
ToJsonArray(MediaTrackReport[])
Serializes an array to JSON.
Declaration
public static string ToJsonArray(MediaTrackReport[] array)
Parameters
Type | Name | Description |
---|---|---|
Media |
array | The array. |
Returns
Type | Description |
---|---|
System. |
The serialized array JSON. |