RTT intermediate calculation use ntp time instead of milliseconds.
Compact NTP representation was designed exactly for that purpose: calculate RTT. No need to map to ms before doing arithmetic on this values. Because of this change there is no need to keep mapping between compact ntp presentation and milliseconds in the RTCPSender. BUG=webrtc:5565 R=stefan@webrtc.org Review URL: https://codereview.webrtc.org/1491843004 . Cr-Commit-Position: refs/heads/master@{#11710}
This commit is contained in:
@ -896,16 +896,6 @@ int32_t ModuleRtpRtcpImpl::SendRTCPReferencePictureSelection(
|
||||
GetFeedbackState(), kRtcpRpsi, 0, 0, false, picture_id);
|
||||
}
|
||||
|
||||
int64_t ModuleRtpRtcpImpl::SendTimeOfSendReport(
|
||||
const uint32_t send_report) {
|
||||
return rtcp_sender_.SendTimeOfSendReport(send_report);
|
||||
}
|
||||
|
||||
bool ModuleRtpRtcpImpl::SendTimeOfXrRrReport(
|
||||
uint32_t mid_ntp, int64_t* time_ms) const {
|
||||
return rtcp_sender_.SendTimeOfXrRrReport(mid_ntp, time_ms);
|
||||
}
|
||||
|
||||
void ModuleRtpRtcpImpl::OnReceivedNACK(
|
||||
const std::list<uint16_t>& nack_sequence_numbers) {
|
||||
for (uint16_t nack_sequence_number : nack_sequence_numbers) {
|
||||
|
||||
Reference in New Issue
Block a user