Browse Source

Merge pull request #229 from schleussinger/master

Corrected Scope - fixes runtime JS error and  Chrome Ext desktop sharing for me
j8
hristoterezov 10 years ago
parent
commit
4447e5dac6
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      modules/xmpp/JingleSession.js

+ 2
- 2
modules/xmpp/JingleSession.js View File

@@ -974,7 +974,7 @@ JingleSession.prototype.switchStreams = function (new_stream, oldStream, success
974 974
         self.peerconnection.addStream(new_stream);
975 975
     }
976 976
 
977
-    RTC.switchVideoStreams(new_stream, oldStream);
977
+    APP.RTC.switchVideoStreams(new_stream, oldStream);
978 978
 
979 979
     // Conference is not active
980 980
     if(!oldSdp || !self.peerconnection) {
@@ -1391,4 +1391,4 @@ JingleSession.prototype.remoteStreamAdded = function (data) {
1391 1391
     }
1392 1392
 }
1393 1393
 
1394
-module.exports = JingleSession;
1394
+module.exports = JingleSession;

Loading…
Cancel
Save