Fixes assigning discovered servers.

This commit is contained in:
Damian Minkov 2014-01-27 17:03:55 +02:00
parent e0eca9b5f8
commit 3e9bd580cd
1 changed files with 2 additions and 2 deletions

View File

@ -611,7 +611,7 @@ Strophe.addConnectionPlugin('jingle', {
break;
}
});
this.ice_config.iceServers = iceservers;
this.connection.jingle.ice_config.iceServers = iceservers;
},
function (err) {
console.warn('getting turn credentials failed', err);
@ -1452,7 +1452,7 @@ function JingleSession(me, sid, connection) {
this.stopTime = null;
this.media_constraints = null;
this.pc_constraints = null;
this.ice_config = {},
this.ice_config = {};
this.drip_container = [];
this.usetrickle = true;