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
Hi Maunil,
Unfortunately at the moment, PJSIP doesn't have the feature to disable
multitasking at runtime, however you can visit Apple's doc:
"Determining Whether Multitasking Support is Available"
to do so.
Regards,
Ming
On Wed, Oct 6, 2010 at 10:29 AM, Maunil Sanghavi
maunilsanghavi@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Maunil,
You should be able to compile it without iOS backgrounding support by
including the line
#define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT 0
in your site_config.h, as far as I can tell based on the PJSIP config.
Tell me if that works.
Cheers,
Dan
On Wed, Oct 6, 2010 at 1:58 PM, Ming ming@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:
"Determining Whether Multitasking Support is Available"
to do so.
Regards,
Ming
On Wed, Oct 6, 2010 at 10:29 AM, Maunil Sanghavi
maunilsanghavi@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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@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:
"Determining Whether Multitasking Support is Available"
to do so.
Regards,
Ming
On Wed, Oct 6, 2010 at 10:29 AM, Maunil Sanghavi
maunilsanghavi@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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@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@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:
"Determining Whether Multitasking Support is Available"
to do so.
Regards,
Ming
On Wed, Oct 6, 2010 at 10:29 AM, Maunil Sanghavi
maunilsanghavi@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Hi Maunil,
Unfortunately, the activesock pointer is not accessible from a
high-level library such as pjsua so you will probably need to dig into
pjsip's sip_transport_tcp to make the modification.
Regards,
Ming
On Thu, Oct 7, 2010 at 6:50 AM, Maunil Sanghavi
maunilsanghavi@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@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@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:
"Determining Whether Multitasking Support is Available"
to do so.
Regards,
Ming
On Wed, Oct 6, 2010 at 10:29 AM, Maunil Sanghavi
maunilsanghavi@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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@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@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@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:
"Determining Whether Multitasking Support is Available"
to do so.
Regards,
Ming
On Wed, Oct 6, 2010 at 10:29 AM, Maunil Sanghavi
maunilsanghavi@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Hi Ming,
You are a lifesaver! I assume you have to call this method before any
transports are created, is that right?
Thanks,
Maunil
On Mon, Oct 11, 2010 at 7:03 AM, Ming ming@teluu.com wrote:
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@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@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@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:
"Determining Whether Multitasking Support is Available"
to do so.
Regards,
Ming
On Wed, Oct 6, 2010 at 10:29 AM, Maunil Sanghavi
maunilsanghavi@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Yes, that's right.
On Tue, Oct 12, 2010 at 1:09 AM, Maunil Sanghavi
maunilsanghavi@gmail.com wrote:
Hi Ming,
You are a lifesaver! I assume you have to call this method before any
transports are created, is that right?
Thanks,
Maunil
On Mon, Oct 11, 2010 at 7:03 AM, Ming ming@teluu.com wrote:
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@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@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@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:
"Determining Whether Multitasking Support is Available"
to do so.
Regards,
Ming
On Wed, Oct 6, 2010 at 10:29 AM, Maunil Sanghavi
maunilsanghavi@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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org