Search Results for

    Show / Hide Table of Contents

    Class SimulcastNotification

    A simulcast notification.

    Inheritance
    System.Object
    SimulcastNotification
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class SimulcastNotification

    Constructors

    SimulcastNotification()

    Initializes a new instance of the SimulcastNotification class.

    Declaration
    public SimulcastNotification()

    Properties

    MediaDescriptionId

    Gets or sets the media description ID.

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

    RtpStreamId

    Gets or sets the RTP stream ID.

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

    StreamState

    Gets or sets the simulcast stream's state

    Declaration
    public SimulcastStreamState StreamState { get; set; }
    Property Value
    Type Description
    SimulcastStreamState

    SynchronizationSource

    Gets or sets the synchronization source.

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

    Methods

    DeserializeProperty(String, String)

    Deserializes a property from JSON.

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

    The property key.

    System.String valueJson

    The property value in JSON format.

    FromJson(String)

    Deserializes an instance from JSON.

    Declaration
    public static SimulcastNotification FromJson(string simulcastNotificationJson)
    Parameters
    Type Name Description
    System.String simulcastNotificationJson

    The instance in JSON format.

    Returns
    Type Description
    SimulcastNotification

    The instance.

    FromJsonArray(String)

    Deserializes an array from JSON.

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

    The array in JSON format.

    Returns
    Type Description
    SimulcastNotification[]

    The array.

    SerializeProperties(Dictionary<String, String>)

    Serializes properties to JSON.

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

    The JSON target.

    ToJson()

    Serializes this instance to JSON.

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

    ToJson(SimulcastNotification)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(SimulcastNotification simulcastNotification)
    Parameters
    Type Name Description
    SimulcastNotification simulcastNotification

    The instance.

    Returns
    Type Description
    System.String

    The instance in JSON format.

    ToJsonArray(SimulcastNotification[])

    Serializes an array to JSON.

    Declaration
    public static string ToJsonArray(SimulcastNotification[] simulcastNotifications)
    Parameters
    Type Name Description
    SimulcastNotification[] simulcastNotifications

    The array.

    Returns
    Type Description
    System.String

    The array in JSON format.

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