From dbed14db5e626234242ef273aa92340d3209244a Mon Sep 17 00:00:00 2001 From: schleussinger Date: Sun, 1 Feb 2015 13:14:18 +0100 Subject: [PATCH] Fix correct Scope - this fixes JS error and Chrome Ext desktop sharing for me --- modules/xmpp/JingleSession.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/xmpp/JingleSession.js b/modules/xmpp/JingleSession.js index db1724470..6dc489e49 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;