pjsua_start() very slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Happy new year, all.

I'm running pjsip on iOS and it seems that pjsua_start() is taking far too
long to complete on the device. So long, in fact, the app is shut down by
iOS during startup.

The slowest part is shown in the log clip below. The two IP addresses are
the Wi-Fi and Cell addresses of the phone. As you can see, it takes over 30s
to set up the ICE transport. FYI: the same code runs in the iOS simulator
very quickly (< 1s).

Should this take so long and how might I speed this up?

Thanks much!

* 08:17:24.615        icetp00  Creating ICE stream transport with 2
component(s)*

* 08:17:29.626        icetp00  Comp 1: host candidate 192.168.6.203:54599added
*

* 08:17:29.626        icetp00  Comp 1: host candidate 10.122.234.175:54599added
*

* 08:17:34.634        icetp00  Comp 2: host candidate 192.168.6.203:57465added
*

* 08:17:34.634        icetp00  Comp 2: host candidate 10.122.234.175:57465added
*

* 08:17:34.634        icetp00  ICE stream transport created*

* 08:17:34.634        icetp01  Creating ICE stream transport with 2
component(s)*

* 08:17:39.642        icetp01  Comp 1: host candidate 192.168.6.203:52850added
*

* 08:17:39.642        icetp01  Comp 1: host candidate 10.122.234.175:52850added
*

* 08:17:44.651        icetp01  Comp 2: host candidate 192.168.6.203:63443added
*

* 08:17:44.651        icetp01  Comp 2: host candidate 10.122.234.175:63443added
*

* 08:17:44.651        icetp01  ICE stream transport created*

* 08:17:44.651        icetp02  Creating ICE stream transport with 2
component(s)*

* 08:17:49.659        icetp02  Comp 1: host candidate 192.168.6.203:60979added
*

* 08:17:49.659        icetp02  Comp 1: host candidate 10.122.234.175:60979added
*

* 08:17:54.668        icetp02  Comp 2: host candidate 192.168.6.203:53529added
*

* 08:17:54.668        icetp02  Comp 2: host candidate 10.122.234.175:53529added
*

* 08:17:54.668        icetp02  ICE stream transport created*

* 08:17:54.668        icetp03  Creating ICE stream transport with 2
component(s)*

* 08:17:59.676        icetp03  Comp 1: host candidate 192.168.6.203:52140added
*

* 08:17:59.676        icetp03  Comp 1: host candidate 10.122.234.175:52140added
*

* 08:18:04.684        icetp03  Comp 2: host candidate 192.168.6.203:62326added
*

* 08:18:04.684        icetp03  Comp 2: host candidate 10.122.234.175:62326added
*

* 08:18:04.684        icetp03  ICE stream transport created*

-- 
Joe Meade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101231/1059afb6/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux