From 52233a3f28febb605856de324c7f42aa2778a3c6 Mon Sep 17 00:00:00 2001 From: Sergey Silkin Date: Tue, 31 Jul 2018 14:30:54 +0200 Subject: [PATCH] Increase RtpFrameReferenceFinder's frame buffer length to 100 frames. This mitigates the long freeze issue caused by overflow of frame buffer in RtpFrameReferenceFinder and subsequent removal of old, but not yet decoded frames, from the buffer. Bug: webrtc:9550 Change-Id: I03390bb58847688c6cb3f4868bf21269ad07073a Reviewed-on: https://webrtc-review.googlesource.com/91124 Commit-Queue: Sergey Silkin Reviewed-by: Philip Eliasson Cr-Commit-Position: refs/heads/master@{#24152} --- modules/video_coding/rtp_frame_reference_finder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_coding/rtp_frame_reference_finder.h b/modules/video_coding/rtp_frame_reference_finder.h index ceceeca8a3..f7e2720e7d 100644 --- a/modules/video_coding/rtp_frame_reference_finder.h +++ b/modules/video_coding/rtp_frame_reference_finder.h @@ -60,7 +60,7 @@ class RtpFrameReferenceFinder { static const uint16_t kPicIdLength = 1 << 15; static const uint8_t kMaxTemporalLayers = 5; static const int kMaxLayerInfo = 50; - static const int kMaxStashedFrames = 50; + static const int kMaxStashedFrames = 100; static const int kMaxNotYetReceivedFrames = 100; static const int kMaxGofSaved = 50; static const int kMaxPaddingAge = 100;