Go to documentation repository
Page History
General request format:
First way
GET
Method 1
http://example.com:[port]IP-address:port/web2/secure/video/image.jpg?cam.id=1&version=4.7.8.0Parameters:
cam.id – required. Camera ID.
width – optional. {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
GET 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 |
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.
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 |
Request example:
First way
GET http://127.0.0.1:8085Example:
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=usernameUSER&password=secret
Jpg image of width 88 pixels or error code and zero length body (i.e. only headings) will be received in reply).
Method 2
PASS
Second way
GET http://example.com:[port]127.0.0.1:8085/web2/secure/video/action.do?version=4.9.0.0&command=frame.video&video_in=CAM:1&imageWidth=400&imageHeight=200
cam.id – camera ID.
sessionid – any value.
imageWidth – requested frame width.
imageHeight – requested frame height.
Example:
Receive a frame from Camera 1 with a height of 400 pixels.
Response example:
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.http://192.168.0.79:8085/web2/secure/video/action.do?version=4.9.0.0&command=frame.video&video_in=CAM:1&imageWidth=400