Change kDefaultMaximumPreStreamDecoders to 1
The experiment WebRTC-PreStreamDecoders (aka Lazy decoder creation) has investigated the benefit of only creating a subset of all decoders during negotiation and the remaining decoders on demand. This CL changes the default value to only create one decoder during negotiation. This frees up hardware resources and reduces the SDP negotiation time. Bug: chromium:1202042 Change-Id: I6e2206839162aa857fcc948ccd53d0ff91cbdeaf Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231643 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Johannes Kron <kron@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34959}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
552c83171b
commit
66e06055f1
@ -65,7 +65,9 @@ constexpr int kMaxBaseMinimumDelayMs = 10000;
|
||||
|
||||
constexpr int kMaxWaitForFrameMs = 3000;
|
||||
|
||||
constexpr int kDefaultMaximumPreStreamDecoders = 100;
|
||||
// Create a decoder for the preferred codec before the stream starts and any
|
||||
// other decoder lazily on demand.
|
||||
constexpr int kDefaultMaximumPreStreamDecoders = 1;
|
||||
|
||||
// Concrete instance of RecordableEncodedFrame wrapping needed content
|
||||
// from EncodedFrame.
|
||||
|
Reference in New Issue
Block a user