浏览代码

Updates another call to setMute().

j8
bgrozev 10 年前
父节点
当前提交
5588bcd167
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
modules/xmpp/xmpp.js 查看文件

414
         // It is not clear what is the right way to handle multiple tracks.
414
         // It is not clear what is the right way to handle multiple tracks.
415
         // So at least make sure that they are all muted or all unmuted and
415
         // So at least make sure that they are all muted or all unmuted and
416
         // that we send presence just once.
416
         // that we send presence just once.
417
-        APP.RTC.localAudio.setMute(!mute);
417
+        APP.RTC.localAudio.setMute(mute);
418
         // isMuted is the opposite of audioEnabled
418
         // isMuted is the opposite of audioEnabled
419
         this.sendAudioInfoPresence(mute, callback);
419
         this.sendAudioInfoPresence(mute, callback);
420
         return true;
420
         return true;

正在加载...
取消
保存