alongubkin / alongubkin/phonertc

Phonertc demo works in browser but not working in android

Aperta
#170 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Objective-C
Stelle
864
Fork
298
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.