Skip to content

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

feat: Add and whitelist the useTurnUdp config option.

Boris Grozev0c09ded76b64
diff --git a/config.js b/config.js
index f1df21b10b..2ba1ee74f2 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 bb3b90f3e1..301e3a32fe 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);