Skip to content

Commit

Permalink
add peer connections to summary report
Browse files Browse the repository at this point in the history
  • Loading branch information
toger5 committed May 10, 2023
1 parent fb3bdc3 commit 3bf2531
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/webrtc/stats/statsReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ export interface SummaryStatsReport {
maxJitter: number;
maxPacketLoss: number;
percentageConcealedAudio: number;
peerConnections: number;
}
1 change: 1 addition & 0 deletions src/webrtc/stats/summaryStatsReporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export class SummaryStatsReporter {
percentageConcealedAudio: Number(
(summaryCounter.concealedAudio / summaryTotalCount).toFixed(decimalPlaces),
),
peerConnections: summaryTotalCount,
} as SummaryStatsReport;
this.emitter.emitSummaryStatsReport(report);
}
Expand Down

0 comments on commit 3bf2531

Please sign in to comment.