开发者

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

Does the iphon开发者_如何学Goe 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?


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.


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜