temp
This commit is contained in:
parent
a12d902fc0
commit
17abcd0f78
@ -196,7 +196,7 @@ void RTMPManager::start_camera(const Camera &cam, StreamType type)
|
||||
ctx.running = true;
|
||||
ctx.thread = std::thread([cam, type]()
|
||||
{ stream_loop(cam, type); });
|
||||
streams[key] = std::move(ctx);
|
||||
streams.emplace(key, std::move(ctx));
|
||||
}
|
||||
|
||||
void RTMPManager::stop_camera(const std::string &cam_name, StreamType type)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user