Fixes duplicating ports in connection popover.

This commit is contained in:
hristoterezov 2014-10-17 17:16:59 +03:00
parent 79936ecbc8
commit 857f80003c
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
<script src="replacement.js?v=6"></script><!-- link and smiley replacement -->
<script src="moderatemuc.js?v=4"></script><!-- moderator plugin -->
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
<script src="rtp_sts.js?v=2"></script><!-- RTP stats processing -->
<script src="rtp_sts.js?v=3"></script><!-- RTP stats processing -->
<script src="local_sts.js?v=2"></script><!-- Local stats processing -->
<script src="videolayout.js?v=17"></script><!-- video ui -->
<script src="connectionquality.js?v=1"></script>

View File

@ -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++)