
10 Jul
2019
10 Jul
'19
3:58 p.m.
commit 359600ddc55d197dbaac7f01f72ac8278054efe7 Author: Arlo Breault <arlolra@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'] } ] - }