From 0c09ded76b64202bb0f3d2c2af2119fa679dfde9 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Tue, 16 Jun 2020 12:29:11 -0500 Subject: [PATCH] feat: Add and whitelist the useTurnUdp config option. --- config.js | 8 +++++++- react/features/base/config/configWhitelist.js | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config.js b/config.js index f1df21b10..2ba1ee74f 100644 --- a/config.js +++ b/config.js @@ -260,9 +260,15 @@ var config = { // is set in Jicofo and set to 2). // minParticipants: 2, - // Use XEP-0215 to fetch STUN and TURN servers. + // Use the TURN servers discovered via XEP-0215 for the jitsi-videobridge + // connection // useStunTurn: true, + // Use TURN/UDP servers for the jitsi-videobridge connection (by default + // we filter out TURN/UDP because it is usually not needed since the + // bridge itself is reachable via UDP) + // useTurnUdp: false + // Enable IPv6 support. // useIPv6: true, diff --git a/react/features/base/config/configWhitelist.js b/react/features/base/config/configWhitelist.js index bb3b90f3e..301e3a32f 100644 --- a/react/features/base/config/configWhitelist.js +++ b/react/features/base/config/configWhitelist.js @@ -150,6 +150,7 @@ export default [ 'useIPv6', 'useNicks', 'useStunTurn', + 'useTurnUdp', 'webrtcIceTcpDisable', 'webrtcIceUdpDisable' ].concat(extraConfigWhitelist);