commit 1d193a38a37611ea5881f64745326f859246b5fa Author: Arlo Breault arlolra@gmail.com Date: Tue Dec 20 08:19:07 2016 -0800
Use logger instead --- proxy/proxypair.coffee | 2 +- proxy/snowflake.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/proxy/proxypair.coffee b/proxy/proxypair.coffee index 9fe2012..6782523 100644 --- a/proxy/proxypair.coffee +++ b/proxy/proxypair.coffee @@ -120,7 +120,7 @@ class ProxyPair bytes = new Uint8Array recv line = String.fromCharCode.apply(null, bytes) line = line.trim() - console.log 'WebRTC --> websocket data: ' + line + log 'WebRTC --> websocket data: ' + line @c2rSchedule.push recv @flush()
diff --git a/proxy/snowflake.coffee b/proxy/snowflake.coffee index 8877470..5890fb2 100644 --- a/proxy/snowflake.coffee +++ b/proxy/snowflake.coffee @@ -125,7 +125,7 @@ class Snowflake try offer = JSON.parse desc dbg 'Received:\n\n' + offer.sdp + '\n' - console.log offer + log offer sdp = new SessionDescription offer @sendAnswer pair if pair.receiveWebRTCOffer sdp catch e