Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

bugfix for issue #41

Philipp Hancke55bf5eb11961
diff --git a/libs/colibri.js b/libs/colibri.js
index cd31f94ee7..159a3e7dd3 100644
--- a/libs/colibri.js
+++ b/libs/colibri.js
@@ -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;
});
};
diff --git a/libs/strophejingle.bundle.js b/libs/strophejingle.bundle.js
index 64890d2c94..c7eec7b789 100644
--- a/libs/strophejingle.bundle.js
+++ b/libs/strophejingle.bundle.js
@@ -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;
});
};