THAT'S RIGHT. THE BROWSER. It's written completely in JavaScript – the language of the web
– so the same code works in both runtimes.
other torrent clients.
JavaScript™. Note: WebTorrent does not support UDP/TCP peers in browser.
on your page to start fetching files over WebRTC using the BitTorrent protocol, or
To make BitTorrent work over WebRTC (which is the only P2P transport that works on the
web) we made some protocol changes. Therefore, a browser-based WebTorrent client or "web
To seed files to web peers, use a client that supports WebTorrent, e.g.
- Fetches pieces from the network on-demand so seeking is supported (even before torrent is finished)
- Seamlessly switches between sequential and rarest-first piece selection strategy
running on one domain can connect to clients on any other domain.