Signaling server to connect pairs of WebRTC clients
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json
rsa-keypairgen.js

README.md

##Project Haiku WebRTC Signaling Server

###Project Status - On Hold

The current status of the project due to resource constraints is On Hold. We are archiving and keeping [log of the work here] (https://github.com/mozilla/project_haiku.iot/wiki/Useful-Links-and-Work-Log).

###Install:

npm install

###There are two ways to authenticate and create a peer-to-peer connection using this signaling server: ####The instructions below are how to connect your client from this repo: https://github.com/sfoster/webrtc-datachannel-test

###Before you do anything, you have to generate the public Private Key pairs: - Navigate into the node-client folder. - Run node rsa-keypairgen.js - Now you should have a .keys folder containing node-client-a.pub.pem & node-client-a.pem - In order to authenticate & connect to the signaling server, the server needs your node-client-a.pub.pem and you need the servers signaling_server.pub.pem

###Then to run the node-client (not CLI): - Navigate into the node-client folder. - Make sure you have a .keys file with node-client-a.pem and signaling_server.pub.pem (check above) - Make sure the server has the up to date node-client-a.pub.pem key - Run node index.js - ...