temp
This commit is contained in:
parent
b011f97d47
commit
a11ffc5564
@ -107,7 +107,7 @@ RTMPManager::StreamResultInfo RTMPManager::start_camera(const Camera &cam, Strea
|
||||
|
||||
ctx_ptr->thread = std::thread([cam, type, ctx_ptr]() { RTMPManager::stream_loop(cam, type, ctx_ptr); });
|
||||
|
||||
if (fut.wait_for(std::chrono::seconds(5)) == std::future_status::ready)
|
||||
if (fut.wait_for(std::chrono::seconds(10)) == std::future_status::ready)
|
||||
{
|
||||
res = fut.get();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user