Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dtsdwarak/webrtc-demo
Demo app for WEBRTC
https://github.com/dtsdwarak/webrtc-demo
Last synced: 22 days ago
JSON representation
Demo app for WEBRTC
- Host: GitHub
- URL: https://github.com/dtsdwarak/webrtc-demo
- Owner: dtsdwarak
- License: gpl-3.0
- Created: 2015-05-18T06:28:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-16T08:33:31.000Z (over 5 years ago)
- Last Synced: 2023-04-04T19:52:39.839Z (over 1 year ago)
- Language: JavaScript
- Size: 9.24 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebRTC-Demo
Demo app for WEBRTC![Travis CI](https://travis-ci.org/dtsdwarak/webrtc-demo.svg?branch=master)
## Demo
[WebRTC Demo](http://webrtc-rts.herokuapp.com)## Serving the app
```bash
$ npm start
```
## Deploying
The app will be served at [localhost:8001](http://localhost:8001) under default settings when you run it locally. ```simplewebrtc.bundle.js``` has been configured to use my signalling server that runs at [Heroku](https://webrtc-signal-server.herokuapp.com). You are free to use this as it is or spin up your own signalling server and use it. If you plan to do the latter, you may want to look into [dtsdwarak/webrtc-signal](https://github.com/dtsdwarak/webrtc-signal).Also, you can deploy the same code to Heroku.
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/dtsdwarak/webrtc-demo/tree/master)
---
## NoteSince the singalling server I used has been configured to work over HTTP, I have forced HTTP throught JavaScript code. If you want to do this over SSL, remove the following JavaScript code at the end of the ```index.html```
```javascript
$(function(){
if(window.location.protocol==="https:")
window.location.protocol="http";
});
```