The Foscam C2M IP camera is a 2MP indoor security IP Camera. The camera can be interfaced via a CGI API. This page report some of the known CGI commands. Each command has been tested, if you think some are missing, please contact me, I'll update the page.
In the following, we assume
The simplest command to test is getting a snapshot from the camera. The camera send a JPG image to the browser. Note that the default HHTP port is 88.
http://<IP of the camera>:<HTTP port>/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>
This command returns a 2 mega pixels image (resolution = 1920 x 1080 pixels). Here is an example of snapshoot:
The second command is for getting live video stream. It seems this camera can't provide video stream for browser. The only option is to retreive the rtsp stream, for example in VLC :
rtsp://<username>:<password>@<IP of the camera>:<HTTP port>/videoMain
This command returns a 1920 x 1080 pixel live video stream. Here is a video of the result in VLC: