diff --git a/proxy/config.js b/proxy/config.js index 95ae92e..9564f82 100644 --- a/proxy/config.js +++ b/proxy/config.js @@ -24,8 +24,6 @@ Config.prototype.defaultBrokerPollInterval = 300.0 * 1000; Config.prototype.maxNumClients = 1; -Config.prototype.connectionsPerClient = 1; - // TODO: Different ICE servers. Config.prototype.pcConfig = { iceServers: [ diff --git a/proxy/snowflake.js b/proxy/snowflake.js index ba1ef03..0e9730e 100644 --- a/proxy/snowflake.js +++ b/proxy/snowflake.js @@ -119,7 +119,7 @@ class Snowflake { } makeProxyPair() { - if (this.proxyPairs.length >= this.config.connectionsPerClient) { + if (this.proxyPairs.length >= this.config.maxNumClients) { return null; } var pair;