diff --git a/include/rtmp_manager.hpp b/include/rtmp_manager.hpp index eec1605..2eeeada 100644 --- a/include/rtmp_manager.hpp +++ b/include/rtmp_manager.hpp @@ -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 ctx); static std::unordered_map> streams; static std::mutex streams_mutex;