mpetazzoni / ttorrent

BitTorrent Java library with tracker and download client
http://mpetazzoni.github.com/ttorrent/
Apache License 2.0
1.38k stars 502 forks source link

is it possible to add known trackers? #99

Open sebastianpaz opened 10 years ago

sebastianpaz commented 10 years ago

Although ttorrent is great (thanks everyone for the contribution), I am experiencing slow downloads. I don't know if it's anything I'm not doing right or it is just ttorrent itself.

Maybe a good solution to that would be to find new trackers on the web and add them to the code. Is there any method on client() or torrent() classes that can do that?

Thanks in advance

mpetazzoni commented 10 years ago

It's not possible once the client is running because the announce clients are already created and setup. You can always add them to the .torrent file before starting the client though.

sebastianpaz commented 10 years ago

OK. Thanks for replying! Another little thing: I want to download a file that is no lack of seeds and ttorrent seems to connect to a limited number of peers to download the file, therefore, the download is slower than expected and sometimes it stops and never continues. I extracted the code from ttorrent-samples project. Is it possible to connect to a bigger number of peers in order to avoid that? Of course I consider any other viable solution.

MaximDzhezhelo commented 8 years ago

tell me what you've found a solution to increase the download speed of torrents?