Membrane.RTP.OutboundPacketTracker (Membrane RTP plugin v0.11.0) View Source
Tracks statistics of outbound packets.
Besides tracking statistics, tracker can also serialize packet's header and payload stored inside an incoming buffer into a proper RTP packet. When encountering header extensions, it remaps its identifiers from locally used extension names to integer values expected by the receiver.
Element options
Passed via struct Membrane.RTP.OutboundPacketTracker.t/0
ssrc
RTP.ssrc_t()
Required
payload_type
RTP.payload_type_t()
Required
clock_rate
RTP.clock_rate_t()
Required
extension_mapping
RTP.SessionBin.rtp_extension_mapping_t()
Required
alignment
pos_integer()
Default value:
1
Number of bytes that each packet should be aligned to. Alignment is achieved by adding RTP padding.
Pads
:rtcp_input
Availability | :on_request |
Caps | :any |
Demand unit | :buffers |
Direction | :input |
Mode | :pull |
Name | :rtcp_input |
:input
Availability | :always |
Caps | :any |
Demand unit | :buffers |
Direction | :input |
Mode | :pull |
Name | :input |
:rtcp_output
Availability | :on_request |
Caps | :any |
Direction | :output |
Mode | :pull |
Name | :rtcp_output |
:output
Availability | :always |
Caps | :any |
Direction | :output |
Mode | :pull |
Name | :output |
Link to this section Summary
Types
Struct containing options for Membrane.RTP.OutboundPacketTracker
Functions
Returns pads descriptions for Membrane.RTP.OutboundPacketTracker
Returns description of options available for this module
Link to this section Types
Specs
t() :: %Membrane.RTP.OutboundPacketTracker{ alignment: pos_integer(), clock_rate: Membrane.RTP.clock_rate_t(), extension_mapping: Membrane.RTP.SessionBin.rtp_extension_mapping_t(), payload_type: Membrane.RTP.payload_type_t(), ssrc: Membrane.RTP.ssrc_t() }
Struct containing options for Membrane.RTP.OutboundPacketTracker
Link to this section Functions
Specs
membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.RTP.OutboundPacketTracker
Specs
options() :: keyword()
Returns description of options available for this module