Files
livekit/pkg/sfu
Raja SubramanianandClaude Fable 5.2 733991f781 rtpstats: keep per-packet state together and use a plain mutex (#5237)
Update runs for every packet. With many streams, most of its cost is
memory access across three structs and about 10 cache lines.

- use sync.Mutex, all readers are short getters
- embed the base structs, the WrapAround trackers, the history bitmap
  and the RTP converter by value
- group the fields that every packet updates, move gapHistogram after them
- compute expectedTSJump only when it is used

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 16:50:21 +05:30
..
2026-10-22 13:58:04 -07:00
2023-07-27 16:43:19 -07:00
2021-11-08 20:56:53 -08:00