Clean up example 5

This commit is contained in:
Moishe Lettvin
2024-01-18 11:58:08 -05:00
parent f55333844e
commit ceeb93dd46
5 changed files with 17 additions and 41 deletions

View File

@@ -37,8 +37,7 @@ async def main(room_url):
@transport.event_handler("on_first_other_participant_joined")
async def on_first_other_participant_joined(transport):
await tts_task
transport.stop_when_done()
await transport.stop_when_done()
await transport.run()