Fixes isMuted check.
This commit is contained in:
parent
74227e182a
commit
b08308e5e4
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue