replayAllEvents

Use the interface to replay all events.

Director Plus

Request Mode

POST/GET http://ip/V1.0/replay/replayAllEvents?endPolicy=4&times=2&timeInMin=0&transitionEffect=0&order=2

Request Data

Parameter Type Description
endPolicy Int End policy, 3: By replay duration, 4: By replay times
times Int Replay times, only taking effect when endPolicy is set to 4
timeInMin Int Replay duration, non-essential parameter, in minutes, only taking effect when endPolicy is set to 3
transitionEffect Int Transition effect. 0: Cut; 1: Fade
order Int Replay order. 0: Newest to oldest; 1: Oldest to newest

Response Body

HTTP Status Code

Director One / Director Mini

Request Mode

POST/GET http://ip/V1.0/replay/replayAllEvents?playStyle=1&endPolicy=1&timeInMin=0

Request Data

Parameter Type Description
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)
endPolicy Int End policy, non-essential parameter, using the default settings
0: Stop replay, only taking effect for replaying more than 1 event
1: Loop replay, only taking effect for replaying more than 1 event
3: Loop replay for a duration, only taking effect for replay more than 1 event
timeInMin Int Duration, non-essential parameter, in minutes, only taking effect when endPolicy is set to 3

Response Body

HTTP Status Code

results matching ""

    No results matching ""