Skip to content
a WebRTC audio broadcast server
Branch: master
Clone or download
Ian Bishop
Ian Bishop self-host fonts
Latest commit 8248ceb Dec 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
html self-host fonts Dec 27, 2018
.gitignore add dep vendor management Dec 9, 2018
Gopkg.lock update vendor Dec 26, 2018
Gopkg.toml
LICENSE
README.md
conn.go
http.go
main.go accomodate html index Dec 26, 2018
registry.go
webrtc.go add dep vendor management Dec 9, 2018

README.md

Babelcast

A server which allows audio publishers to broadcast to subscribers on a channel, using nothing more than a modern web browser.

It uses websockets for signalling & WebRTC for audio.

The designed use case is for live events where language translation is happening. A translator would act as a publisher and people wanting to hear the translation would be subscribers.

Building

This project uses 'dep' for vendoring.

  • Install Go e.g. yum install golang or apt-get install golang
  • Define your Go Path e.g. export GOPATH=$HOME/go
  • Fetch the project go get -d github.com/porjo/babelcast
  • run dep ensure in the project root
  • run go build

You will find the compiled binary under ~/go/bin and the html+css under ~/go/src/github.com/porjo/babelcast/*

Usage

$ babelcast \
	-webRootPublisher $GOPATH/src/github.com/porjo/babelcast/html \
	-webRootSubscriber $GOPATH/src/github.com/porjo/babelcast/html \
	-port 8080

Users should point their web browser to http://<server-ip>:8080/static/

If the PUBLISHER_PASSWORD environment variable is set, then publishers will be required to enter the password before they can connect.

You can’t perform that action at this time.