Add logs when stun or turn host lookup is completed.
This will help investigate issues caused by DNS lookup. BUG= R=pthatcher@webrtc.org Review URL: https://codereview.webrtc.org/1493863002 . Cr-Commit-Position: refs/heads/master@{#10919}
This commit is contained in:
parent
cd4003f3df
commit
0f490a5b86
@ -363,6 +363,8 @@ void UDPPort::ResolveStunAddress(const rtc::SocketAddress& stun_addr) {
|
||||
resolver_->SignalDone.connect(this, &UDPPort::OnResolveResult);
|
||||
}
|
||||
|
||||
LOG_J(LS_INFO, this) << "Starting STUN host lookup for "
|
||||
<< stun_addr.ToSensitiveString();
|
||||
resolver_->Resolve(stun_addr);
|
||||
}
|
||||
|
||||
|
||||
@ -612,6 +612,8 @@ void TurnPort::ResolveTurnAddress(const rtc::SocketAddress& address) {
|
||||
if (resolver_)
|
||||
return;
|
||||
|
||||
LOG_J(LS_INFO, this) << "Starting TURN host lookup for "
|
||||
<< address.ToSensitiveString();
|
||||
resolver_ = socket_factory()->CreateAsyncResolver();
|
||||
resolver_->SignalDone.connect(this, &TurnPort::OnResolveResult);
|
||||
resolver_->Start(address);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user