Filter handoff-end events by participant identity
Filter post-handoff participant-departure events by the specific caller and receiving-human identities before ending a bridged call. A room-level or generic participant-left callback can fire when an internal bot, hold publisher, recorder, or observer exits. Treating any departure as the human conversation ending can disconnect the remaining participant and delete an otherwise healthy LiveKit room. Keep explicit role-to-identity mappings and reconcile current participant state before destructive cleanup. This extends the separation between transfer handoff and bridged-call end.
Applies when: an application retains ownership of a LiveKit room after moving a human participant into it. Keywords: LiveKit warm transfer participant left identity observer room deletion