Membrane Element: RTP v0.2.1 Membrane.Element.RTP.PacketParser View Source

Parses RTP packet based on RFC3550

Link to this section Summary

Link to this section Types

Link to this type

error_reason()

View Source
error_reason() :: :wrong_version | :packet_malformed

Link to this section Functions

Link to this function

parse_packet(bytes)

View Source
parse_packet(binary()) ::
  {:ok, Membrane.Element.RTP.Packet.t()} | {:error, error_reason()}