diff --git a/proxy/snowflake.coffee b/proxy/snowflake.coffee index 1cdccda..eff96de 100644 --- a/proxy/snowflake.coffee +++ b/proxy/snowflake.coffee @@ -191,7 +191,11 @@ Signalling = if !desc log 'Invalid SDP.' return false - snowflake.receiveOffer recv if desc + pair = snowflake.nextAvailableProxyPair() + if !pair + log 'At client capacity.' + return false + snowflake.receiveOffer pair, msg # Log to both console and UI if applicable. log = (msg) ->