Cisco WVC80N User Guide - Page 29

Appendix D: Common Gateway Interface (CGI) Commands, Overview - ip camera

Page 29 highlights

Appendix D CGI Commands 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: Return: http:///img/video.asf or http:///img/video.asx (Windows Vista) A "video.asf" file is returned through the HTTP protocol. HTTP/1.0 200 OK\r\n ... content-type: application/octet-stream\r\n ... Stream M-JPEG Video HTML page for the end user Method: GET URL: http:///img/mjpeg.htm Return: HTTP/1.0 200 OK\r\n ... content-type: text/html\r\n ... http:///img/video.mjpeg ... Wireless-N Internet Home Monitoring Camera 28

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

Appendix D
CGI Commands
28
Wireless-N Internet Home Monitoring Camera
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