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.
This commit is contained in:
Arlo Breault 2019-07-06 13:43:29 +02:00
parent 1fd6cb870e
commit 359600ddc5

View file

@ -19,8 +19,7 @@ class Config
connectionsPerClient: 1 connectionsPerClient: 1
# TODO: Different ICE servers. # TODO: Different ICE servers.
pcConfig = { pcConfig:
iceServers: [ iceServers: [
{ urls: ['stun:stun.l.google.com:19302'] } { urls: ['stun:stun.l.google.com:19302'] }
] ]
}