[Live-devel] Problem with RTSP Audio

Steve McFarlin steve at stevemcfarlin.com
Tue May 17 16:26:37 PDT 2011


On May 17, 2011, at 3:37 PM, John McNamara wrote:

> Hi,
> 
> I have integrated Live555Media into an iPhone app and wish to play an audio (.ACC) file from our RTSP server ( rtsp://91.123.225.100:8554/channel1 .. this is live server publicly viewable  )
> 
> We are successfully handshaking with the server with DESCRIBE and PLAY commands and from the console can see loads of data coming through, problem is I’m new to all this and don’t really know how to read and process these packets and send to iPhone speakers.
>  
> Has anyone done this before and could help us?
> 
> All help is really appreciated.
> 
> Thanks,
> John
>  
> John McNamara,
> Sendmode.com
> Colab, LYIT,
> Letterkenny,
> Co. Donegal.
> t: 074 9116059
> m: 086 1524741
> w: www.sendmode.com
>  
> <image001.gif>
>  
>  
>  
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel


Hello John,

Your question is not appropriate for this list. I would recommend asking at stackoverflow.com.

Here is my response to your future stackoverflow question. Contact me directly if you want further information.

I have tested Live555 to both broadcast and receive audio and video on the iPhone. I do not recommend using it if you are going to be streaming AV in and out of the phone. It is not meant for this, and will only frustrate you trying to get it to work. You should be fine if all you need is to stream audio into the phone. WIth this said...

I am assuming you are streaming RTP packets with a single frame of AAC data. You need to push the packet payload into a FIFO. Then pull the AAC frames from the FIFO in the callback for an AudioQueue. You could also go down a level and use AudioUnits along with the AudioConverter services.

Thanks,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110517/8db216b2/attachment.html>


More information about the live-devel mailing list