Android <-> Web SIP video call

eduadiez

New Member
Hello,

I think I've found an issue. When I make a sip video call between an Android phone (caller) and a web browser (callee) it seems have difficulties to get the video an audio source from the phone into the web explorer. They do not start until I rotate the mobile to landscape mode.

I've used the lastest public version of WCS and the lastest phone-min-release.apk. Could you help me with this?

Thanks in advance.

Kind regards.
 

Max

Administrator
Staff member
Try to replace video codecs priority and use VP8.
WCS_HOME/conf/flashphoner.properties
Replace
Code:
codecs=opus,alaw,ulaw,g729,speex16,g722,mpeg4-generic,telephone-event,h264,vp8,flv,mpv
with
Code:
codecs=opus,alaw,ulaw,g729,speex16,g722,mpeg4-generic,telephone-event,vp8,h264,flv,mpv
If it does not help, please try to update to the latest available build.
Code:
service webcallserver update
 

eduadiez

New Member
Hello,

Thank you for the quick reply!

I've followed your steps but the problem persists.

Code:
# service webcallserver update
>>> You have latest version: 5.0.2513
Can I do anything else?

Kind regards.
 

Max

Administrator
Staff member
Hello

The described behavior is not reproduced on our tests.
This is how we test:
1. Open the Phone Video example in Chrome 62, Windows 8.
https://wcs5-eu.flashphoner.com/client2/examples/demo/sip/phone-video/phone-video.html
2. Open Android application Phone Video
https://play.google.com/store/apps/details?id=com.flashphoner.wcsexample.phone_min_video
3. Make a SIP call from the Android app to Chrome or vice versa.
We use server wss://wcs5-eu.flashphoner.com:8443 for the test call.
As a result we are able to see two-way video between Android device and Chrome browser without any additional actions

Test environment
WCS 2513, Phone Video, https://wcs5-eu.flashphoner.com/client2/examples/demo/sip/phone-video/phone-video.html
Android app https://play.google.com/store/apps/details?id=com.flashphoner.wcsexample.phone_min_video
WCS server: wss://wcs5-eu.flashphoner.com:8443
Android Device: Android 7.1.1 Nokia 5 dual SIM
SIP server: OpenSIPs

Please check the same test with your Android device and our WCS demo server. Or with another Android device.
 

eduadiez

New Member
Hello,

I've make some test with your test environment and I've seen an extrange behavior, in my test I've used asterisk 14.5.0 as sip server.

It seems work fine when the caller is Android and the callee is a web browser, but when the web browser is the caller the video freezes after a few seconds or occasionally it is never recieve.

Could you help me?

Thanks in advance.
Kind regards.
 

Max

Administrator
Staff member
Hello
Please provide 2 publicly available valid SIP accounts.
Then we will able to test a call through your Asterisk server and reproduce the issue if it is possible.
We test over OpenSIPs and it is not reproduced in our env.
You can send the SIP details to logs@flashphoner.com
 

Max

Administrator
Staff member
Hello,

Longer video freezes (or no video) have been reproduced with Android – Firefox call.

Same scenario has been tried with the latest build from another branch, and there have been no such issues when VP8 codec was used.
We’ve checked video calls between web Phone Video and Android Phone-min-video with Chrome 62, Firefox 56 and Moto G (Android 5.1).
Codec VP8: in flashphoner.properties
Code:
codecs  =opus,alaw,ulaw,g729,speex16,g722,mpeg4-generic,telephone-event,vp8,flv,mpv
Try build 2526 with codec VP8. Please see the upgrade procedure below.

Upgrade procedure
1. In case of upgrade (not clean install) it is required to remove local database
Stop WCS server
Code:
service webcallserver stop
Remove local database
Code:
cd /usr/local/FlashphonerWebCallServer/database
rm -rf *
2. Download server build 2526 from the new branch
https://flashphoner.com/downloads/b...ring/FlashphonerWebCallServer-5.0.2526.tar.gz
3. Unpack and install
Code:
cd FlashphonerWebCallServer-5.0.2526
./install.sh
4. Start up WCS server
Code:
service webcallserver start
 
Top