WebTorrent高效的网络流媒体客户端

WebTorrent 是一款专为 Node.jsWeb 打造的流式洪流客户端。通过 JavaScript 编写,支持在不同环境下(Node.js 和浏览器)无缝运行。在 Node.js 中,它使用 TCPUDP 与其他 torrent 客户端进行通信。在浏览器中,WebTorrent 则依赖 WebRTC 数据通道实现对等传输,无需任何插件或扩展程序即可直接使用。

重要提示:在浏览器中,WebTorrent 不支持 UDP/TCP 对等传输。为了在 Web 上实现 P2P 文件共享,WebTorrent 使用了 BitTorrent 协议的改良版,使得基于浏览器的 WebTorrent 客户端(或称“Web 对等方”)仅能连接到支持 WebTorrent 的对等体。

开发者可以在网页脚本中引入 BitTorrent 协议,通过 WebRTC 直接获取文件,或者使用 require('webtorrent') 进行调用。简单、便捷、无缝衔接的 WebTorrent 让您的浏览体验更加流畅!

zip
webtorrent-master.zip 预估大小:64个文件
folder
webtorrent-master 文件夹
file
.travis.yml 652B
file
webtorrent.chromeapp.js 715KB
file
.airtap.yml 264B
file
AUTHORS.md 7KB
file
index.js 13KB
folder
docs 文件夹
file
free-torrents.md 3KB
file
api.md 24KB
file
get-started.md 13KB
file
faq.md 29KB
file
package.json 4KB
file
webtorrent.min.js 396KB
folder
.github 文件夹
file
config.yml 562B
file
no-response.yml 574B
file
stale.yml 772B
folder
test 文件夹
folder
node 文件夹
file
download-dht-torrent.js 3KB
file
metadata.js 1KB
file
blocklist-dht.js 3KB
file
download-webseed-torrent.js 3KB
file
download-lsd-magnet.js 1KB
file
download-private-dht.js 5KB
file
server.js 2KB
file
basic.js 7KB
file
download-from-ip.js 3KB
file
blocklist.js 8KB
file
download-lsd-torrent.js 1KB
file
conn-pool.js 6KB
file
seed-while-download.js 4KB
file
extensions.js 2KB
file
download-webseed-magnet.js 3KB
file
swarm-basic.js 2KB
file
download-tracker-magnet.js 3KB
file
download-metadata.js 4KB
file
blocklist-tracker.js 3KB
file
torrent-events.js 2KB
file
swarm-timeout.js 2KB
file
download-tracker-torrent.js 3KB
file
swarm-reconnect.js 2KB
file
seed-stream.js 2KB
file
download-dht-magnet.js 3KB
file
client-seed.js 2KB
file
client-add-duplicate-trackers.js 3KB
file
swarm.js 3KB
file
client-add.js 7KB
file
duplicate.js 5KB
file
client-destroy.js 1KB
folder
browser 文件夹
file
basic.js 3KB
file
rarity-map.js 3KB
file
torrent-destroy.js 789B
file
common.js 380B
file
client-remove.js 792B
file
LICENSE 1KB
file
.npmignore 82B
file
.gitignore 52B
file
CHANGELOG.md 16KB
folder
lib 文件夹
file
file-stream.js 3KB
file
file.js 4KB
file
server.js 8KB
file
conn-pool.js 5KB
file
torrent.js 51KB
file
rarity-map.js 3KB
file
webconn.js 6KB
file
peer.js 7KB
file
README.md 19KB
folder
scripts 文件夹
file
update-authors.sh 610B
...
zip 文件大小:392.67KB