Check for duplicate participant identities when a LiveKit session disconnects
Check the participant’s disconnect reason and the identities used by recent joins. LiveKit requires an identity to be unique within a room; when a second participant joins with the same identity, the earlier participant is disconnected. Use separate approved identities for separate participants and test the session again.
What you need
For a training-session owner investigating why a participant drops when another person joins.
- A sanitized room event timeline with participant identities and disconnect reasons.
- The approved identity assignment scheme.
- A test room and two distinct test participants.
Identify a duplicate room identity before treating the disconnect as a network problem.
- Record the disconnect reason and the time of the other participant join.
- Compare the participant identities in the same room without exposing tokens or personal details.
- If the identities collide, review how the application assigns an identity to each participant.
- After an authorized correction, connect two test participants and confirm both remain in the room and the approved screen share works.
A second join replaces the first participant
Synthetic room events with nonsecret test identities.
Scroll the table to see all columns.
| Time | Event | Identity | Result |
|---|---|---|---|
| 10:00 | Trainer joins | trainer-1 | Connected |
| 10:05 | Second browser joins | trainer-1 | Same identity |
| 10:05 | First participant disconnects | trainer-1 | Duplicate identity reason |
Both joins used trainer-1 in the same room. Test separate identities for separate participants and confirm the intended access rights.
What to hand over
A room-event note showing the identity collision, disconnect reason and retest result.
Limitation. A disconnect can have many causes. This check applies only when the recorded reason and room events support an identity collision.
Next step
Bring a redacted example and the current workflow settings for review.
Related guides
Sources
- LiveKit Docs: Disconnect reasons (accessed 24 November 2026)
- LiveKit Docs: Participant identity (accessed 24 November 2026)
- LiveKit SDK: Disconnect reason values (accessed 24 November 2026)