Quote:
Originally Posted by spentak
|
Well hold off on the money for now, unless we decide to build this for you.
But I will give you some thoughts.
If you can get the assets from iTunes provided they are not FairPlay protected , what you want should not be too difficult.
You'll want to cache them either in whole or as a write behind cache as you read the stream. You mention iTunes as a requirement but if you could get the assets from a website it would be easier.
In any case I would suggest storing the cache in the documents directory.
You mention gamecenter,, but game center is useful only if you have some type of shared signon type app, I think what you really need is the game kit classes. which use bonjour and set up a point to point pan connection between the devices, if your thinking multicast then tcp over wifi would be a better option
We did this over a year ago with video so I'm thinking it wouldn't be much of a challenge for audio.
We had streaming rtsp and mms too.
"note as far as I known we used the term photo stream before apple" going back to 2007.
photostream - YouTube
1) locate and cache your assets
2) advertise the device via bonjour
3) open a pan or wifi connection to the target device
4) use stream io to "stream" the bytes from the cache to the other device.
5) use any of the audio api's to play the assets, audioQuue, openAL remoteIO etc.
We are starting a new development effort you might be interested in, join our Facebook page and we can discuss further. We are actively looking for new ideas to develop, or help people develop and share the revenue on the appstore.
The new 2012 version of Mooncatventures is here! - Life in The Clouds