Commit b11d6bb7 authored by 神楽坂玲奈's avatar 神楽坂玲奈

debug

parent e4e42399
Pipeline #16353 passed with stages
in 26 seconds
......@@ -65,7 +65,7 @@ export class Router implements Hello, PeerQuality {
this.delay = _.mean(history) || 0;
let jitterSum = 0;
for (let i = 0; i < history.length - 1; i++) {
jitterSum[i] += Math.abs(history[i] - history[i + 1]);
jitterSum += Math.abs(history[i] - history[i + 1]);
}
this.jitter = (jitterSum / history.length - 1) || 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment