View Source Membrane.RTCP.Header (Membrane RTP plugin v0.29.1)
Struct describing 32-bit header common to all RTCP packets
Summary
Types
@type packet_specific_t() :: non_neg_integer()
@type packet_type_t() :: 200..206
@type t() :: %Membrane.RTCP.Header{ packet_specific: packet_specific_t(), packet_type: packet_type_t() }
Functions
@spec parse(binary()) :: {:ok, %{header: t(), padding?: boolean(), body_size: pos_integer()}} | :error
@spec serialize(t(), body_size: pos_integer(), padding?: boolean()) :: binary()