Make KeyValueConfig mandatory in the pacer.
This CL also removes dependency on the legacy field trial methods. Bug: webrtc:11926 Change-Id: I53feeee86b92878cf0f2b8ebdce3d101f9e04014 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/255381 Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Auto-Submit: Erik Språng <sprang@webrtc.org> Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36205}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
2e7579aed2
commit
e486a7bdf7
@ -82,7 +82,7 @@ class PacingController {
|
||||
PacingController(Clock* clock,
|
||||
PacketSender* packet_sender,
|
||||
RtcEventLog* event_log,
|
||||
const WebRtcKeyValueConfig* field_trials,
|
||||
const WebRtcKeyValueConfig& field_trials,
|
||||
ProcessMode mode);
|
||||
|
||||
~PacingController();
|
||||
@ -176,8 +176,7 @@ class PacingController {
|
||||
const ProcessMode mode_;
|
||||
Clock* const clock_;
|
||||
PacketSender* const packet_sender_;
|
||||
const std::unique_ptr<FieldTrialBasedConfig> fallback_field_trials_;
|
||||
const WebRtcKeyValueConfig* field_trials_;
|
||||
const WebRtcKeyValueConfig& field_trials_;
|
||||
|
||||
const bool drain_large_queues_;
|
||||
const bool send_padding_if_silent_;
|
||||
|
||||
Reference in New Issue
Block a user