Changing STUN request log message to "verbose".
TBR=pthatcher@webrtc.org NOTRY=True Review URL: https://codereview.webrtc.org/2015773002 . Cr-Commit-Position: refs/heads/master@{#12901}
This commit is contained in:
parent
269fe75a96
commit
5ef034af93
@ -221,14 +221,15 @@ void StunRequest::OnMessage(rtc::Message* pmsg) {
|
||||
|
||||
OnSent();
|
||||
manager_->thread_->PostDelayed(resend_delay(), this, MSG_STUN_SEND, NULL);
|
||||
LOG(LS_INFO) << "Sent STUN request " << count_
|
||||
<< "; resend delay = " << resend_delay();
|
||||
}
|
||||
|
||||
void StunRequest::OnSent() {
|
||||
count_ += 1;
|
||||
if (count_ == MAX_SENDS)
|
||||
if (count_ == MAX_SENDS) {
|
||||
timeout_ = true;
|
||||
}
|
||||
LOG(LS_VERBOSE) << "Sent STUN request " << count_
|
||||
<< "; resend delay = " << resend_delay();
|
||||
}
|
||||
|
||||
int StunRequest::resend_delay() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user