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

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

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

Pads

input

:input

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

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

Functions

Returns pads descriptions for Membrane.RTP.InboundPacketTracker

Returns description of options available for this module

Link to this section Types

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

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

Returns pads descriptions for Membrane.RTP.InboundPacketTracker

@spec options() :: keyword()

Returns description of options available for this module