temp
This commit is contained in:
parent
09ce42aeb6
commit
acfcbda026
@ -170,6 +170,8 @@ void RTMPManager::stream_loop(Camera cam, StreamType type)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!ctx->running.load())
|
||||||
|
break;
|
||||||
LOG_WARN("[RTMP] Reconnecting " + key + " in 1s...");
|
LOG_WARN("[RTMP] Reconnecting " + key + " in 1s...");
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(1));
|
std::this_thread::sleep_for(std::chrono::seconds(1));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user