webrtc-issue-detector icon indicating copy to clipboard operation
webrtc-issue-detector copied to clipboard

fix(detectors): adjust default jitter threshold to 0.2s instead of 200s

Open vatson opened this issue 3 months ago • 0 comments

Summary

The default jitter threshold in both InboundNetworkIssueDetector and OutboundNetworkIssueDetector was set to 200, which corresponds to 200 seconds. Since jitter values are reported in seconds, this default was unrealistically high and prevented correct detection of network issues.

Changes

  • Updated the default highJitterThreshold from 200 to 0.2 (200 ms).
  • Applied the fix consistently across inbound and outbound detectors.

Why

With the previous default of 200s, jitter-related issues would never be detected in practice. Using 0.2s (200 ms) aligns with realistic network conditions and makes the detectors functional.

vatson avatar Aug 29 '25 11:08 vatson