From 61bacd1ddd11d1376db76745ea37a1402e8f2af2 Mon Sep 17 00:00:00 2001 From: Harald Alvestrand Date: Mon, 15 May 2023 07:12:40 +0000 Subject: [PATCH] Enable WebRTC-SplitMediaChannel by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a refactoring that should have no production impact. It has been activated for 2 weeks before, but was rolled back because of a performance impact - this has now been fixed. Intended to be submitted May 24 - after the 115 branch cut. Bug: webrtc:13931 Change-Id: I745558cc3062cb4ea0a4d6f537702efc96eb7574 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/305221 Commit-Queue: Harald Alvestrand Reviewed-by: Henrik Boström Cr-Commit-Position: refs/heads/main@{#40131} --- pc/rtp_transceiver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc/rtp_transceiver.cc b/pc/rtp_transceiver.cc index 594f2d1d53..d1bf578db8 100644 --- a/pc/rtp_transceiver.cc +++ b/pc/rtp_transceiver.cc @@ -202,7 +202,7 @@ RTCError RtpTransceiver::CreateChannel( "No media engine for mid=" + std::string(mid)); } bool use_split_media_channel = - context()->field_trials().IsEnabled("WebRTC-SplitMediaChannel"); + !context()->field_trials().IsDisabled("WebRTC-SplitMediaChannel"); std::unique_ptr new_channel; if (media_type() == cricket::MEDIA_TYPE_AUDIO) { // TODO(bugs.webrtc.org/11992): CreateVideoChannel internally switches to