Search Results for

    Show / Hide Table of Contents

    Class StreamStats

    Stream stats.

    Inheritance
    System.Object
    BaseStats
    StreamStats
    DataStreamStats
    MediaStreamStats
    Inherited Members
    BaseStats.Id
    BaseStats.Timestamp
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public abstract class StreamStats : BaseStats

    Properties

    IsHost

    Gets whether the transport's active candidate pair has a host candidate.

    Declaration
    public bool IsHost { get; }
    Property Value
    Type Description
    System.Boolean

    IsReflexive

    Gets whether the transport's active candidate pair has a reflexive candidate.

    Declaration
    public bool IsReflexive { get; }
    Property Value
    Type Description
    System.Boolean

    IsRelayed

    Gets whether the transport's active candidate pair has a relayed candidate.

    Declaration
    public bool IsRelayed { get; }
    Property Value
    Type Description
    System.Boolean

    Transport

    Gets the transport's stats.

    Declaration
    public TransportStats Transport { get; }
    Property Value
    Type Description
    TransportStats

    Type

    Gets the type.

    Declaration
    public StreamType Type { get; }
    Property Value
    Type Description
    StreamType

    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
    BaseStats.DeserializeProperties(String, String)

    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
    BaseStats.SerializeProperties(Dictionary<String, String>)
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0