[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [snowflake/master] Don't specify port for stun server



commit fb0578d84016439f387e1da37e23b4d5bc2f8a17
Author: Arlo Breault <arlolra@xxxxxxxxx>
Date:   Sun Jul 7 12:43:32 2019 +0200

    Don't specify port for stun server
    
    No idea why but, with it, when a client disconnects the datachannel
    doesn't close.  This wasn't an issue prior to 359600d since the
    configuration wasn't being passed to the peerconnection constructor.
    
    This probably just makes the url invalid and falls back to a default in
    libwebrtc.
---
 proxy/config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/config.js b/proxy/config.js
index 316f3b0..d5d8ef7 100644
--- a/proxy/config.js
+++ b/proxy/config.js
@@ -30,7 +30,7 @@ Config.prototype.connectionsPerClient = 1;
 Config.prototype.pcConfig = {
   iceServers: [
     {
-      urls: ['stun:stun.l.google.com:19302']
+      urls: ['stun:stun.l.google.com']
     }
   ]
 };



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits