alongubkin / alongubkin/phonertc

Phonertc demo works in browser but not working in android

未关闭
#170 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Objective-C
星标
864
派生
298
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。