Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnknownAttribute

This attribute is used to encapsulate unrecognized SDP attributes.

Hierarchy

  • Attribute
    • UnknownAttribute

Index

Constructors

constructor

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

    Parameters

    • name: string

      The name.

    • value: string

      The value.

    Returns UnknownAttribute

Properties

Private _name

_name: string
internal

Private _value

_value: 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

getName

  • getName(): string
  • Gets the attribute name.

    Returns string

getTypeString

  • getTypeString(): string
  • Returns string

getValue

  • getValue(): string
  • Gets the attribute value.

    Returns string

setAttributeType

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

    Parameters

    • value: AttributeType

    Returns void

Private setName

  • setName(value: string): void
  • internal

    Parameters

    • value: string

    Returns void

Private setValue

  • setValue(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 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