Keep iOS awake in the background for SIP over UDP

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

 



Hi Martin,

| ... The trick seems to be to 
| use the 10 seconds granted by iOS upon incoming data received 
| through the VOIP TCP socket: when the app is woken up by such a 
| signal, let it wait for about 9 seconds, send a response to the 
| server, and go to sleep, only to be awoken immediately by the 
| server's response coming in through the socket; then again wait for 
| 9 seconds etc. (the most elaborate description I found is here: 
| http://stackoverflow.com/a/7393083)

Do you know about "SBUnsuspendLimit"?

iOS 5 or later will kill your app if it is woken up more then 15 times in 
300 seconds.

So I would stick to TCP on iOS. ;)

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