tags:

views:

1030

answers:

3

Does the iphone sdk support playing mp4 files from RTMP streams? I am looking to store the files in CloudFront (in a bucket marked to stream) and would like to have an iphone app be able to play them. Is this possible, or am I better off storing the files as mp3 on CloudFront and not enabling streaming via RTMP?

A: 

Based on my research into a video app I did on iPod last month, iOS does not support streaming ANYTHING using RTMP. If I am mistaken, I would be thrilled to hear that.

Jordan Bigel
A: 

Please check the Wunder Radio application from iTunes. It is open source under LGPL license. The code is available from here - http://www.wunderradio.com/code.html

Sagar
+2  A: 

No. The iOS SDK does not support the RTSP protocol. You may be allowed to include an implementation of RTSP into your app, but Apple is strongly pushing their HTTP streaming technique. Also: beware of this rule from section 9.4 of the developer guidelines:

Video streaming content over a cellular network longer than 10 minutes must use HTTP Live Streaming and include a baseline 64 kbps audio-only HTTP Live stream

I believe everyone is using Apple's HTTP Streaming technology. It is the supported and blessed approach.

Dave