Membrane RTP plugin v0.4.0-alpha Membrane.RTCP.Header View Source

Struct describing 32-bit header common to all RTCP packets

Link to this section Summary

Link to this section Types

Link to this type

packet_specific_t()

View Source
packet_specific_t() :: non_neg_integer()
Link to this type

packet_type_t()

View Source
packet_type_t() :: 200 | 201 | 202 | 203 | 204
Link to this type

t()

View Source
t() :: %Membrane.RTCP.Header{
  length: pos_integer(),
  packet_specific: packet_specific_t(),
  packet_type: packet_type_t(),
  padding?: boolean()
}

Link to this section Functions

Link to this function

parse(arg1)

View Source
parse(binary()) :: {:ok, t()} | {:error, :invalid_header}
Link to this function

to_binary(header)

View Source
to_binary(t()) :: binary()