Do not close publisher peer connection to aid migration. (#4427)

This commit is contained in:
Raja Subramanian
2026-04-03 21:50:59 +05:30
committed by GitHub
parent 91e90c1020
commit 8a67dd1b9f
4 changed files with 33 additions and 22 deletions
+2 -1
View File
@@ -335,7 +335,7 @@ func (s *RTCService) serve(w http.ResponseWriter, r *http.Request, needsJoinRequ
roomName, pi, code, err = s.validateInternal(pLogger, r, needsJoinRequest, false)
if err != nil {
HandleError(w, r, code, err)
HandleError(w, r, code, err, getLoggerFields()...)
return
}
@@ -343,6 +343,7 @@ func (s *RTCService) serve(w http.ResponseWriter, r *http.Request, needsJoinRequ
if pi.ID != "" {
pID = pi.ID
}
pLogger.Debugw("join request validated", append(getLoggerFields(), "participantInit", &pi))
// give it a few attempts to start session
var cr connectionResult