Skip to content

Commit

Permalink
use average rtt calculation for video layers
Browse files Browse the repository at this point in the history
  • Loading branch information
vpalmisano committed Dec 2, 2024
1 parent 6218612 commit b3fe8fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/peer-connection-stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ async function getPeerConnectionStats(id, pc, now, raw = false, verbose = false)
'qualityLimitationDurationsCpu',
'qualityLimitationDurationsBandwidth',
'qualityLimitationDurationsTotal',
'totalRoundTripTime',
'roundTripTimeMeasurements',
].forEach(prop => sumOptional(values.outboundRtp, outboundRtp, prop))
;[
'framesSent',
Expand All @@ -202,8 +204,6 @@ async function getPeerConnectionStats(id, pc, now, raw = false, verbose = false)
'framesPerSecond',
'firCountReceived',
'pliCountReceived',
'totalRoundTripTime',
'roundTripTimeMeasurements',
'jitter',
'totalEncodeTime',
'totalPacketSendDelay',
Expand Down

0 comments on commit b3fe8fb

Please sign in to comment.