replayFromSecondsAgo
Replay from N seconds before the end of replay buffer.
Director Plus
Address
/replay/replayFromSecondsAgo [seconds] [playStyle] [replayLenIndexList]
Arguments
| Type | Description | |
|---|---|---|
| argument 1 | Int | Second, ranging from 3 to 60 |
| argument 2 | Int | Replay mode, 1: Sequential replay, 2: Multi-view replay. Non-essential parameter, default value is 1. |
| argument 3 | String | Ordered list of replay cameras, non-essential parameter, only taking effect when playStyle has value, default value is all valid cameras. This parameter decides the order of sequential replay and the layout of multi-view replay. |
Example
Replay from 5 seconds before the end of replay buffer.
/replay/replayFromSecondsAgo 5
Replay from 5 seconds before the end of replay buffer, and replay all the cameras in multi-view layout.
/replay/replayFromSecondsAgo 5 2
Replay from 5 seconds before the end of replay buffer, and replay cameras 1/ 2/3 in sequential order.
/replay/replayFromSecondsAgo 5 1 [0,1,2]
Note: Floating point numbers will be rounded down.
/replay/replayFromSecondsAgo 1.9 = /replay/replayFromSecondsAgo 1
Director One/Director Mini
Address
/replay/replayFromSecondsAgo [seconds] [playStyle]
Arguments
| Type | Description | |
|---|---|---|
| argument 1 | Int | Second, ranging from 3 to 60 |
| argument 2 | Int | Replay mode, non-essential argument, 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) |
Example
Replay from 5 seconds before the end of replay buffer.
/replay/replayFromSecondsAgo 5
Note: Floating point numbers will be rounded down.
/replay/replayFromSecondsAgo 1.9 = /replay/replayFromSecondsAgo 1