View Source Membrane.RTP.OutboundTrackingSerializer (Membrane RTP plugin v0.27.1)

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.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

:rtcp_input

Accepted formats:

_any
Direction::input
Availability::on_request
Flow control::auto

:input

Accepted formats:

RTP
Direction::input
Availability::always
Flow control::auto

:rtcp_output

Accepted formats:

%RemoteStream{type: :packetized, content_format: RTCP}
Direction::output
Availability::on_request
Flow control::auto

:output

Accepted formats:

%RemoteStream{type: :packetized, content_format: RTP}
Direction::output
Availability::always
Flow control::auto

Summary

Types

t()

Struct containing options for Membrane.RTP.OutboundTrackingSerializer

Functions

Returns description of options available for this module

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

Functions

@spec options() :: keyword()

Returns description of options available for this module