signal-fire-relay
v0.1.0
Published
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
Downloads
2
Maintainers
Readme
Pub/Sub relay for signal-fire
Relay for signal-fire, a WebRTC signaling server. Using the relay in combination with signal-fire, you can set up multiple instances that can communicate and share the load.
Features
- Works with common pub/sub clients, such as redis and mqtt
- Easy to set up, no complex configuration needed
Example
This is an example of how to use the relay in combination with signal-fire. It uses mqtt as the pub/sub client.
const Server = require('signal-fire').Server
const Relay = require('signal-fire-relay').Relay
const client = require('mqtt').createClient()
const server = new Server({
relay: new Relay(client)
})
server.start().then(() => {
console.log('Server started')
})
Changelog
- v0.1.0
- Initial release
License
Copyright 2016 Michiel van der Velde.
This software is licensed under the MIT License.