Re: Play and Transcode AACP audio stream
Re: Play and Transcode AACP audio stream
- Subject: Re: Play and Transcode AACP audio stream
- From: William Stewart <email@hidden>
- Date: Tue, 1 Jun 2010 16:56:39 -0700
aacp is a layered codec, it sits on top of aach and the base layer of 'aac '
I suspect that what is happening is that we don't currently provide an aacp decoder, so that is failing. You should get a format list back from the file stream, and the list will contain the three AAC formats, so failing to find an aacp decoder, you can then look for an aach decoder. If that fails, look for the base layer.
Bill
On Jun 1, 2010, at 3:03 PM, Abhinav Tyagi wrote:
> My objective is to acquire data from online radio station and transcode it to uncompressed wave samples. Transcoding is essential as the audio needs to be played on another device which has limited processing power and memory and hence cant do much processing.
>
> I am able to hit mp3 radio station urls using NSURLConnection. Then I am Calling AudioFileStreamParseBytes() for the data received from theConnection. The parser then calls the MyPacketProc() callback that I have provided while creating AudioFilestreamID using the AudioFileStreamOpen().
>
> In case of mp3, I am able to meet the objective.
> But when i tried to hit the iTunes internet radio stations by taking the station url from the iTunes xml, the AudioFileStreamParseBytes() Api failed. I can see the logs for didReceiveData notification for the NSURLConnection that i created for getting data.
> After saving the data received to a disc file, TextEdit revealed that content as audio/aacp in th very begining of the file.
> The AudioFileStreamParseBytes fails when the aacp stream url is given.
>
> I expected aac is the Apple native so aacp audio streams should play easily compared to mp3 streams but the experience was totally different. Can anybody help me how to play and transcode the aacp streams???
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden