用于node和瀏覽器的流BT客戶端:WebTorrent
WebTorrent – Streaming torrent client for node & the browser。
WebTorrent 是一個可工作在node.js和瀏覽器的流BT客戶端。它完全采用JavaScript開發,在瀏覽器中WebTorrent使用WebRTC (data channels) 來進行p2p傳輸。它可以不使用瀏覽器插件,擴展或安裝。只有JavaScript。
特性
- Torrent client for node.js & the browser (same npm module!)
- Insanely fast
- Streaming video to many devices (including AirPlay, Chromecast, and VLC player)
- Download multiple torrents simultaneously, efficiently
- Pure Javascript (no native dependencies)
- Exposes files as streams (and fetches pieces on-demand before torrent is finished
- Fetches data from the network on-demand, so streaming and seeking are supported
- Seamlessly switches between sequential and rarest-first piece selection strategy
- Supports advanced torrent client features
- magnet uri support via ut_metadata
- peer discovery via dht,tracker, andut_pex
- protocol extension api for adding new extensions
- Comprehensive test suite (completely offline, so it's reliable and fast)
Browser-specific features
- Uses WebRTC data channels for lightweight peer-to-peer communication (no plugins)
- No silos. WebTorrent is a P2P network for the entire web. WebTorrent clients running on one domain can connect to clients on any other domain.
- Stream video torrents into a
<video>
tag (webm (vp8, vp9)
ormp4 (h.264)
)
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!