Skip to content

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

Fix correct Scope - this fixes JS error and Chrome Ext desktop sharing for me

schleussingerdbed14db5e62
diff --git a/modules/xmpp/JingleSession.js b/modules/xmpp/JingleSession.js
index db17244700..6dc489e49c 100644
--- a/modules/xmpp/JingleSession.js
+++ b/modules/xmpp/JingleSession.js
@@ -974,7 +974,7 @@ JingleSession.prototype.switchStreams = function (new_stream, oldStream, success
self.peerconnection.addStream(new_stream);
}
- RTC.switchVideoStreams(new_stream, oldStream);
+ APP.RTC.switchVideoStreams(new_stream, oldStream);
// Conference is not active
if(!oldSdp || !self.peerconnection) {
@@ -1391,4 +1391,4 @@ JingleSession.prototype.remoteStreamAdded = function (data) {
}
}
-module.exports = JingleSession;
\ No newline at end of file
+module.exports = JingleSession;