Search Results for

    Show / Hide Table of Contents

    Class BitrateNotification

    A bitrate notification.

    Inheritance
    System.Object
    BitrateNotification
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class BitrateNotification : object

    Constructors

    BitrateNotification()

    Initializes a new instance of the BitrateNotification class.

    Declaration
    public BitrateNotification()

    Properties

    Bitrate

    Gets or sets the bitrate.

    Declaration
    public int Bitrate { get; set; }
    Property Value
    Type Description
    System.Int32

    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

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

    The instance in JSON format.

    Returns
    Type Description
    BitrateNotification

    The instance.

    FromJsonArray(String)

    Deserializes an array from JSON.

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

    The array in JSON format.

    Returns
    Type Description
    BitrateNotification[]

    The array.

    SerializeProperties(Dictionary<String, String>)

    Serializes properties to JSON.

    Declaration
    protected virtual void SerializeProperties(Dictionary<string, string> jsonObject)
    Parameters
    Type Name Description
    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(BitrateNotification)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(BitrateNotification bitrateNotification)
    Parameters
    Type Name Description
    BitrateNotification bitrateNotification

    The instance.

    Returns
    Type Description
    System.String

    The instance in JSON format.

    ToJsonArray(BitrateNotification[])

    Serializes an array to JSON.

    Declaration
    public static string ToJsonArray(BitrateNotification[] bitrateNotifications)
    Parameters
    Type Name Description
    BitrateNotification[] bitrateNotifications

    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.15.0