XMediaLib.SDP.RtcpFb (xmedialib v0.3.0)

Copy Markdown View Source

RTP/AVPF feedback (a=rtcp-fb:) declaring RTCP feedback capabilities.

What problem this solves

WebRTC declares RTCP feedback capabilities (NACK, PLI, transport-cc) in a=rtcp-fb: attributes so endpoints know which AVPF messages are allowed. This struct represents one declared feedback token for a payload type.

Used for NACK, PLI, FIR, and transport-wide congestion control tokens.

Wire form: a=rtcp-fb:<pt> <type> [<param>]

RFCs

Summary

Types

t()

Payload type (or *), feedback type, and optional parameters.

Types

t()

@type t() :: %XMediaLib.SDP.RtcpFb{
  parameters: String.t() | nil,
  payload_type: String.t(),
  type: String.t()
}

Payload type (or *), feedback type, and optional parameters.

Fields

  • :payload_type - RTP payload type or * for all formats
  • :type - feedback token, e.g. nack or transport-cc
  • :parameters - optional subtype or parameter string