I am Trying to get PhoneRTC demo up and running. https://github.com/alongubkin/phonertc/
I actually have a bunch of doubts
First of all, my understanding: 1. We
Amazon provides Elastic IPs which allow you to make permanent IP addresses for your EC2 hosts.
Here are the full commands required to run the demo from scratch:
# install global dependencies
npm install -g cordova bower grunt-cli
# clone phonertc
git clone https://github.com/alongubkin/phonertc.git
# build client
cd demo/client
npm install
bower install
cordova plugin add org.apache.cordova.device
cordova plugin add org.apache.cordova.console
cordova plugin add https://github.com/alongubkin/phonertc.git
# follow the instructions for iOS after running this command
cordova platform add ios android
# before running the next command, make sure to
# change your server details in demo/client/app/scripts/signaling.js
# and in demo/client/app/scripts/CallCtrl.js
grunt build --force
# build server
cd ../server
npm install
To run the server:
cd demo/server
node index.js
To run the client on Android:
cordova run android
To run the client on iOS run:
cordova build ios
And run the project from Xcode on a real iOS device.