IP Camera implementation in Android(View live video from IP Camera)

Raghu picture Raghu · Feb 22, 2010 · Viewed 10.6k times · Source

I have a requirement to implement IP camera's for my client's Organization(May be 5 or more). I need to provide facility to view these camera's preview in their Android mobiles. I found an application already available in Android Market(IP Cam Viewer) and it is what exactly my Client asking.

Can anyone suggest me the best IP camera(It should be operated by their mobile i.e moving it up and down, as well as left and right)?

And how can I implement this functionality in Android(i.e Viewing live video from the IP Camera)?

Thanks & Regards, Raghavendra K.

Answer

user1846891 picture user1846891 · Nov 24, 2012

If you until need theese info, for the ptz command some ip-cam - use cgi command like:

for example to change motion detection in my ip-cam: http://[address:port]/config/motion.cgi?enable=no

my ip cam haven't ptz but on google you can find cgi_command for your cam.

For the streaming i use a AsyncTask that connect to ipcam_address (every cam have a address+port+profile info specific) in my case with a mjpg stream and through a http session connect to camera stream.