Whoopss..., sorry I have to correct myself, actually PJSIP does support disabling multitasking at runtime. Please see the function: pj_activesock_set_iphone_os_bg(pj_activesock_t *asock, int val); Regards, Ming On Wed, Oct 6, 2010 at 10:58 AM, Ming <ming at teluu.com> wrote: > Hi Maunil, > > Unfortunately at the moment, PJSIP doesn't have the feature to disable > multitasking at runtime, however you can visit Apple's doc: > > http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html > > "Determining Whether Multitasking Support is Available" > > to do so. > > Regards, > Ming > > On Wed, Oct 6, 2010 at 10:29 AM, Maunil Sanghavi > <maunilsanghavi at gmail.com> wrote: >> Hi, >> Is there anyway to disable multitasking at runtime? I have an iPad app that >> has multitasking so i want to compile it with 4.2, but if a user has 3.2 the >> app crashes because it cant find kCFStreamNetworkServiceTypeVoIP. >> Maunil >> >> _______________________________________________ >> 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 >> >> >