https://github.com/innovailable/webrtc-test
WebRTC test page
https://github.com/innovailable/webrtc-test
Last synced: 8 months ago
JSON representation
WebRTC test page
- Host: GitHub
- URL: https://github.com/innovailable/webrtc-test
- Owner: Innovailable
- License: agpl-3.0
- Created: 2014-11-18T15:09:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-30T16:57:00.000Z (over 11 years ago)
- Last Synced: 2024-12-27T17:24:37.135Z (over 1 year ago)
- Language: CoffeeScript
- Size: 300 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# WebRTC Test
## What is this?
This is a WebRTC test page using the
[palava-client](https://github.com/palavatv/palava-client) library. It is
designed to test whether WebRTC works on a specific device, help find bugs in
the setup of the user and identify bugs in the `palava-client` library.
## Usage
This project uses [wintersmith](http://wintersmith.io/) to generate static
content. Install wintersmith and the dependencies of
this package:
[sudo] npm install -g wintersmith
npm install
To build the static files which you can deploy:
wintersmith build
The generated files can be found in the `build` directory.
Wintersmith also has a preview mode, which will start a webserver that builds
the files on the fly:
wintersmith preview
You can use environment variables to configure the mandatory and optional
dependencies and and configure the application. The following environment
variables are currently available:
* `URL_BASE`: the url under which the page will be available (for invitation
links)
* `SIGNALING`: the signaling server (default: `wss://signaling.innovailable.eu`)
* `STUN`: the stun server (default: `stun:stun.palava.tv`)
* `ECHO`: address of the echo server (only invitation mode if not
configured)
To build the page with the options do something like this:
URL_BASE='http://webrtctest.example.com/' wintersmith build
*NOTE*: The application depends on some signaling server and palava-client
features which are neither in the current release nor deployed on
[palava.tv](https://palava.tv) at the time of writing.