Search Results for

    Show / Hide Table of Contents

    Class BaseStats

    Base stats.

    Inheritance
    System.Object
    BaseStats
    CandidatePairStats
    CandidateStats
    CertificateStats
    CodecStats
    ConnectionStats
    DataChannelStats
    MediaComponentStats
    MediaSinkStats
    MediaSourceStats
    MediaStats
    MediaTrackStats
    StreamStats
    TransportStats
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public abstract class BaseStats : object

    Properties

    Id

    Gets the identifier of the object generating these stats.

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    System.String

    Timestamp

    Gets the timestamp when these stats were generated.

    Declaration
    public DateTime Timestamp { get; }
    Property Value
    Type Description
    DateTime

    Methods

    DeserializeProperties(String, String)

    Deserializes the properties.

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

    The key.

    System.String valueJson

    The value in JSON format.

    SerializeProperties(Dictionary<String, String>)

    Serializes the properties.

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

    The JSON object.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0