Search Results for

    / fm / liveswitch / sdp / Bandwidth

    Class: Bandwidth

    liveswitch.sdp.Bandwidth

    An SDP bandwidth element.

    Table of contents

    Constructors

    • constructor

    Methods

    • fmliveswitchsdpBandwidthInit
    • getBandwidthType
    • getTypeString
    • getValue
    • toString
    • parse

    Constructors

    constructor

    + new Bandwidth(bandwidthType: string, value: number): Bandwidth

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

    Parameters:

    Name Type Description
    bandwidthType string The type of bandwidth. See [[fm.liveswitch.sdp.bandwidth.bandwidthType]] for possible values.
    value number The bandwidth, typically in kilobits per second.

    Returns: Bandwidth

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Bandwidth.ts:20

    Methods

    fmliveswitchsdpBandwidthInit

    ▸ PrivatefmliveswitchsdpBandwidthInit(): void

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Bandwidth.ts:17


    getBandwidthType

    ▸ getBandwidthType(): string

    Gets the type of bandwidth. See [[fm.liveswitch.sdp.bandwidth.bandwidthType]] for possible values.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Bandwidth.ts:65


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Bandwidth.ts:9


    getValue

    ▸ getValue(): number

    Gets the bandwidth, typically in kilobits per second.

    Returns: number

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Bandwidth.ts:77


    toString

    ▸ toString(): string

    Converts this instance to a string.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Bandwidth.ts:106


    parse

    ▸ Staticparse(s: string): Bandwidth

    Creates an [[fm.liveswitch.sdp.bandwidth]] instance from a string.

    Parameters:

    Name Type Description
    s string The string to parse.

    Returns: Bandwidth

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/Bandwidth.ts:50

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