Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 376821219197a063e788da5bcae1060049295f60
https://github.com/WebKit/WebKit/commit/376821219197a063e788da5bcae1060049295f60
Author: Youenn Fablet <[email protected]>
Date: 2026-03-09 (Mon, 09 Mar 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCRtpSender-getStats.https-expected.txt
M Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
M Source/WebCore/Modules/mediastream/RTCRtpReceiver.cpp
M Source/WebCore/Modules/mediastream/RTCRtpReceiver.h
M Source/WebCore/Modules/mediastream/RTCRtpSender.cpp
M Source/WebCore/Modules/mediastream/RTCRtpSender.h
M Source/WebCore/Modules/mediastream/RTCRtpTransceiver.cpp
M Source/WebCore/Modules/mediastream/RTCRtpTransceiver.h
M Source/WebCore/Modules/mediastream/RTCRtpTransform.cpp
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.h
M
Source/WebCore/Modules/mediastream/gstreamer/GStreamerPeerConnectionBackend.cpp
M
Source/WebCore/Modules/mediastream/gstreamer/GStreamerPeerConnectionBackend.h
M
Source/WebCore/Modules/mediastream/gstreamer/GStreamerRtpTransceiverBackend.cpp
M
Source/WebCore/Modules/mediastream/gstreamer/GStreamerRtpTransceiverBackend.h
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp
M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h
M
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp
M
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h
M
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransceiverBackend.cpp
M
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransceiverBackend.h
Log Message:
-----------
RTCRtpTransceiver and friends should have a non-null backend
rdar://171806516
https://bugs.webkit.org/show_bug.cgi?id=309253
Reviewed by Philippe Normand.
To simplify the handling of backends and wrappers, we no longer nullify
transceiver/sender/receiver backends when stopping them.
Instead we use a boolean isStopped when needed.
This allows to mark the backend as const Ref/UniqueRef.
We can then remove some if checks.
We also remove some no longer needed members and methods in RTCRtpTransceiver
as a drive-by fix.
getStats is now always passing the sender/receiver, even when they are stopped,
which allows to fix one WPT test.
Canonical link: https://commits.webkit.org/308898@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications