From df5da2ec5b7c9b1a3a07fd0d25559061f6104d79 Mon Sep 17 00:00:00 2001 From: cxh Date: Thu, 13 Nov 2025 13:43:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A7=86=E9=A2=91=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E5=9C=B0=E5=9D=80=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mqtt_client_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mqtt_client_wrapper.cpp b/src/mqtt_client_wrapper.cpp index 3d2e368..611f593 100644 --- a/src/mqtt_client_wrapper.cpp +++ b/src/mqtt_client_wrapper.cpp @@ -114,7 +114,7 @@ static void on_mqtt_message_received(const std::string& topic, const std::string // ---- 发布 MQTT 响应 ---- std::string out = resp.dump(-1); - mqtt_client->publish(g_app_config.mqtt.topics.video_down, out, 1, false); + mqtt_client->publish(g_app_config.mqtt.topics.video_down, out, 1); } } }