Membrane.RTCP.Packet.encode

You're seeing just the callback encode, go back to Membrane.RTCP.Packet module for more information.

Specs

encode(struct()) ::
  {body :: binary(), packet_type :: Membrane.RTCP.Header.packet_type_t(),
   packet_specific :: Membrane.RTCP.Header.packet_specific_t()}

Encodes packet struct into the tuple used by serialize/1