Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Bandwidth

An SDP bandwidth element.

Hierarchy

  • Bandwidth

Index

Constructors

constructor

  • new Bandwidth(bandwidthType: string, value: number): Bandwidth
  • Initializes a new instance of the fm.icelink.sdp.bandwidth class.

    Parameters

    • bandwidthType: string

      The type of bandwidth. See fm.icelink.sdp.bandwidth.bandwidthType for possible values.

    • value: number

      The bandwidth, typically in kilobits per second.

    Returns Bandwidth

Properties

Private _bandwidthType

_bandwidthType: string
internal

Private _value

_value: number
internal

Methods

getBandwidthType

  • getBandwidthType(): string
  • Gets the type of bandwidth. See fm.icelink.sdp.bandwidth.bandwidthType for possible values.

    Returns string

getTypeString

  • getTypeString(): string
  • Returns string

getValue

  • getValue(): number
  • Gets the bandwidth, typically in kilobits per second.

    Returns number

Private setBandwidthType

  • setBandwidthType(value: string): void
  • internal

    Parameters

    • value: string

    Returns void

Private setValue

  • setValue(value: number): void
  • internal

    Parameters

    • value: number

    Returns void

toString

  • toString(): string
  • Converts this instance to a string.

    Returns string

Static parse

  • parse(s: string): Bandwidth
  • Creates an fm.icelink.sdp.bandwidth instance from a string.

    Parameters

    • s: string

      The string to parse.

    Returns Bandwidth