Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 37b8d10823e2e27fdcdcbca8e81a57a049470c15
https://github.com/WebKit/WebKit/commit/37b8d10823e2e27fdcdcbca8e81a57a049470c15
Author: Philippe Normand <[email protected]>
Date: 2026-04-20 (Mon, 20 Apr 2026)
Changed paths:
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceAgent.cpp
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceAgent.h
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceStream.cpp
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceStream.h
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceTransport.cpp
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceTransport.h
A Source/WebCore/Modules/mediastream/gstreamer/RiceGatherResult.h
M Source/WebCore/platform/GStreamer.cmake
M Source/WebCore/platform/rice/GRefPtrRice.h
M Source/WebCore/platform/rice/GUniquePtrRice.h
M Source/WebCore/platform/rice/RiceGioBackend.cpp
M Source/WebCore/platform/rice/RiceUtilities.h
A Source/WebCore/platform/rice/RiceVersioning.h
M Source/WebKit/NetworkProcess/webrtc/rice/RiceBackend.cpp
M Source/WebKit/NetworkProcess/webrtc/rice/RiceBackend.h
M Source/WebKit/NetworkProcess/webrtc/rice/RiceBackend.messages.in
M Source/WebKit/Scripts/webkit/messages.py
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
M Source/WebKit/WebProcess/Network/webrtc/rice/RiceBackendProxy.cpp
M Source/WebKit/WebProcess/Network/webrtc/rice/RiceBackendProxy.h
M Source/WebKit/WebProcess/Network/webrtc/rice/RiceBackendProxy.messages.in
Log Message:
-----------
[GStreamer][WebRTC][Rice] TURN support improvements
https://bugs.webkit.org/show_bug.cgi?id=310005
Reviewed by Xabier Rodriguez-Calvar.
Add support for building against recent (0.4.x) versions of librice and improve
the plumbing for
TURN support by handling socket allocation and de-allocation requests and doing
synchronous STUN/TURN
address resolution.
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceAgent.cpp:
(webkitGstWebRTCIceAgentSetStunServer):
(webkitGstWebRTCIceAgentAddRiceTurnServer):
(addTurnServer):
(webkitGstWebRTCIceAgentConfigure):
(webkitGstWebRTCIceAgentGetTurnConfigs):
(webkitGstWebRTCIceAgentGatherSocketAddresses):
(webkitGstWebRTCIceAgentLocalCandidateGatheredForStream):
(webkitGstWebRTCIceAgentAllocateSocketForStream):
(webkitGstWebRTCIceAgentRemoveSocketForStream):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceAgent.h:
(WebCore::RiceBackendClient::setAllocatedSocketCallback):
(WebCore::RiceBackendClient::allocatedSocket):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceStream.cpp:
(webkitGstWebRTCIceStreamAddLocalGatheredCandidate):
(webkitGstWebRTCIceStreamNewSelectedPair):
(webkitGstWebRTCIceStreamComponentStateChanged):
(webkitGstWebRTCIceStreamGatherCandidates):
(isRtpData):
(webkitGstWebRTCIceStreamHandleIncomingData):
(webkitGstWebRTCIceStreamHandleAllocatedSocket):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceStream.h:
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceTransport.cpp:
(webkitGstWebRTCIceTransportNewSelectedPair):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerIceTransport.h:
* Source/WebCore/Modules/mediastream/gstreamer/RiceGatherResult.h: Added.
* Source/WebCore/platform/GStreamer.cmake:
* Source/WebCore/platform/rice/GRefPtrRice.h:
* Source/WebCore/platform/rice/GUniquePtrRice.h:
* Source/WebCore/platform/rice/RiceGioBackend.cpp:
(agentSourcePrepare):
* Source/WebCore/platform/rice/RiceUtilities.h:
(WebCore::toRTCIceProtocol):
* Source/WebCore/platform/rice/RiceVersioning.h: Added.
* Source/WebKit/NetworkProcess/webrtc/rice/RiceBackend.cpp:
(WebKit::RiceBackend::~RiceBackend):
(WebKit::RiceBackend::resolveAddress):
(WebKit::RiceBackend::resolveAddressSync):
(WebKit::RiceBackend::sendData):
(WebKit::RiceBackend::gatherSocketAddresses):
(WebKit::RiceBackend::allocateSocket):
(WebKit::RiceBackend::removeSocket):
(WebKit::RiceBackend::configureSocketBufferSizes):
* Source/WebKit/NetworkProcess/webrtc/rice/RiceBackend.h:
* Source/WebKit/NetworkProcess/webrtc/rice/RiceBackend.messages.in:
* Source/WebKit/Scripts/webkit/messages.py:
(headers_for_type):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/WebProcess/Network/webrtc/rice/RiceBackendProxy.cpp:
(WebKit::RiceBackendProxy::resolveAddressSync):
(WebKit::RiceBackendProxy::gatherSocketAddresses):
(WebKit::RiceBackendProxy::allocateSocket):
(WebKit::RiceBackendProxy::allocatedSocket):
(WebKit::RiceBackendProxy::removeSocket):
* Source/WebKit/WebProcess/Network/webrtc/rice/RiceBackendProxy.h:
* Source/WebKit/WebProcess/Network/webrtc/rice/RiceBackendProxy.messages.in:
Canonical link: https://commits.webkit.org/311577@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications