More gracefully handle timing errors, such as unexpected changes in the rtp timestamp.

BUG=webrtc:7682

Review-Url: https://codereview.webrtc.org/2898763005
Cr-Commit-Position: refs/heads/master@{#18245}
This commit is contained in:
stefan
2017-05-23 09:52:18 -07:00
committed by Commit bot
parent 7a3006bae7
commit 95e9754e40
2 changed files with 33 additions and 0 deletions

View File

@ -150,6 +150,9 @@ class FrameBuffer {
void ClearFramesAndHistory() EXCLUSIVE_LOCKS_REQUIRED(crit_);
bool HasBadRenderTiming(const FrameObject& frame, int64_t now_ms)
EXCLUSIVE_LOCKS_REQUIRED(crit_);
FrameMap frames_ GUARDED_BY(crit_);
rtc::CriticalSection crit_;