Added support for WebTorrent protocol to libtorrent

To the library libtorrent, which offers an efficient implementation of the BitTorrent protocol in terms of memory consumption and CPU load, added protocol support webtorrent. Code work with WebTorrent will enter into the next major release of libtorrent after the 2.0 branch, which is a release candidate.

WebTorrent is an extension of the BotTorrent protocol that allows you to organize a decentralized content distribution network that functions by linking the browsers of users viewing content. The project does not require an external server infrastructure and browser plugins to work. To connect site visitors to a single content delivery network, it is enough to place a special JavaScript code on the site that uses WebRTC technology for direct data exchange between browsers. The project also develops a desktop client WebTorrent Desktop, which has such advanced features as video streaming.

The integration of WebTorrent into libtorrent will allow you to participate in the distribution of content not only through the browsers of site visitors, but also through stationary torrent clients, using library libtorrentIncluding Deluge ΠΈ qBittorrent (rTorrent is not affected by the change, as it uses a different library libtorrent). The WebTorrent implementation added to libtorrent is written in C++ and can be ported to other torrent libraries and clients if desired (original WebTorrent is written in JavaScript).

In this way, hybrid networks can be formed with participants able to interact with networks based on BitTorrent and WebTorrent. libtorrent-based torrent clients will be able to connect to browser-based WebTorrent peers, such as those participating in file sharing via instant.io, as well as with video broadcasting or video hosting systems based on PeerTube. In turn, WebTorrent browser clients will be able to access a vast collection of torrents distributed by BitTorrent peers over TCP/UDP through desktop client users.

Added support for WebTorrent protocol to libtorrent

Source: opennet.ru

Add a comment