Parcourir la source

Update STUN/TURN endpoints again

Wildcard certificates don't like sub-subdomains.
Danilo Bargen il y a 8 ans
Parent
commit
d873b961a4
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  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:ds.turn.threema.ch:443?transport=udp',
-            'turn:ds.turn.threema.ch:443?transport=tcp',
-            'turns:ds.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:ds.turn.threema.ch:443?transport=udp',
-                'turn:ds.turn.threema.ch:443?transport=tcp',
-                'turns:ds.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',