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 upWebtorrent how download file from multiple peers simultaneously #182
Comments
This comment has been minimized.
This comment has been minimized.
That should not be the case. I've been unable to reproduce this in testing. If you can help us reproduce the issue, that'd be great. Otherwise, it seems like it's probably more of an issue with you network. |
This comment has been minimized.
This comment has been minimized.
|
Thank you reply. I will do more research on this. So far I found the peer C just receive the handshake message from B. But both peer A and B had send it to C(All the webrtc offer and answer message is correct i think the data channel is create correctly between A,B and C). I am not find the reason yet . Maybe it is the network issue. |
This comment has been minimized.
This comment has been minimized.
|
I had find the problem I'm almost certain that there is a bug in the module webtorrent-tracker can cause this issue. I had fix it and made a pull request. I'm not sure the changes are appropriate. We can discuss it in here https://github.com/feross/webtorrent-tracker/pull/2 |
This comment has been minimized.
This comment has been minimized.
|
You're right – this was a bug in |
@feross Thank you awesome project. I am using it. I have a question about how can I download file from multiple peers simultaneously use Webtorrent. In my testing it seem one peer always get data just from only one another peer even thought there are many peers are seeding same file. For example peer A is seeding a file peer B already downloaded it from peer A and keep opening the webpage. Now there come a peer C also want download this file . In my understanding peer C could get different part's data of this file from peer A and peer B simultaneously. But in my testing it always get data only from one peer.It seem the latest one announce to tracker server(in this example it is peer B). Hope you can understand what I mean since I am bad at English.