mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
add
This commit is contained in:
parent
40a29f0fcc
commit
31060188a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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:'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue