minor examples cleanup

This commit is contained in:
Aleix Conchillo Flaqué
2025-05-09 09:16:10 -07:00
parent f31efa42c9
commit 3d702a5c39
4 changed files with 4 additions and 6 deletions

View File

@@ -187,7 +187,7 @@ async def main():
@transport.event_handler("on_first_participant_joined")
async def on_first_participant_joined(transport, participant):
await transport.capture_participant_transcription(participant["id"])
print(f"Participant joined: {participant}")
@transport.event_handler("on_participant_left")
async def on_participant_left(transport, participant, reason):

View File

@@ -215,6 +215,7 @@ async def main():
@transport.event_handler("on_first_participant_joined")
async def on_first_participant_joined(transport, participant):
print(f"Participant joined: {participant}")
await transport.capture_participant_transcription(participant["id"])
@transport.event_handler("on_participant_left")