|
|
@@ -582,7 +582,9 @@ StatsCollector.prototype.processStatsReport = function() {
|
|
582
|
582
|
// the sent bytes to the local download bitrate.
|
|
583
|
583
|
// In new W3 stats spec, type="track" has a remoteSource boolean
|
|
584
|
584
|
// property.
|
|
585
|
|
- if (now.isRemote === true || now.remoteSource === true) {
|
|
|
585
|
+ // Edge uses the new format, so skip this check.
|
|
|
586
|
+ if (!RTCBrowserType.isEdge()
|
|
|
587
|
+ && (now.isRemote === true || now.remoteSource === true)) {
|
|
586
|
588
|
continue;
|
|
587
|
589
|
}
|
|
588
|
590
|
|
|
|
@@ -604,7 +606,6 @@ StatsCollector.prototype.processStatsReport = function() {
|
|
604
|
606
|
packetsNow = getStatValue(now, key);
|
|
605
|
607
|
if (typeof packetsNow === 'undefined' || packetsNow === null) {
|
|
606
|
608
|
logger.warn('No packetsReceived nor packetsSent stat found');
|
|
607
|
|
- continue;
|
|
608
|
609
|
}
|
|
609
|
610
|
}
|
|
610
|
611
|
if (!packetsNow || packetsNow < 0) {
|