General request format:

GET http://IP-address:port/web2/secure/video/action.do?version={version}&sessionid={sessionid}&video_in={video_in}&command=arc.play&time_from={time_from}&time_to={time_to}&login={login}&password={password}&speed_factor={speed_factor}

Request parameters:

Parameter

Is required

Description

versionYes

See Product version

sessionidNoSession ID
video_inYesCamera ID in the format "TYPE:ID", for example "CAM:1"
commandYesCommand to get video from archive: arc.play
time_fromYesStart time of archive playing back
time_toNoCompletion time of archive playing back (if parameter is not specified, all archive will play back)
imageWidthNoWidth in pixels (is counted automatically with saving proportions if it isn't specified or equal 0)
imageHeightNoHeight in pixels (is counted automatically with saving proportions if it isn't specified or equal 0)
fpsNoMaximal frame per second (if it isn't specified or equal 0, frame frequency won't be limited if)
login NoIntellect username, if set
password NoIntellect user password, if set
speed_factorNo

Sets the playback speed. Values range from 0 to 32, fractional values are allowed in the range from 0.1 to 1.5.

Examples of values:

0 – playback at the highest possible speed

1 – play at normal speed x1 (default)

0.1 – slow motion playback at a speed of x1/10

2 – fast playback at speed x2

formatNoSets 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 example:

End packet with newstate=closed and errcode=100 will be received when stream completion.