Merge pull request #708 from jitsi/gsm_bars_fix
Fixes issue with gsm bars for remote participants are always full
This commit is contained in:
commit
702b177e06
|
@ -99,7 +99,7 @@ export default {
|
|||
|
||||
var newVal = 100 - data.packetLoss.total;
|
||||
var oldVal = remoteConnectionQuality[id];
|
||||
remoteConnectionQuality[id] = calculateQuality(newVal, oldVal);
|
||||
remoteConnectionQuality[id] = calculateQuality(newVal, oldVal || 100);
|
||||
|
||||
eventEmitter.emit(
|
||||
CQEvents.REMOTESTATS_UPDATED, id, remoteConnectionQuality[id],
|
||||
|
|
Loading…
Reference in New Issue