mirror of
https://github.com/livekit/livekit.git
synced 2026-04-26 13:07:39 +00:00
* Use seq num offsets cache instead of missing seq num map. Map operations can be costly. Use a fixed size array to store offsets. 4096 sequence numbers should be more than 16 seconds for 720p video which should be plenty to look up offset of out-of-order packets. Packets out-of-order more than that will probably be useless anyway. * Move offset cache population to only when we are forwarding * add some debug logs * Remove debug