From fb0578d84016439f387e1da37e23b4d5bc2f8a17 Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Sun, 7 Jul 2019 12:43:32 +0200 Subject: [PATCH] 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'] } ] };