Skip to content

Commit fb3bdc3

Browse files
committed
we can make it even prettier ?!
1 parent ee54c8d commit fb3bdc3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/webrtc/stats/summaryStatsReporter.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ export class SummaryStatsReporter {
4545
});
4646
const decimalPlaces = 5;
4747
const report = {
48-
percentageReceivedMedia: Number(
49-
(summaryCounter.receivedMedia / summaryTotalCount).toFixed(decimalPlaces),
50-
),
48+
percentageReceivedMedia: Number((summaryCounter.receivedMedia / summaryTotalCount).toFixed(decimalPlaces)),
5149
percentageReceivedVideoMedia: Number(
5250
(summaryCounter.receivedVideo / summaryTotalCount).toFixed(decimalPlaces),
5351
),

0 commit comments

Comments
 (0)