Fixes isMuted check.

This commit is contained in:
damencho 2015-11-02 10:48:09 -06:00
parent 74227e182a
commit b08308e5e4
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ LocalStream.prototype.isMuted = function () {
if (this.isAudioStream()) {
tracks = this.stream.getAudioTracks();
} else {
if (this.isActive())
if (!this.isActive())
return true;
tracks = this.stream.getVideoTracks();
}