[refactor] adopt MiniRtc API naming across clients

This commit is contained in:
dijunkun
2026-11-06 23:55:00 +08:00
parent a64a28a5a3
commit 1a12a1d7d5
11 changed files with 15 additions and 15 deletions
@@ -327,7 +327,7 @@ struct Transport::Impl {
c->local_address = SocketAddress(local.address());
c->remote_address = SocketAddress(remote.address());
const auto interfaces = LocalIpInterfaces();
if (IsMiniRtcDirectAddressPair(c->local_address.data(), c->local_address.size(),
if (MiniRtcIsDirectAddressPair(c->local_address.data(), c->local_address.size(),
c->remote_address.data(), c->remote_address.size()) != 1 ||
std::none_of(
interfaces.begin(), interfaces.end(),