View Source ExSDP.Attribute.RTCPFeedback (ExSDP v1.1.0)

This module describes what kind(s) of RTCP Feedback will be used (RFC 4585).

The example lines that are parsed by this module are (a=rtcp-fb: prefix will be handled by ExSDP.Attribute)

a=rtcp-fb:* nack
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli

Summary

Types

Key that can be used for searching this attribute using ExSDP.Media.get_attribute/2.

t()

Types

@type attr_key() :: :rtcp_feedback

Key that can be used for searching this attribute using ExSDP.Media.get_attribute/2.

@type feedback_type_t() :: :nack | :fir | :pli | :twcc | :remb | binary()
@type t() :: %ExSDP.Attribute.RTCPFeedback{
  feedback_type: feedback_type_t(),
  pt: ExSDP.Attribute.RTPMapping.payload_type_t() | :all
}

Functions

@spec parse(binary()) ::
  {:ok, t()} | {:error, :invalid_pt} | {:error, :invalid_rtcp_feedback}
Link to this function

serialize_feedback_type(fb_type)

View Source
@spec serialize_feedback_type(feedback_type_t()) :: String.t()