shut down correctly when a participant leaves

This commit is contained in:
Moishe Lettvin
2024-01-08 17:55:19 -05:00
parent 290c1e7efa
commit 6cace129fd
2 changed files with 10 additions and 2 deletions

View File

@@ -30,8 +30,6 @@ async def main(room_url):
@transport.event_handler("on_participant_joined")
async def on_participant_joined(transport, participant):
print(local_joined, participant_joined)
current_text = ""
async for text in llm_generator:
print("text", text)