Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Demonstrating P2P state synchronization using rtc-mesh
JavaScript CSS
branch: gh-pages

README.md

rtc-mesh demo

This is a demonstration application that illustrates how rtc-mesh can be used to assist with managing shared client state using WebRTC data channels.

Running the Demo

If you wish to run this demo locally, then you can run the following:

npm install beefy browserify -g
git clone https://github.com/rtc-io/rtcio-demo-mesh.git
cd rtcio-demo-mesh
beefy index.js:bundle.js

You should now be able to open a browser window to http://localhost:9966/ (or alternatively http://rtc-io.github.io/demo-mesh/ if you don't want to run the demo locally). Either way you'll join the rtcio-demo-mesh room on the switchboard and should be able to move around a couple of objects that are attempting to share state across the established peer connections.

Something went wrong with that request. Please try again.