Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/torrent.js')
-rw-r--r--lib/torrent.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/torrent.js b/lib/torrent.js
index 83cd358..1ab3eb8 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -186,7 +186,8 @@ Torrent.prototype._onSwarmListening = function (port) {
dht: self.client.dht,
tracker: self.client.tracker,
peerId: self.client.peerId,
- port: port
+ port: port,
+ rtcConfig: self.client.rtcConfig
})
self.discovery.setTorrent(self.infoHash)
self.discovery.on('peer', self.addPeer.bind(self))