Membrane.RTP.OutboundPacketTracker (Membrane RTP plugin v0.9.0) View Source

Tracks statistics of outband packets.

Besides tracking statistics, tracker can also serialize packet's header and payload stored inside an incoming buffer into a a proper RTP packet.

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

  • alignment

    pos_integer()

    Default value: 1
    Number of bytes that each packet should be aligned to. Alignment is achieved by adding RTP padding.

Pads

:input

Availability:always
Caps:any
Demand unit:buffers
Direction:input
Mode:pull
Name:input

:output

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

Specs

t() :: %Membrane.RTP.OutboundPacketTracker{
  alignment: pos_integer(),
  clock_rate: Membrane.RTP.clock_rate_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

Specs

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

Returns pads descriptions for Membrane.RTP.OutboundPacketTracker

Specs

options() :: keyword()

Returns description of options available for this module