Default enable active ICE controller.

Refactor is fully launched on mobile and approved for full launch on chromium.

Bug: webrtc:14367, chromium:1368516
Change-Id: I536f2630887eb187e8f9397ba033dbb65f4acad8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/294281
Commit-Queue: Sameer Vijaykar <samvi@google.com>
Reviewed-by: Jonas Oreland <jonaso@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39388}
This commit is contained in:
Sameer Vijaykar 2023-02-20 15:26:18 +01:00 committed by WebRTC LUCI CQ
parent c6ce953664
commit ef173f02bb

View File

@ -97,9 +97,10 @@ rtc::RouteEndpoint CreateRouteEndpointFromCandidate(
bool UseActiveIceControllerFieldTrialEnabled(
const webrtc::FieldTrialsView* field_trials) {
// Feature to refactor ICE controller and enable active ICE controllers.
// Field trial key reserved in bugs.webrtc.org/14367
return field_trials &&
field_trials->IsEnabled("WebRTC-UseActiveIceController");
// Default enable for full launch.
// TODO(bugs.webrtc.org/14367): Code branching will be cleaned up in a
// follow-up CL.
return true;
}
using ::webrtc::RTCError;