mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-24 03:31:28 +02:00
chore: fix selected candidate pair logging
This commit is contained in:
parent
e5dcd4753e
commit
1c2c1a876b
@ -304,8 +304,8 @@ func (conn *Conn) onICECandidate(candidate ice.Candidate) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (conn *Conn) onICESelectedCandidatePair(c1 ice.Candidate, c2 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,
|
log.Debugf("selected candidate pair [local <-> remote] -> [%s <-> %s], peer %s", c1.String(), c2.String(),
|
||||||
c1.String(), c2.String())
|
conn.config.Key)
|
||||||
}
|
}
|
||||||
|
|
||||||
// onICEConnectionStateChange registers callback of an ICE Agent to track connection state
|
// onICEConnectionStateChange registers callback of an ICE Agent to track connection state
|
||||||
|
Loading…
x
Reference in New Issue
Block a user