!
This commit is contained in:
parent
7743b97032
commit
62f33de4bf
@ -106,7 +106,7 @@ static void on_mqtt_message_received(const std::string &topic, const std::string
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 发送回复到 MQTT
|
// 发送回复到 MQTT
|
||||||
mqtt_client.publish(g_app_config.mqtt.topics.video_up, reply.dump());
|
mqtt_client->publish(g_app_config.mqtt.topics.video_up, reply.dump(), 1);
|
||||||
LOG_INFO("[MQTT] Sent RTMP response: " + reply.dump());
|
LOG_INFO("[MQTT] Sent RTMP response: " + reply.dump());
|
||||||
})
|
})
|
||||||
.detach();
|
.detach();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user