Browse Source

feat: Add and whitelist the useTurnUdp config option.

master
Boris Grozev 4 years ago
parent
commit
0c09ded76b
2 changed files with 8 additions and 1 deletions
  1. 7
    1
      config.js
  2. 1
    0
      react/features/base/config/configWhitelist.js

+ 7
- 1
config.js View File

260
     // is set in Jicofo and set to 2).
260
     // is set in Jicofo and set to 2).
261
     // minParticipants: 2,
261
     // minParticipants: 2,
262
 
262
 
263
-    // Use XEP-0215 to fetch STUN and TURN servers.
263
+    // Use the TURN servers discovered via XEP-0215 for the jitsi-videobridge
264
+    // connection
264
     // useStunTurn: true,
265
     // useStunTurn: true,
265
 
266
 
267
+    // Use TURN/UDP servers for the jitsi-videobridge connection (by default
268
+    // we filter out TURN/UDP because it is usually not needed since the
269
+    // bridge itself is reachable via UDP)
270
+    // useTurnUdp: false
271
+
266
     // Enable IPv6 support.
272
     // Enable IPv6 support.
267
     // useIPv6: true,
273
     // useIPv6: true,
268
 
274
 

+ 1
- 0
react/features/base/config/configWhitelist.js View File

150
     'useIPv6',
150
     'useIPv6',
151
     'useNicks',
151
     'useNicks',
152
     'useStunTurn',
152
     'useStunTurn',
153
+    'useTurnUdp',
153
     'webrtcIceTcpDisable',
154
     'webrtcIceTcpDisable',
154
     'webrtcIceUdpDisable'
155
     'webrtcIceUdpDisable'
155
 ].concat(extraConfigWhitelist);
156
 ].concat(extraConfigWhitelist);

Loading…
Cancel
Save