Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConnectionData

An SDP connection data element.

Hierarchy

  • ConnectionData

Index

Constructors

constructor

  • Initializes a new instance of the fm.icelink.sdp.connectionData class.

    Parameters

    • connectionAddress: string

      The connection address.

    Returns ConnectionData

Properties

Private _addressType

_addressType: string
internal

Private _connectionAddress

_connectionAddress: string
internal

Private _networkType

_networkType: string
internal

Methods

getAddressType

  • getAddressType(): string
  • Gets the type of the address. See fm.icelink.sdp.connectionData.addressType for possible values.

    Returns string

getConnectionAddress

  • getConnectionAddress(): string
  • Gets the connection address.

    Returns string

getNetworkType

  • getNetworkType(): string
  • Gets the type of network. See fm.icelink.sdp.connectionData.networkType for possible values.

    Returns string

getTypeString

  • getTypeString(): string
  • Returns string

setAddressType

  • setAddressType(value: string): void
  • Sets the type of the address. See fm.icelink.sdp.connectionData.addressType for possible values.

    Parameters

    • value: string

    Returns void

setConnectionAddress

  • setConnectionAddress(value: string): void
  • Sets the connection address.

    Parameters

    • value: string

    Returns void

setNetworkType

  • setNetworkType(value: string): void
  • Sets the type of network. See fm.icelink.sdp.connectionData.networkType for possible values.

    Parameters

    • value: string

    Returns void

toString

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

    Returns string

update

  • update(connectionAddress: string): void
  • Updates the connection address.

    Parameters

    • connectionAddress: string

      The connection address.

    Returns void

Static parse

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

    Parameters

    • s: string

      The string to parse.

    Returns ConnectionData