• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iOS4: VOIP App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS4: VOIP App


  • Subject: Re: iOS4: VOIP App
  • From: Michael Ash <email@hidden>
  • Date: Fri, 2 Jul 2010 11:05:35 -0400

On Fri, Jul 2, 2010 at 6:49 AM, Angelica Grace Tanchico
<email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: iOS4: VOIP App
      • From: Shawn Erickson <email@hidden>
References: 
 >iOS4: VOIP App (From: Angelica Grace Tanchico <email@hidden>)

  • Prev by Date: Info.plist settings for Quick Look?
  • Next by Date: Bypass Network System Preferences for DNS lookup
  • Previous by thread: Re: iOS4: VOIP App
  • Next by thread: Re: iOS4: VOIP App
  • Index(es):
    • Date
    • Thread