Re: [iPhone] Network connection between 2 iPhones-Can GKVoiceChat be my solution?
Re: [iPhone] Network connection between 2 iPhones-Can GKVoiceChat be my solution?
- Subject: Re: [iPhone] Network connection between 2 iPhones-Can GKVoiceChat be my solution?
- From: Luke the Hiesterman <email@hidden>
- Date: Tue, 14 Jul 2009 16:03:21 -0700
On Jul 14, 2009, at 3:59 PM, Roland King wrote:
Sent from my iPhone
On 15-Jul-2009, at 2:47, Luke the Hiesterman <email@hidden>
wrote:
Comments inline.
On Jul 13, 2009, at 10:29 PM, James Lin wrote:
When using voice chat, the connection is entirely handled by your
code. The voice chat service simply handles the audio input and
output and packetizing of the audio for transmission and receipt.
The connection and sending is all your
That's not entirely true if I understand correctly. When a new voice
chat is initiated the setup data is transmitted by your own code
which is responsible for finding, connecting to and sending to the
other device.
However once that setup is done, the audio sending is handled by the
voice service code which sets up its own connection directly. Only
if it's unable to do that (firewall etc) does it fall back to asking
your client code to send each voice packet by calling the realtime
method.
In either case, the hard work is in setting up the connection, which
you have to do, and there's no support for arbitrary data.
Luke
_______________________________________________
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