Bug 892395 - Use RTP-Info as base timestamp instead of sender report(SR). r=sworkman

This commit is contained in:
Benjamin Chen 2013-07-22 16:39:20 +08:00
parent 3d18e821d0
commit b2e3c6bfa5

View File

@ -1509,7 +1509,7 @@ private:
"rtp-time", (int32_t *)&rtpTime));
int64_t relRtpTimeUs =
(((int64_t)rtpTime - (int64_t)track->mRTPAnchor) * 1000000ll)
(((int64_t)rtpTime - (int64_t)track->mNormalPlayTimeRTP) * 1000000ll)
/ track->mTimeScale;
int64_t ntpTimeUs = track->mNTPAnchorUs + relRtpTimeUs;