Front-end of palava.tv (in React)
JavaScript CSS HTML Ruby
Permalink
Failed to load latest commit information.
source
.gitignore Break it: Remove all bower deps, init package.json, update bundle May 7, 2017
.gitmodules update submodule Nov 23, 2013
.ruby-version Update to current Ruby May 7, 2017
Gemfile Use react-router for routes May 7, 2017
Gemfile.lock Update gems May 14, 2017
LICENSE.txt
README.md New README intro May 14, 2017
config.rb
package.json

README.md

palava | portal

palava.tv is simplistic video communication with your friends and colleagues from within your web browser. It is build on top of the WebRTC technology. No registration or browser plugin required.

Please see the palava repository for an overview of palava and report issues there.

The palava portal is the single-page web application which runs palava. It is built using the palava client, the React JavaScript library, and compiled for the web by Middleman.

Setup

Clone this directory and checkout the submodule:

$ git clone https://github.com/palavatv/palava-portal
$ cd palava-portal
$ git submodule init
$ git submodule update

Make sure you have Ruby and Bundler installed, maybe you also need to export the PATH manually

$ ruby -v

After cloning this repo and in the new directory run:

$ bundle install

Make also sure that you also have install nodejs and run:

$ npm install

In another tab, start the PalavaMachine or SignalTower

Start the middleman development server on http://localhost:4567

$ middleman

In case '$ middleman' leads to errors due to some missing components, try running '$ bundle update' and then re-run middleman.

You can build a static version of the page using:

$ middleman build

Configure using Environment Variables

You can set the addresses of the rtc and stun server via environment variables. The defaults are a local rtc server 'ws:localhost:4233' and the palava stun server 'stun:stun.palava.tv'. Use ws: for unsecured and wss: for ssl secured websocket connections.

$ export PALAVA_RTC_ADDRESS="ws:some_ip:some_port"
$ export PALAVA_STUN_ADDRESS="stun:some_ip:some_port"
$ export PALAVA_BASE_ADDRESS="https://your.domain.com"
$ middleman

Defaults

PALAVA_BASE_ADDRESS="localhost:4567"
PALAVA_STUN_ADDRESS="stun:stun.palava.tv"
PALAVA_RTC_ADDRESS="ws:localhost:4233"

Use with palava.tv

PALAVA_BASE_ADDRESS="palava.tv"
PALAVA_STUN_ADDRESS="stun:stun.palava.tv"
PALAVA_RTC_ADDRESS="wss:machine.palava.tv"

Credits

MIT License. Part of the palava project.

Copyright (C) 2013 Jan Lelis          mail@janlelis.de
Copyright (C) 2013 Marius Melzer      marius@rasumi.net
Copyright (C) 2013 Stephan Thamm      thammi@chaossource.net
Copyright (C) 2013 Kilian Ulbrich     kilian@innovailable.eu
Copyright (C) 2014-2017 palava e. V.  contact@palava.tv