Class MediaReceiverReport
Media receiver report.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class MediaReceiverReport : MediaComponentReport
Constructors
MediaReceiverReport()
Initializes a new instance of the Media
Declaration
public MediaReceiverReport()
Properties
BytesReceived
Gets or sets the number of bytes received.
Declaration
public long? BytesReceived { get; set; }
Property Value
Type | Description |
---|---|
System. |
Jitter
Gets or sets the jitter in milliseconds.
Declaration
public long? Jitter { get; set; }
Property Value
Type | Description |
---|---|
System. |
PacketsDiscarded
Gets or sets the number of packets discarded.
Declaration
public long? PacketsDiscarded { get; set; }
Property Value
Type | Description |
---|---|
System. |
PacketsDuplicated
Gets or sets the number of packets duplicated.
Declaration
public long? PacketsDuplicated { get; set; }
Property Value
Type | Description |
---|---|
System. |
PacketsLost
Gets or sets the number of packets lost.
Declaration
public long? PacketsLost { get; set; }
Property Value
Type | Description |
---|---|
System. |
PacketsReceived
Gets or sets the number of packets received.
Declaration
public long? PacketsReceived { get; set; }
Property Value
Type | Description |
---|---|
System. |
PacketsRepaired
Gets or sets the number of packets repaired.
Declaration
public long? PacketsRepaired { get; set; }
Property Value
Type | Description |
---|---|
System. |
RoundTripTime
Gets or sets the round-trip-time in milliseconds.
Declaration
public int? RoundTripTime { 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 MediaReceiverReport FromJson(string mediaReceiverReportJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
mediaReceiverReportJson | The serialized JSON. |
Returns
Type | Description |
---|---|
Media |
The deserialized instance. |
FromJsonArray(String)
Deserializes an array from JSON.
Declaration
public static MediaReceiverReport[] FromJsonArray(string mediaReceiverReportsJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
mediaReceiverReportsJson | The serialized 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(MediaReceiverReport)
Serializes an instance to JSON.
Declaration
public static string ToJson(MediaReceiverReport mediaReceiverReport)
Parameters
Type | Name | Description |
---|---|---|
Media |
mediaReceiverReport | The instance to serialize. |
Returns
Type | Description |
---|---|
System. |
The serialized JSON. |
ToJsonArray(MediaReceiverReport[])
Serializes an array to JSON.
Declaration
public static string ToJsonArray(MediaReceiverReport[] mediaReceiverReports)
Parameters
Type | Name | Description |
---|---|---|
Media |
mediaReceiverReports | The array to serialize. |
Returns
Type | Description |
---|---|
System. |
The serialized JSON. |