Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebRTC P2P - Update

When will it be posible to exchange any kind of data via P2P with WebRTC?

I'm thinking about making a P2P bittorrent software, not to stream audio/video.

Thanks

like image 583
jacktrades Avatar asked Jun 05 '12 20:06

jacktrades


People also ask

Does WebRTC use P2P?

So, WebRTC is a full P2P protocol at heart, but it needs to work with simple networking realities which sometimes, or maybe often, requires a server's helping hand.

How does WebRTC P2P work?

How does WebRTC work? WebRTC uses JavaScript, APIs and Hypertext Markup Language to embed communications technologies within web browsers. It is designed to make audio, video and data communication between browsers user-friendly and easy to implement. WebRTC works with most major web browsers.

How do I create a WebRTC connection?

To establish a WebRTC connection, one peer (the caller) has to call CreateOffer() , but not both (the callee just waits). Since the signaler implementation NamedPipeSignaler already provides a way to distinguish between the two peers, we use that information to select which peer will automatically initiate the call.


1 Answers

There are some JS libraries: PeerJS and BoneValue for P2P data exchanging using WebRTC.

If you want to make a BitTorrent-like JS app for sending files, be aware that there are some already - BtAppJS, ShareFest, ShareIt, RTC-P2P, and P2P-Share.

like image 129
niutech Avatar answered Oct 05 '22 08:10

niutech