提交 f13fb9fc authored 作者: blu's avatar blu

hostapd config

上级 8d8fb4d3
...@@ -300,7 +300,7 @@ protected: ...@@ -300,7 +300,7 @@ protected:
{ {
int ret = 0; int ret = 0;
AVDictionary * optsIn = nullptr; AVDictionary * optsIn = nullptr;
av_dict_set_int(&optsIn, "stimeout", (int64_t)(1000* 1000 * 1), 0); av_dict_set_int(&optsIn, "stimeout", (int64_t)(1000* 1000 * 3), 0);
string proto = urlIn.substr(0,4); string proto = urlIn.substr(0,4);
if(proto == "rtsp") { if(proto == "rtsp") {
av_dict_set(&optsIn, "rtsp_transport", "tcp", 0); av_dict_set(&optsIn, "rtsp_transport", "tcp", 0);
...@@ -505,7 +505,7 @@ public: ...@@ -505,7 +505,7 @@ public:
spdlog::info("evpuller {} receive config from daemon OK", selfId); spdlog::info("evpuller {} receive config from daemon OK", selfId);
init(); init();
spdlog::info("evpuller {} init OK", selfId); spdlog::info("evpuller {} init OK", selfId);
thEdgeMsgHandler = thread([this] { thEdgeMsgHandler = thread([this] {
while(true) while(true)
{ {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论