Join failure is a canceled connection attempt. (#4788)

Could happen due to participant being already in room, exceeding max
participants, etc.
This commit is contained in:
Raja Subramanian
2026-08-24 10:56:17 +05:30
committed by GitHub
parent 788d4c3544
commit 26975ef057
+2 -1
View File
@@ -1468,7 +1468,8 @@ func (p *ParticipantImpl) recordRTCState(closeReason types.ParticipantCloseReaso
}
func (p *ParticipantImpl) IsConnectionCanceled(closeReason types.ParticipantCloseReason) bool {
return closeReason == types.ParticipantCloseReasonClientRequestLeave ||
return closeReason == types.ParticipantCloseReasonJoinFailed ||
closeReason == types.ParticipantCloseReasonClientRequestLeave ||
closeReason == types.ParticipantCloseReasonDuplicateIdentity ||
closeReason == types.ParticipantCloseReasonRoomClosed ||
closeReason == types.ParticipantCloseReasonMigrationRequested ||