Go to documentation repository
GetArchiveURL − returns rtsp URL of archive video stream received from video encoder for the specified camera starting from FromDateTime (and, optionally, ending at endDatetime).
GET http://IP-address:port/getarchiveurl?cameraid={cameraid}&fromdatetime={fromdatetime}&todatetime={todatetime}
Parameter | Is required | Description |
---|---|---|
cameraid | Yes | Camera ID |
fromdatetime | Yes | Start time of the archive fragment in the format YYYY-MM-DDTHH:MM:SS |
todatetime | No | End time of the archive fragment in the format YYYY-MM-DDTHH:MM:SS (if not specified, the entire archive will be given until the last record) |
GET http://127.0.0.1:80/getarchiveurl?cameraid=1&fromdatetime=2024-10-01T00:00:00&todatetime=2024-10-01T01:20:05
{ "rtspurl": "rtsp://deviceladdress/somearchivemediastream?somedatetimetoken" }