Files
livekit-3d/pkg/sfu
Raja Subramanian c2c187202f Fix forced rollover of RTP time stamp. (#2896)
* Fix forced rollover of RTP time stamp.

Was erroneously forcing a rollover when the timestamp jump actually has
room to accommodate large jumps. For example, before pause ts = 10, then
eight hour pause, restart ts = 10  + (8 * 00 * 60 * 90000) = 2592000010
(at 90000 clock rate for video). In normal processing, it will look like
out-of-order as the difference 2592000000 is more than half the 32-bit
range. But, forcing a roll over is incorrect.

Fix by calculating excess over the full range and then account for wrap
around.

* log potential ts rollover

* clamp at min 0
2024-07-31 12:45:19 +05:30
..
2024-02-17 12:37:15 -08:00
2023-09-18 18:42:39 +05:30
2024-05-24 17:43:28 +08:00
2023-07-27 16:43:19 -07:00
2024-07-15 23:54:45 +05:30
…
2024-06-17 12:57:04 +05:30
2023-07-27 16:43:19 -07:00