Tracks an unwrapped 48 kHz RTP media clock across captures for one preview peer.
Start with nil. Within a capture the clock follows the source sample index,
including gaps from dropped preview frames. The next capture starts one 20 ms
packet after the last tick sent to the peer.
Summary
Functions
Advances the peer's clock for a delivered Opus packet.
Types
@type t() :: %MedEx.Preview.Clock{ capture: term(), index: non_neg_integer(), tick: non_neg_integer() }
Functions
@spec advance(t() | nil, term(), non_neg_integer()) :: t()
Advances the peer's clock for a delivered Opus packet.