This commit is contained in:
cxh 2025-10-15 15:33:41 +08:00
parent 3b8be249e3
commit 17cec83ae3

View File

@ -73,7 +73,7 @@ class RTMPManager
static std::string make_stream_key(const std::string &cam_name, StreamType type);
static GstElement *create_pipeline(const Camera &cam, StreamType type);
static void stream_loop(Camera cam, StreamType type);
static void stream_loop(Camera cam, StreamType type, std::shared_ptr<StreamContext> ctx);
static std::unordered_map<std::string, std::unique_ptr<StreamContext>> streams;
static std::mutex streams_mutex;