瀏覽代碼

Update STUN/TURN endpoints (#341)

Danilo Bargen 8 年之前
父節點
當前提交
c2772dc33c
共有 2 個文件被更改,包括 6 次插入6 次删除
  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',