View Source Membrane.RTP.OutboundTrackingSerializer (Membrane RTP plugin v0.18.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

pads

Pads

rtcp_input

:rtcp_input

Availability :on_request
Caps :any
Demand mode :auto
Demand unit :buffers
Direction :input
Mode :pull
Name :rtcp_input

input

:input

Availability :always
Caps Membrane.RTP
Demand mode :auto
Demand unit :buffers
Direction :input
Mode :pull
Name :input

rtcp_output

:rtcp_output

Availability :on_request
Caps Membrane.RemoteStream, restrictions:
  type: :packetized,
  content_format: RTCP
Demand mode :auto
Demand unit :buffers
Direction :output
Mode :pull
Name :rtcp_output

output

:output

Availability :always
Caps Membrane.RemoteStream, restrictions:
  type: :packetized,
  content_format: Membrane.RTP
Demand mode :auto
Demand unit :buffers
Direction :output
Mode :pull
Name :output

Link to this section Summary

Types

t()

Struct containing options for Membrane.RTP.OutboundTrackingSerializer

Functions

Returns description of options available for this module

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()
}

Struct containing options for Membrane.RTP.OutboundTrackingSerializer

Link to this section Functions

@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]

Returns pads descriptions for Membrane.RTP.OutboundTrackingSerializer

@spec options() :: keyword()

Returns description of options available for this module