Skip to content

Commit

Permalink
Fix regression in stun dns resolve value
Browse files Browse the repository at this point in the history
  • Loading branch information
disa6302 committed Oct 19, 2023
1 parent 655676d commit 4f8bd63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/source/PeerConnection/PeerConnection.c
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ PVOID resolveStunIceServerIp(PVOID args)

SNPRINTF(pWebRtcClientContext->pStunIpAddrCtx->hostname, SIZEOF(pWebRtcClientContext->pStunIpAddrCtx->hostname),
KINESIS_VIDEO_STUN_URL_WITHOUT_PORT, pRegion, pHostnamePostfix);
stunDnsResolutionStartTime = GETTIME();
if (getStunAddr(pWebRtcClientContext->pStunIpAddrCtx) == STATUS_SUCCESS) {
getIpAddrStr(&pWebRtcClientContext->pStunIpAddrCtx->kvsIpAddr, addressResolved, ARRAY_SIZE(addressResolved));
DLOGI("ICE Server address for %s with getaddrinfo: %s", pWebRtcClientContext->pStunIpAddrCtx->hostname, addressResolved);
Expand Down

0 comments on commit 4f8bd63

Please sign in to comment.