View Source Membrane.RTP.OutboundTrackingSerializer (Membrane RTP plugin v0.23.0)
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
Element options
Passed via struct Membrane.RTP.OutboundTrackingSerializer.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
telemetry_label
Membrane.TelemetryMetrics.label()
Default value:
[]
pads
Pads
rtcp_input
:rtcp_input
Accepted formats:
_any
Direction: | :input |
Availability: | :on_request |
Flow control: | :auto |
Demand unit: | nil |
input
:input
Accepted formats:
RTP
Direction: | :input |
Availability: | :always |
Flow control: | :auto |
Demand unit: | nil |
rtcp_output
:rtcp_output
Accepted formats:
%RemoteStream{type: :packetized, content_format: RTCP}
Direction: | :output |
Availability: | :on_request |
Flow control: | :auto |
Demand unit: | nil |
output
:output
Accepted formats:
%RemoteStream{type: :packetized, content_format: RTP}
Direction: | :output |
Availability: | :always |
Flow control: | :auto |
Demand unit: | nil |
Link to this section Summary
Types
Struct containing options for Membrane.RTP.OutboundTrackingSerializer
Link to this section Types
@type t() :: %Membrane.RTP.OutboundTrackingSerializer{ 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(), telemetry_label: Membrane.TelemetryMetrics.label() }
Struct containing options for Membrane.RTP.OutboundTrackingSerializer
Link to this section Functions
@spec options() :: keyword()
Returns description of options available for this module