stream live video from IP Cams in iPhone SDK?

荒凉一梦 提交于 2019-12-23 02:51:03

问题


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. The format and encoding for the same is: MPEG4 RTSP/RTP but I dont know from where to start. 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.

UPDATE I found this from GITHUB but dont know How to implement it in my App.

Please help me by sample code or related app and suggest me to overcome this. thanks in Advance.


回答1:


I am adding some references for you - let me know if that helps.

Elsewhere people have said that iPhone doesn't support native RTSP.

However, one possible thing that works (since there many folks who are working in SO on this), is to use live HTTP.

Some resources from - https://developer.apple.com/streaming/

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

MPEG-TS Segments HTTP Live Streaming




回答2:


I've migrated ffmpeg & live555 to iOS, and has an app to accept MPEG4/H264 video stream from the IPcam.



来源:https://stackoverflow.com/questions/8019841/stream-live-video-from-ip-cams-in-iphone-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!