mirror of
https://github.com/livekit/livekit.git
synced 2026-08-29 14:08:49 +00:00
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:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user