Don't update our local volume bar when muted

SimpleWebRTC still emit local volume change event when muted
master
Daniel Berteaud 11 years ago
parent 63c365ade4
commit 610ff99f2c
  1. 1
      public/js/vroom.js

@ -300,6 +300,7 @@ function initVroom(room) {
// Handle volume changes from our own mic
webrtc.on('volumeChange', function (volume, treshold) {
if (peers.local.micMuted) return;
showVolume($('#localVolume'), volume);
});

Loading…
Cancel
Save