0.1.0 • Published 7 years ago

signal-fire-relay v0.1.0

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

Pub/Sub relay for signal-fire

Standard - JavaScript Style Guide

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

Standard - JavaScript Style Guide

License

Copyright 2016 Michiel van der Velde.

This software is licensed under the MIT License.