[webkit-changes] [WebKit/WebKit] ff2a05: Remove libwebrtc network thread with socket server...

youennf noreply at github.com
Tue Jul 23 09:53:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ff2a05f6674c75d2a78a179ca31270c3bd1aa3db
      https://github.com/WebKit/WebKit/commit/ff2a05f6674c75d2a78a179ca31270c3bd1aa3db
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.cpp
    M Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.h

  Log Message:
  -----------
  Remove libwebrtc network thread with socket server from NetworkRTCProvider
https://bugs.webkit.org/show_bug.cgi?id=276779
rdar://132008878

Reviewed by Chris Dumez.

We remove the creation of the rtc network thread from NetworkRTCProvider on Cocoa ports.
We no longer need it as we are not using it for sockets nor for monitoring the network.
Some code is being moved to either a Cocoa section or a non Cocoa section.

* Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.cpp:
(WebKit::NetworkRTCProvider::NetworkRTCProvider):
(WebKit::NetworkRTCProvider::sendToSocket):
(WebKit::NetworkRTCProvider::closeSocket):
(WebKit::NetworkRTCProvider::setSocketOption):
(WebKit::NetworkRTCProvider::addSocket):
(WebKit::NetworkRTCProvider::takeSocket):
(WebKit::NetworkRTCProvider::attributedBundleIdentifierFromPageIdentifier):
(WebKit::NetworkRTCProvider::createUDPSocket):
(WebKit::NetworkRTCProvider::createClientTCPSocket):
(WebKit::NetworkRTCProvider::callOnRTCNetworkThread):
(WebKit::NetworkRTCProvider::assertIsRTCNetworkThread):
(WebKit::NetworkRTCProvider::rtcNetworkThread):
(WebKit::NetworkRTCProvider::createSocket):
* Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.h:

Canonical link: https://commits.webkit.org/281248@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