Membrane RTP plugin v0.4.0-alpha Membrane.RTP.Packet View Source

Defines a struct describing an RTP packet and a way to parse it. 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 type

t()

View Source
t() :: %Membrane.RTP.Packet{header: Membrane.RTP.Header.t(), payload: binary()}

Link to this section Functions

Link to this function

parse(bytes)

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

strip_padding(is_padding_present, payload)

View Source