Adding missing timestamp calculation to RTPencode.
Review URL: https://webrtc-codereview.appspot.com/392002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1641 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
eaaccb7626
commit
13ac430bef
@ -756,8 +756,10 @@ int main(int argc, char* argv[])
|
||||
stereoDeInterleave(org_data, len * numChannels);
|
||||
}
|
||||
|
||||
if (payloadType==NETEQ_CODEC_G722_PT)
|
||||
timestamp+=len>>1;
|
||||
if (payloadType==NETEQ_CODEC_G722_PT)
|
||||
timestamp+=len>>1;
|
||||
else
|
||||
timestamp+=len;
|
||||
|
||||
sendtime += (double) len/(fs/1000);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user