| | |
| | | using namespace std; |
| | | |
| | | devHttpServer_c::devHttpServer_c() |
| | | : _HttpSrvRetRecieve("0.0.0.0", 8083, 1), erlangDbTool(nullptr), m_SqliteFaceEncap("LocalDataDB"){ |
| | | : _HttpSrvRetRecieve("0.0.0.0", 8083, 1), erlangDbTool(nullptr), m_SqliteFaceEncap("LocalDataDB") { |
| | | init(); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | if (ret) { |
| | | //todo |
| | | //todo VideoToImageMulth |
| | | { |
| | | std::string topic = "cut_dura_edit"; |
| | | std::string msg = content; |
| | | std::string topic = "VideoToImageMulth"; |
| | | Json::Value json_cfg; |
| | | json_cfg["cut_dura_edit"] = content; |
| | | std::string msg = json_cfg.toStyledString(); |
| | | DBG("msg:" << msg); |
| | | nsqMsgProducer->Publish(topic, (void *) (&msg)); |
| | | } |