Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

use all in lib, restrict to relay in app

Philipp Hanckeb268c7fdc556
diff --git a/app.js b/app.js
index 162e3052a8..0f7f53aca7 100644
--- a/app.js
+++ b/app.js
@@ -108,6 +108,7 @@ 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 cb10849d30..43c53d776d 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: 'relay'},
+ ice_config: {iceServers: [], iceTransports: 'all'},
pc_constraints: {},
media_constraints: {
mandatory: {