View Source Membrane.RTP.HeaderGenerator (Membrane RTP plugin v0.21.0)
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
Element options
Passed via struct Membrane.RTP.HeaderGenerator.t/0
ssrc
RTP.ssrc_t()
Required
payload_type
RTP.payload_type_t()
Required
clock_rate
RTP.clock_rate_t()
Required
pads
Pads
input
:input
Accepted formats:
RTP
Direction: | :input |
Availability: | :always |
Mode: | :pull |
Demand mode: | :auto |
Demand unit: | :buffers |
output
:output
Accepted formats:
RTP
Direction: | :output |
Availability: | :always |
Mode: | :pull |
Demand mode: | :auto |
Link to this section Summary
Types
Struct containing options for Membrane.RTP.HeaderGenerator
Link to this section Types
@type t() :: %Membrane.RTP.HeaderGenerator{ clock_rate: Membrane.RTP.clock_rate_t(), payload_type: Membrane.RTP.payload_type_t(), ssrc: Membrane.RTP.ssrc_t() }
Struct containing options for Membrane.RTP.HeaderGenerator
Link to this section Functions
@spec options() :: keyword()
Returns description of options available for this module