commit cfdbc2a2343f9aaf4488e35cf8176bfb5827d06a
parent df698c2d83f3fec5e743868cd2dbca9906939738
Author: Dan Baker <dbaker@mozilla.com>
Date: Thu, 23 Oct 2025 17:14:32 -0600
Bug 1995393 - Vendor libwebrtc from 8207455791
Upstream commit: https://webrtc.googlesource.com/src/+/82074557918766b48d4bbe774ef4bfd52a37b2c9
Mark JsepIceCandidate and IceCandidateInterface aliases as deprecated
Bug: webrtc:42233526, webrtc:406795492
Change-Id: Ic72575a8b5d58e95f9e230e6e65aa98a294320b8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/404840
Auto-Submit: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#45374}
Diffstat:
3 files changed, 5 insertions(+), 5 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 /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
-libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-23T23:12:02.260134+00:00.
+libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-23T23:14:19.670760+00:00.
# base of lastest vendoring
-5cfd38f595
+8207455791
diff --git a/third_party/libwebrtc/api/jsep.h b/third_party/libwebrtc/api/jsep.h
@@ -111,8 +111,8 @@ class RTC_EXPORT IceCandidate final {
// TODO: webrtc:406795492 - Deprecate and eventually remove these types when no
// longer referenced. They're provided here for backwards compatiblity.
-using JsepIceCandidate = IceCandidate;
-using IceCandidateInterface = IceCandidate;
+using JsepIceCandidate [[deprecated("Use IceCandidate")]] = IceCandidate;
+using IceCandidateInterface [[deprecated("Use IceCandidate")]] = IceCandidate;
// Creates an IceCandidate based on SDP string.
// Returns null if the sdp string can't be parsed.
diff --git a/third_party/libwebrtc/pc/peer_connection_ice_unittest.cc b/third_party/libwebrtc/pc/peer_connection_ice_unittest.cc
@@ -617,7 +617,7 @@ TEST_P(PeerConnectionIceTest, RemoveCandidateRemovesFromRemoteDescription) {
caller->SetRemoteDescription(callee->CreateAnswerAndSetAsLocal()));
Candidate candidate = CreateLocalUdpCandidate(kCalleeAddress);
- std::unique_ptr<IceCandidateInterface> ice_candidate =
+ std::unique_ptr<IceCandidate> ice_candidate =
caller->CreateJsepCandidateForFirstTransport(&candidate);
ASSERT_TRUE(caller->pc()->AddIceCandidate(ice_candidate.get()));