Skip to content

Add onDisconnect callback#31

Merged
PaulAsjes merged 6 commits intomainfrom
pma/add-ondisconnect-callback
Nov 28, 2025
Merged

Add onDisconnect callback#31
PaulAsjes merged 6 commits intomainfrom
pma/add-ondisconnect-callback

Conversation

@PaulAsjes
Copy link
Copy Markdown
Collaborator

Fixes #23

There was an issue on the livekit server end where when an agent disconnects due to a timeout (i.e. user doesn't speak for ~30 seconds) the connection remained open. That's been fixed on the server end, so we now listen for when a remote participant leaves the room to indicate that the agent has disconnected.

@PaulAsjes PaulAsjes requested a review from christxph November 26, 2025 12:08
PaulAsjes and others added 2 commits November 28, 2025 12:26
Co-authored-by: Christoph Kührer <20903852+christxph@users.noreply.github.com>
@PaulAsjes PaulAsjes merged commit 1d811ea into main Nov 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No timeout event emitted when session closes after 30+ seconds of user silence

2 participants