PSDK,喊话器-开始播放TTS文本失败!什么原因
Completed按照上云API的喊话功能,向对应的Topic发送了消息,服务端也收到了,但打印错误日志:默认通道不处理这个主题消息;以下是我发送的消息和错误日志
//日志
2024-08-16 13:54:31.094 DEBUG 21245 --- [pool-1-thread-5] com.dji.sdk.mqtt.InboundMessageRouter : received topic: thing/product/{gateway_sn}/services payload =>{
"bid": "cf5ad2e6-2f32-4b59-980e-d5c9ee412805",
"data": {
"psdk_index": 2,
"tts": {
"md5": "0bfb9bceee974f41a6ddfd81521bd795",
"name": "1111",
"text": "请注意,这是测试喊话!"
}
},
"method": "speaker_tts_play_start",
"tid": "65717bf1-aee7-4abb-8ea3-9b1908548d7",
"timestamp": 1723786391
}
2024-08-16 13:54:31.094 INFO 21245 --- [pool-1-thread-5] com.dji.sdk.mqtt.MqttConfiguration : The default channel does not handle messages.
Topic: thing/product/{gateway_sn}/services
Payload: [B@7865a482
-
尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 音频也是媒体文件,和您部署的oss服务器相关。可以看下这两个method:speaker_audio_play_start storage_config_get 以下是相关地址:https://developer.dji.com/doc/cloud-api-tutorial/cn/api-reference/dock-to-cloud/mqtt/dock/dock2/psdk.html#%E8%8E%B7%E5%8F%96%E4%B8%8A%E4%BC%A0%E4%B8%B4%E6%97%B6%E5%87%AD%E8%AF%81 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持
Please sign in to leave a comment.
Comments
12 comments