Fixes duplicating ports in connection popover.
This commit is contained in:
parent
79936ecbc8
commit
857f80003c
|
@ -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>
|
||||
|
|
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue