Browse Source

Fixes isMuted check.

j8
damencho 10 years ago
parent
commit
b08308e5e4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/RTC/LocalStream.js

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

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