On Fri, Jul 2, 2010 at 6:49 AM, Angelica Grace Tanchico
<atanch...@live.com> wrote:
>
>
> Hello Again,
>
> As stated in iPhone App Programming Guide Document, below are the interfaces 
> that can be used to configure VOIP:
> - NSInputStream and NSOutputStream
> - NSURLRequest
> - CFReadStreamRef and CFWriteStreamRef
>
> I just want to clarify if the first two options can support only TCP 
> connection? Or is UDP possible?
> I already tried CFReadStreamRef and CFWriteStreamRef and they support TCP. I 
> don't know if it is
> possible for UDP connection (for CFReadStreamRef and CFWriteStreamRef). Is it 
> possible?
>
> I need to know this since my VOIP app uses UDP connection. But I need to 
> support multitasking
> feature on iOS4. Is this possible without changing its sockets UDP connection?

My understanding is that you MUST use TCP and an NSStream for your
"control" connection, that is the connection that you use to
rendezvous with the server, send keepalives, get notices of incoming
calls, etc. However, for the actual call itself, you'll have an audio
session keeping you alive and therefore can use UDP and plain sockets
for the call.

Mike
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to