Go to documentation repository
Page History
General request format:
First way
http://IP-address:port/web2/secure/video/image.jpg?cam.id={cam.id}&width={width}&height={height}&version={version}&login={login}&password={password}
Request parameters:
Parameter | Is required | Description |
---|---|---|
cam.id | Yes | Camera ID |
width | No | Value can be in [64, 1600] range. Server automatically rounds width to larger value divisible by 4 Size of returned image is taken from video stream if width parameter are not set. |
height | No | Value can be in [30, 1200] range. Size of returned image is taken from video stream if height parameter are not set. |
version | No | See Product version |
login | No | Intellect username, if set |
password | No | Intellect user password, if set |
Second way
http://IP-address:port/web2/secure/video/action.do?version={version}&command=frame.video&video_in={video_in}&imageWidth={imageWidth}&imageHeight={imageHeight}&login={login}&password={password}
Request parameters:
Parameter | Is required | Description |
---|---|---|
version | No | See Product version |
video_in | Yes | Camera ID in the format "TYPE:ID", for example "CAM:1" |
imageWidth | No | Value can be in [64, 1600] range. Server automatically rounds width to larger value divisible by 4 Size of returned image is taken from video stream if width parameter are not set. |
imageHeight | No | Value can be in [30, 1200] range. Size of returned image is taken from video stream if height parameter are not set. |
login | No | Intellect username, if set |
password | No | Intellect user password, if set |
Example request:
First way
http://127.0.0.1:8085/web2/secure/video/image.jpg?cam.id=5&width=85&version=4.7.8.0&login=USER&password=PASS
Second way
http://127.0.0.1:8085/web2/secure/video/action.do?version=4.9.0.0&command=frame.video&video_in=CAM:1&imageWidth=400
Example response:
Jpg image of approximately requested size or error code and zero length body (i.e. only headings) will be received in reply.
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.