From 68e0592363f0bc2af342c08f757ec4d1b3020f64 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Fri, 17 Oct 2014 15:37:42 +0300 Subject: [PATCH] Revert "use all in lib, restrict to relay in app" This reverts commit b268c7fdc55638ad164bcde13af6b971d04a6d40. --- app.js | 1 - libs/strophe/strophe.jingle.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app.js b/app.js index 897b9d66e..49627c150 100644 --- a/app.js +++ b/app.js @@ -108,7 +108,6 @@ function connect(jid, password) { // for chrome, add multistream cap } connection.jingle.pc_constraints = RTC.pc_constraints; - connection.jingle.ice_config.iceTransports = 'relay'; if (config.useIPv6) { // https://code.google.com/p/webrtc/issues/detail?id=2828 if (!connection.jingle.pc_constraints.optional) connection.jingle.pc_constraints.optional = []; diff --git a/libs/strophe/strophe.jingle.js b/libs/strophe/strophe.jingle.js index 43c53d776..cb10849d3 100644 --- a/libs/strophe/strophe.jingle.js +++ b/libs/strophe/strophe.jingle.js @@ -3,7 +3,7 @@ Strophe.addConnectionPlugin('jingle', { connection: null, sessions: {}, jid2session: {}, - ice_config: {iceServers: [], iceTransports: 'all'}, + ice_config: {iceServers: [], iceTransports: 'relay'}, pc_constraints: {}, media_constraints: { mandatory: {