J4GD33P 51NGH
J4GD33P 51NGH

Reputation: 670

Difference between torrent P2P sharing and WebRTC P2P sharing?

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

Answers (1)

deceze
deceze

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

Related Questions