Selaa lähdekoodia

feat: Add and whitelist the useTurnUdp config option.

master
Boris Grozev 4 vuotta sitten
vanhempi
commit
0c09ded76b
2 muutettua tiedostoa jossa 8 lisäystä ja 1 poistoa
  1. 7
    1
      config.js
  2. 1
    0
      react/features/base/config/configWhitelist.js

+ 7
- 1
config.js Näytä tiedosto

@@ -260,9 +260,15 @@ var config = {
260 260
     // is set in Jicofo and set to 2).
261 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 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 272
     // Enable IPv6 support.
267 273
     // useIPv6: true,
268 274
 

+ 1
- 0
react/features/base/config/configWhitelist.js Näytä tiedosto

@@ -150,6 +150,7 @@ export default [
150 150
     'useIPv6',
151 151
     'useNicks',
152 152
     'useStunTurn',
153
+    'useTurnUdp',
153 154
     'webrtcIceTcpDisable',
154 155
     'webrtcIceUdpDisable'
155 156
 ].concat(extraConfigWhitelist);

Loading…
Peruuta
Tallenna