Commit 6ce8a7ce authored by Sébastien Blin's avatar Sébastien Blin

sipaccountbase: use ipv6 address for TURN

Change-Id: I09775af6fcd9ad69b8c139e685b9cf66e9ec215b
Gitlab: #301
parent f35f3da2
......@@ -480,7 +480,7 @@ SIPAccountBase::getIceOptions() const noexcept
}
if (cacheTurnV6_ && *cacheTurnV6_) {
opts.turnServers.emplace_back(TurnServerInfo()
.setUri(cacheTurnV4_->toString(true))
.setUri(cacheTurnV6_->toString(true))
.setUsername(turnServerUserName_)
.setPassword(turnServerPwd_)
.setRealm(turnServerRealm_));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment