Populate disconnect updates with participant identity (#2310)

This commit is contained in:
lukasIO
2023-12-13 15:32:25 +01:00
committed by GitHub
parent dfcafff955
commit 23b46042cc
+1
View File
@@ -213,6 +213,7 @@ func (p *ParticipantImpl) sendDisconnectUpdatesForReconnect() error {
} else if info.state == livekit.ParticipantInfo_DISCONNECTED { } else if info.state == livekit.ParticipantInfo_DISCONNECTED {
disconnectedParticipants = append(disconnectedParticipants, &livekit.ParticipantInfo{ disconnectedParticipants = append(disconnectedParticipants, &livekit.ParticipantInfo{
Sid: string(keys[i]), Sid: string(keys[i]),
Identity: string(p.Identity()),
Version: info.version, Version: info.version,
State: livekit.ParticipantInfo_DISCONNECTED, State: livekit.ParticipantInfo_DISCONNECTED,
}) })