View Source Membrane.RTP.SequenceNumberTracker (Membrane RTP plugin v0.21.0)

A module used to map 16-bit sequence number to a continuous index without rollovers. It also detectes repeated and lost packets

Link to this section Summary

Functions

Initializes new SequenceNumberTracker

Main function of the Tracker that returns a difference to the newest package and packet's monotonic index

Link to this section Types

@type t() :: %Membrane.RTP.SequenceNumberTracker{
  highest_seen_index: nil | non_neg_integer()
}

Link to this section Functions

@spec new() :: t()

Initializes new SequenceNumberTracker

Main function of the Tracker that returns a difference to the newest package and packet's monotonic index