Search Results for

    Show / Hide Table of Contents

    Class MediaSourceStats

    Media source stats.

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

    Properties

    InputId

    Gets or sets the input identifier.

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

    InputName

    Gets or sets the input name.

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

    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

    OutputFormat

    Gets or sets the output format.

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

    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 MediaSourceStats FromJson(string instanceJson)
    Parameters
    Type Name Description
    System.String instanceJson

    The serialized Json.

    Returns
    Type Description
    MediaSourceStats

    The deserialized VideoSourceInfo.

    IsEquivalent(MediaSourceStats)

    Checks if a source is equivalent to this one.

    Declaration
    public bool IsEquivalent(MediaSourceStats instance)
    Parameters
    Type Name Description
    MediaSourceStats 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(MediaSourceStats)

    Serializes an instance to JSON.

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

    The instance to serialize.

    Returns
    Type Description
    System.String

    Serialized Json.

    Implements

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