MqttMgr::report_response_args(gMqttClient,consts::pub_topic_response+rid,-2,"no video found",js.contains(consts::kMsgCmd)?js[consts::kMsgCmd].as<string>():string(""),js.contains(consts::kMsgRid)?js[consts::kMsgRid].as<string>():string(""),data);
printf("matched (%lld, %lld) with offsets %lld, %lld:\n\t",tss,tse,offsetS,offsetE);
for(auto&k:res){
printf("%lld, ",k);
if(!isTsValid){
MqttMgr::report_response_args(gMqttClient,consts::pub_topic_response+rid,EV_MSG_ERROR_INVALID_PARAM,"time stamps errror. start <= end and both in millisecon or second format ",cmd,rid,data);
MqttMgr::report_response_args(gMqttClient,consts::pub_topic_response+rid,EV_MSG_ERROR_UNSUPPORTED_CMD,"there is hanging issue need to be fixed, before this command is available",cmd,rid,data);