mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-19 17:44:50 +00:00
Use RTT stats from the selected ICE pair in the stats
This commit is contained in:
parent
eaed44a03f
commit
844d84b6ac
1 changed files with 2 additions and 2 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue