Ignore the return value of UpdateRtcpTimestamp instead of printing warning. Because UpdateRtcpTimestamp may fail when there's no valid RTCP SR, which can happen in the first couple seconds or when the channel is a send only channel. Either case we don't want the warning log.
BUG=crbug/371714 R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/15509004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6166 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
bb6201ae4b
commit
54231f0662
@ -333,9 +333,7 @@ int ViEReceiver::InsertRTCPPacket(const uint8_t* rtcp_packet,
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (!ntp_estimator_->UpdateRtcpTimestamp(rtp_receiver_->SSRC(), rtp_rtcp_)) {
|
||||
LOG(LS_WARNING) << "Failed to retrieve timestamp information from RTCP SR.";
|
||||
}
|
||||
ntp_estimator_->UpdateRtcpTimestamp(rtp_receiver_->SSRC(), rtp_rtcp_);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user