|
From: | Barbieri Davide |
Subject: | Re: [Linphone-developers] Cannot Receive Call in Background mode |
Date: | Thu, 18 Oct 2012 09:04:25 +0000 |
Play a silent audio streams in silent mode is an optimal solution to maintain UDP socket alive in background. Create a parallel audio session and set property “mixwithothers” and launch play every few seconds with a timer.
Other method is logging GPS position but in this context Apple will not permit you if it’s not necessary.
Davide Barbieri
From: linphone-developers-bounces+address@hidden
[mailto:linphone-developers-bounces+address@hidden On Behalf Of
Wei Eric
Dear Cheers,
Thank you for your reply. What if UDP is a must, is there any solution for this ?
I found some possible solutions shown as follows. 1. Client periodically registers to SIP Proxy within 3 mins. 2. Play audio streams when an app runs in background mode.
Any comments for this ?
Eric.W
On Wed, Oct 17, 2012 at 11:13 PM, Dario Fiumicello <address@hidden> wrote: Il 17/10/2012 16:06, Wei Eric ha scritto:
Hi, in iOS, as far as I know, UDP sockets are closed when phone goes to background. If you want to receive calls in background you should use SIP over TCP.
-- The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. |
[Prev in Thread] | Current Thread | [Next in Thread] |