close disconnected participants when signal channel fails (#1895)

* close disconnected participants when signal channel fails

* fix typefake

* update reason
This commit is contained in:
Paul Wells
2023-07-20 19:23:35 -07:00
committed by GitHub
parent 6ad1e1598d
commit 3980d049c9
4 changed files with 41 additions and 1 deletions
+1 -1
View File
@@ -549,7 +549,7 @@ func (r *RoomManager) rtcSessionWorker(room *rtc.Room, participant types.LocalPa
// this means ICE restart isn't possible in single node mode
if obj == nil {
if room.GetParticipantRequestSource(participant.Identity()) == requestSource {
participant.SetSignalSourceValid(false)
participant.HandleSignalSourceClose()
}
return
}