提交 9a89272c authored 作者: blu's avatar blu

big refacting of communitation architect

上级 a470d957
......@@ -86,9 +86,9 @@ query configuration for edge device with specified sn
set or change configuration for edge device
##### params
- none
##### return
##### body
- type: json
- example:
- example
```
{
"data":{
......@@ -156,6 +156,12 @@ set or change configuration for edge device
"lastupdated":1567669674
}
```
##### return
- type: json
- example:
```
{"code": 0, "msg":"ok", "data":JSON}
```
#### GET /keys
##### description
......
......@@ -199,7 +199,6 @@ private:
}else{
this->peerData["config"][k] = v;
}
// TODO: trigger msg
} // for evmgr
......
......@@ -359,13 +359,13 @@ protected:
spdlog::error("evslicer {} could not open output file {}", selfId, name);
}
}
av_dict_set(&pOptsRemux, "segment_start_number", to_string(segHead).data(), 0);
av_dict_set(&pOptsRemux, "segment_start_number", to_string(segHead+1).data(), 0);
ret = avformat_write_header(pAVFormatRemux, &pOptsRemux);
if (ret < 0) {
spdlog::error("evslicer {} error occurred when opening output file", selfId);
}
spdlog::info("evslicer {} writing new slice {}", selfId, name.c_str());
spdlog::info("evslicer {} start writing new slices", selfId);
int pktIgnore = 0;
while(true) {
int ret =zmq_msg_init(&msg);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论