temp
This commit is contained in:
parent
3b8be249e3
commit
17cec83ae3
@ -73,7 +73,7 @@ class RTMPManager
|
|||||||
|
|
||||||
static std::string make_stream_key(const std::string &cam_name, StreamType type);
|
static std::string make_stream_key(const std::string &cam_name, StreamType type);
|
||||||
static GstElement *create_pipeline(const Camera &cam, 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::unordered_map<std::string, std::unique_ptr<StreamContext>> streams;
|
||||||
static std::mutex streams_mutex;
|
static std::mutex streams_mutex;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user