Table of Contents

Enum SimulateScenarioKind

Namespace
LiveKit.Proto

Simulate a reconnection scenario for testing. Mirrors the variants of livekit::SimulateScenario. The Resume / FullReconnect variants are the relevant ones for verifying that resume preserves publications and full reconnect republishes them exactly once.

public enum SimulateScenarioKind
Extension Methods

Fields

SimulateDisconnectSignalOnResume = 8

Asks the server to drop the signalling connection during the next resume, then triggers a resume locally. The resume cannot complete, so the engine escalates to a full reconnect — exercising the resume→full escalation path.

SimulateForceTcp = 5
SimulateForceTls = 6
SimulateFullReconnect = 7

Asks the server to send LeaveRequest{Reconnect}, forcing a full reconnect (new RtcSession; SDK republishes existing local tracks).

SimulateMigration = 4
SimulateNodeFailure = 2
SimulateServerLeave = 3
SimulateSignalReconnect = 0

Closes the signal channel locally; engine attempts a Resume.

SimulateSpeaker = 1