Table of Contents

Enum DisconnectReason

Namespace
LiveKit.Proto
public enum DisconnectReason
Extension Methods

Fields

AgentError = 16
ClientInitiated = 1

the client initiated the disconnect

ConnectionTimeout = 14
DuplicateIdentity = 2

another participant with the same identity has joined the room

JoinFailure = 7

client was unable to connect fully

MediaFailure = 15
Migration = 8

Cloud-only, the server requested Participant to migrate the connection elsewhere

ParticipantRemoved = 4

RoomService.RemoveParticipant was called

RoomClosed = 10

the room was closed, due to all Standard and Ingress participants having left

RoomDeleted = 5

RoomService.DeleteRoom was called

ServerShutdown = 3

the server instance is shutting down

SignalClose = 9

the signal websocket was closed unexpectedly

SipTrunkFailure = 13

SIP protocol failure or unexpected response

StateMismatch = 6

the client is attempting to resume a session, but server is not aware of it

UnknownReason = 0
UserRejected = 12

SIP callee rejected the call (busy)

UserUnavailable = 11

SIP callee did not respond in time