diff --git a/web/js/app.js b/web/js/app.js index fc3d6571..d7e2205b 100755 --- a/web/js/app.js +++ b/web/js/app.js @@ -647,8 +647,8 @@ stats.modules = [ ); SET_CODEC = 1; } - const { nominated, currentRoundTripTime, type, kind } = report; - if (nominated && currentRoundTripTime !== undefined) { + const { selected, currentRoundTripTime, type, kind } = report; + if (selected && currentRoundTripTime !== undefined) { WEBRTC_STATS_RTT(currentRoundTripTime * 1000); } if (type === "inbound-rtp" && kind === "video") {