c2theg / demo-mesh

Demonstrating P2P state synchronization using rtc-mesh

Home Page:http://rtc-io.github.io/demo-mesh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Demonstrating P2P state synchronization using rtc-mesh

http://rtc-io.github.io/demo-mesh/


Languages

Language:JavaScript 89.9%Language:CSS 10.0%Language:HTML 0.1%