The method and parameters
With the Stream.Dvr.Ranges method, you can get DVR ranges of each stream where recording is enabled.
string Stream.Dvr.Ranges(CamerasObject cameras, unsigned ttl)
The parameters
CamerasObject cameras required – the list of cameras
unsigned ttl – the time during which the range is available. When 0 is set, the duration is unlimited.
|
POST /api/ |
|
200 |
|
A list of objects specifying the start and end of stream archive segments JSON
|
|
400 |
|
The JSON-RPC error JSON
|
|
500 |
|
The server error |