Re: [RAA] realtime audio data transfer between two iOS devices
Re: [RAA] realtime audio data transfer between two iOS devices
- Subject: Re: [RAA] realtime audio data transfer between two iOS devices
- From: Jens Alfke <email@hidden>
- Date: Wed, 29 May 2013 09:24:13 -0700
On May 29, 2013, at 1:06 AM, Rufat A. Abdullayev <email@hidden> wrote:
> Could you pls help me. I browsed a lot but could not find real answer
What types of search keywords did you use?
> I'm implementing Voice over IP application. I'm getting output from mic on one iPhone and I would like to send that data in real time to another device (or may be some other device in group chat).
This is a big topic. There are many protocols and frameworks, and many books written about it. You’re not going to get any simple answer.
Issues include:
* Discovery of the other device’s IP address (Bonjour works locally; at wider range you need some kind of server)
* Making a direct P2P connection to a device behind a NAT or firewall
* Using UDP for streaming (TCP is usually inappropriate, because packet loss is OK but latency isn’t)
* Voice-oriented data compression algorithms
* Real-time low-latency audio recording and playback
* Echo cancellation (this is a must unless both sides are using headphones)
Google’s libJingle might be a good place to start <https://developers.google.com/talk/libjingle/>
—Jens
_______________________________________________
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