Skip to content

cfreeman/signalbox

Repository files navigation

signalbox

An experimental Web-RTC signalling server written in Go. Designed to be compatible with the signalling protocol used with rtc.io.

Build Status  alpha  MIT License

Installation instructions (Ubuntu):

  • Download and Install Go

  • Get and compile Signalbox

      go get github.com/cfreeman/signalbox
    
  • Install on your server

      sudo cp bin/signalbox /usr/sbin/signalbox
    
  • Create signalbox configuration file

      vim /etc/signalbox.json
      {
        "ListenAddress":":3000"
      }
    
  • Create directory to hold signalbox logging output

      sudo mkdir /var/log/signalbox
      sudo chown /var/log/signalbox www-data
      sudo chgrp /var/log/signalbox www-data
    
  • Create upstart configuration file

      vim /etc/init/signalbox.conf
      description "A webRTC signalling server."
    
      start on filesystem or runlevel [2345]
      stop on runlevel [!2345]
    
      exec start-stop
    
      exec start-stop-daemon --start --chuid www-data --exec /usr/sbin/signalbox /etc/signalbox.json 2>> /var/log/signalbox/signalbox.log
    
  • Start signalbox

      sudo start signalbox
    
  • Signalbox is now running on port 3000. You can open it up, or proxy pass from apache or nginx.

License:

Copyright (c) 2014 Clinton Freeman

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A WebRTC signalling server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages