diff --git a/modules/xmpp/JingleSessionPC.js b/modules/xmpp/JingleSessionPC.js index a5f5fc6f0..f08c04cec 100644 --- a/modules/xmpp/JingleSessionPC.js +++ b/modules/xmpp/JingleSessionPC.js @@ -1123,7 +1123,7 @@ JingleSessionPC.prototype.addStream = function (stream, callback) { return; } - self.modifySourcesQueue.push(function() { + this.modifySourcesQueue.push(function() { console.log('modify sources done'); callback();