Search Results for

    / fm / liveswitch / BitrateNotification

    Class: BitrateNotification

    fm.liveswitch.BitrateNotification

    A bitrate notification.

    Table of contents

    Constructors

    • constructor

    Methods

    • deserializeProperty
    • fmliveswitchBitrateNotificationInit
    • getBitrate
    • getMediaDescriptionId
    • getRtpStreamId
    • getSynchronizationSource
    • getTypeString
    • serializeProperties
    • setBitrate
    • setMediaDescriptionId
    • setRtpStreamId
    • setSynchronizationSource
    • toJson
    • fromJson
    • fromJsonArray
    • toJson
    • toJsonArray

    Constructors

    constructor

    + new BitrateNotification(): BitrateNotification

    Initializes a new instance of the [[fm.liveswitch.bitrateNotification]] class.

    Returns: BitrateNotification

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:25

    Methods

    deserializeProperty

    ▸ ProtecteddeserializeProperty(key: string, valueJson: string): void

    Deserializes a property from JSON.

    Parameters:

    Name Type Description
    key string The property key.
    valueJson string The property value in JSON format.

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:120


    fmliveswitchBitrateNotificationInit

    ▸ PrivatefmliveswitchBitrateNotificationInit(): void

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:21


    getBitrate

    ▸ getBitrate(): number

    Gets the bitrate.

    Returns: number

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:149


    getMediaDescriptionId

    ▸ getMediaDescriptionId(): string

    Gets the media description ID.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:161


    getRtpStreamId

    ▸ getRtpStreamId(): string

    Gets the RTP stream ID.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:173


    getSynchronizationSource

    ▸ getSynchronizationSource(): number

    Gets the synchronization source.

    Returns: number

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:185


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:9


    serializeProperties

    ▸ ProtectedserializeProperties(jsonObject: Hash<string, string>): void

    Serializes properties to JSON.

    Parameters:

    Name Type Description
    jsonObject Hash<string, string> The JSON target.

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:198


    setBitrate

    ▸ setBitrate(value: number): void

    Sets the bitrate.

    Parameters:

    Name Type
    value number

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:221


    setMediaDescriptionId

    ▸ setMediaDescriptionId(value: string): void

    Sets the media description ID.

    Parameters:

    Name Type
    value string

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:234


    setRtpStreamId

    ▸ setRtpStreamId(value: string): void

    Sets the RTP stream ID.

    Parameters:

    Name Type
    value string

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:246


    setSynchronizationSource

    ▸ setSynchronizationSource(value: number): void

    Sets the synchronization source.

    Parameters:

    Name Type
    value number

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:258


    toJson

    ▸ toJson(): string

    Serializes this instance to JSON.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:271


    fromJson

    ▸ StaticfromJson(bitrateNotificationJson: string): BitrateNotification

    Deserializes an instance from JSON.

    Parameters:

    Name Type Description
    bitrateNotificationJson string The instance in JSON format.

    Returns: BitrateNotification

    The instance.

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:54


    fromJsonArray

    ▸ StaticfromJsonArray(bitrateNotificationsJson: string): BitrateNotification[]

    Deserializes an array from JSON.

    Parameters:

    Name Type Description
    bitrateNotificationsJson string The array in JSON format.

    Returns: BitrateNotification[]

    The array.

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:72


    toJson

    ▸ StatictoJson(bitrateNotification: BitrateNotification): string

    Serializes an instance to JSON.

    Parameters:

    Name Type Description
    bitrateNotification BitrateNotification The instance.

    Returns: string

    The instance in JSON format.

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:90


    toJsonArray

    ▸ StatictoJsonArray(bitrateNotifications: BitrateNotification[]): string

    Serializes an array to JSON.

    Parameters:

    Name Type Description
    bitrateNotifications BitrateNotification[] The array.

    Returns: string

    The array in JSON format.

    Defined in: Generated/TypeScript/fm.liveswitch/BitrateNotification.ts:106

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