JSON message about the capability of history video analysis task information
{
"tasksNum":1,
/*required, int, number of tasks supported by the device*/
"taskIDLen":{
/*required, string, task ID, the maximum size is 64 bytes*/
"@min":64,
"@max":64
},
"engine":{
/*required, int, engine ID which is used to distinguish models running in different engines*/
"@opt":[1,2,3,4]
},
"channel":{
/*required, int, device channel No. which is the video analysis channel No. of the device*/
"@opt":[1,2]
},
"frameRate":{
/*required, int, detection frame rate during protocol transmission is the actual frame rate multiplying 100*/
"@opt":[2500,3000]
},
"alertInterval":{
/*optional, float, alarm interval. When it is 1, it means once each second; when it is 0.2, it meas twice each second*/
"opt":[1,0.5]
},
"status":{
/*required, int, status information: 0 (not executed), 1 (executing), 2 (executing exception), 3 (waiting)*/
"@opt":[0,1,2,3]
},
"maxRelChannelNum":2,
/*optional, int, maximum number of linked channels supported by one history video task*/
"drawFrame":1
/*optional, int, whether it supports the server sending the history stream to extract frames: 1-support, 0-not support*/
}