mirror of
https://github.com/livekit/livekit.git
synced 2026-04-26 23:55:25 +00:00
248d73948d
* Guard against timestamp inversion in RED -> Opus conversion. Seeing timestamp inversion (sequence number is +1, but timestamp is -960, i.e. 20ms) in the RED -> Opus conversion path. Not able to spot any bugs in code. So, logging details upon detection and also dropping the packet. If not dropped, downstream components like Egress treat it as a big timestamp jump (because sequence number is moving forward) and try to adjust pts which ends up causing drops. * do not log time reversal at the start * typo