WebRTC-DeprecateGlobalFieldTrialString/Enabled/ - part 10/inf
This patch takes a stab at modules/video_coding, but reaches only about half. Bug: webrtc:10335 Change-Id: I0d47d0468b818145470c51ae4e8e75ff58d499ae Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/256112 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Jonas Oreland <jonaso@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36335}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
2ff465f506
commit
e02f9eedb3
@ -19,6 +19,7 @@
|
||||
|
||||
#include "absl/base/attributes.h"
|
||||
#include "api/units/time_delta.h"
|
||||
#include "api/webrtc_key_value_config.h"
|
||||
#include "modules/include/module.h"
|
||||
#include "modules/include/module_common_types.h"
|
||||
#include "modules/video_coding/histogram.h"
|
||||
@ -33,7 +34,8 @@ class DEPRECATED_NackModule : public Module {
|
||||
public:
|
||||
DEPRECATED_NackModule(Clock* clock,
|
||||
NackSender* nack_sender,
|
||||
KeyFrameRequestSender* keyframe_request_sender);
|
||||
KeyFrameRequestSender* keyframe_request_sender,
|
||||
const WebRtcKeyValueConfig& field_trials);
|
||||
|
||||
int OnReceivedPacket(uint16_t seq_num, bool is_keyframe);
|
||||
int OnReceivedPacket(uint16_t seq_num, bool is_keyframe, bool is_recovered);
|
||||
@ -69,7 +71,8 @@ class DEPRECATED_NackModule : public Module {
|
||||
|
||||
struct BackoffSettings {
|
||||
BackoffSettings(TimeDelta min_retry, TimeDelta max_rtt, double base);
|
||||
static absl::optional<BackoffSettings> ParseFromFieldTrials();
|
||||
static absl::optional<BackoffSettings> ParseFromFieldTrials(
|
||||
const WebRtcKeyValueConfig& field_trials);
|
||||
|
||||
// Min time between nacks.
|
||||
const TimeDelta min_retry_interval;
|
||||
|
||||
Reference in New Issue
Block a user