alongubkin / alongubkin/phonertc

Phonertc demo works in browser but not working in android

Ouverte
#170 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Objective-C
Étoiles
864
Forks
298
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.