mirror of
https://github.com/livekit/livekit.git
synced 2026-08-02 17:49:30 +00:00
Fix inaccurate participant count due to storing old data (#992)
This commit is contained in:
@@ -321,7 +321,7 @@ func (r *RoomManager) StartSession(
|
||||
}
|
||||
|
||||
// update room store with new numParticipants
|
||||
updateParticipantCount(protoRoom)
|
||||
updateParticipantCount(room.ToProto())
|
||||
|
||||
clientMeta := &livekit.AnalyticsClientMeta{Region: r.currentNode.Region, Node: r.currentNode.Id}
|
||||
r.telemetry.ParticipantJoined(ctx, protoRoom, participant.ToProto(), pi.Client, clientMeta)
|
||||
|
||||
Reference in New Issue
Block a user