简体   繁体   中英

How can I use webrtc without any server of my own?

Is there a way to use webrtc without any server or cost and without downloading anything? I'm trying to make a peer to peer network without a server of any kind (I can't set up my own). Every tutorial that I've found needs some kind of server, or downloading node.js, or using some service that you pay for with a subscription. Is there a way to do this?

WebRTC is actually a Peer to Peer RTC Protocol which happens between browser.

But you got it in wrong way. For establishing the direct link between two systems WebRTC requires,

The topology between itself, and the peer it wants to communicate with

Establish connectivity on the best path through a given topology

Have a fallback mechanism if all else fails.

WebRTC standards require the use of three IEFT NAT traversal standards to address these issues:

Interactive Connectivity Establishment (ICE) – RFC 5245

Session Traversal Utilities for NAT (STUN) – RFC 5389

Traversal Using Relay NAT (TURN) – RFC 5766

So, the final answer is it's not possible with WebRTC.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM