Skip to content

Commit 313103f

Browse files
Minor fix
1 parent 2201c7d commit 313103f

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
@@ -119,7 +119,7 @@ jsFlowTracker.prototype._onData = function (payload, from) {
119119
var params = {
120120
info_hash: self.client._infoHash.toString('base64'),
121121
peer_id: self._peerID,
122-
candidate: candidate
122+
candidate: signalObject.candidate
123123
}
124124

125125
jsFlow.messageUser(peerId, params, 'webrtc_ice');
@@ -154,7 +154,7 @@ jsFlowTracker.prototype._onWebRtcOffer = function (payload, from) {
154154
var params = {
155155
info_hash: self.client._infoHash.toString('base64'),
156156
peer_id: self._peerID,
157-
candidate: candidate
157+
candidate: signalObject.candidate
158158
}
159159

160160
jsFlow.messageUser(from, params, 'webrtc_ice');

0 commit comments

Comments
 (0)