Given following RTP payloads and their minimal metadata, creates their proper header information,
incrementing timestamps and sequence numbers for each packet. Header information then is put
inside buffer's metadata under :rtp key.
Accepts the following metadata under :rtp key: :marker, :csrcs, :extensions.
See Membrane.RTP.Header for their meaning and specifications.
Element options
Passed via struct Membrane.RTP.HeaderGenerator.t/0
ssrcRTP.ssrc()Required
payload_typeRTP.payload_type()Required
clock_rateRTP.clock_rate()Required
Pads
:input
Accepted formats:
RTP| Direction: | :input |
| Availability: | :always |
| Flow control: | :auto |
:output
Accepted formats:
RTP| Direction: | :output |
| Availability: | :always |
| Flow control: | :auto |
Summary
Types
Struct containing options for Membrane.RTP.HeaderGenerator
Types
@type t() :: %Membrane.RTP.HeaderGenerator{ clock_rate: Membrane.RTP.clock_rate(), payload_type: Membrane.RTP.payload_type(), ssrc: Membrane.RTP.ssrc() }
Struct containing options for Membrane.RTP.HeaderGenerator
Functions
@spec options() :: keyword()
Returns description of options available for this module