Skip to content
gh-pages
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Resources

Packages

No packages published