Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hookflash/obsolete.webrtc-demo

Minimal WebRTC Demo
https://github.com/hookflash/obsolete.webrtc-demo

Last synced: about 1 month ago
JSON representation

Minimal WebRTC Demo

Awesome Lists containing this project

README

        

Minimal WebRTC Demo
===================

Try it online: http://openpeer.github.io/webrtc-demo/

A [WebRTC](http://dev.w3.org/2011/webrtc/editor/webrtc.html) demo using:

* jQuery - http://jquery.com/
* jQuery UI - http://jqueryui.com/
* Open Peer Cross-browser WebRTC API - https://github.com/openpeer/webrtc-shim
* Open Peer Rolodex - https://github.com/openpeer/rolodex
* Open Peer Rolodex Presence Plugin - https://github.com/openpeer/rolodex-presence
* RequireJS - http://requirejs.org/

Features:

* Login for multiple identities (Facebook, Twitter, LinkedIn, Github)
* Display list of contacts (includes contacts who have opened demo at least once)
* Presence (online/offline) state for contacts
* Call controls to initiate a WebRTC connection
* Video & audio streaming via peer to peer connection
* Text messaging via peer to peer data channel

The entire demo code is contained in one static HTML file: https://github.com/openpeer/webrtc-demo/blob/master/index.html

Usage
-----

Requirements:

* [Google Chrome](https://www.google.com/chrome/)
* [Firefox](http://www.mozilla.org/firefox/) ( **PLANNED** )

Install & run locally:

npm install
npm start
open http://localhost:8080/

Deploy to [github pages](http://pages.github.com/):

git checkout gh-pages
git merge master
git push origin gh-pages
git checkout master

License
=======

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2013 SMB Phone Inc.

Screenshots
===========

![In Call](https://raw.github.com/openpeer/webrtc-demo/master/screenshots/in-call.png)

![Login](https://raw.github.com/openpeer/webrtc-demo/master/screenshots/login.png)

![Contacts](https://raw.github.com/openpeer/webrtc-demo/master/screenshots/contacts.png)

![Call](https://raw.github.com/openpeer/webrtc-demo/master/screenshots/call.png)

![Accept/Decline](https://raw.github.com/openpeer/webrtc-demo/master/screenshots/accept-decline.png)

![Allow Webcam](https://raw.github.com/openpeer/webrtc-demo/master/screenshots/allow-webcam.png)

![Hangup](https://raw.github.com/openpeer/webrtc-demo/master/screenshots/hangup.png)