WebRTC (Web Real-Time Communication) Open Source Project Enhancement and Integrated Device Driver and Dual Monitor Development

webRTC is a new webstandard being developed for peer-to-peer communication on the web. This means that browsers will be able to send information, without sending information through the server. Server side this will reduce load dramatically.
Currently the webRTC standard is very focused on the video & audio aspects of the project. In the future (hopefully near future!) they will begin implementing the data channel, which will allow arbitrary data to be sent peer-to-peer. For now the webRTC team is focused on stabalizing and optimizing the video and audio channels.
Unfortunately, a server (or two servers) will still be required for two reasons, The media for the page must be initially supplied, and the server, in conjunction with a STUN server, is required to synchronize the connections.
- HOST : Windows 7 64-bit
- GUEST : ANY DEVICE
- Chrome 25.0+ (28.0+ for best performance)
- Firefox 22.0+
- Node.js - Install Node.js and Manager node version using nvm(Node Version Manager).
$ sudo apt-get update
$ sudo apt-get install build-essential libssl-dev
$ curl https://raw.githubusercontent.com/creationix/nvm/v0.18.0/install.sh | bash
$ nvm install 4.2.1
$ nvm use 4.2.1- Chrome Extensions
- gulp - gulp is a toolkit that will help you automate painful or time-consuming tasks in your development workflow. For web development (if that's your thing) it can help you by doing CSS preprocessing, JS transpiling, minification, live reloading, and much more.
# Install gulp globally:
$ npm install -g gulp
# Install gulp in your project devDependencies:
$ npm install --save-dev gulp- pm2 - PM2 is a production process manager for Node.js applications with a built-in load balancer. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.
# Install pm2 globally:
$ npm install -g pm2The easiest way to get started is to clone the repository:
# Get the latest snapshot
$ git clone https://github.com/DualRTC-io/DualRTC.io-Demo.git myproject
$ cd myproject
$ git remote rm origin
# Install NPM dependencies
$ npm installDualRTC supports the gulp task runner for various services which are applied on the code. To start your application run -
$ gulpAlternatively, when not using gulp (and for production environments) you can run:
$ node server.jsThen, open a browser and go to:
https://YOUR_IP_ADDRESSWhen an app is started with the -i option, the cluster mode is enabled.
# Enable load-balancer and cluster feature
$ pm2 start server.js -i 0 --name "appName"
# Listing your app running processes:
$ pm2 list appName
# Managing your processes is straightforward:
$ pm2 stop appName
$ pm2 restart appName
$ pm2 delete appNameThe MIT License. Please see the license file for more information.