Skip to content

Commit

Permalink
fix loss value
Browse files Browse the repository at this point in the history
  • Loading branch information
vpalmisano committed Mar 21, 2024
1 parent f27f48d commit f26fcaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ exec sg ${group} -c /tmp/webrtcperf-launcher-${mark}-browser`,
ignoreDefaultArgs: [
'--disable-dev-shm-usage',
'--remote-debugging-port',
'--hide-scrollbars',
//'--hide-scrollbars',
],
args,
})) as Browser
Expand Down
2 changes: 1 addition & 1 deletion src/throttle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ sudo -n tc filter add dev ${device} \
netem \
${rate && rate > 0 ? `rate ${rate}kbit` : ''} \
${delay && delay >= 0 ? `delay ${delay}ms` : ''} \
${loss && loss >= 0 ? `loss ${delay}%` : ''} \
${loss && loss >= 0 ? `loss ${loss}%` : ''} \
${limit && limit >= 0 ? `limit ${limit}` : ''} \
`
try {
Expand Down

0 comments on commit f26fcaf

Please sign in to comment.