Explorar el Código

Fixes audio mute/unmute all.

dev1
damencho hace 9 años
padre
commit
f18f56989d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      modules/RTC/RTC.js

+ 1
- 1
modules/RTC/RTC.js Ver fichero

@@ -198,7 +198,7 @@ RTC.prototype.setAudioMute = function (value) {
198 198
             continue;
199 199
         }
200 200
         // this is a Promise
201
-        mutePromises.push(stream.mute(value));
201
+        mutePromises.push(value ? stream.mute() : stream.unmute());
202 202
     }
203 203
     // we return a Promise from all Promises so we can wait for their execution
204 204
     return Promise.all(mutePromises);

Loading…
Cancelar
Guardar