Fixed reconnection for single node

It does not yet support resuming the session.
This commit is contained in:
David Zhao
2021-09-24 14:19:23 -07:00
parent d83b7b543d
commit cdb04248fb
3 changed files with 40 additions and 11 deletions
+2
View File
@@ -359,6 +359,8 @@ func (r *LocalRoomManager) rtcSessionWorker(room *rtc.Room, participant types.Pa
return
}
case obj := <-requestSource.ReadChan():
// In single node mode, the request source is directly tied to the signal message channel
// this means ICE restart isn't possible in single node mode
if obj == nil {
return
}