Explorar o código

Add TURN-TCP to ICE server configuration

This sshould resolve most issues reported in #43.
Lennart Grahl %!s(int64=8) %!d(string=hai) anos
pai
achega
52c2093b9f
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/config.ts

+ 4 - 1
src/config.ts

@@ -17,7 +17,10 @@ export default {
 
     // ICE
     ICE_SERVERS: [{
-        urls: 'turn:turn.threema.ch:443',
+        urls: [
+            'turn:turn.threema.ch:443?transport=udp',
+            'turn:turn.threema.ch:443?transport=tcp'
+        ],
         username: 'threema-angular',
         credential: 'Uv0LcCq3kyx6EiRwQW5jVigkhzbp70CjN2CJqzmRxG3UGIdJHSJV6tpo7Gj7YnGB',
     }],