Skip to content

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

Stops the MediaStream using the utility method in RTC.

damencho8cebbbb347bf
diff --git a/modules/RTC/LocalStream.js b/modules/RTC/LocalStream.js
index 4fbe304017..4f13cce3cb 100644
--- a/modules/RTC/LocalStream.js
+++ b/modules/RTC/LocalStream.js
@@ -81,7 +81,7 @@ LocalStream.prototype.setMute = function (mute)
} else {
if (mute) {
APP.xmpp.removeStream(this.stream);
- this.stream.stop();
+ APP.RTC.stopMediaStream(this.stream);
this.eventEmitter.emit(eventType, true);
} else {
var self = this;