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 8c781612a7
commit 05f29ae8f2

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;