signal-fire-relay

0.1.0 • Public • Published

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.

Package Sidebar

Install

npm i signal-fire-relay

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • michielvdvelde