File tree 2 files changed +2
-26
lines changed
modules/audio_coding/audio_network_adaptor 2 files changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -164,9 +164,6 @@ def bug_url(self) -> str:
164
164
# POLICY_EXEMPT_FIELD_TRIALS_DIGEST.
165
165
POLICY_EXEMPT_FIELD_TRIALS : FrozenSet [FieldTrial ] = frozenset ([
166
166
# keep-sorted start
167
- FieldTrial ('UseTwccPlrForAna' ,
168
- 'webrtc:7058' ,
169
- date (2024 , 4 , 1 )),
170
167
FieldTrial ('WebRTC-AddNetworkCostToVpn' ,
171
168
'webrtc:13097' ,
172
169
date (2024 , 4 , 1 )),
@@ -914,7 +911,7 @@ def bug_url(self) -> str:
914
911
]) # yapf: disable
915
912
916
913
POLICY_EXEMPT_FIELD_TRIALS_DIGEST : str = \
917
- '023f4ce749a699f0ab811093b9f568d604da28a8 '
914
+ '3026f839766eb90355893fa0f1af8e9bf0d0dca1 '
918
915
919
916
REGISTERED_FIELD_TRIALS : FrozenSet [FieldTrial ] = ACTIVE_FIELD_TRIALS .union (
920
917
POLICY_EXEMPT_FIELD_TRIALS )
Original file line number Diff line number Diff line change 14
14
#include < utility>
15
15
16
16
#include " rtc_base/checks.h"
17
- #include " system_wrappers/include/field_trial.h"
18
17
19
18
namespace webrtc {
20
19
21
- namespace {
22
- class NullSmoothingFilter final : public SmoothingFilter {
23
- public:
24
- void AddSample (float sample) override { last_sample_ = sample; }
25
-
26
- absl::optional<float > GetAverage () override { return last_sample_; }
27
-
28
- bool SetTimeConstantMs (int time_constant_ms) override {
29
- RTC_DCHECK_NOTREACHED ();
30
- return false ;
31
- }
32
-
33
- private:
34
- absl::optional<float > last_sample_;
35
- };
36
- } // namespace
37
-
38
20
FecControllerPlrBased::Config::Config (
39
21
bool initial_fec_enabled,
40
22
const ThresholdCurve& fec_enabling_threshold,
@@ -57,10 +39,7 @@ FecControllerPlrBased::FecControllerPlrBased(
57
39
FecControllerPlrBased::FecControllerPlrBased (const Config& config)
58
40
: FecControllerPlrBased(
59
41
config,
60
- webrtc::field_trial::FindFullName (" UseTwccPlrForAna" ) == "Enabled"
61
- ? std::unique_ptr<NullSmoothingFilter>(new NullSmoothingFilter())
62
- : std::unique_ptr<SmoothingFilter>(
63
- new SmoothingFilterImpl(config.time_constant_ms))) {}
42
+ std::make_unique<SmoothingFilterImpl>(config.time_constant_ms)) {}
64
43
65
44
FecControllerPlrBased::~FecControllerPlrBased () = default ;
66
45
You can’t perform that action at this time.
0 commit comments