Skip to content

Commit 97e9e1b

Browse files
author
Vadim
committed
fix(detectors): adjust default jitter threshold to 0.2s instead of 200s
1 parent ac2172c commit 97e9e1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/detectors/InboundNetworkIssueDetector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class InboundNetworkIssueDetector extends BaseIssueDetector {
2525
constructor(params: InboundNetworkIssueDetectorParams = {}) {
2626
super();
2727
this.#highPacketLossThresholdPct = params.highPacketLossThresholdPct ?? 5;
28-
this.#highJitterThreshold = params.highJitterThreshold ?? 200;
28+
this.#highJitterThreshold = params.highJitterThreshold ?? 0.2;
2929
this.#highJitterBufferDelayThresholdMs = params.highJitterBufferDelayThresholdMs ?? 500;
3030
this.#highRttThresholdMs = params.highRttThresholdMs ?? 250;
3131
}

src/detectors/OutboundNetworkIssueDetector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class OutboundNetworkIssueDetector extends BaseIssueDetector {
1919
constructor(params: OutboundNetworkIssueDetectorParams = {}) {
2020
super();
2121
this.#highPacketLossThresholdPct = params.highPacketLossThresholdPct ?? 5;
22-
this.#highJitterThreshold = params.highJitterThreshold ?? 200;
22+
this.#highJitterThreshold = params.highJitterThreshold ?? 0.2;
2323
}
2424

2525
performDetection(data: WebRTCStatsParsed): IssueDetectorResult {

0 commit comments

Comments
 (0)