Quote:
Originally Posted by ajksail
Has any came across an effective and efficient means of streaming sound from an iphone, say for another iphone to link to. Blue tooth or via wi-fi?
|
Smart-*** reply: You are asking how to get a phone to send an audio stream to another phone? To paraphrase Mr. Alexander Graham Bell, "Come here Watson, I need to smack you upside the head!"
More useful reply: GameKit? It can handle invitations, voice comm, and data transfer between two or more "players" - and it handles the gritty details of WiFi / cellular / Bluetooth.
I guess it breaks down on your definition of "efficient". GK will simplify your coding (is that efficient?), but you could probably generate less network traffic (is that efficient?) if you asked Core Audio to hit the DSP's to turn your incoming audio stream into a compressed format. Lookup "Audio Queue Services Programming Guide" in the doc and you'll get lots of code samples for record & playback - just write to a network stream instead of a file stream.
One last bit of advice: never put "effective" as a specification without providing a fitness function. Well, unless the goal is p*** people off ... I mean, you have a device in your hands whose primary purpose is, and is already frequently used for, sending audio from pt A to another device at pt B, but that's clearly not "effective" enough for you!