alongubkin / alongubkin/phonertc

Phonertc demo works in browser but not working in android

Abierto
#170 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Objective-C
Estrellas
864
Forks
298
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.