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

This commit is contained in:
schleussinger 2015-02-01 13:14:18 +01:00
parent 4bb555e4b2
commit dbed14db5e
1 changed files with 2 additions and 2 deletions

View File

@ -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;
module.exports = JingleSession;