Membrane.RTP.Header.Extension (Membrane RTP plugin v0.11.0) View Source

Describes RTP Header Extension defined in RFC8285 and provides common functions for interacting with extensions placed in buffers.

 0                   1                   2
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
|  ID   |  len  |     data (len+1 bytes)   ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Link to this section Summary

Link to this section Types

Specs

identifier_t() :: 1..14 | Membrane.RTP.SessionBin.rtp_extension_name_t()

Specs

t() :: %Membrane.RTP.Header.Extension{
  data: binary(),
  identifier: identifier_t()
}

Link to this section Functions

Link to this function

delete(buffer, identifier)

View Source

Specs

Link to this function

find(buffer, identifier)

View Source

Specs

find(Membrane.Buffer.t(), identifier_t()) :: t() | nil

Specs

Specs