View Source Membrane.RTP.MPEGAudio.Depayloader (Membrane RTP MPEG Audio plugin v0.10.0)

Parses RTP payloads into parsable mpeg chunks based on RFC 2038

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             MBZ               |          Frag_offset          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

MBZ: Must be zero, reserved for future use.

Frag_offset: Byte offset into the audio frame for the data in this packet.

pads

Pads

input

:input

Availability :always
Caps Membrane.RTP
Demand mode :auto
Demand unit :buffers
Direction :input
Mode :pull
Name :input

output

:output

Availability :always
Caps Membrane.RemoteStream, restrictions:
  content_format: Membrane.Caps.Audio.MPEG,
  type: :packetized
Demand mode :auto
Demand unit :buffers
Direction :output
Mode :pull
Name :output

Link to this section Summary

Link to this section Functions

@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]

Returns pads descriptions for Membrane.RTP.MPEGAudio.Depayloader