初步支持ipv6: #576, #1406

This commit is contained in:
ziyue
2022-05-07 20:06:08 +08:00
parent 5e08e43e9a
commit 3062ea0e7c
6 changed files with 10 additions and 10 deletions

View File

@@ -209,7 +209,7 @@ string RtpProcess::get_local_ip() {
if (_sock) {
return _sock->get_local_ip();
}
return "0.0.0.0";
return "::";
}
uint16_t RtpProcess::get_local_port() {