• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Streaming AAC audio from a RTSP source
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Streaming AAC audio from a RTSP source


  • Subject: Re: Streaming AAC audio from a RTSP source
  • From: Kevin Dixon <email@hidden>
  • Date: Tue, 24 Jul 2012 14:20:47 -0700

iOS on ARM uses little-endian. So if your data is in that format, I
expect you should be fine. Best of luck slipping that data into the
AudioFileStream call

-Kevin

On Sun, Jul 22, 2012 at 4:54 PM, Frank Vernon <email@hidden> wrote:
> Hi-
>
> I'm looking for some advice on playing streaming AAC audio via RTSP on iOS from a webcam. Hopefully someone has done this before and can point out my mistake. I have been successfully using the RTSP support in the Live555 libraries with uLaw encoded audio for some time and am now trying to do the same for AAC on a different camera.
>
> I am attempting to do this via the iOS Audio File Stream APIs (AudioFileStreamOpen/AudioFileStreamParseBytes). First, can anyone tell me if this is the correct way to do this? I assume once I receive the AAC frames from the Live555 RTSP sink class that the data still needs to be parsed to AAC packets and that the audio file stream API is the way to do that.
>
> Unfortunately, AudioFileStreamParseBytes is not correctly finding AAC packets and/or properties in the data so I never get actual AAC packets to play. This is fairly frustrating as AudioFileStreamParseBytes does not generate any errors to let me know what I might be doing wrong. Can anyone point me ways to debug this?
>
> I am assuming that the data from the Live555 utility routine parseGeneralConfigStr is returning the so-called Magic Cookie data that AAC decoders need. As this is apparently stripped out of the stream early by the Live555 libraries and iOS Audio File Stream APIs expect to find it in the stream how do I hand this off to iOS Audio File Stream APIs?
>
> Are there any byte order issues I need to address for the ARM platform when handing off the data from the RTSP stream to the Audio File Stream APIs?
>
> Thanks-
> Frank Vernon
>
>
>  _______________________________________________
> 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

References: 
 >Streaming AAC audio from a RTSP source (From: Frank Vernon <email@hidden>)

  • Prev by Date: current play position
  • Next by Date: Re: How do you pause, stop and reset an AUFilePlayer in IOS5?
  • Previous by thread: Streaming AAC audio from a RTSP source
  • Next by thread: Audiograph fileRegion.mCompletionProc
  • Index(es):
    • Date
    • Thread