From 1c2c1a876bdf867cd0e22cafe8199b2479137a88 Mon Sep 17 00:00:00 2001 From: braginini Date: Thu, 17 Feb 2022 08:36:37 +0100 Subject: [PATCH] chore: fix selected candidate pair logging --- client/internal/peer/conn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/internal/peer/conn.go b/client/internal/peer/conn.go index 1b1dcb8ac..6749bbdb6 100644 --- a/client/internal/peer/conn.go +++ b/client/internal/peer/conn.go @@ -304,8 +304,8 @@ func (conn *Conn) onICECandidate(candidate ice.Candidate) { } func (conn *Conn) onICESelectedCandidatePair(c1 ice.Candidate, c2 ice.Candidate) { - log.Debugf("selected candidate pair [local <-> remote] -> [%s <-> %s], peer %s", conn.config.Key, - c1.String(), c2.String()) + log.Debugf("selected candidate pair [local <-> remote] -> [%s <-> %s], peer %s", c1.String(), c2.String(), + conn.config.Key) } // onICEConnectionStateChange registers callback of an ICE Agent to track connection state