[tor-commits] [snowflake/master] Fix pcConfig from compiling to a global
arlo at torproject.org
arlo at torproject.org
Wed Jul 10 15:58:46 UTC 2019
commit 359600ddc55d197dbaac7f01f72ac8278054efe7
Author: Arlo Breault <arlolra at gmail.com>
Date: Sat Jul 6 13:43:29 2019 +0200
Fix pcConfig from compiling to a global
But note that maybe we should be constructing a new PCConfig each time
Config is instantiated, rather than sharing it on the prototype.
---
proxy/config.coffee | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/proxy/config.coffee b/proxy/config.coffee
index 810c79f..43dca56 100644
--- a/proxy/config.coffee
+++ b/proxy/config.coffee
@@ -19,8 +19,7 @@ class Config
connectionsPerClient: 1
# TODO: Different ICE servers.
- pcConfig = {
+ pcConfig:
iceServers: [
{ urls: ['stun:stun.l.google.com:19302'] }
]
- }
More information about the tor-commits
mailing list