View Source ExRTCP.Packet.TransportFeedback.NACK (ex_rtcp v0.4.0)
Transport layer feedback message with generic NACKs
packet type (RFC 4585
, sec. 6.2.1).
Summary
Types
Generic NACK message, as described in RFC 4585
, sec. 6.2.1.
blp
must be a 16-bit binary.
Struct representing Transport layer NACK feedback RTCP message.
Types
@type generic_nack() :: %{pid: ExRTCP.Packet.uint16(), blp: binary()}
Generic NACK message, as described in RFC 4585
, sec. 6.2.1.
blp
must be a 16-bit binary.
@type t() :: %ExRTCP.Packet.TransportFeedback.NACK{ media_ssrc: ExRTCP.Packet.uint32(), nacks: [generic_nack()], sender_ssrc: ExRTCP.Packet.uint32() }
Struct representing Transport layer NACK feedback RTCP message.
Functions
@spec from_sequence_numbers(ExRTCP.Packet.uint32(), ExRTCP.Packet.uint32(), [ ExRTCP.Packet.uint16() ]) :: t()
Creates t/0
from a list of sequence numbers.
Works with assumption that all of the sequence numbers will fit in a single feedback.
@spec to_sequence_numbers(t()) :: [ExRTCP.Packet.uint16()]
Creates a list of sequence numbers from t/0
.