Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisestorrent.on('wire', function (wire) {}) not being called on LAN peers #938
Comments
This comment has been minimized.
This comment has been minimized.
|
When you say LAN peer, do you mean another peer on the same computer? Or just on the same network? |
This comment has been minimized.
This comment has been minimized.
|
The same network |
This comment has been minimized.
This comment has been minimized.
|
Can you provide the minimal code it takes to reproduce this issue? |
This comment has been minimized.
This comment has been minimized.
I'm using the browser version of webtorrent if that matters. |
This comment has been minimized.
This comment has been minimized.
Yes, that matters! WebRTC connectivity depends heavily on the network that you're on. The only thing I can recommend is for you to try specifying the More info: |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
torrent.on('wire', function (wire) {})
The wire event isn't being called when the Peer is on a LAN. It works fine with external peers.
It seems that after an external peer is connected first , the lan peer connects and calls the wire event.
If the Lan peer connects first it doesnt call the wire event.