diff --git a/include/rtmp_manager.hpp b/include/rtmp_manager.hpp index a9a14b0..99be22b 100644 --- a/include/rtmp_manager.hpp +++ b/include/rtmp_manager.hpp @@ -61,7 +61,7 @@ private: static std::mutex stop_queue_mutex; static std::condition_variable stop_cv; static std::queue> stop_queue; - static std::atomic stop_thread_running{false}; + static std::atomic stop_thread_running; static std::thread stop_thread; // store unique_ptr to avoid copy/move issues with atomic/thread static std::unordered_map> streams;