Skip to content

Commit 2201c7d

Browse files
Minor fix
1 parent dc0a37b commit 2201c7d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/jsflow-tracker.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ jsFlowTracker.prototype._onData = function (payload, from) {
114114
peer.id = peerInfo.peerId
115115

116116
peer.on('signal', function (signalObject) {
117+
console.log('GOT SIGNAL, expecting offer/ice', signalObject);
117118
if(signalObject.candidate) { // The signalling is for ICE
118119
var params = {
119120
info_hash: self.client._infoHash.toString('base64'),
@@ -148,6 +149,7 @@ jsFlowTracker.prototype._onWebRtcOffer = function (payload, from) {
148149
peer.id = from
149150

150151
peer.on('signal', function (signalObject) {
152+
console.log('GOT SIGNAL, expecting offer/ice', signalObject);
151153
if(signalObject.candidate) { // The signalling is for ICE
152154
var params = {
153155
info_hash: self.client._infoHash.toString('base64'),

0 commit comments

Comments
 (0)