Membrane.RTCP.Header (Membrane RTP plugin v0.9.0) View Source

Struct describing 32-bit header common to all RTCP packets

Link to this section Summary

Link to this section Types

Specs

packet_specific_t() :: non_neg_integer()

Specs

packet_type_t() :: 200..204

Specs

t() :: %Membrane.RTCP.Header{
  packet_specific: packet_specific_t(),
  packet_type: packet_type_t()
}

Link to this section Functions

Specs

parse(binary()) ::
  {:ok, %{header: t(), padding?: boolean(), body_size: pos_integer()}} | :error

Specs

serialize(t(), body_size: pos_integer(), padding?: boolean()) :: binary()