Browse Source

Fixes audio mute/unmute all.

dev1
damencho 9 years ago
parent
commit
f18f56989d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/RTC/RTC.js

+ 1
- 1
modules/RTC/RTC.js View File

@@ -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…
Cancel
Save