Re: Audio Streaming with Cocoa
Re: Audio Streaming with Cocoa
- Subject: Re: Audio Streaming with Cocoa
- From: Bilel Mhedhbi <email@hidden>
- Date: Wed, 27 Oct 2010 10:51:05 +0100
Le 25 oct. 2010 à 23:48, Jean-Daniel Dupas a écrit :
>
> Le 26 oct. 2010 à 00:36, Uli Kusterer a écrit :
>
>> On 25.10.2010, at 16:10, Bilel Mhedhbi wrote:
>>> I want to practice and make my own radio player with Cocoa. I just want to know what are your ideas about how to get an audio stream across the internet (I already did something, but I want to know your ideas before I show it to you).
>>
>> CoreAudio and NSURLConnection?
>>
>> PS - don't bother showing me your code.
>
> Have a look at AudioFileStreamExample. Look like it show how to play a stream.
>
> http://developer.apple.com/library/mac/#samplecode/AudioFileStreamExample/Introduction/Intro.html
>
>
>
> -- Jean-Daniel
I finally found a very easy solution. I just pass the NSURL to a QTMovie, and the QTKit framework does everything.
Thanks!_______________________________________________
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