diff --git a/index.html b/index.html index 6704ba395..1ccb8e9d8 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,7 @@ - + diff --git a/rtp_sts.js b/rtp_sts.js index 03cfff79c..46c75522c 100644 --- a/rtp_sts.js +++ b/rtp_sts.js @@ -208,7 +208,7 @@ StatsCollector.prototype.processStatsReport = function () { var type = now.stat("googTransportType"); var localIP = now.stat("googLocalAddress"); var active = now.stat("googActiveConnection"); - if(!ip || !type || !localIP || !active) + if(!ip || !type || !localIP || active != "true") continue; var addressSaved = false; for(var i = 0; i < PeerStats.transport.length; i++)