fastGPT不能正常播报所有文本
Opened this issue · 4 comments
skstudying commented
使用fastGPT,常常不能完整播放完全部返回消息。服务器还在返回和下发mp3但兔子进入了idle模式
这是硬件日志:
I: [EVENT] ROBOT_LISTEN
[I] AnalogAudio.h : 58 - bool audio_tools::AnalogAudioStream::begin(audio_tools::AnalogConfig)
[I] AnalogAudioESP32.h : 48 - virtual bool audio_tools::AnalogDriverESP32::begin(audio_tools::AnalogConfig)
[I] AudioTypes.h : 88 - sample_rate: 32000
[I] AudioTypes.h : 89 - channels: 1
[I] AudioTypes.h : 90 - bits_per_sample: 16
[I] AnalogAudioBase.h : 79 - input pin1: 35
[I] AnalogAudioESP32.h : 52 - auto_center
[I] AnalogAudioESP32.h : 95 - RX_MODE
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
[I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops
I: record end button pressed
FSM=====================record_exit==================================
[I] AnalogAudio.h : 64 - virtual void audio_tools::AnalogAudioStream::end()
[I] AnalogAudioESP32.h : 137 - end
{"msgId":45,"identifier":"real_time_data","outParams":{"battery_level":97,"rssi":47}}FSM=====================atob========================================
FSM=====================wait_enter==================================
I: [EVENT] ROBOT_THINK
I: local audio url:/recordover.mp3
I: local audio change:0
I: MQTT Message[/user/folotoy/SN/thing/command/call]
{"msgId": 42, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 1, "url": "http://IP:8082/voice-72e2aa93120c406cad2c07a92b86b934.mp3"}}
FSM=====================wait_exit==================================
FSM=====================atob========================================
FSM=====================play_enter==================================
I: Insert audioPlayCommand, recordingId:5, order:1, url:http://IP:8082/voice-72e2aa93120c406cad2c07a92b86b934.mp3
I: [EVENT] ROBOT_SAY
I: need to play order: 1
I: About to play the following audio command:
I: Now to play order: 1
I: audio url:http://IP:8082/voice-72e2aa93120c406cad2c07a92b86b934.mp3
I: success to connect to host: http://IP:8082/voice-72e2aa93120c406cad2c07a92b86b934.mp3
I: Current command count in queue: 0
audioPlayList is empty!
FSM=====================play_exit==================================
FSM=====================atob========================================
FSM=====================idle_enter==================================
I: [EVENT] ROBOT_IDLE
I: MQTT Message[/user/folotoy/SN/thing/command/call]
{"msgId": 44, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 2, "url": "http://IP:8082/voice-92f45d98fbf4497989657598364e1aa7.mp3"}}
I: Insert audioPlayCommand, recordingId:5, order:2, url:http://IP:8082/voice-92f45d98fbf4497989657598364e1aa7.mp3
I: MQTT Message[/user/folotoy/SN/thing/command/call]
{"msgId": 46, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 3, "url": "http://IP:8082/voice-3228caf9cc66441cb2bdd5bafe02510b.mp3"}}
I: Insert audioPlayCommand, recordingId:5, order:3, url:http://IP:8082/voice-3228caf9cc66441cb2bdd5bafe02510b.mp3
I: MQTT Message[/user/folotoy/SN/thing/command/call]
{"msgId": 48, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 5, "url": "http://IP:8082/voice-f1bea518261d4284a84fe4f045525748.mp3"}}
I: Insert audioPlayCommand, recordingId:5, order:5, url:http://IP:8082/voice-f1bea518261d4284a84fe4f045525748.mp3
I: MQTT Message[/user/folotoy/SN/thing/command/call]
{"msgId": 50, "identifier": "audioplay_cmd", "inputParams": {"recordingId": 5, "total": 5}}
I: MQTT Message[/user/folotoy/SN/thing/command/call]
{"msgId": 52, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 4, "url": "http://IP:8082/voice-6d265514ef6f4c76b5f00f5d2db417cf.mp3"}}
I: Insert audioPlayCommand, recordingId:5, order:4, url:http://IP:8082/voice-6d265514ef6f4c76b5f00f5d2db417cf.mp3
服务器日志贴在下面
skstudying commented
这是服务器的日志
.......
folotoy-1 | 2024-04-10T02:37:28.632414457Z 2024-04-10 10:37:28,632 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.632456659Z 2024-04-10 10:37:28,632 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.632461184Z 2024-04-10 10:37:28,632 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.649828423Z 2024-04-10 10:37:28,649 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.649897283Z 2024-04-10 10:37:28,649 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.649902808Z 2024-04-10 10:37:28,649 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.666301794Z 2024-04-10 10:37:28,666 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.666347210Z 2024-04-10 10:37:28,666 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.666378566Z 2024-04-10 10:37:28,666 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.691897883Z 2024-04-10 10:37:28,691 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.691920408Z 2024-04-10 10:37:28,691 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.691924031Z 2024-04-10 10:37:28,691 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.703147047Z 2024-04-10 10:37:28,702 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.703210274Z 2024-04-10 10:37:28,702 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.703215936Z 2024-04-10 10:37:28,702 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.721183400Z 2024-04-10 10:37:28,720 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.721230857Z 2024-04-10 10:37:28,720 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.721238967Z 2024-04-10 10:37:28,721 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.760307744Z 2024-04-10 10:37:28,760 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.760481178Z 2024-04-10 10:37:28,760 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.760489483Z 2024-04-10 10:37:28,760 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.760498113Z 2024-04-10 10:37:28,760 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.760500803Z 2024-04-10 10:37:28,760 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.760503640Z 2024-04-10 10:37:28,760 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.772926013Z 2024-04-10 10:37:28,772 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.773009439Z 2024-04-10 10:37:28,772 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.773022030Z 2024-04-10 10:37:28,772 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.791082429Z 2024-04-10 10:37:28,790 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.791150818Z 2024-04-10 10:37:28,790 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.791157781Z 2024-04-10 10:37:28,790 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.811072575Z 2024-04-10 10:37:28,810 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.811121394Z 2024-04-10 10:37:28,810 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.811127721Z 2024-04-10 10:37:28,810 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.831445179Z 2024-04-10 10:37:28,831 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.832096348Z 2024-04-10 10:37:28,831 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.832118639Z 2024-04-10 10:37:28,831 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.852739664Z 2024-04-10 10:37:28,852 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.852787448Z 2024-04-10 10:37:28,852 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.852982060Z 2024-04-10 10:37:28,852 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.889120846Z 2024-04-10 10:37:28,888 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.889826420Z 2024-04-10 10:37:28,889 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.889907056Z 2024-04-10 10:37:28,889 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.889915593Z 2024-04-10 10:37:28,889 - DEBUG - P eer: ('toyIP', 30613) Len: 1043B
folotoy-1 | 2024-04-10T02:37:28.889921004Z 2024-04-10 10:37:28,889 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.889925127Z 2024-04-10 10:37:28,889 - DEBUG - R eceived frame type: b'\x01'
folotoy-1 | 2024-04-10T02:37:28.895775513Z 2024-04-10 10:37:28,895 - DEBUG - P eer: ('toyIP', 30613) Len: 20B
folotoy-1 | 2024-04-10T02:37:28.896313753Z 2024-04-10 10:37:28,895 - DEBUG - R eceived token: e688e569aa3940dea987194d6cea7dae RecordingId: 5
folotoy-1 | 2024-04-10T02:37:28.896524560Z 2024-04-10 10:37:28,895 - DEBUG - R eceived frame type: b'\x02'
folotoy-1 | 2024-04-10T02:37:28.896534664Z 2024-04-10 10:37:28,896 - DEBUG - R ecording file created: /audio/recording-cf5f13b0eb714f34ad012e3a488a84cd.wav
folotoy-1 | 2024-04-10T02:37:28.897346915Z 2024-04-10 10:37:28,897 - DEBUG - C urrent dkey=SN role=2
folotoy-1 | 2024-04-10T02:37:28.897722426Z 2024-04-10 10:37:28,897 - DEBUG - S TT type: azure-stt
folotoy-1 | 2024-04-10T02:37:29.471401746Z 2024-04-10 10:37:29,470 - DEBUG - R eceived /user/folotoy/SN/thing/data/post: message data: {'msgId': 45, 'identifier': 'real_time_data', 'outParams': {'battery_level': 97, 'rssi': 47} }
folotoy-1 | 2024-04-10T02:37:30.280775482Z 2024-04-10 10:37:30,280 - DEBUG - R ecognized: 今天**地震的情况如何?
folotoy-1 | 2024-04-10T02:37:30.476155910Z 2024-04-10 10:37:30,475 - DEBUG - [ Dkey=SN] STT(azure-stt) request time cost: 1.58s
folotoy-1 | 2024-04-10T02:37:30.476379600Z 2024-04-10 10:37:30,476 - INFO - Dk ey=SN: Transcribed:今天**地震的情况如何?
folotoy-1 | 2024-04-10T02:37:30.476390073Z 2024-04-10 10:37:30,476 - DEBUG - P ublish topic: /sys/folotoy/SN/thing/event/post, msg: {"msgId": 41, "i dentifier": "recording_transcribed", "inputParams": {"recordingId": 5, "recordi ngText": "\u4eca\u5929\u53f0\u6e7e\u5730\u9707\u7684\u60c5\u51b5\u5982\u4f55\uf f1f", "recordingUrl": "http://IP:8082/recording-cf5f13b0eb714f34ad01 2e3a488a84cd.wav", "role": 2}}
folotoy-1 | 2024-04-10T02:37:30.476545700Z 2024-04-10 10:37:30,476 - DEBUG - C urrent role config={'start_text': '你好', 'prompt': ' ', 'max_message_count': 20, 'stt_type': 'azu re-stt', 'stt_config': {'language': 'zh-CN', 'key': '2e63688a725b496aac836f7c40 6e539d', 'service_region': 'eastasia'}, 'llm_type': 'fastgpt', 'llm_config': {' send_initial_messages': False, 'api_base': 'https://api.fastgpt.in/api', 'chat_ id': 'c850341c-b85e-44b2-b09e-bc55fb6952d6', 'key': 'fastgpt-6pYNv0j1WWIRRob7i0 B7jz4L4HYY6yk2x4DkPslzJf9yOKBy0vmOp', 'variables': {}}, 'tts_type': 'azure-tts' , 'tts_config': {'key': '2e63688a725b496aac836f7c406e539d', 'service_region': ' eastasia', 'voice_name': 'zh-CN-XiaoxiaoMultilingualNeural'}}
folotoy-1 | 2024-04-10T02:37:30.476698712Z 2024-04-10 10:37:30,476 - DEBUG - C ontext: [{'role': 'user', 'content': ' '}, {'role': 'assistant', 'content': '你好'}, {'role': 'user', 'content': '今天**地震的情况如何?'}]
folotoy-1 | 2024-04-10T02:37:30.476717537Z 2024-04-10 10:37:30,476 - DEBUG - L LM TYPE is fastgpt
folotoy-1 | 2024-04-10T02:37:30.476912107Z 2024-04-10 10:37:30,476 - DEBUG - R equest to fastgpt: https://api.fastgpt.in/api/v1/chat/completions, payload={'ch atId': 'c850341c-b85e-44b2-b09e-bc55fb6952d6', 'stream': True, 'detail': False, 'messages': [{'role': 'user', 'content': ' '}, {'role': 'assistant', 'content' : '你好'}, {'role': 'user', 'content': '今天**地震的情况如何?'}]'variables': {}}
folotoy-1 | 2024-04-10T02:37:30.478444282Z 2024-04-10 10:37:30,477 - DEBUG - l oad_ssl_context verify=True cert=None trust_env=True http2=False
folotoy-1 | 2024-04-10T02:37:30.478455193Z 2024-04-10 10:37:30,477 - DEBUG - l oad_verify_locations cafile='/usr/local/lib/python3.11/site-packages/certifi/ca cert.pem'
folotoy-1 | 2024-04-10T02:37:30.489212051Z 2024-04-10 10:37:30,488 - DEBUG - c onnect_tcp.started host='api.fastgpt.in' port=443 local_address=None timeout=30 .0 socket_options=None
folotoy-1 | 2024-04-10T02:37:30.542169323Z 2024-04-10 10:37:30,541 - DEBUG - c onnect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7fa11d1674d0>
folotoy-1 | 2024-04-10T02:37:30.542531408Z 2024-04-10 10:37:30,542 - DEBUG - s tart_tls.started ssl_context=<ssl.SSLContext object at 0x7fa11d12bda0> server_h ostname='api.fastgpt.in' timeout=30.0
folotoy-1 | 2024-04-10T02:37:30.595938135Z 2024-04-10 10:37:30,595 - DEBUG - s tart_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x 7fa11d167c90>
folotoy-1 | 2024-04-10T02:37:30.596636248Z 2024-04-10 10:37:30,595 - DEBUG - s end_request_headers.started request=<Request [b'POST']>
folotoy-1 | 2024-04-10T02:37:30.596648080Z 2024-04-10 10:37:30,596 - DEBUG - s end_request_headers.complete
folotoy-1 | 2024-04-10T02:37:30.596854995Z 2024-04-10 10:37:30,596 - DEBUG - s end_request_body.started request=<Request [b'POST']>
folotoy-1 | 2024-04-10T02:37:30.597044422Z 2024-04-10 10:37:30,596 - DEBUG - s end_request_body.complete
folotoy-1 | 2024-04-10T02:37:30.597161809Z 2024-04-10 10:37:30,596 - DEBUG - r eceive_response_headers.started request=<Request [b'POST']>
folotoy-1 | 2024-04-10T02:37:31.592293094Z 2024-04-10 10:37:31,592 - DEBUG - r eceive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'con tent-type', b'text/event-stream;charset=utf-8'), (b'access-control-allow-origin ', b'*'), (b'x-accel-buffering', b'no'), (b'cache-control', b'no-cache, no-tran sform'), (b'date', b'Wed, 10 Apr 2024 02:37:31 GMT'), (b'req-cost-time', b'945' ), (b'req-arrive-time', b'1712716650620'), (b'resp-start-time', b'1712716651565 '), (b'x-envoy-upstream-service-time', b'944'), (b'server', b'istio-envoy'), (b 'transfer-encoding', b'chunked')])
folotoy-1 | 2024-04-10T02:37:31.593109212Z 2024-04-10 10:37:31,592 - INFO - HT TP Request: POST https://api.fastgpt.in/api/v1/chat/completions "HTTP/1.1 200 O K"
folotoy-1 | 2024-04-10T02:37:31.593126186Z 2024-04-10 10:37:31,592 - DEBUG - r eceive_response_body.started request=<Request [b'POST']>
folotoy-1 | 2024-04-10T02:37:31.593805212Z 2024-04-10 10:37:31,593 - DEBUG - [ Dkey=SN]: Recording Id: 5, Order: 1 Content: 稍等哈,正在为您全网搜索 .
folotoy-1 | 2024-04-10T02:37:32.186208543Z 2024-04-10 10:37:32,185 - DEBUG - T TS(azure-tts) request time cost: 0.59s
folotoy-1 | 2024-04-10T02:37:32.186277607Z 2024-04-10 10:37:32,186 - DEBUG - S peech synthesized with for ssml [<speak version="1.0" xmlns="http://www.w3.org/ 2001/10/synthesis" xmlns:mstts="https://www.w3.org/2001/mstts" xmlns:emo="http: //www.w3.org/2009/10/emotionml" xml:lang="zh-CN"><voice name="zh-CN-XiaoxiaoMul tilingualNeural">稍等哈,正在为您全网搜索.</voice></speak>]
folotoy-1 | 2024-04-10T02:37:32.280317582Z 2024-04-10 10:37:32,279 - DEBUG - P ublish topic: /user/folotoy/SN/thing/command/call, msg: {"msgId": 42, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 1, "url" : "http://IP:8082/voice-72e2aa93120c406cad2c07a92b86b934.mp3"}}
folotoy-1 | 2024-04-10T02:37:32.280352946Z 2024-04-10 10:37:32,280 - DEBUG - P ublish topic: /sys/folotoy/SN/thing/event/post, msg: {"msgId": 43, "i dentifier": "voice_generated", "inputParams": {"recordingId": 5, "order": 1, "v oiceText": "\u7a0d\u7b49\u54c8\uff0c\u6b63\u5728\u4e3a\u60a8\u5168\u7f51\u641c\ u7d22.", "voiceUrl": "http://IP:8082/voice-72e2aa93120c406cad2c07a92 b86b934.mp3", "role": 2, "resultCode": 1}}
folotoy-1 | 2024-04-10T02:37:32.812739786Z 2024-04-10 10:37:32,812 - DEBUG - R eceived /user/folotoy/SN/thing/command/callAck: message data: {'msgId ': 42, 'identifier': 'audioplay', 'result': 1}
folotoy-1 | 2024-04-10T02:37:32.813284042Z 2024-04-10 10:37:32,812 - DEBUG - C ommand call ack: True, topic_tokens: {'#': [], '+': ['SN']}
folotoy-1 | 2024-04-10T02:37:40.644417200Z 2024-04-10 10:37:40,644 - DEBUG - [ Dkey=SN]: Recording Id: 5, Order: 2 Content: ..**在2024年4月3日遭受 了一次7.
folotoy-1 | 2024-04-10T02:37:41.923652261Z 2024-04-10 10:37:41,923 - DEBUG - T TS(azure-tts) request time cost: 1.28s
folotoy-1 | 2024-04-10T02:37:41.924232919Z 2024-04-10 10:37:41,923 - DEBUG - S peech synthesized with for ssml [<speak version="1.0" xmlns="http://www.w3.org/ 2001/10/synthesis" xmlns:mstts="https://www.w3.org/2001/mstts" xmlns:emo="http: //www.w3.org/2009/10/emotionml" xml:lang="zh-CN"><voice name="zh-CN-XiaoxiaoMul tilingualNeural">..**在2024年4月3日遭受了一次7.</voice></speak>]
folotoy-1 | 2024-04-10T02:37:42.016966725Z 2024-04-10 10:37:42,016 - DEBUG - P ublish topic: /user/folotoy/SN/thing/command/call, msg: {"msgId": 44, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 2, "url" : "http://IP:8082/voice-92f45d98fbf4497989657598364e1aa7.mp3"}}
folotoy-1 | 2024-04-10T02:37:42.018196580Z 2024-04-10 10:37:42,017 - DEBUG - P ublish topic: /sys/folotoy/SN/thing/event/post, msg: {"msgId": 45, "i dentifier": "voice_generated", "inputParams": {"recordingId": 5, "order": 2, "v oiceText": "..\u53f0\u6e7e\u57282024\u5e744\u67083\u65e5\u906d\u53d7\u4e86\u4e0 0\u6b217.", "voiceUrl": "http://IP:8082/voice-92f45d98fbf44979896575 98364e1aa7.mp3", "role": 2, "resultCode": 1}}
folotoy-1 | 2024-04-10T02:37:42.339276717Z 2024-04-10 10:37:42,338 - DEBUG - R eceived /user/folotoy/SN/thing/command/callAck: message data: {'msgId ': 44, 'identifier': 'audioplay', 'result': 1}
folotoy-1 | 2024-04-10T02:37:42.339808609Z 2024-04-10 10:37:42,339 - DEBUG - C ommand call ack: True, topic_tokens: {'#': [], '+': ['SN']}
folotoy-1 | 2024-04-10T02:37:47.517625479Z 2024-04-10 10:37:47,517 - DEBUG - [ Dkey=SN]: Recording Id: 5, Order: 3 Content: 4级的强烈地震,这是该岛2 5年来遭遇的最强烈的地震。地震导致至少9人死亡,近1000人受伤,还有多人被困。
folotoy-1 | 2024-04-10T02:37:50.708913230Z 2024-04-10 10:37:50,708 - DEBUG - T TS(azure-tts) request time cost: 3.19s
folotoy-1 | 2024-04-10T02:37:50.708938832Z 2024-04-10 10:37:50,708 - DEBUG - S peech synthesized with for ssml [<speak version="1.0" xmlns="http://www.w3.org/ 2001/10/synthesis" xmlns:mstts="https://www.w3.org/2001/mstts" xmlns:emo="http: //www.w3.org/2009/10/emotionml" xml:lang="zh-CN"><voice name="zh-CN-XiaoxiaoMul tilingualNeural">4级的强烈地震,这是该岛25年来遭遇的最强烈的地震。地震导致至少9 人死亡,近1000人受伤,还有多人被困。</voice></speak>]
folotoy-1 | 2024-04-10T02:37:50.710223102Z 2024-04-10 10:37:50,709 - DEBUG - P ublish topic: /user/folotoy/SN/thing/command/call, msg: {"msgId": 46, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 3, "url" : "http://IP:8082/voice-3228caf9cc66441cb2bdd5bafe02510b.mp3"}}
folotoy-1 | 2024-04-10T02:37:50.710254422Z 2024-04-10 10:37:50,709 - DEBUG - P ublish topic: /sys/folotoy/SN/thing/event/post, msg: {"msgId": 47, "i dentifier": "voice_generated", "inputParams": {"recordingId": 5, "order": 3, "v oiceText": "4\u7ea7\u7684\u5f3a\u70c8\u5730\u9707\uff0c\u8fd9\u662f\u8be5\u5c9b 25\u5e74\u6765\u906d\u9047\u7684\u6700\u5f3a\u70c8\u7684\u5730\u9707\u3002\u573 0\u9707\u5bfc\u81f4\u81f3\u5c119\u4eba\u6b7b\u4ea1\uff0c\u8fd11000\u4eba\u53d7\ u4f24\uff0c\u8fd8\u6709\u591a\u4eba\u88ab\u56f0\u3002", "voiceUrl": "http://47. 106.97.217:8082/voice-3228caf9cc66441cb2bdd5bafe02510b.mp3", "role": 2, "result Code": 1}}
folotoy-1 | 2024-04-10T02:37:51.071420948Z 2024-04-10 10:37:51,071 - DEBUG - R eceived /user/folotoy/SN/thing/command/callAck: message data: {'msgId ': 46, 'identifier': 'audioplay', 'result': 1}
folotoy-1 | 2024-04-10T02:37:51.071946311Z 2024-04-10 10:37:51,071 - DEBUG - C ommand call ack: True, topic_tokens: {'#': [], '+': ['SN']}
folotoy-1 | 2024-04-10T02:37:52.268795176Z 2024-04-10 10:37:52,268 - DEBUG - [ Dkey=SN]: Recording Id: 5, Order: 4 Content: 地震还引发了建筑物倒塌和 道路中断,救援工作面临挑战。**、日本和菲律宾等国家和地区发布了海啸预警。目前 救援人员正在加紧搜救被困人员,并且**的消防部门和民间组织正在全力提供援助。
folotoy-1 | 2024-04-10T02:37:53.667869072Z 2024-04-10 10:37:53,667 - DEBUG - r eceive_response_body.complete
folotoy-1 | 2024-04-10T02:37:53.667929378Z 2024-04-10 10:37:53,667 - DEBUG - r esponse_closed.started
folotoy-1 | 2024-04-10T02:37:53.667935108Z 2024-04-10 10:37:53,667 - DEBUG - r esponse_closed.complete
folotoy-1 | 2024-04-10T02:37:53.668006935Z 2024-04-10 10:37:53,667 - DEBUG - c lose.started
folotoy-1 | 2024-04-10T02:37:53.669014580Z 2024-04-10 10:37:53,668 - DEBUG - c lose.complete
folotoy-1 | 2024-04-10T02:37:53.669025244Z 2024-04-10 10:37:53,668 - DEBUG - C hatCompletion request time cost: 23.19s
folotoy-1 | 2024-04-10T02:37:53.669028359Z 2024-04-10 10:37:53,668 - DEBUG - [ Dkey=SN]: Recording Id: 5, Order: 5 Content: 这次地震对**造成了严重 的影响,救援和恢复工作仍在进行中。
folotoy-1 | 2024-04-10T02:37:56.445709445Z 2024-04-10 10:37:56,445 - DEBUG - T TS(azure-tts) request time cost: 2.78s
folotoy-1 | 2024-04-10T02:37:56.445740663Z 2024-04-10 10:37:56,445 - DEBUG - S peech synthesized with for ssml [<speak version="1.0" xmlns="http://www.w3.org/ 2001/10/synthesis" xmlns:mstts="https://www.w3.org/2001/mstts" xmlns:emo="http: //www.w3.org/2009/10/emotionml" xml:lang="zh-CN"><voice name="zh-CN-XiaoxiaoMul tilingualNeural">这次地震对**造成了严重的影响,救援和恢复工作仍在进行中。</vo ice></speak>]
folotoy-1 | 2024-04-10T02:37:56.445984526Z 2024-04-10 10:37:56,445 - DEBUG - P ublish topic: /user/folotoy/SN/thing/command/call, msg: {"msgId": 48, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 5, "url" : "http://IP:8082/voice-f1bea518261d4284a84fe4f045525748.mp3"}}
folotoy-1 | 2024-04-10T02:37:56.446103960Z 2024-04-10 10:37:56,446 - DEBUG - P ublish topic: /sys/folotoy/SN/thing/event/post, msg: {"msgId": 49, "i dentifier": "voice_generated", "inputParams": {"recordingId": 5, "order": 5, "v oiceText": "\u8fd9\u6b21\u5730\u9707\u5bf9\u53f0\u6e7e\u9020\u6210\u4e86\u4e25\ u91cd\u7684\u5f71\u54cd\uff0c\u6551\u63f4\u548c\u6062\u590d\u5de5\u4f5c\u4ecd\u 5728\u8fdb\u884c\u4e2d\u3002", "voiceUrl": "http://IP:8082/voice-f1b ea518261d4284a84fe4f045525748.mp3", "role": 2, "resultCode": 1}}
folotoy-1 | 2024-04-10T02:37:56.446483761Z 2024-04-10 10:37:56,446 - DEBUG - P ublish topic: /user/folotoy/SN/thing/command/call, msg: {"msgId": 50, "identifier": "audioplay_cmd", "inputParams": {"recordingId": 5, "total": 5}}
folotoy-1 | 2024-04-10T02:37:56.446640598Z 2024-04-10 10:37:56,446 - DEBUG - P ublish topic: /sys/folotoy/SN/thing/event/post, msg: {"msgId": 51, "i dentifier": "voice_generated", "inputParams": {"total": 5, "recordingId": 5, "r esultCode": 1}}
folotoy-1 | 2024-04-10T02:37:56.462964624Z 2024-04-10 10:37:56,462 - DEBUG - T TS(azure-tts) request time cost: 4.19s
folotoy-1 | 2024-04-10T02:37:56.462987768Z 2024-04-10 10:37:56,462 - DEBUG - S peech synthesized with for ssml [<speak version="1.0" xmlns="http://www.w3.org/ 2001/10/synthesis" xmlns:mstts="https://www.w3.org/2001/mstts" xmlns:emo="http: //www.w3.org/2009/10/emotionml" xml:lang="zh-CN"><voice name="zh-CN-XiaoxiaoMul tilingualNeural">地震还引发了建筑物倒塌和道路中断,救援工作面临挑战。**、日本 和菲律宾等国家和地区发布了海啸预警。目前救援人员正在加紧搜救被困人员,并且** 的消防部门和民间组织正在全力提供援助。</voice></speak>]
folotoy-1 | 2024-04-10T02:37:56.556320295Z 2024-04-10 10:37:56,556 - DEBUG - P ublish topic: /user/folotoy/SN/thing/command/call, msg: {"msgId": 52, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 4, "url" : "http://IP:8082/voice-6d265514ef6f4c76b5f00f5d2db417cf.mp3"}}
folotoy-1 | 2024-04-10T02:37:56.557037450Z 2024-04-10 10:37:56,556 - DEBUG - P ublish topic: /sys/folotoy/SN/thing/event/post, msg: {"msgId": 53, "i dentifier": "voice_generated", "inputParams": {"recordingId": 5, "order": 4, "v oiceText": "\u5730\u9707\u8fd8\u5f15\u53d1\u4e86\u5efa\u7b51\u7269\u5012\u584c\ u548c\u9053\u8def\u4e2d\u65ad\uff0c\u6551\u63f4\u5de5\u4f5c\u9762\u4e34\u6311\u 6218\u3002\u53f0\u6e7e\u3001\u65e5\u672c\u548c\u83f2\u5f8b\u5bbe\u7b49\u56fd\u5 bb6\u548c\u5730\u533a\u53d1\u5e03\u4e86\u6d77\u5578\u9884\u8b66\u3002\u76ee\u52 4d\u6551\u63f4\u4eba\u5458\u6b63\u5728\u52a0\u7d27\u641c\u6551\u88ab\u56f0\u4eb a\u5458\uff0c\u5e76\u4e14\u53f0\u6e7e\u7684\u6d88\u9632\u90e8\u95e8\u548c\u6c11 \u95f4\u7ec4\u7ec7\u6b63\u5728\u5168\u529b\u63d0\u4f9b\u63f4\u52a9\u3002", "voi ceUrl": "http://IP:8082/voice-6d265514ef6f4c76b5f00f5d2db417cf.mp3", "role": 2, "resultCode": 1}}
folotoy-1 | 2024-04-10T02:37:57.000060451Z 2024-04-10 10:37:56,999 - DEBUG - R eceived /user/folotoy/SN/thing/command/callAck: message data: {'msgId ': 48, 'identifier': 'audioplay', 'result': 1}
folotoy-1 | 2024-04-10T02:37:57.000280962Z 2024-04-10 10:37:56,999 - DEBUG - C ommand call ack: True, topic_tokens: {'#': [], '+': ['SN']}
folotoy-1 | 2024-04-10T02:37:57.323202569Z 2024-04-10 10:37:57,322 - DEBUG - R eceived /user/folotoy/SN/thing/command/callAck: message data: {'msgId ': 50, 'identifier': 'audioplay_cmd', 'result': 1}
folotoy-1 | 2024-04-10T02:37:57.323250148Z 2024-04-10 10:37:57,323 - DEBUG - C ommand call ack: True, topic_tokens: {'#': [], '+': ['SN']}
folotoy-1 | 2024-04-10T02:37:57.656110477Z 2024-04-10 10:37:57,655 - DEBUG - R eceived /user/folotoy/SN/thing/command/callAck: message data: {'msgId ': 52, 'identifier': 'audioplay', 'result': 1}
folotoy-1 | 2024-04-10T02:37:57.656156383Z 2024-04-10 10:37:57,655 - DEBUG - C ommand call ack: True, topic_tokens: {'#': [], '+': ['SN']}
lewangdev commented
使用fastGPT,常常不能完整播放完全部返回消息。服务器还在返回和下发mp3但兔子进入了idle模式
这是硬件日志:
I: [EVENT] ROBOT_LISTEN [I] AnalogAudio.h : 58 - bool audio_tools::AnalogAudioStream::begin(audio_tools::AnalogConfig) [I] AnalogAudioESP32.h : 48 - virtual bool audio_tools::AnalogDriverESP32::begin(audio_tools::AnalogConfig) [I] AudioTypes.h : 88 - sample_rate: 32000 [I] AudioTypes.h : 89 - channels: 1 [I] AudioTypes.h : 90 - bits_per_sample: 16 [I] AnalogAudioBase.h : 79 - input pin1: 35 [I] AnalogAudioESP32.h : 52 - auto_center [I] AnalogAudioESP32.h : 95 - RX_MODE [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops [I] StreamCopy.h : 139 - StreamCopy::copy 1024 -> 1024 -> 1024 bytes - in 1 hops I: record end button pressed FSM=====================record_exit================================== [I] AnalogAudio.h : 64 - virtual void audio_tools::AnalogAudioStream::end() [I] AnalogAudioESP32.h : 137 - end {"msgId":45,"identifier":"real_time_data","outParams":{"battery_level":97,"rssi":47}}FSM=====================atob======================================== FSM=====================wait_enter================================== I: [EVENT] ROBOT_THINK I: local audio url:/recordover.mp3 I: local audio change:0 I: MQTT Message[/user/folotoy/SN/thing/command/call] {"msgId": 42, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 1, "url": "http://IP:8082/voice-72e2aa93120c406cad2c07a92b86b934.mp3"}} FSM=====================wait_exit================================== FSM=====================atob======================================== FSM=====================play_enter================================== I: Insert audioPlayCommand, recordingId:5, order:1, url:http://IP:8082/voice-72e2aa93120c406cad2c07a92b86b934.mp3 I: [EVENT] ROBOT_SAY I: need to play order: 1 I: About to play the following audio command: I: Now to play order: 1 I: audio url:http://IP:8082/voice-72e2aa93120c406cad2c07a92b86b934.mp3 I: success to connect to host: http://IP:8082/voice-72e2aa93120c406cad2c07a92b86b934.mp3 I: Current command count in queue: 0 audioPlayList is empty! FSM=====================play_exit================================== FSM=====================atob======================================== FSM=====================idle_enter================================== I: [EVENT] ROBOT_IDLE I: MQTT Message[/user/folotoy/SN/thing/command/call] {"msgId": 44, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 2, "url": "http://IP:8082/voice-92f45d98fbf4497989657598364e1aa7.mp3"}} I: Insert audioPlayCommand, recordingId:5, order:2, url:http://IP:8082/voice-92f45d98fbf4497989657598364e1aa7.mp3 I: MQTT Message[/user/folotoy/SN/thing/command/call] {"msgId": 46, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 3, "url": "http://IP:8082/voice-3228caf9cc66441cb2bdd5bafe02510b.mp3"}} I: Insert audioPlayCommand, recordingId:5, order:3, url:http://IP:8082/voice-3228caf9cc66441cb2bdd5bafe02510b.mp3 I: MQTT Message[/user/folotoy/SN/thing/command/call] {"msgId": 48, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 5, "url": "http://IP:8082/voice-f1bea518261d4284a84fe4f045525748.mp3"}} I: Insert audioPlayCommand, recordingId:5, order:5, url:http://IP:8082/voice-f1bea518261d4284a84fe4f045525748.mp3 I: MQTT Message[/user/folotoy/SN/thing/command/call] {"msgId": 50, "identifier": "audioplay_cmd", "inputParams": {"recordingId": 5, "total": 5}} I: MQTT Message[/user/folotoy/SN/thing/command/call] {"msgId": 52, "identifier": "audioplay", "inputParams": {"recordingId": 5, "order": 4, "url": "http://IP:8082/voice-6d265514ef6f4c76b5f00f5d2db417cf.mp3"}} I: Insert audioPlayCommand, recordingId:5, order:4, url:http://IP:8082/voice-6d265514ef6f4c76b5f00f5d2db417cf.mp3
服务器日志贴在下面
设备已经进入 idle 状态之后,就不会在播放收到的新消息了,最新版固件把timeout再设置大一些。
Acolevia commented
可以提供一下兔子的固件版本吗