close signal session is request messages are undeliverable (#3364)

This commit is contained in:
Paul Wells
2025-01-24 00:24:22 -08:00
committed by GitHub
parent 524441446f
commit ef4b5faba1
+1 -4
View File
@@ -428,10 +428,7 @@ func (s *RTCService) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if err := cr.RequestSink.WriteMessage(req); err != nil {
pLogger.Warnw("error writing to request sink", err, "connID", cr.ConnectionID)
if errors.Is(err, psrpc.ErrStreamClosed) {
// disconnect the participant WS since the signal proxy has been broken
return
}
return
}
}
}