Use logger instead

This commit is contained in:
Arlo Breault 2016-12-20 08:19:07 -08:00
parent 77c41207ef
commit 1d193a38a3
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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