diff --git a/main/xiaozhi-server/core/handle/sendAudioHandle.py b/main/xiaozhi-server/core/handle/sendAudioHandle.py index 97cc8b94b..9b26c9000 100644 --- a/main/xiaozhi-server/core/handle/sendAudioHandle.py +++ b/main/xiaozhi-server/core/handle/sendAudioHandle.py @@ -37,7 +37,7 @@ async def sendAudioStream(conn, audios): play_position = 0 # if isinstance(audios,types.GeneratorType): - if inspect.isasyncgen(audios): + if 1:#inspect.isasyncgen(audios): count = 0 async for opus_packet in audios: if opus_packet.startswith(b'text:'):