Przeglądaj źródła

Uses transport date only from succeeded pair.

 Fixes an issue, where on FF we show a lot of addresses and ports (apparently not the correct one).
dev1
damencho 8 lat temu
rodzic
commit
698bfd0c61
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2
    1
      modules/statistics/RTPStatsCollector.js

+ 2
- 1
modules/statistics/RTPStatsCollector.js Wyświetl plik

@@ -472,7 +472,8 @@ StatsCollector.prototype.processStatsReport = function() {
472 472
         }
473 473
 
474 474
         if (now.type === 'candidatepair') {
475
-            if (now.state === 'succeeded') {
475
+            // we need succeeded pairs only
476
+            if (now.state !== 'succeeded') {
476 477
                 continue;
477 478
             }
478 479
 

Ładowanie…
Anuluj
Zapisz