Change capture interface to use NTP capture time.
Move NTP functionality to Clock. BUG=1563 TEST=trybots and vie_auto_test --automated Review URL: https://webrtc-codereview.appspot.com/1313005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3842 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -519,8 +519,8 @@ RTCPReceiver::HandleReportBlock(const RTCPUtility::RTCPPacket& rtcpPacket,
|
||||
_clock->CurrentNtp(lastReceivedRRNTPsecs, lastReceivedRRNTPfrac);
|
||||
|
||||
// time when we received this in MS
|
||||
uint32_t receiveTimeMS = ModuleRTPUtility::ConvertNTPTimeToMS(
|
||||
lastReceivedRRNTPsecs, lastReceivedRRNTPfrac);
|
||||
uint32_t receiveTimeMS = Clock::NtpToMs(lastReceivedRRNTPsecs,
|
||||
lastReceivedRRNTPfrac);
|
||||
|
||||
// Estimate RTT
|
||||
uint32_t d = (delaySinceLastSendReport & 0x0000ffff) * 1000;
|
||||
|
||||
Reference in New Issue
Block a user