-
-
Notifications
You must be signed in to change notification settings - Fork 335
Closed
Labels
Description
port doesn't apply for a WebTorrent (ws) tracker.
/**
* BitTorrent tracker client.
*
* Find torrent peers, to help a torrent client participate in a torrent swarm.
*
* @param {string|Buffer} peerId peer id
* @param {Number} port torrent client listening port
* @param {Object} torrent parsed torrent
* @param {Object} opts options object
* @param {Number} opts.rtcConfig RTCPeerConnection configuration object
* @param {Number} opts.wrtc custom webrtc implementation
* @param {Object} opts.getAnnounceOpts callback to provide data to tracker
*/
function Client (peerId, port, torrent, opts) {