From 3e9bd580cdcb9ff28143d488dcb61e6047ef27f2 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Mon, 27 Jan 2014 17:03:55 +0200 Subject: [PATCH] Fixes assigning discovered servers. --- libs/strophejingle.bundle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/strophejingle.bundle.js b/libs/strophejingle.bundle.js index 2f2c8b8b2..0b54e7dd3 100644 --- a/libs/strophejingle.bundle.js +++ b/libs/strophejingle.bundle.js @@ -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;