Files
livekit/pkg/rtc
Raja SubramanianandClaude Opus 5.5 af2959d2f8 fix: use the fast debounce for the first negotiation (#4936)
* fix: use the fast debounce for the first negotiation

A new transport set lastNegotiate to its creation time. A non-forced
Negotiate soon after creation then waited for the 150 ms debounce
instead of 10 ms, although nothing was negotiated yet. Start from the
zero time so that the first offer uses the fast debounce.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: check the first negotiation condition without a deadline

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: check that the first offer goes out before a debounced one

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 15:11:42 +05:30
..
2024-03-21 02:48:26 -07:00
2025-08-28 05:20:25 -07:00