Search Results for

    Show / Hide Table of Contents

    Class RemoteReceiverStats

    Remote receiver stats.

    Inheritance
    System.Object
    RemoteReceiverStats
    Implements
    IEquivalent<RemoteReceiverStats>
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class RemoteReceiverStats : object, IEquivalent<RemoteReceiverStats>

    Properties

    CumulativeNumberOfPacketsLost

    Gets the cumulative number of packets lost.

    Declaration
    public int CumulativeNumberOfPacketsLost { get; }
    Property Value
    Type Description
    System.Int32

    DelaySinceLastSenderReport

    Gets the delay since last sender report.

    Declaration
    public long DelaySinceLastSenderReport { get; }
    Property Value
    Type Description
    System.Int64

    ExtendedHighestSequenceNumberReceived

    Gets the extended highest sequence number received.

    Declaration
    public long ExtendedHighestSequenceNumberReceived { get; }
    Property Value
    Type Description
    System.Int64

    FractionLost

    Gets the fraction lost according to RFC 1889. The value has a range of 0 (no packet loss) to 255 (all packets lost).

    Declaration
    public int FractionLost { get; }
    Property Value
    Type Description
    System.Int32

    InterarrivalJitter

    Gets the interarrival jitter.

    Declaration
    public long InterarrivalJitter { get; }
    Property Value
    Type Description
    System.Int64

    LastSenderReportTimestamp

    Gets the last sender report timestamp.

    Declaration
    public long LastSenderReportTimestamp { get; }
    Property Value
    Type Description
    System.Int64

    PercentLost

    Gets the percentage of lost packets. The value has a range of 0.0 (no packet loss) to 1.0 (all packets lost).

    Declaration
    public double PercentLost { get; }
    Property Value
    Type Description
    System.Double

    SynchronizationSource

    Gets the synchronization source.

    Declaration
    public long SynchronizationSource { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    DeserializeProperties(String, String)

    Deserializes the properties.

    Declaration
    protected void DeserializeProperties(string key, string valueJson)
    Parameters
    Type Name Description
    System.String key

    The key.

    System.String valueJson

    The value in JSON format.

    FromJson(String)

    Derializes remote receiver stats from JSON.

    Declaration
    public static RemoteReceiverStats FromJson(string remoteReceiverJson)
    Parameters
    Type Name Description
    System.String remoteReceiverJson

    The remote receiver's stats JSON.

    Returns
    Type Description
    RemoteReceiverStats

    FromJsonArray(String)

    Derializes a remote receiver stats array from JSON.

    Declaration
    public static RemoteReceiverStats[] FromJsonArray(string remoteReceiversJson)
    Parameters
    Type Name Description
    System.String remoteReceiversJson

    The remote receivers' stats JSON.

    Returns
    Type Description
    RemoteReceiverStats[]

    IsEquivalent(RemoteReceiverStats)

    Checks if a remote receiver is equivalent to this one.

    Declaration
    public bool IsEquivalent(RemoteReceiverStats instance)
    Parameters
    Type Name Description
    RemoteReceiverStats instance

    The remote receiver.

    Returns
    Type Description
    System.Boolean

    SerializeProperties(Dictionary<String, String>)

    Serializes the properties.

    Declaration
    protected void SerializeProperties(Dictionary<string, string> jsonObject)
    Parameters
    Type Name Description
    Dictionary<System.String, System.String> jsonObject

    The JSON object.

    ToJson()

    Serializes this to JSON.

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    ToJson(RemoteReceiverStats)

    Serializes remote receiver stats to JSON.

    Declaration
    public static string ToJson(RemoteReceiverStats remoteReceiver)
    Parameters
    Type Name Description
    RemoteReceiverStats remoteReceiver

    The remote receiver's stats.

    Returns
    Type Description
    System.String

    ToJsonArray(RemoteReceiverStats[])

    Serializes a remote receiver stats array to JSON.

    Declaration
    public static string ToJsonArray(RemoteReceiverStats[] remoteReceivers)
    Parameters
    Type Name Description
    RemoteReceiverStats[] remoteReceivers

    The remote receivers' stats.

    Returns
    Type Description
    System.String

    Implements

    IEquivalent<T>
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.17.0