commit 3cc44ee8799bea602533094cf89ca0a9666920cc
parent 0d3f0c78935ed724534266f21bcf796d343ba923
Author: Dan Baker <dbaker@mozilla.com>
Date: Mon, 27 Oct 2025 14:26:41 -0600
Bug 1995393 - Vendor libwebrtc from 7e95c7051f
Upstream commit: https://webrtc.googlesource.com/src/+/7e95c7051f5753afb5cdf2021683aaec7c44cd66
Remove deprecated names inherited from cricket::MediaType
These were marked as deprecated in March 2025.
Bug: webrtc:42222911
Change-Id: Ib06f269d8b06ab71043e22dbcbc804d8c2accaa0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/383241
Auto-Submit: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Evan Shrubsole <eshr@webrtc.org>
Commit-Queue: Evan Shrubsole <eshr@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#45461}
Diffstat:
2 files changed, 2 insertions(+), 13 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-27T20:24:31.600141+00:00.
+libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-27T20:26:30.666255+00:00.
# base of lastest vendoring
-cd1ddc2390
+7e95c7051f
diff --git a/third_party/libwebrtc/api/media_types.h b/third_party/libwebrtc/api/media_types.h
@@ -23,12 +23,6 @@ enum class MediaType {
DATA,
UNSUPPORTED,
ANY,
- // Backwards compatibility values for MediaType users
- // TODO: https://issues.webrtc.org/42222911 - remove
- MEDIA_TYPE_AUDIO [[deprecated("Use AUDIO")]] = AUDIO,
- MEDIA_TYPE_VIDEO [[deprecated("Use VIDEO")]] = VIDEO,
- MEDIA_TYPE_DATA [[deprecated("Use DATA")]] = DATA,
- MEDIA_TYPE_UNSUPPORTED [[deprecated("Use UNSUPPORTED")]] = UNSUPPORTED,
};
RTC_EXPORT std::string MediaTypeToString(MediaType type);
@@ -44,9 +38,4 @@ extern const char kMediaTypeData[];
} // namespace webrtc
-// The cricket and webrtc have separate definitions for what a media type is.
-// They used to be incompatible, but now cricket is defined in terms of the
-// webrtc definition.
-
-
#endif // API_MEDIA_TYPES_H_