Reputation: 670
I have a doubt/misunderstanding.
webRTC uses RTCDataChannel
API for communicating data P2P.
Torrents also P2P. Is both the technologies uses same thing in its core ? or any difference is there ?
If there is any difference then can we create some torrent like functionlity using webRTC RTCDataChannel
API ?
Upvotes: 1
Views: 1363
Reputation: 522510
P2P just means that two peers (e.g. your computer and my computer) communicate directly, one peer to another, without requiring a server in the middle. That is all WebRTC and Torrents have in common. Beyond that they're entirely different technologies. Though you could probably implement a Torrent-like protocol (enabling file sharing by assembling files from chunks received from various sources) using WebRTC data channels as the underlying transport mechanism.
Upvotes: 2