bugfix for issue #41
This commit is contained in:
parent
b78fda3a55
commit
55bf5eb119
|
@ -925,7 +925,7 @@ ColibriFocus.prototype.hardMuteVideo = function (muted) {
|
|||
this.pendingop = muted ? 'mute' : 'unmute';
|
||||
this.modifySources();
|
||||
|
||||
this.localStream.getVideoTracks.forEach(function (track) {
|
||||
this.connection.jingle.localStream.getVideoTracks().forEach(function (track) {
|
||||
track.enabled = !muted;
|
||||
});
|
||||
};
|
||||
|
|
|
@ -2254,7 +2254,7 @@ JingleSession.prototype.hardMuteVideo = function (muted) {
|
|||
this.pendingop = muted ? 'mute' : 'unmute';
|
||||
this.modifySources();
|
||||
|
||||
this.localStream.getVideoTracks.forEach(function (track) {
|
||||
this.connection.jingle.localStream.getVideoTracks().forEach(function (track) {
|
||||
track.enabled = !muted;
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue