Skip to content
Snippets Groups Projects
Unverified Commit 6ce8a7ce authored by Sébastien Blin's avatar Sébastien Blin
Browse files

sipaccountbase: use ipv6 address for TURN

Change-Id: I09775af6fcd9ad69b8c139e685b9cf66e9ec215b
Gitlab: #301
parent f35f3da2
No related branches found
No related tags found
No related merge requests found
...@@ -480,7 +480,7 @@ SIPAccountBase::getIceOptions() const noexcept ...@@ -480,7 +480,7 @@ SIPAccountBase::getIceOptions() const noexcept
} }
if (cacheTurnV6_ && *cacheTurnV6_) { if (cacheTurnV6_ && *cacheTurnV6_) {
opts.turnServers.emplace_back(TurnServerInfo() opts.turnServers.emplace_back(TurnServerInfo()
.setUri(cacheTurnV4_->toString(true)) .setUri(cacheTurnV6_->toString(true))
.setUsername(turnServerUserName_) .setUsername(turnServerUserName_)
.setPassword(turnServerPwd_) .setPassword(turnServerPwd_)
.setRealm(turnServerRealm_)); .setRealm(turnServerRealm_));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment