简体   繁体   English

实时视频流,如何在iPhone上播放?

[英]Live video streaming, how to play it on iPhone?

I am wondering what is available to play live video feed on my iPhone, in a developer way. 我想知道以开发人员的方式可以在iPhone上播放实时视频供稿。 Few apps exists and play live stream like : 很少有应用程序可以像这样播放实时流:

http://qik.com/ http://qik.com/
http://www.ustream.tv http://www.ustream.tv
http://orb.com/en/orblive http://orb.com/en/orblive

Do you have an idea how they achieve this ? 您是否知道他们如何实现这一目标?

Thanks a lot. 非常感谢。

Thierry 蒂埃里

iPhone 3.0 software includes new APIs for video streaming. iPhone 3.0软件包括用于视频流的新API。 Unfortunately, it's under NDA at the moment, so no one can really talk about it on these forums. 不幸的是,它目前在NDA之下,因此没有人可以在这些论坛上真正谈论它。

我们必须将实时流编码为HLS formate,例如iOS中的.m3u8,mp4和任何其他HLS支持formate.Apple没有批准没有HLS formate的实时流。您可以使用wowza媒体服务器将服务器URL编码为HLS formate支持iOS,然后可以通过iOS中的MPMoviePlayerController播放它。

I did worked on the live video streaming. 我确实从事实时视频流的工作。 Unfortunately, i didn't got any solution regarding this. 不幸的是,我对此没有任何解决方案。 Till the day apple don't have included the RTSP streaming support in its SDKs. 直到苹果没有在其SDK中包含RTSP流支持。 So for now their is not any solution for Live video streaming, may be we may have some in future. 因此,就目前而言,他们对实时视频流还没有任何解决方案,也许我们将来会有所解决。

You can migrate ffmpeg & live555 to iOS to achieve live video streaming on iOS. 您可以将ffmpeg和live555迁移到iOS,以在iOS上实现实时视频流。

Here is an open source project: https://github.com/dropcam/dropcam_for_iphone 这是一个开源项目: https : //github.com/dropcam/dropcam_for_iphone

In fact, I've tries to migrate ffmpeg 0.6 and live555 to iOS, and made a simple video streaming app. 实际上,我已经尝试将ffmpeg 0.6和live555迁移到iOS,并制作了一个简单的视频流应用程序。 It's totally feasible. 这是完全可行的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM