first commit
This commit is contained in:
parent
cec19302f8
commit
cdd3961550
@ -93,9 +93,12 @@ static void on_mqtt_message_received(const std::string &topic, const std::string
|
||||
reply["seqNo"] = seqNo;
|
||||
|
||||
// 发送应答
|
||||
MQTTClientWrapper::publish(g_app_config.mqtt.topics.substream_down_ack, reply.dump());
|
||||
if (mqtt_client)
|
||||
{
|
||||
mqtt_client->publish(g_app_config.mqtt.topics.substream_down_ack, reply.dump());
|
||||
LOG_INFO("[MQTT] Replied to video_down: " + reply.dump());
|
||||
}
|
||||
}
|
||||
else if (topic == g_app_config.mqtt.topics.substream_down)
|
||||
{
|
||||
// 处理 substream_down
|
||||
|
||||
Loading…
Reference in New Issue
Block a user