Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SetupAttribute

The 'setup' attribute indicates which of the end points should initiate the TCP connection establishment (i.e., send the initial TCP SYN). The 'setup' attribute is charset-independent and can be a session-level or a media-level attribute.

Hierarchy

  • Attribute
    • SetupAttribute

Index

Constructors

constructor

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

    Parameters

    • setup: string

      Which end point should initiate the connection establishment. See fm.icelink.sdp.setupAttribute.setup for possible values.

    Returns SetupAttribute

Properties

Private _setup

_setup: string
internal

Methods

getAttributeType

  • getAttributeType(): AttributeType
  • Gets this Attribute's Type.

    Returns AttributeType

Protected getAttributeValue

  • getAttributeValue(): string
  • Gets the internal value of the attribute.

    Returns string

getSetup

  • getSetup(): string
  • Gets which end point should initiate the connection establishment. See fm.icelink.sdp.setupAttribute.setup for possible values.

    Returns string

getTypeString

  • getTypeString(): string
  • Returns string

setAttributeType

  • setAttributeType(value: AttributeType): void
  • Sets this Attribute's Type.

    Parameters

    • value: AttributeType

    Returns void

Private setSetup

  • setSetup(value: string): void
  • internal

    Parameters

    • value: string

    Returns void

toString

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

    Returns string

Static createAttribute

  • createAttribute(name: string, value: string): Attribute
  • Creates an attribute.

    Parameters

    • name: string

      The name.

    • value: string

      The value.

    Returns Attribute

Static fromAttributeValue

  • fromAttributeValue(value: string): SetupAttribute
  • Initializes a new instance of the fm.icelink.sdp.setupAttribute class.

    Parameters

    • value: string

      The attribute value.

    Returns SetupAttribute

Static getTypeName

  • getTypeName(type: Type): string
  • Gets the name of the attribute type.

    Parameters

    • type: Type

      The attribute type.

    Returns string

Static isMediaLevel

  • isMediaLevel(type: Type): boolean
  • Determines whether the type applies to media streams.

    Parameters

    • type: Type

      The type.

    Returns boolean

Static isSessionLevel

  • isSessionLevel(type: Type): boolean
  • Determines whether the type applies to sessions.

    Parameters

    • type: Type

      The type.

    Returns boolean

Static parse

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

    Parameters

    • s: string

      The string to parse.

    Returns Attribute