Prevent invalid track access while peer connection is shutting down. (#4054)

This commit is contained in:
Raja Subramanian
2025-11-05 17:48:27 +05:30
committed by GitHub
parent 9ca6ee0077
commit ca3c507b3f
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -503,6 +503,7 @@ func (r *Room) Join(
fields := append(
connectionDetailsFields(infos),
"clientInfo", logger.Proto(sutils.ClientInfoWithoutAddress(p.GetClientInfo())),
"connectTime", connectTime,
)
p.GetLogger().Infow("participant active", fields...)
} else if state == livekit.ParticipantInfo_DISCONNECTED {