blue-glass-37058
02/17/2025, 10:26 AMgray-monkey-83525
02/17/2025, 10:27 AMdisconnect
method on the room object. This can be done programmatically by calling room.disconnect()
when your specific condition is satisfied. If you want to end the session for everyone, you can use the server API deleteRoom
to ensure the room is closed for all participants.
For example, in a Python context, you can use:
await ctx.room.disconnect()
or to end the session for everyone:
await api_client.room.delete_room(api.DeleteRoomRequest(ctx.job.room.name))
Would you like more details on implementing this in a specific SDK or context?
Sources:
- Disconnecting everyone
- Slack discussion on disconnecting 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.