stop_when_done

This commit is contained in:
Moishe Lettvin
2024-01-17 19:25:01 -05:00
parent 0d21768d00
commit f9f2e2d7ea
6 changed files with 15 additions and 14 deletions

View File

@@ -38,8 +38,7 @@ async def main(room_url):
async def on_first_other_participant_joined(transport):
await tts_task
transport.wait_for_send_queue_to_empty()
transport.stop()
transport.stop_when_done()
await transport.run()