replayEvent

Use the interface to replay an event.

Director Plus

Request Mode

POST/GET http://ip/V1.0/replay/replayEvent?replayRecordId=23&playStyle=1&replayLenIndexList=[0,1,2,3]

Request Data

Parameter Type Description
replayRecordId Int The event ID, non-essential. If it is not carried, it means to replay the last event.
playStyle Int Replay mode. 1: Sequential replay 2: Multi-view replay
replayLenIndexList List Replay camera index, separated by commas. 0: Replay camera 1, 1: Replay camera 2, 2: Replay camera 3, 3: Replay camera 4.
A maximum of 4 values can be entered, and the numbers must not be duplicated.
Non-essential parameter. If left blank, all cameras will be replayed. The order of the numbers determines the sequence for sequential replay and the layout for multi-view replay.

Response Body

HTTP Status Code

Director One / Director Mini

Request Mode

POST/GET http://ip/V1.0/replay/replayEvent?replayRecordId=23&playStyle=1

Request Data

Parameter Type Description
replayRecordId Int The event ID, non-essential. If it is not carried, it means to replay the last event.
playStyle Int Replay mode, non-essential parameter, which only taking effect for dual-camera replay, and the default value is -1
0: Cam 1 only
1: Cam 2 only
2: Cam 2 first, then Cam 2
3: Cam 2 first, then Cam 1
4: Side-by-side (Cam 1 & 2)
5: Side-by-side (Cam 2 & 1)

Response Body

HTTP Status Code

results matching ""

    No results matching ""