Closed Mohamed-Mosaad closed 8 years ago
If you're using ttorrent as a library (and not just as a command-line tool), you can simply pass in the appropriate RequestStrategy to the SharedTorrent constructor:
RequestStrategy
SharedTorrent
https://github.com/mpetazzoni/ttorrent/blob/7acb2d0af3d007f8e64a35172b69713212177004/core/src/main/java/com/turn/ttorrent/client/SharedTorrent.java#L161
If you're using ttorrent as a library (and not just as a command-line tool), you can simply pass in the appropriate
RequestStrategy
to theSharedTorrent
constructor:https://github.com/mpetazzoni/ttorrent/blob/7acb2d0af3d007f8e64a35172b69713212177004/core/src/main/java/com/turn/ttorrent/client/SharedTorrent.java#L161