Afs*_*ani 3 node.js webtorrent
我正在尝试html在 Nodejs 中使用 WebTorrent为文件做种。我从 WebTorrent 收到回调,这表明客户端开始播种,但是当我在客户端复制粘贴哈希以下载文件时,什么也没发生。
这是我在服务器端的代码:
client.seed(file, function (torrent) {
debug('started seeding %s - %s', torrent.infoHash, torrent.files[0].name);
});
Run Code Online (Sandbox Code Playgroud)
有什么问题,我如何调试以查看发生了什么?
我找到了答案。它就像替换webtorrentwith一样简单webtorrent-hybrid,而且效果很好。
| 归档时间: |
|
| 查看次数: |
2387 次 |
| 最近记录: |