View Source Membrane.RTP.InboundPacketTracker (Membrane RTP plugin v0.23.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
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
Accepted formats:
_any
Direction: | :input |
Availability: | :always |
Flow control: | :auto |
Demand unit: | nil |
:output
Accepted formats:
_any
Direction: | :output |
Availability: | :always |
Flow control: | :auto |
Demand unit: | nil |
Summary
Types
Struct containing options for Membrane.RTP.InboundPacketTracker
Types
@type t() :: %Membrane.RTP.InboundPacketTracker{ clock_rate: Membrane.RTP.clock_rate_t(), repair_sequence_numbers?: boolean() }
Struct containing options for Membrane.RTP.InboundPacketTracker
Functions
@spec options() :: keyword()
Returns description of options available for this module