Skip to content

Commit 46ab6f8

Browse files
committed
Added logging
1 parent 27b4e8d commit 46ab6f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/jsflow-tracker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jsFlowTracker.prototype._onData = function (payload, from) {
128128
peer_id: self._peerID,
129129
candidate: signalObject.candidate
130130
}
131-
jsFlow.messageUser(peerId, params, 'webrtc_ice');
131+
jsFlow.messageUser(peerId, params, 'webrtc_ice');
132132
}
133133
else { // The signalling is for an OFFER
134134
offer = signalObject;
@@ -151,7 +151,6 @@ jsFlowTracker.prototype._onData = function (payload, from) {
151151

152152
jsFlowTracker.prototype._onWebRtcOffer = function (payload, from) {
153153
var self = this
154-
console.log('Running on webRTCoffer')
155154
if(!self._peers[from]) { //Verify we haven't already received an offer from this user
156155
var peer = self._peers[from] = new Peer({
157156
trickle: true,
@@ -211,6 +210,7 @@ jsFlowTracker.prototype._onWebRtcAnswer = function (payload, from) {
211210

212211
jsFlowTracker.prototype._onWebRtcIce = function (payload, from) {
213212
var self = this
213+
console.log('Hello user, are you ready for ice?')
214214

215215
if (from.readyForIce) {
216216

0 commit comments

Comments
 (0)