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

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

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 :any
Demand mode :auto
Demand unit :buffers
Direction :input
Mode :pull
Name :input

rtcp_output

:rtcp_output

Availability :on_request
Caps :any
Demand mode :auto
Demand unit :buffers
Direction :output
Mode :pull
Name :rtcp_output

output

:output

Availability :always
Caps :any
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.OutboundPacketTracker

Functions

Returns pads descriptions for Membrane.RTP.OutboundPacketTracker

Returns description of options available for this module

Link to this section Types

@type 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

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

Returns pads descriptions for Membrane.RTP.OutboundPacketTracker

@spec options() :: keyword()

Returns description of options available for this module