1.0.2 • Published 4 years ago

cyclon.p2p-rtc-server v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

cyclon.p2p-rtc-server

Build Status Dependencies

The signalling server for the cyclon.p2p WebRTC abstraction.

Usage

First install the package using npm

npm install cyclon.p2p-rtc-server

Then execute the server on a port of your choosing with the following command line

./node_modules/.bin/cyclon-signalling-server 12345

Where 12345 can be any port number you want to make the server available on. Once running you can include the signalling server in the configuration of a node by specifying it as:

{
    'socket': {
        'server': 'http://your.host.name:12345'
    },
    'signallingApiBase':'http://your.host.name:12345' 
}

There is a corresponding client available here