bugfix for issue #41

This commit is contained in:
Philipp Hancke 2014-02-24 19:39:25 +01:00
parent b78fda3a55
commit 55bf5eb119
2 changed files with 2 additions and 2 deletions

View File

@ -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;
});
};

View File

@ -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;
});
};