alongubkin / alongubkin/phonertc

Phonertc demo works in browser but not working in android

Open
#170 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
864
Forks
298
PR merge metrics
No merged PRs in 30d

Description

I am a newbie to cordova and trying to get PhoneRTC demo up and running. https://github.com/alongubkin/phonertc/

Demo app works well in browser but when i build apk and install in android device,it goes to loading state and nothing happens after clicking on login. I dont know how to debug the cordova app and what is the error.

List of steps i followed,

npm install -g cordova bower grunt-cli
git clone https://github.com/alongubkin/phonertc.git
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

cordova platform add android browser
grunt build --force

Updated server details in demo/client/app/scripts/signaling.js (socket.io).

Created turn server and updated the credentails in demo/client/app/scripts/CallCtrl.js
turn: {
host: 'turn:ip:port(nodejs server port)',
username: 'username',
password: 'Password'
}

To build the apk,
cordova plugin rm cordova-plugin-console
cordova build --release android

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.