Fixed a/v sync issue.
BUG= TEST= Review URL: https://webrtc-codereview.appspot.com/649004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2402 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -138,7 +138,7 @@ WebRtc_Word32 ViESyncModule::Process() {
|
||||
// negative
|
||||
int NTPdiff = (audio_received_ntp_secs - video_received_ntp_secs)
|
||||
* 1000; // ms
|
||||
NTPdiff += static_cast<int>(audio_received_ntp_secs / FracMS -
|
||||
NTPdiff += static_cast<int>(audio_received_ntp_frac / FracMS -
|
||||
video_received_ntp_frac / FracMS);
|
||||
|
||||
int RTCPdiff = (audio_rtcp_arrivaltime_secs - video_rtcp_arrivaltime_secs)
|
||||
|
Reference in New Issue
Block a user