From 8ae850dd63b88425bfc590badfbb0cb06e07af9e Mon Sep 17 00:00:00 2001 From: cxh Date: Wed, 15 Oct 2025 08:34:51 +0800 Subject: [PATCH] temp --- src/mqtt_client_wrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mqtt_client_wrapper.cpp b/src/mqtt_client_wrapper.cpp index de51de1..7b4cff4 100644 --- a/src/mqtt_client_wrapper.cpp +++ b/src/mqtt_client_wrapper.cpp @@ -79,7 +79,7 @@ static void on_mqtt_message_received(const std::string &topic, const std::string if (switch_val == 0) { - if (!RTMPManager::is_streaming(cam.name)) + if (!RTMPManager::is_streaming(cam.name, type)) { RTMPManager::start_camera(cam, type); op_result = true; @@ -87,7 +87,7 @@ static void on_mqtt_message_received(const std::string &topic, const std::string } else { - if (RTMPManager::is_streaming(cam.name)) + if (RTMPManager::is_streaming(cam.name, type)) { RTMPManager::stop_camera(cam.name, type); op_result = true;