Go to documentation repository
Page History
...
Request parameters:
Parameter | Is requiredRequired | Description |
---|---|---|
version | Yes | See Product version |
sessionid | No | Session ID |
video_in | Yes | Camera ID in the format "TYPE:ID", for example "CAM:1" |
command | Yes | Command to get video from archive: arc.play |
time_from | Yes | Start time of archive playing back |
time_to | No | Completion time of archive playing back (if parameter is not specified, all archive will play backplayback) |
imageWidth | No | Width in pixels (it is counted automatically with saving proportions if it isn't specified or equal 0) |
imageHeight | No | Height in pixels (it is counted automatically with saving proportions if it isn't specified or equal 0) |
fps | No | Maximal frame per second (if it isn't specified or equal 0, frame frequency won't be limited if) |
login | No | Intellect username, if set |
password | No | Intellect user password, if set |
speed_factor | No | Sets the playback speed. Values range from 0 to 32, fractional values are allowed in the range from 0.1 to 1.5. The value may be any integer or fractional number no less than 0. Examples of values: 0 – playback at the highest possible speed (depends on network bandwidth and disk load) 1 – play playback at normal speed x1 (default) 0.1 – slow motion playback at a speed of x1at x1/10 speed 2 – fast playback at x2 speed x2 |
format | No | Sets the response format (see General information on HTTP API) |
Request example:
GET http://127.0.0.1:8085/web2/secure/video/action.do?version=4.9.0.0&sessionid=29101F1&video_in=CAM:5&command=arc.play&time_from=2013-03-22T13:04:52.312+04:00&time_to=2013-03-22T13:16:31.873+04:00&login=USER&password=PASS&speed_factor=1
Response exampleResponse example:
End packet with newstate=closed and errcode=100 will be received when stream completion.
Info | ||
---|---|---|
| ||
The request can be executed through the web or in the VLC media player. |