简体   繁体   English

在iPhone SDK中从IP摄像头流媒体直播视频?

[英]stream live video from IP Cams in iPhone SDK?

I have to develop plug-in module which will allow us to stream live video from IP Cams if the IP of the cameras are available. 我必须开发一个插件模块,如果摄像机的IP可用,该模块将允许我们从IP摄像机流式传输实时视频。 The format and encoding for the same is: MPEG4 RTSP/RTP but I dont know from where to start. 相同的格式和编码是:MPEG4 RTSP / RTP,但我不知道从哪里开始。 I have search in many site, unable to find any thing related. 我在许多站点中搜索,找不到任何相关的东西。 while browsing the Apples doc's, I found AVFoundation is used to stream live video from IP Cam's. 在浏览苹果文档时,我发现AVFoundation用于流式传输IP Cam的实时视频。

UPDATE I found this from GITHUB but dont know How to implement it in my App. 更新我从GITHUB找到了这个 ,但是不知道如何在我的App中实现它。

Please help me by sample code or related app and suggest me to overcome this. 请通过示例代码或相关应用帮助我,并建议我克服这一问题。 thanks in Advance. 提前致谢。

I am adding some references for you - let me know if that helps. 我正在为您添加一些参考-如果有帮助,请告诉我。

Elsewhere people have said that iPhone doesn't support native RTSP. 在其他地方,人们曾说过 iPhone不支持本地RTSP。

However, one possible thing that works (since there many folks who are working in SO on this), is to use live HTTP. 但是,一种可行的方法(因为有许多人正在从事此工作)是使用实时HTTP。

Some resources from - https://developer.apple.com/streaming/ 来自-https://developer.apple.com/streaming/的一些资源

https://tools.ietf.org/html/draft-pantos-http-live-streaming-07 https://tools.ietf.org/html/draft-pantos-http-live-streaming-07

MPEG-TS Segments HTTP Live Streaming MPEG-TS分段HTTP实时流

我已经将ffmpeg和live555迁移到iOS,并且有一个应用程序可以接受来自IPcam的MPEG4 / H264视频流。

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

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