#WebRTC Rails
This is a basic aplication I have build to test WebRTC, my main objective is to practice WebRTC. I will slowly improve the aplication, and add more features each time.
##Start Now
To start the project and test is at your own you have to do the following:
- Clone the repo
- Install all the gems with
bundle install
- Go to
app/rtc/
and runnpm install
to installsocket.io
- Check to see your IP:
ifconfig
, copy the IP and change the ones inpublic/javascripts/rtc/client_signaling.js
and at the first line change theio.connect('YOUR-IP:2013')
- Open the server
rails server
- Open the NodeJs server
node app/rtc/server.js
- Go to the URL:
localhost:3000
- ENJOY!
At the moment it only works between Chrome and Chrome (I'm currently working on the problem)
##Objectives
- DONE WebRTC between 2 peers
- DONE Clean the webpage of unneeded menus, just the Home page and a page to call
- DONE Add a chat module (with NodeJs, latter can be improved to be with arbitrary data with RTCDataChannel)
- Change the NodeJS server to a native Ruby (EventMachine)
- Control of errors in the Call (on of the Peers leave ... etc)
- DONE Ability to create your own rooms with diferets names, and to setup an user name (for the Chat)
- Ability to activate and desactivate Video or Audio, and reactivate them
- Room with more than 2 Peers
- Change the Chat from NodeJS to WebRTC DataChannel