tree: e0aaba9ab0df813376c1651bf0108fa5065fa496 [path history] [tgz]
  1. README.md
  2. collider/
  3. collidermain/
  4. collidertest/
src/collider/README.md

Collider

A websocket-based signaling server in Go.

Building

  1. Install the Go tools and workspaces as documented at http://golang.org/doc/install and http://golang.org/doc/code.html

  2. Checkout the webrtc repository,

     git clone https://github.com/webrtc/apprtc.git
    
  3. Make sure to set the $GOPATH according to the Go instructions in step 1

E.g. export GOPATH=$HOME/goWorkspace/src

  1. Link the collider directories into $GOPATH/src

     ln -s `pwd`/apprtc/src/collider/collider $GOPATH/src
     ln -s `pwd`/apprtc/src/collider/collidermain $GOPATH/src
     ln -s `pwd`/apprtc/src/collider/collidertest $GOPATH/src
    
  2. Install dependencies

     go get collidermain
    
  3. Install collidermain

     go install collidermain
    

Running

$GOPATH/bin/collidermain -port=8089 -tls=true

Testing

go test collider