How to Disable Background Support

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

 



| I am trying to figure out how to disable background support in PJSIP
| 1.12 .. I read that I can do this at runtime or at compile time.

Why don't you just remove the UIBackgroundModes Keys (voip and audio) from 
your info.plist?

This way you don't have to fiddle around with PJSIP options. When you want 
to turn on background support in the future, you just add the info.plist 
keys and you're done.

| For the runtime way.. I could not find and PJSUA API that allow me to 
disable BG?? am I missing something..

Maybe this is what you're looking for:

        pj_activesock_enable_iphone_os_bg(PJ_FALSE);

It is declared in activesock.h.

Good luck,
Sebastian.




[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