|
@@ -424,7 +424,7 @@ StatsCollector.prototype.processStatsReport = function() {
|
424
|
424
|
'upload': Math.round(sendBandwidth / 1000)
|
425
|
425
|
};
|
426
|
426
|
}
|
427
|
|
- } catch(e) {/* not supported*/}
|
|
427
|
+ } catch(e) { /* not supported*/ }
|
428
|
428
|
|
429
|
429
|
if(now.type == 'googCandidatePair') {
|
430
|
430
|
let active, ip, localip, type;
|
|
@@ -434,7 +434,7 @@ StatsCollector.prototype.processStatsReport = function() {
|
434
|
434
|
type = getStatValue(now, 'transportType');
|
435
|
435
|
localip = getStatValue(now, 'localAddress');
|
436
|
436
|
active = getStatValue(now, 'activeConnection');
|
437
|
|
- } catch(e) {/* not supported*/}
|
|
437
|
+ } catch(e) { /* not supported*/ }
|
438
|
438
|
if(!ip || !type || !localip || active != 'true') {
|
439
|
439
|
continue;
|
440
|
440
|
}
|
|
@@ -560,7 +560,7 @@ StatsCollector.prototype.processStatsReport = function() {
|
560
|
560
|
resolution.height = height;
|
561
|
561
|
resolution.width = width;
|
562
|
562
|
}
|
563
|
|
- } catch(e) {/* not supported*/}
|
|
563
|
+ } catch(e) { /* not supported*/ }
|
564
|
564
|
|
565
|
565
|
if (resolution.height && resolution.width) {
|
566
|
566
|
ssrcStats.setResolution(resolution);
|
|
@@ -671,7 +671,7 @@ StatsCollector.prototype.processAudioLevelReport = function() {
|
671
|
671
|
audioLevel
|
672
|
672
|
= getStatValue(now, 'audioInputLevel')
|
673
|
673
|
|| getStatValue(now, 'audioOutputLevel');
|
674
|
|
- } catch(e) {/* not supported*/
|
|
674
|
+ } catch(e) { /* not supported*/
|
675
|
675
|
logger.warn('Audio Levels are not available in the statistics.');
|
676
|
676
|
clearInterval(this.audioLevelsIntervalId);
|
677
|
677
|
|