what is the difference between disconnect reason 1...
# ask-ai
c
what is the difference between disconnect reason 1 vs 11 on livekit when participant ends call
✅ 1
t
Thanks for reaching out, Faraz. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — you're asking about the difference between disconnect reason 1 vs 11 when a participant ends a call. • Reason 1 — CLIENT_INITIATED: The participant intentionally left (client sent a LeaveRequest or called
leave()
). This is a clean, client-initiated disconnect. • Reason 11 — STATE_MISMATCH: The server detected the client and server are out of sync (failed SDP/negotiation, missed signaling/keep-alives, abrupt crash or network blackout). This is an unclean disconnect detected by the server after timeouts or negotiation failures. If you want, tell me which client SDK and logs you see and I can suggest specific checks (e.g., leave call usage, keep-alive/ICE events, or negotiation errors). Sources: Server-side | livekit/livekit_composite | DeepWiki | Understanding the STATE_MISMATCH Disconnect Reason | LiveKit, with interactive elements