Skip to content

[pull] master from livekit:master#908

Merged
pull[bot] merged 3 commits into
wolfguidao:masterfrom
livekit:master
Sep 23, 2025
Merged

[pull] master from livekit:master#908
pull[bot] merged 3 commits into
wolfguidao:masterfrom
livekit:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Sep 23, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* Tweaks tresholds for logging high forwarding latency/jitter.

Previous attempt showed skewed jitter (i. e. more than 10x latency),
But, no large latency.

So, reducing the latency treshold to declare high latency.
And also keeping track of lowest/highest per reporting window and
logging those along with short term and long term measurements.

NOTE: previously short term and long term were separate calls with locks
acquired. Now, it is all in one lock. So, it does increase the lock
duration a bit, but hopefully not by too much as the welford merge for
short term would go over 20 samples (at 50 ms sampling interval and 1 s
reporting window).

* revert skew factor
* ForwarStats.GetStats needs to be public

* prevent deadlock
With no packets flowing through, the stat gets stuck.
Flush the pipe if there have been no packets in the report interval.
@pull pull Bot locked and limited conversation to collaborators Sep 23, 2025
@pull pull Bot added the ⤵️ pull label Sep 23, 2025
@pull pull Bot merged commit 49f9b9c into wolfguidao:master Sep 23, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant