CBC (America) www.computarganz.com
48
USER MANUAL
To incorporate the video container in the userʼs html page, the user should add
the following line in the body of the page:
<iframe
src="http://200.168.1.10/"width="800"height="600"marginheight="0"marginwidth="0"scrolling="
no">
</iframe>
where parameters width and height specify the image size requested from the
camera.
HTTP JPEG Image Request Format
IMPORTANT: COMPLETE SET OF HTTP REQUESTS DESCRIBED IN THIS
DOCUMENT IS SUPPORTED FOR FIRMWARE VERSIONS 61430 AND ABOVE. IF
YOU HAVE MP CAMERA WITH LOWER FIRMWARE VERSION CONTACT CBC
(America) Corp. FOR A FIRMWARE UPGRADE.
The individual image can be requested from MP cameras by using the following
HTTP request format:
HTTP://ip̲address/image?res=resolution̲value&x0=X0&y0=Y0&x1=X1&y1=Y1
&quality=quality̲value&doublescan=doublescan̲value&id=value
where
•
res
can have value of either full or half and specifies whether camera
should decimate the image by a factor of 2 in each direction;
•
X0, Y0, X1, Y1
are the left, top, right and bottom coordinates of the
requested image window, respectively. These values can not exceed the
size of the image sensor array for the specific camera;
•
quality
is the compression quality of the jpeg image with the range from 1
to 20;
•
doublescan
is the parameter that allows the user to specify whether the
camera should delay the image output until the new image is available
(doublescan = 0) or the image request should be serviced by outputting
the content of the image buffer that was already once output (useful for
picture-in-picture display).
•
id
is the optional field that is ignored by the camera but may be set by the
user to a random value to force some browsers to display the new image.
The following example illustrates the request to camera with IP address
192.168.0.36 for the new full resolution 1600x1200 image with compression
quality 12: