ios H.264 over RTP/RTSP (iPhone)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6691147/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 20:45:22  来源:igfitidea点击:

H.264 over RTP/RTSP (iPhone)

iphoneiosh.264rtp

提问by arun

Is it possible to view video stream (H.264 live feed) over RTP/RTSP in iPhone natively? If not, is it possible to write an application for this purpose?

是否可以在 iPhone 中通过 RTP/RTSP 本地查看视频流(H.264 实时馈送)?如果没有,是否可以为此目的编写应用程序?

回答by Grodriguez

Sure it is possible, in fact others have done it already, see e.g. IPVision from TTrix.

当然这是可能的,事实上其他人已经做到了,例如参见TTrix 的 IPVision

Seems that the Live555 librariescan be compiled for iOS. See this SO question:

似乎可以为 iOS 编译Live555 库。看到这个问题:

回答by ciphor

Sure it is possible now. Previously, RTSP is not allowed in AppStore, though someone migrated VLC to iPhone, but that app is removed from AppStore, you can only install it via jailbreak. Now Apple doesn't insist this rule any more, so you can write RTSP player on iPhone as you will. In face, I've done this a few months ago, migrating ffmpeg & live555 to iOS and make an app, absolutely feasible!

当然现在是可能的。以前在AppStore是不允许RTSP的,虽然有人把VLC移植到了iPhone上,但是那个应用已经从AppStore下架了,只能越狱安装。现在苹果不再坚持这个规则,所以你可以在 iPhone 上随意编写 RTSP 播放器。面对面,几个月前我已经这样做了,将 ffmpeg & live555 迁移到 iOS 并制作一个应用程序,绝对可行!