Skip to content

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

fix(config) drop useStunTurn

Saúl Ibarra Corretgé1d9daa8da755
diff --git a/config.js b/config.js
index 3131cf68db..6555e16122 100644
--- a/config.js
+++ b/config.js
@@ -323,10 +323,6 @@ var config = {
// is set in Jicofo and set to 2).
// minParticipants: 2,
- // 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)
@@ -442,9 +438,6 @@ var config = {
// connection.
enabled: true,
- // Use XEP-0215 to fetch STUN and TURN servers.
- // useStunTurn: true,
-
// The STUN servers that will be used in the peer to peer connections
stunServers: [
diff --git a/debian/jitsi-meet-turnserver.postinst b/debian/jitsi-meet-turnserver.postinst
index de0aa100c4..6312868cea 100644
--- a/debian/jitsi-meet-turnserver.postinst
+++ b/debian/jitsi-meet-turnserver.postinst
@@ -150,11 +150,6 @@ denied-peer-ip=240.0.0.0-255.255.255.255" >> $TURN_CONFIG
echo "------------------------------------------------"
fi
- # Enable turn server in config.js
- if [ -f $JITSI_MEET_CONFIG ] ; then
- sed -i "s/\/\/ useStunTurn: true/useStunTurn: true/g" $JITSI_MEET_CONFIG
- fi
-
# and we're done with debconf
db_stop
;;
diff --git a/react/features/base/config/configWhitelist.js b/react/features/base/config/configWhitelist.js
index 3dc11cea7d..ed347b15f4 100644
--- a/react/features/base/config/configWhitelist.js
+++ b/react/features/base/config/configWhitelist.js
@@ -3,7 +3,7 @@ import extraConfigWhitelist from './extraConfigWhitelist';
/**
* The config keys to whitelist, the keys that can be overridden.
* Currently we can only whitelist the first part of the properties, like
- * 'p2p.useStunTurn' and 'p2p.enabled' we whitelist all p2p options.
+ * 'p2p.enabled' we whitelist all p2p options.
* The whitelist is used only for config.js.
*
* @type Array
@@ -149,7 +149,6 @@ export default [
'stereo',
'subject',
'testing',
- 'useStunTurn',
'useTurnUdp',
'videoQuality.persist',
'webrtcIceTcpDisable',