This commit is contained in:
cxh 2025-10-15 15:06:51 +08:00
parent 6524456184
commit f7343bd23e

View File

@ -54,7 +54,7 @@ static void on_mqtt_message_received(const std::string &topic, const std::string
if (topic == g_app_config.mqtt.topics.video_down && j["type"] == "request") if (topic == g_app_config.mqtt.topics.video_down && j["type"] == "request")
{ {
LOG_INFO("[MQTT] Received message on topic [" + topic + "], len = " + std::to_string(message.size())); LOG_INFO("[MQTT] Received message on topic [" + topic + "], len = " + std::to_string(message.size()));
LOG_INFO("[MQTT] Message content: " + j.dump(0)); LOG_INFO("[MQTT] Message content: " + j.dump(-1));
std::string seqNo = j.value("seqNo", ""); std::string seqNo = j.value("seqNo", "");
auto data = j["data"]; auto data = j["data"];