View Source Membrane.RTP.InboundPacketTracker (Membrane RTP plugin v0.21.0)
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
Accepted formats:
_any
Direction: | :input |
Availability: | :always |
Mode: | :pull |
Demand mode: | :auto |
Demand unit: | :buffers |
output
:output
Accepted formats:
_any
Direction: | :output |
Availability: | :always |
Mode: | :pull |
Demand mode: | :auto |
Link to this section Summary
Types
Struct containing options for Membrane.RTP.InboundPacketTracker
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 options() :: keyword()
Returns description of options available for this module