Enable TCP/TURN fallback by default (#1033)

This commit is contained in:
David Zhao
2022-09-22 23:58:07 -07:00
committed by GitHub
parent b97d59b8db
commit 5e1912e44c
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -271,7 +271,8 @@ func (r *RoomManager) StartSession(
sid := livekit.ParticipantID(utils.NewGuid(utils.ParticipantPrefix))
pLogger := rtc.LoggerWithParticipant(room.Logger, pi.Identity, sid, false)
protoRoom := room.ToProto()
allowFallback := false
// default allow forceTCP
allowFallback := true
if r.config.RTC.AllowTCPFallback != nil {
allowFallback = *r.config.RTC.AllowTCPFallback
}