Membrane.RTP.OutboundTrackingSerializer (Membrane RTP plugin v0.31.5)

Copy Markdown 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.OutboundTrackingSerializer.t/0

  • ssrc

    RTP.ssrc()

    Required

  • payload_type

    RTP.payload_type()

    Required

  • clock_rate

    RTP.clock_rate()

    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

t()

@type t() :: %Membrane.RTP.OutboundTrackingSerializer{
  clock_rate: Membrane.RTP.clock_rate(),
  extension_mapping: Membrane.RTP.SessionBin.rtp_extension_mapping_t(),
  payload_type: Membrane.RTP.payload_type(),
  ssrc: Membrane.RTP.ssrc(),
  telemetry_label: Membrane.TelemetryMetrics.label()
}

Struct containing options for Membrane.RTP.OutboundTrackingSerializer

Functions

options()

@spec options() :: keyword()

Returns description of options available for this module