[pjsip] Has anyone had success implementing reachability changes for iOS?
tmerriewether at star2star.com
Thu Jun 14 08:52:02 EDT 2012
Yes, that's what I implemented too. I found it crashing in the library.
Somehow its over releasing a transport. Its very confusing. I am using
version 1.1.0 since I inherited the application and did not want to add
complexity by going with version 2.0. Which version are you using?
On Wed, Jun 13, 2012 at 4:18 PM, Florian <pjsip at bome.com> wrote:
> I did not use the patch, I've just implemented the code from these
> This works fine for 3G <-> WiFi network changes. However, with
> Personal Hotspot active, Reachability does not work reliably
> (sometimes it just does not report a change). Therefore, I poll the
> local network interfaces for changes every 5 seconds.
> On 6/13/2012 21:54, Tom Merriewether wrote:
> > I am struggling to implement a reliable method for handling network
> > loss/gain on the iPhone. I can reliably detect reachability changes
> > and interface state changes, but I have not been successful in
> > getting the SIP TCP signaling socket to re-bind to a new interface
> > when changes like Wi-Fi --> 3G occur.
> > I've tried the destroying and then recreating the client but I lose
> > access to codecs after recreation. I have also tried the suggested
> > iphone_ip_change_pjsip_1_12.patch.
> > Has anyone gotten this to work on iOS 4.X or greater? Implementing it
> > as-is causes crashes in the library. If not, what about the more
> > drastic destroy/re-create? The SIP stack survives this but the codecs
> > associated with the client "disappear."
> > --
> > Thomas Merriewether
> > Star2Star Communications
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> Visit our blog: http://blog.pjsip.org
> pjsip mailing list
> pjsip at lists.pjsip.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pjsip