Search Results for

    Show / Hide Table of Contents

    Class BitrateRequest

    A bitrate request.

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

    Constructors

    BitrateRequest()

    Initializes a new instance of the BitrateRequest class.

    Declaration
    public BitrateRequest()

    Properties

    Bitrate

    Gets or sets the bitrate (in kbps).

    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

    SenderSynchronizationSource

    Gets or sets the sender synchronization source.

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

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

    The instance in JSON format.

    Returns
    Type Description
    BitrateRequest

    The instance.

    FromJsonArray(String)

    Deserializes an array from JSON.

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

    The array in JSON format.

    Returns
    Type Description
    BitrateRequest[]

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

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(BitrateRequest bitrateRequest)
    Parameters
    Type Name Description
    BitrateRequest bitrateRequest

    The instance.

    Returns
    Type Description
    System.String

    The instance in JSON format.

    ToJsonArray(BitrateRequest[])

    Serializes an array to JSON.

    Declaration
    public static string ToJsonArray(BitrateRequest[] bitrateRequests)
    Parameters
    Type Name Description
    BitrateRequest[] bitrateRequests

    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