[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
@@ -54,7 +54,7 @@ void AnnouncementInbox::Configure(std::string host, int port,
if (directory_.empty() || host.empty() || port <= 0 || device_id.empty())
return;
MiniRtcSignalServerAddress address{};
if (ParseMiniRtcSignalServerAddress(host.data(), host.size(), &address) != 0) return;
if (MiniRtcParseSignalServerAddress(host.data(), host.size(), &address) != 0) return;
std::string normalized_host(address.host);
for (auto& ch : normalized_host)
if (ch >= 'A' && ch <= 'Z') ch += 'a' - 'A';