Implemented a fix for Issue 88.
NetEQ now checks for too early CNG packets, and modifies the CNG sample counter to jump forward in time if needed to combat clock drift. Adding a new unittest to reproduce and solve the issue. The unittest LongCngWithClockDrift verifies that the buffer delay before and after a long CNG period is almost constant. The test introduces a clock drift of 25 ms/s. BUG=http://code.google.com/p/webrtc/issues/detail?id=88 TEST=neteq_unittests NetEqDecodingTest.LongCngWithClockDrift Review URL: https://webrtc-codereview.appspot.com/372002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1547 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
Reference in New Issue
Block a user