From 43a385e9a341118408e000a94307c70563ff1d22 Mon Sep 17 00:00:00 2001 From: Grant Smith Date: Mon, 2 Nov 2026 19:59:09 +0000 Subject: [PATCH] Correct the ParticipantInfo JOINED state comment The server sets JOINED right after it sends the join response (livekit/pkg/rtc/participant_signal.go), not when it receives the client's offer. Co-Authored-By: Claude Opus 5.5 --- livekit/livekit_models.pb.go | 2 +- protobufs/livekit_models.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/livekit/livekit_models.pb.go b/livekit/livekit_models.pb.go index 8c5ffd328..7a250adf4 100644 --- a/livekit/livekit_models.pb.go +++ b/livekit/livekit_models.pb.go @@ -943,7 +943,7 @@ type ParticipantInfo_State int32 const ( // websocket' connected, but not offered yet ParticipantInfo_JOINING ParticipantInfo_State = 0 - // server received client offer + // server sent the join response ParticipantInfo_JOINED ParticipantInfo_State = 1 // ICE connectivity established ParticipantInfo_ACTIVE ParticipantInfo_State = 2 diff --git a/protobufs/livekit_models.proto b/protobufs/livekit_models.proto index 1e681696b..be6324e94 100644 --- a/protobufs/livekit_models.proto +++ b/protobufs/livekit_models.proto @@ -136,7 +136,7 @@ message ParticipantInfo { enum State { // websocket' connected, but not offered yet JOINING = 0; - // server received client offer + // server sent the join response JOINED = 1; // ICE connectivity established ACTIVE = 2;