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

Module responsible for tracking statistics of incoming RTP packets for a single stream.

Tracker is capable of repairing packets' sequence numbers provided that it has information about how many packets has been previously discarded. To updated number of discarded packets one should send an event Membrane.RTP.PacketsDiscarded.t/0 that will accumulate the total number of discarded packets and will subtract that number from the packet's sequence number.

Element options

Passed via struct Membrane.RTP.InboundPacketTracker.t/0

  • clock_rate

    Membrane.RTP.clock_rate_t()

    Required

  • repair_sequence_numbers?

    boolean()

    Default value: true
    Defines if tracker should try to repair packet's sequence number

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

Functions

Returns pads descriptions for Membrane.RTP.InboundPacketTracker

Returns description of options available for this module

Link to this section Types

Specs

t() :: %Membrane.RTP.InboundPacketTracker{
  clock_rate: Membrane.RTP.clock_rate_t(),
  repair_sequence_numbers?: boolean()
}

Struct containing options for Membrane.RTP.InboundPacketTracker

Link to this section Functions

Specs

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

Returns pads descriptions for Membrane.RTP.InboundPacketTracker

Specs

options() :: keyword()

Returns description of options available for this module