Cisco Systems WVC80N Home Security System User Manual


 
Appendix D
CGI Commands
28
Wireless-N Internet Home Monitoring Camera
Appendix D
Appendix D:
Common Gateway Interface (CGI) Commands
Overview
CGI (Common Gateway Interface) is a simple method to send or receive data from a program or application through a web
interface. The WVC80N supports a multitude of CGI commands that can be passed to it via HTTP from your client PC or mobile
phone. This will allow you to perform basic functions such as view the camera’s video stream, capture a snapshot or retrieve the
camera’s status information. This appendix details all the supported CGI commands for this camera.
NOTE: Using CGI commands is only recommended for advanced users.
User-Level CGI Commands (User level privilege)
Video and Image commands
Stream MPEG-4 Video and Audio
Method: GET
URL: http://<ip>/img/video.asf or http://<ip>/img/video.asx (Windows Vista)
Return: A “video.asf” file is returned through the HTTP protocol.
HTTP/1.0 200 OK\r\n
content-type: application/octet-stream\r\n
<MPEG-4 video data>
Stream M-JPEG Video
HTML page for the end user
Method: GET
URL: http://<ip>/img/mjpeg.htm
Return:
HTTP/1.0 200 OK\r\n
content-type: text/html\r\n
http://<ip>/img/video.mjpeg