commit 763222619b9385ade5b94b883b7bb08413b212f1
parent bc62285cb6d3cee7f69bc77e68f2efdb3d59427a
Author: Michael Froman <mfroman@mozilla.com>
Date: Wed, 8 Oct 2025 16:04:33 -0500
Bug 1993083 - Vendor libwebrtc from 4a5b9e9078
Upstream commit: https://webrtc.googlesource.com/src/+/4a5b9e9078a0cc1e33ac9b359844542cdf503634
Use peerconnection field trials instead of context in sdp O/A
see discussion in
https://webrtc-review.googlesource.com/c/src/+/397363
Bug: None
Change-Id: Ic629aa0c4cddaba9fd2506a571307015120ab6bc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/397680
Commit-Queue: Philipp Hancke <phancke@meta.com>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#45008}
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/third_party/libwebrtc/README.mozilla.last-vendor b/third_party/libwebrtc/README.mozilla.last-vendor
@@ -1,4 +1,4 @@
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
-libwebrtc updated from /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-08T21:03:04.178561+00:00.
+libwebrtc updated from /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-08T21:04:23.406426+00:00.
# base of lastest vendoring
-384325ebd7
+4a5b9e9078
diff --git a/third_party/libwebrtc/pc/sdp_offer_answer.cc b/third_party/libwebrtc/pc/sdp_offer_answer.cc
@@ -5101,8 +5101,7 @@ RTCError SdpOfferAnswerHandler::PushdownMediaDescription(
}
// If local and remote are both set, we assume that it's safe to trigger
// CCFB.
- if (context_->env().field_trials().IsEnabled(
- "WebRTC-RFC8888CongestionControlFeedback")) {
+ if (pc_->trials().IsEnabled("WebRTC-RFC8888CongestionControlFeedback")) {
if (use_ccfb && local_description() && remote_description()) {
// The call and the congestion controller live on the worker thread.
context_->worker_thread()->PostTask([call = pc_->call_ptr()] {