Increase WebRTC default receive buffer size to 1MB.

The previous default size was 256kB.
The increase reduces packet loss at very high/bursty receive rates.

Bug: chromium:41485050
Change-Id: I2cf24b14e704bfd855701461afd3060ac078df70
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/340340
Auto-Submit: Erik Språng <sprang@webrtc.org>
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41820}
This commit is contained in:
Erik Språng 2024-02-22 14:18:56 +01:00 committed by WebRTC LUCI CQ
parent 7a008822f9
commit 2514dd7a20

View File

@ -16,7 +16,7 @@ const int kVideoCodecClockrate = 90000;
const int kVideoMtu = 1200;
const int kVideoRtpSendBufferSize = 262144;
const int kVideoRtpRecvBufferSize = 262144;
const int kVideoRtpRecvBufferSize = 1048576;
const float kHighSystemCpuThreshold = 0.85f;
const float kLowSystemCpuThreshold = 0.65f;