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.
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
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