Disable iOS Multitasking at runtime

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

 



Hi Maunil,

FYI, we have just added a feature to enable/disable iOS BG support
during runtime. For more info, please see ticket #1145:
http://trac.pjsip.org/repos/ticket/1145

Best regards,
Ming

On Thu, Oct 7, 2010 at 6:50 AM, Maunil Sanghavi
<maunilsanghavi at gmail.com> wrote:
> Hi Ming,
> How can I get a pointer to active socket that needs to be used for that
> function?
> Thanks
> Maunil
>
>
> On Tue, Oct 5, 2010 at 11:07 PM, Ming <ming at teluu.com> wrote:
>>
>> 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
>> >>
>> >>
>> >
>>
>> _______________________________________________
>> 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
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>



[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