Enable WebRTC-SplitMediaChannel by default
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 <hta@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40131}
diff --git a/pc/rtp_transceiver.cc b/pc/rtp_transceiver.cc
index 594f2d1..d1bf578 100644
--- a/pc/rtp_transceiver.cc
+++ b/pc/rtp_transceiver.cc
@@ -202,7 +202,7 @@
"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<cricket::ChannelInterface> new_channel;
if (media_type() == cricket::MEDIA_TYPE_AUDIO) {
// TODO(bugs.webrtc.org/11992): CreateVideoChannel internally switches to