Prechádzať zdrojové kódy

Update STUN/TURN endpoints (#341)

Danilo Bargen 8 rokov pred
rodič
commit
c2772dc33c
2 zmenil súbory, kde vykonal 6 pridanie a 6 odobranie
  1. 3 3
      src/config.ts
  2. 3 3
      troubleshoot/troubleshoot.js

+ 3 - 3
src/config.ts

@@ -19,9 +19,9 @@ export default {
     // ICE
     ICE_SERVERS: [{
         urls: [
-            'turn:turn.threema.ch:443?transport=udp',
-            'turn:turn.threema.ch:443?transport=tcp',
-            'turns:turn.threema.ch:443',
+            'turn:ds.turn.threema.ch:443?transport=udp',
+            'turn:ds.turn.threema.ch:443?transport=tcp',
+            'turns:ds.turn.threema.ch:443',
         ],
         username: 'threema-angular',
         credential: 'Uv0LcCq3kyx6EiRwQW5jVigkhzbp70CjN2CJqzmRxG3UGIdJHSJV6tpo7Gj7YnGB',

+ 3 - 3
troubleshoot/troubleshoot.js

@@ -76,9 +76,9 @@ function doChecks() {
         var noop = function() {};
         var pc = new RTCPeerConnection({iceServers: [{
             urls: [
-                'turn:turn.threema.ch:443?transport=udp',
-                'turn:turn.threema.ch:443?transport=tcp',
-                'turns:turn.threema.ch:443',
+                'turn:ds.turn.threema.ch:443?transport=udp',
+                'turn:ds.turn.threema.ch:443?transport=tcp',
+                'turns:ds.turn.threema.ch:443',
             ],
             username: 'threema-angular-test',
             credential: 'VaoVnhxKGt2wD20F9bTOgiew6yHQmj4P7y7SE4lrahAjTQC0dpnG32FR4fnrlpKa',