WebRTC audio/video call and conferencing server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Simon Eisenmann 701ad086e7 Added hints how CHANGELOG.md is created. 9 years ago
build Make sure to build pdf js separatly. 10 years ago
doc Fixed tabs and spaces. 10 years ago
html Setting link-type noreferrer does not work, set global referrer-policy instead (see http://w3c.github.io/webappsec/specs/referrer-policy/). 10 years ago
m4 Use autoconf macro to compare versions. 11 years ago
src Trigger NATS events non blocking through buffered channel. 9 years ago
static Brought back mediaDevices wrapper for gUM for Firefox >= 38 fixing #263 and #264. 9 years ago
.gitignore Don't create config.h, it's not needed for a golang only project. 11 years ago
.gitmodules Get rid of submodule and directly added sleepy milestone1. 11 years ago
.hound.yml Point hound to correct config. 10 years ago
.javascript_ignore Ensure that files and folders under static/js/libs/ are ignored by hound. 10 years ago
.jshint Merge branch 'release-0.23' 11 years ago
.travis.yml Added Go 1.6. 9 years ago
AUTHORS Added Leon to authors. 9 years ago
CHANGELOG.md Use markdown for changelog. 9 years ago
COPYING Added autoconf/automake support. 11 years ago
ChangeLog Added hints how CHANGELOG.md is created. 9 years ago
Dockerfile The Dockerfile now even works. 11 years ago
Godeps Added support for NATS pub/sub messaging to trigger channeling events for external services. 9 years ago
LICENSE Initial public release. 12 years ago
Makefile.am Split "release" target into binary and assets. 9 years ago
NEWS Added autoconf/automake support. 11 years ago
README Added autoconf/automake support. 11 years ago
README.md Merge branch 'drop-old-golang-version-support' of https://github.com/deathwish/spreed-webrtc into develop 9 years ago
autogen.sh Added autoconf/automake support. 11 years ago
configure.ac Merge branch 'drop-old-golang-version-support' of https://github.com/deathwish/spreed-webrtc into develop 9 years ago
package.json Autoprefixer moved to postcss-cli, limit version for now to keep autoprefixer binary. 10 years ago
server.conf.in Added startup bus event and a NATS client id. 9 years ago
spreed-webrtc-server Use sh shebang instead of bash to be less Linux specific (#244). 10 years ago

README.md

Spreed WebRTC

Spreed WebRTC implements a WebRTC audio/video call and conferencing server and web client.

The latest source of Spreed WebRTC can be found on GitHub. If you are a user, just wanting a secure and private alternative for online communication make sure to check out the Spreedbox, providing a ready to use hardware with Spreed WebRTC included.

Build prerequisites

Runtime dependencies

Spreed WebRTC compiles directly to native code and has no external runtime dependencies. See here for details.

Building

Build Status

If you got spreed-webrtc from the git repository, you will first need to run the included autogen.sh script to generate the configure script.

Configure does try to find all the tools on your system at the standard locations. If the dependencies are somewhere else, add the corresponding parameters to the ./configure call.

$ ./configure
$ make

Build seperately

There are several make targets available. Get Go external dependencies at least once with make get, all the other targets depend on this.

$ make get
$ make assets
$ make binary

Server startup

spreed-webrtc-server [OPTIONS]

Options

-c="./server.conf": Configuration file.
-cpuprofile="": Write cpu profile to file.
-h=false: Show this usage information and exit.
-l="": Log file, defaults to stderr.
-memprofile="": Write memory profile to this file.
-v=false: Display version number and exit.

An example configuration file can be found in server.conf.in.

Usage

Connect to the server URL and port with a web browser and the web client will launch.

Development

To build styles and translations, further dependencies are required. The source tree contains already built styles and translations, so these are only required if you want to make changes.

The following Node.js modules are required, these may be installed locally by running npm install from the project root. Consult the package.json file for more details.

Styles can be found in src/styles. Translations are found in src/i18n. Each folder has its own Makefile to build the corresponding files. Check the Makefile.am templates for available make targets.

Javascript console logging is automatically disabled and can be enabled by adding the query parameter debug to your url https://my_url?debug.

Running server for development

Copy the server.conf.in to server.conf.

Build styles, javascript and binary using make. Then run ./spreed-webrtc-server

The server runs on http://localhost:8080/ per default.

HTML changes and Go rebuilds need a server restart. Javascript and CSS reload directly.

Running for production

Spreed WebRTC should be run through a SSL frontend proxy with support for Websockets. Example configuration for Nginx can be found in doc/NGINX.txt.

In addion for real world use, one also needs a STUN/TURN server configured (with shared secret support).

See https://code.google.com/p/rfc5766-turn-server/ for a free open source TURN server implementation. Make sure to use a recent version (We recommend 3.2). Versions below 2.5 are not supported.

Setup Screensharing

Chrome

Chrome should work out of the box.

Firefox

As of Firefox >= 36 you must append the domain being used to the allowed domains to access your screen. You do this by navigating to about:config, search for 'media.getusermedia.screensharing.allowed_domains', and append the domain to the list of strings. You can edit the field simply by double clicking on it. Ensure that you follow the syntax rules of the field. If you are using an ip:port url, simply append ip to the list. Also ensure that you are using https, otherwise permission will be denied to share your screen. You do not need to restart or reload in order for it to take affect.

Contributing

  1. "Fork" develop branch.
  2. Create a feature branch.
  3. Make changes.
  4. Do your commits (run make fmt and make jshint before commit).
  5. Send "pull request" for develop branch.

License

Spreed WebRTC uses the AGPL license, see our LICENSE file.