Browse Source

Add TURN-TCP to ICE server configuration

This sshould resolve most issues reported in #43.
Lennart Grahl 8 years ago
parent
commit
52c2093b9f
1 changed files with 4 additions and 1 deletions
  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',
     }],