mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
音频会在队列积压等待发送,等待协程结果返回不设置超时时间
This commit is contained in:
parent
0e23672be7
commit
0f1e0d0d2e
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ class TTSProviderBase(ABC):
|
||||||
sendAudioMessage(self.conn, sentence_type, audio_datas, text),
|
sendAudioMessage(self.conn, sentence_type, audio_datas, text),
|
||||||
self.conn.loop,
|
self.conn.loop,
|
||||||
)
|
)
|
||||||
future.result(timeout=self.tts_timeout)
|
future.result()
|
||||||
|
|
||||||
# 记录输出和报告
|
# 记录输出和报告
|
||||||
if self.conn.max_output_size > 0 and text:
|
if self.conn.max_output_size > 0 and text:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue