diff --git a/src/rtmp_manager.cpp b/src/rtmp_manager.cpp index 64745dc..e4f958a 100644 --- a/src/rtmp_manager.cpp +++ b/src/rtmp_manager.cpp @@ -8,6 +8,11 @@ #include // for move #include +std::mutex RTMPManager::stop_queue_mutex; +std::condition_variable RTMPManager::stop_cv; +std::queue> RTMPManager::stop_queue; +std::atomic RTMPManager::stop_thread_running{false}; +std::thread RTMPManager::stop_thread; std::unordered_map> RTMPManager::streams; std::mutex RTMPManager::streams_mutex; RTMPManager::StreamCallback RTMPManager::status_callback = nullptr;