Does the iphone sdk support playing an mp4 from rtmp stream?

Jim Geurts picture Jim Geurts · Feb 2, 2010 · Viewed 7.9k times · Source

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?

Answer

Dave picture Dave · Oct 5, 2010

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.