Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uptorrent.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.