Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browser to browser communication without a server?

Tags:

browser

p2p

Is there any possible way to have browsers communicating to each other over lan/wan without the use of a server (direct peer-to-peer)?

like image 733
CodyJames.LeBlanc Avatar asked Jul 19 '10 18:07

CodyJames.LeBlanc


People also ask

What is browser to browser communication?

Browser-to-Browser Communication Using Data Channel Similar to a conventional browser-to-browser communication, Sonus WebRTC allows you to communicate with other WebRTC users through data channel. The data transmission is carried out through data channels without interacting with any web servers.

Can WebRTC work without STUN server?

Even if based on a peer-to-peer protocol, WebRTC connections can't run without a server. In order for two devices to locate one another, a discovery and negotiation mechanism called signaling must take place.

Can WebRTC work without Internet?

Does WebRTC Need a Server? WebRTC can easily connect two browsers on a local area network. However, WebRTC and browsers alone aren't capable of connecting through the internet. WebRTC needs a server to handle tasks like getting through firewalls and routing data outside of your local network.

Do browsers communicate with each other?

The only way you can currently get a web browser to talk directly to another is by using STUN/TURN/ICE servers. The browser needs one of these servers in order to make the initial handshake.


2 Answers

Looks like there may be hope on the horizon: http://www.w3.org/TR/webrtc/

like image 134
Phylodome Avatar answered Oct 14 '22 23:10

Phylodome


Yes you can try http://httprelay.io with the AJAX calls. It is simple as that:

* Send data: POST https://demo.httprelay.io/link/your_secret_channel_id
* Receive data GET https://demo.httprelay.io/link/your_secret_channel_id
like image 45
Jonas Avatar answered Oct 14 '22 23:10

Jonas