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 MediaReceiverReport class.
Declaration
public MediaReceiverReport()
Properties
BytesReceived
Gets or sets the number of bytes received.
Declaration
public long? BytesReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Jitter
Gets or sets the jitter in milliseconds.
Declaration
public long? Jitter { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
PacketsDiscarded
Gets or sets the number of packets discarded.
Declaration
public long? PacketsDiscarded { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
PacketsDuplicated
Gets or sets the number of packets duplicated.
Declaration
public long? PacketsDuplicated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
PacketsLost
Gets or sets the number of packets lost.
Declaration
public long? PacketsLost { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
PacketsReceived
Gets or sets the number of packets received.
Declaration
public long? PacketsReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
PacketsRepaired
Gets or sets the number of packets repaired.
Declaration
public long? PacketsRepaired { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
RoundTripTime
Gets or sets the round-trip-time in milliseconds.
Declaration
public int? RoundTripTime { 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 MediaReceiverReport FromJson(string mediaReceiverReportJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | mediaReceiverReportJson | The serialized JSON. |
Returns
Type | Description |
---|---|
MediaReceiverReport | The deserialized instance. |
FromJsonArray(String)
Deserializes an array from JSON.
Declaration
public static MediaReceiverReport[] FromJsonArray(string mediaReceiverReportsJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | mediaReceiverReportsJson | The serialized JSON. |
Returns
Type | Description |
---|---|
MediaReceiverReport[] | The deserialized array. |
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected override void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.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(MediaReceiverReport)
Serializes an instance to JSON.
Declaration
public static string ToJson(MediaReceiverReport mediaReceiverReport)
Parameters
Type | Name | Description |
---|---|---|
MediaReceiverReport | mediaReceiverReport | The instance to serialize. |
Returns
Type | Description |
---|---|
System.String | The serialized JSON. |
ToJsonArray(MediaReceiverReport[])
Serializes an array to JSON.
Declaration
public static string ToJsonArray(MediaReceiverReport[] mediaReceiverReports)
Parameters
Type | Name | Description |
---|---|---|
MediaReceiverReport[] | mediaReceiverReports | The array to serialize. |
Returns
Type | Description |
---|---|
System.String | The serialized JSON. |