webrtc-issue-detector
webrtc-issue-detector copied to clipboard
fix(detectors): adjust default jitter threshold to 0.2s instead of 200s
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
highJitterThresholdfrom200to0.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.