stream live video from IP Cams in iPhone SDK?

2019-06-05 18:10发布

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.

2条回答
Root(大扎)
2楼-- · 2019-06-05 18:42

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 - http://developer.apple.com/resources/http-streaming/

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

MPEG-TS Segments HTTP Live Streaming

查看更多
看我几分像从前
3楼-- · 2019-06-05 18:58

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

查看更多
登录 后发表回答