Search Results for

    Show / Hide Table of Contents

    Class MediaSinkStats

    Media sink stats.

    Inheritance
    System.Object
    BaseStats
    MediaSinkStats
    Implements
    IEquivalent<MediaSinkStats>
    Inherited Members
    BaseStats.Id
    BaseStats.Timestamp
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class MediaSinkStats : BaseStats, IEquivalent<MediaSinkStats>

    Properties

    InputFormat

    Gets or sets the input format.

    Declaration
    public FormatInfo InputFormat { get; set; }
    Property Value
    Type Description
    FormatInfo

    Label

    Gets or sets the label.

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

    Muted

    Gets or sets the muted flag.

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

    OutputId

    Gets or sets the output identifier.

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

    OutputName

    Gets or sets the output name.

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

    Tag

    Gets or sets the tag.

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

    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)

    FromJson(String)

    Deserializes an instance from JSON.

    Declaration
    public static MediaSinkStats FromJson(string instanceJson)
    Parameters
    Type Name Description
    System.String instanceJson

    The serialized JSON.

    Returns
    Type Description
    MediaSinkStats

    The deserialized instance.

    FromJsonArray(String)

    Deserializes an array from JSON.

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

    The serialized JSON.

    Returns
    Type Description
    MediaSinkStats[]

    The deserialized array.

    IsEquivalent(MediaSinkStats)

    Checks if a source is equivalent to this one.

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

    The source.

    Returns
    Type Description
    System.Boolean

    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>)

    ToJson()

    Serializes this instance to JSON.

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

    ToJson(MediaSinkStats)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(MediaSinkStats instance)
    Parameters
    Type Name Description
    MediaSinkStats instance

    The instance to serialize.

    Returns
    Type Description
    System.String

    Serialized JSON.

    ToJsonArray(MediaSinkStats[])

    Serializes an array to JSON.

    Declaration
    public static string ToJsonArray(MediaSinkStats[] array)
    Parameters
    Type Name Description
    MediaSinkStats[] array

    The array to serialize.

    Returns
    Type Description
    System.String

    The serialized JSON.

    Implements

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