Remove unused field trial registrations Remove 10 field trials from ACTIVE_FIELD_TRIALS and POLICY_EXEMPT_FIELD_TRIALS that are no longer read anywhere in WebRTC production code: - WebRTC-Aec3EchoSaturationDetectionKillSwitch - WebRTC-Aec3HighPassFilterEchoReference - WebRTC-Audio-GainController2 - WebRTC-Audio-NetEqDecisionLogicConfig - WebRTC-Audio-NetEqNackTrackerConfig - WebRTC-FakeNetworkReceiveConfig - WebRTC-FakeNetworkSendConfig - WebRTC-ForceDtls13 - WebRTC-H264HighProfile - WebRTC-TransientSuppressorForcedOff Also remove leftover test variants for WebRTC-ForceDtls13 and the unused Objective-C kRTCFieldTrialH264HighProfileKey constant. Bug: webrtc:42232605, webrtc:383141571, webrtc:42221578, webrtc:42222401, webrtc:42223518, webrtc:42220211, webrtc:42224493, webrtc:41481030, webrtc:40172597 Change-Id: I3feb21b08bc9b4898147abb64f31efe7e26558b9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/509441 Reviewed-by: Peter Hanspers <peterhanspers@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#48959}
diff --git a/experiments/field_trials.py b/experiments/field_trials.py index aeda3d7..78aa790 100755 --- a/experiments/field_trials.py +++ b/experiments/field_trials.py
@@ -53,9 +53,6 @@ FieldTrial('WebRTC-ApmEnforce48kHzProcessingRate', 454695115, date(2026, 6, 1)), - FieldTrial('WebRTC-Audio-GainController2', - 42232605, - date(2024, 4, 1)), FieldTrial('WebRTC-Audio-OpusDecodeStereoByDefault', 379996136, date(2025, 11, 15)), @@ -113,9 +110,6 @@ FieldTrial('WebRTC-ErrorOnRtpExtensionRedefinition', 504685269, date(2027, 1, 1)), - FieldTrial('WebRTC-ForceDtls13', - 383141571, - date(2024,9,1)), FieldTrial('WebRTC-H265-QualityScaling', 402154973, date(2026, 1, 1)), @@ -305,9 +299,6 @@ FieldTrial('WebRTC-Aec3DelayEstimateSmoothingOverride', 42222934, date(2024, 4, 1)), - FieldTrial('WebRTC-Aec3EchoSaturationDetectionKillSwitch', - 42221578, - INDEFINITE), FieldTrial('WebRTC-Aec3EnforceCaptureDelayEstimationDownmixing', 42221238, INDEFINITE), @@ -357,9 +348,6 @@ FieldTrial('WebRTC-Aec3EnforceVeryLowActiveRenderLimit', 42221578, INDEFINITE), - FieldTrial('WebRTC-Aec3HighPassFilterEchoReference', - 42222401, - date(2024, 4, 1)), FieldTrial('WebRTC-Aec3MinErleDuringOnsetsKillSwitch', 42220385, date(2024, 4, 1)), @@ -535,15 +523,9 @@ FieldTrial('WebRTC-Audio-MinimizeResamplingOnMobile', 42231221, date(2024, 4, 1)), - FieldTrial('WebRTC-Audio-NetEqDecisionLogicConfig', - 42223518, - date(2024, 4, 1)), FieldTrial('WebRTC-Audio-NetEqDelayManagerConfig', 42220376, date(2024, 4, 1)), - FieldTrial('WebRTC-Audio-NetEqNackTrackerConfig', - 42220211, - date(2024, 4, 1)), FieldTrial('WebRTC-Audio-NetEqSmartFlushing', 42222334, date(2027, 4, 1)), @@ -649,12 +631,6 @@ FieldTrial('WebRTC-ExtraICEPing', 42220311, date(2024, 4, 1)), - FieldTrial('WebRTC-FakeNetworkReceiveConfig', - 42224493, - INDEFINITE), - FieldTrial('WebRTC-FakeNetworkSendConfig', - 42224493, - INDEFINITE), FieldTrial('WebRTC-FilterAbsSendTimeExtension', 42220271, INDEFINITE), @@ -697,9 +673,6 @@ FieldTrial('WebRTC-GetEncoderInfoOverride', NO_BUG, date(2024, 4, 1)), - FieldTrial('WebRTC-H264HighProfile', - 41481030, - date(2024, 4, 1)), FieldTrial('WebRTC-IPv6Default', NO_BUG, # chromium:413437 date(2024, 4, 1)), @@ -790,9 +763,6 @@ FieldTrial('WebRTC-SwitchEncoderOnInitializationFailures', 42223783, date(2024, 4, 1)), - FieldTrial('WebRTC-TransientSuppressorForcedOff', - 40172597, - INDEFINITE), FieldTrial('WebRTC-UseBaseHeavyVP8TL3RateAllocation', 42234670, date(2024, 4, 1)), @@ -890,7 +860,7 @@ ]) # yapf: disable POLICY_EXEMPT_FIELD_TRIALS_DIGEST: str = \ - 'c896c26970b042620c2ccc9b337aa2c958e9705c' + 'feaa209731fde7f52505536924935940cc57dccd' REGISTERED_FIELD_TRIALS: FrozenSet[FieldTrial] = ACTIVE_FIELD_TRIALS.union( POLICY_EXEMPT_FIELD_TRIALS)
diff --git a/pc/data_channel_integrationtest.cc b/pc/data_channel_integrationtest.cc index 6f272c7..cdabf4b 100644 --- a/pc/data_channel_integrationtest.cc +++ b/pc/data_channel_integrationtest.cc
@@ -1815,11 +1815,9 @@ const char* kTrialsVariants[] = { "", - "WebRTC-ForceDtls13/Enabled/", "WebRTC-IceHandshakeDtls/Enabled/", - "WebRTC-ForceDtls13/Enabled/WebRTC-EnableDtlsPqc/Enabled/", - "WebRTC-ForceDtls13/Enabled/WebRTC-IceHandshakeDtls/Enabled/", - ("WebRTC-ForceDtls13/Enabled/WebRTC-IceHandshakeDtls/Enabled/" + "WebRTC-EnableDtlsPqc/Enabled/", + ("WebRTC-IceHandshakeDtls/Enabled/" "WebRTC-EnableDtlsPqc/Enabled/"), };
diff --git a/pc/peer_connection_callsetup_perf_tests.cc b/pc/peer_connection_callsetup_perf_tests.cc index 2045e92..e96b414 100644 --- a/pc/peer_connection_callsetup_perf_tests.cc +++ b/pc/peer_connection_callsetup_perf_tests.cc
@@ -213,21 +213,12 @@ PeerConnectionDataChannelOpenTest, ::testing::Combine( testing::Values( // Field trials to use. - // WebRTC 1.0 + DTLS 1.2 - "WebRTC-IceHandshakeDtls/Disabled/WebRTC-ForceDtls13/" - "Disabled/", - // SPED + DTLS 1.2 - "WebRTC-IceHandshakeDtls/Enabled/WebRTC-ForceDtls13/" - "Disabled/", - // WebRTC 1.0 + DTLS 1.3 - "WebRTC-IceHandshakeDtls/Disabled/WebRTC-ForceDtls13/" - "Enabled/", + // WebRTC 1.0 + DTLS 1.3 + "WebRTC-IceHandshakeDtls/Disabled/", // SPED + DTLS 1.3 - "WebRTC-IceHandshakeDtls/Enabled/WebRTC-ForceDtls13/" - "Enabled/", + "WebRTC-IceHandshakeDtls/Enabled/", // SPED + DTLS 1.3 + SNAP - "WebRTC-IceHandshakeDtls/Enabled/WebRTC-ForceDtls13/" - "Enabled/WebRTC-Sctp-Snap/Enabled/"), + "WebRTC-IceHandshakeDtls/Enabled/WebRTC-Sctp-Snap/Enabled/"), testing::Bool(), // Whether to skip signaling candidates from // first connection. testing::Values(
diff --git a/sdk/objc/api/peerconnection/RTCFieldTrials.h b/sdk/objc/api/peerconnection/RTCFieldTrials.h index 8f924074..7982b80 100644 --- a/sdk/objc/api/peerconnection/RTCFieldTrials.h +++ b/sdk/objc/api/peerconnection/RTCFieldTrials.h
@@ -17,7 +17,6 @@ RTC_EXTERN NSString *const kRTCFieldTrialAudioForceABWENoTWCCKey; RTC_EXTERN NSString *const kRTCFieldTrialFlexFec03AdvertisedKey; RTC_EXTERN NSString *const kRTCFieldTrialFlexFec03Key; -RTC_EXTERN NSString *const kRTCFieldTrialH264HighProfileKey; RTC_EXTERN NSString *const kRTCFieldTrialMinimizeResamplingOnMobileKey; RTC_EXTERN NSString *const kRTCFieldTrialUseNWPathMonitor;
diff --git a/sdk/objc/api/peerconnection/RTCFieldTrials.mm b/sdk/objc/api/peerconnection/RTCFieldTrials.mm index 284226f..9020c7c 100644 --- a/sdk/objc/api/peerconnection/RTCFieldTrials.mm +++ b/sdk/objc/api/peerconnection/RTCFieldTrials.mm
@@ -21,7 +21,6 @@ NSString *const kRTCFieldTrialFlexFec03AdvertisedKey = @"WebRTC-FlexFEC-03-Advertised"; NSString *const kRTCFieldTrialFlexFec03Key = @"WebRTC-FlexFEC-03"; -NSString *const kRTCFieldTrialH264HighProfileKey = @"WebRTC-H264HighProfile"; NSString *const kRTCFieldTrialMinimizeResamplingOnMobileKey = @"WebRTC-Audio-MinimizeResamplingOnMobile"; NSString *const kRTCFieldTrialUseNWPathMonitor =