瀏覽代碼

Fixes isMuted check.

j8
damencho 10 年之前
父節點
當前提交
b08308e5e4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/RTC/LocalStream.js

+ 1
- 1
modules/RTC/LocalStream.js 查看文件

110
     if (this.isAudioStream()) {
110
     if (this.isAudioStream()) {
111
         tracks = this.stream.getAudioTracks();
111
         tracks = this.stream.getAudioTracks();
112
     } else {
112
     } else {
113
-        if (this.isActive())
113
+        if (!this.isActive())
114
             return true;
114
             return true;
115
         tracks = this.stream.getVideoTracks();
115
         tracks = this.stream.getVideoTracks();
116
     }
116
     }

Loading…
取消
儲存