Change logging logic

This commit is contained in:
Zoltán Papp
2024-06-19 18:16:43 +02:00
parent 81f2330d49
commit f7e6aa9b8f
3 changed files with 7 additions and 1 deletions

View File

@@ -120,6 +120,8 @@ func (w *WorkerICE) SetupICEConnection(hasRelayOnLocally bool) {
w.conn.OnStatusChanged(StatusConnecting)
w.log.Debugf("trying to establish ICE connection with peer %s", w.config.Key)
remoteOfferAnswer, err := w.conn.DoHandshake()
if err != nil {
if errors.Is(err, ErrSignalIsNotReady) {