Appendix D
CGI Commands
Snapshot
Method: | GET | |
URL: | http://<ip>/img/snapshot.cgi?[size=<value>][&quality=<value>] | |
|
|
|
Parameter |
| Value and description |
|
|
|
|
| Image resolution |
size |
| 1: 160x120 |
| 2: 320x240 | |
|
| |
|
| 3: 640x480 |
|
|
|
|
| Quality level |
|
| 1: Very high |
quality |
| 2: High |
| 3: Normal | |
|
| |
|
| 4: Low |
|
| 5: Very low |
|
|
|
Snapshot (continued)
Example 1: To snapshot a 640x480 very high quality JPEG image from network Camera 192.168.0.99,
http://192.168.0.99/img/snapshot.cgi?size=3&quality=1
Example 2: To snapshot a JPEG image from network Camera 192.168.0.99 (with current resolution and quality),
http://192.168.0.99/img/snapshot.cgi
Example 3: To snapshot a low quality JPEG image with current resolution from the network Camera 192.168.0.99,
http://192.168.0.99/img/snapshot.cgi?quality=4
Return: | A JPEG image is returned to the client with the user specified resolution and quality. |
HTTP/1.0 200 OK\r\n
…
…
<JPEG image data>
SDP (MPEG-4 video only, not for MJPEG video)
Method: | GET |
URL: | http://<ip>/img/media.sdp |
Return: | A SDP file is returned. |
HTTP/1.0 200 OK\r\n
…
<SDP data>
RTP/RTSP (MPEG-4 video only, not for MJPEG video)
The user can stream video and audio through the following URLs.
Video and audio: | rtsp://<ip>/img/media.sav |
Video only: | rtsp://<ip>/img/video.sav |
Audio only: | rtsp://<ip>/img/audio.sav |
29 |