Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FeedbackAttribute

This attribute is used to indicate the capability of using RTCP feedback.

Hierarchy

  • Attribute
    • FeedbackAttribute

Index

Constructors

constructor

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

    Returns FeedbackAttribute

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

    Parameters

    • payloadType: number

      The payload type.

    • type: string

      The type.

    • subtype: string

      The subtype.

    Returns FeedbackAttribute

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

    Parameters

    • payloadType: number

      The payload type.

    • type: string

      The type.

    Returns FeedbackAttribute

Properties

Private _payloadType

_payloadType: number
internal

Private _subType

_subType: string
internal

Private _type

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

getPayloadType

  • getPayloadType(): number
  • Gets the payload type.

    Returns number

getSubType

  • getSubType(): string
  • Gets the sub-type.

    Returns string

getType

  • getType(): string
  • Gets the type.

    Returns string

getTypeString

  • getTypeString(): string
  • Returns string

setAttributeType

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

    Parameters

    • value: AttributeType

    Returns void

setPayloadType

  • setPayloadType(value: number): void
  • Sets the payload type.

    Parameters

    • value: number

    Returns void

setSubType

  • setSubType(value: string): void
  • Sets the sub-type.

    Parameters

    • value: string

    Returns void

setType

  • setType(value: string): void
  • Sets the type.

    Parameters

    • value: string

    Returns void

toString

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

    Returns string

Static ccmFirAttribute

  • ccmFirAttribute(payloadType: number): FeedbackAttribute
  • Creates a "ccm fir" feedback attribute.

    Parameters

    • payloadType: number

      The payload type.

    Returns FeedbackAttribute

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): FeedbackAttribute
  • Initializes a new instance of the fm.icelink.sdp.rtcp.feedbackAttribute class.

    Parameters

    • value: string

      The attribute value.

    Returns FeedbackAttribute

Static getTypeName

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

    Parameters

    • type: Type

      The attribute type.

    Returns string

Static getWildcardPayloadType

  • getWildcardPayloadType(): number
  • Gets the payload type that represents wildcard feedback attributes ('*').

    Returns number

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 nackAttribute

  • nackAttribute(payloadType: number): FeedbackAttribute
  • Creates a "nack" feedback attribute.

    Parameters

    • payloadType: number

      The payload type.

    Returns FeedbackAttribute

Static nackPliAttribute

  • nackPliAttribute(payloadType: number): FeedbackAttribute
  • Creates a "nack pli" feedback attribute.

    Parameters

    • payloadType: number

      The payload type.

    Returns FeedbackAttribute

Static nackRpsiAttribute

  • nackRpsiAttribute(payloadType: number): FeedbackAttribute
  • Creates a "nack rpsi" feedback attribute.

    Parameters

    • payloadType: number

      The payload type.

    Returns FeedbackAttribute

Static nackSliAttribute

  • nackSliAttribute(payloadType: number): FeedbackAttribute
  • Creates a "nack sli" feedback attribute.

    Parameters

    • payloadType: number

      The payload type.

    Returns FeedbackAttribute

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

Static rembAttribute

  • rembAttribute(payloadType: number): FeedbackAttribute
  • Creates a "goog-remb" feedback attribute.

    Parameters

    • payloadType: number

      The payload type.

    Returns FeedbackAttribute