Go to documentation repository
Documentation for Intellect 4.10.4. Documentation for other versions of Intellect is available too.
Previous page Next page
http://example.com:[port]/web2/secure/video/image.jpg?cam.id=1&version=4.7.8.0
Parameters:
cam.id – required. Camera ID.
width – optional. Value can be in [64, 1600] range. Server automatically rounds width to larger value divisible by 4.
height – optional. Value can be in [30, 1200] range.
version – optional. client version (for protocol exchange). It's required to send "4.7.8.0" value now.
login – optional. Login;
password – optional. If password access is set.
Size of returned image is taken from video stream if width and height parameters are not set.
Returned value:
jpeg image of approximately requested size.
In case of error the http error code is returned:
404 – camera disabled or not in use (disabled);
403 – invalid password;
426 – old client version;
429 – too many requests;
444 – camera signal is lost or camera disabled (coaxial conductor disconnected from card);
503 – archive error.
Example:
Get image from camera 5, width is approximately 85 pixels:
http://localhost:8079/web2/secure/video/image.jpg?cam.id=5&width=85&version=4.7.8.0&login=username&password=secret
Jpg image of width 88 pixels or error code and zero length body (i.e. only headings) will be received in reply).