Fix the video buffer size should take rtt into consideration

BUG=webrtc:8010

Review-Url: https://codereview.webrtc.org/2980413002
Cr-Commit-Position: refs/heads/master@{#19285}
This commit is contained in:
gustavogb
2017-08-09 05:43:08 -07:00
committed by Commit Bot
parent 5ca60cc91c
commit f1e08d0b58
5 changed files with 22 additions and 1 deletions

View File

@ -74,6 +74,9 @@ class FrameBuffer {
// return immediately.
void Stop();
// Updates the RTT for jitter buffer estimation.
void UpdateRtt(int64_t rtt_ms);
private:
struct FrameKey {
FrameKey() : picture_id(0), spatial_layer(0) {}