[webkit-changes] [WebKit/WebKit] a1aaed: [WPE][GTK][WebRTC] Support for UDP ports range con...
Philippe Normand
noreply at github.com
Tue Oct 15 07:31:47 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a1aaed71af7c248c7975af656c09d26d722e76b1
https://github.com/WebKit/WebKit/commit/a1aaed71af7c248c7975af656c09d26d722e76b1
Author: Philippe Normand <philn at igalia.com>
Date: 2024-10-15 (Tue, 15 Oct 2024)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/platform/mediastream/WebRTCProvider.cpp
M Source/WebCore/platform/mediastream/WebRTCProvider.h
M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp
M Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp
M Source/WebKit/UIProcess/API/glib/WebKitSettings.h.in
M Source/WebKit/WebProcess/Network/webrtc/LibWebRTCProvider.cpp
M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp
Log Message:
-----------
[WPE][GTK][WebRTC] Support for UDP ports range configuration
https://bugs.webkit.org/show_bug.cgi?id=280330
Reviewed by Xabier Rodriguez-Calvar.
In some constrained environments where a firewall blocks UDP network traffic excepted on a
specific port range, this settings can be used to give hints to the WebRTC backend regarding
which ports to allocate. The format is min-port:max-port, so for instance 20000:30000. The
default value is 0:0 which means the OS will use no hints from the WebRTC backend.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/platform/mediastream/WebRTCProvider.cpp:
(WebCore::WebRTCProvider::setPortAllocatorRange):
* Source/WebCore/platform/mediastream/WebRTCProvider.h:
* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:
(WebCore::LibWebRTCProvider::createPeerConnection):
* Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp:
(_WebKitSettingsPrivate::_WebKitSettingsPrivate):
(webKitSettingsSetProperty):
(webKitSettingsGetProperty):
(webkit_settings_class_init):
(webkit_settings_get_webrtc_udp_ports_range):
(webkit_settings_set_webrtc_udp_ports_range):
* Source/WebKit/UIProcess/API/glib/WebKitSettings.h.in:
* Source/WebKit/WebProcess/Network/webrtc/LibWebRTCProvider.cpp:
(WebKit::LibWebRTCProvider::LibWebRTCProvider):
* Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
(testWebKitSettings):
Canonical link: https://commits.webkit.org/285190@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list