Change log level from Debug to Warn for candidate gathering failure

This commit is contained in:
Zoltan Papp
2025-08-14 12:24:22 +02:00
parent 45c8f8b4ae
commit 2122b65e84

View File

@@ -233,7 +233,7 @@ func (w *WorkerICE) SessionID() ICESessionID {
func (w *WorkerICE) connect(ctx context.Context, agent *ice.Agent, remoteOfferAnswer *OfferAnswer) {
w.log.Debugf("gather candidates")
if err := agent.GatherCandidates(); err != nil {
w.log.Debugf("failed to gather candidates: %s", err)
w.log.Warnf("failed to gather candidates: %s", err)
return
}