GET
http://example.com:[port]/getliveurl?cameraid=1
Returns rtsp URL of “live” video stream for the specified camera.
Example:
GET http://192.168.15.182:8095/getliveurl?cameraid=1
Response
{
"rtspurl": "rtsp://device-address/somelivemediastream0"
}
GET
http://example.com:[port]/getarchiveurl?cameraid=1&fromdatetime=2014-10-01T00:00:00&todatetime=2014-10-01T01:20:05
Returns rtsp URL of archive video stream received from video encoder for the specified camera starting from FromDateTime (and, optionally, ending at endDateTime).
Example:
GET http://192.168.15.182:8095/getarchiveurl?cameraid=1&fromdatetime=2014-10-01T00:00:00&todatetime=2014-10-01T01:20:05
Response
{
"rtspurl": "rtsp://deviceladdress/somearchivemediastream?somedatetimetoken"
}