[webkit-changes] [WebKit/WebKit] 125720: Allow to initialize LibWebRTCProvider just before ...

youennf noreply at github.com
Thu Jan 19 06:58:14 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1257206f7c78dbedea538ecffe784717d6aa0a62
      https://github.com/WebKit/WebKit/commit/1257206f7c78dbedea538ecffe784717d6aa0a62
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp
    M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.h
    M Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp
    M Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.h
    M Source/WebKit/WebProcess/Network/webrtc/LibWebRTCProvider.cpp
    M Source/WebKit/WebProcess/Network/webrtc/LibWebRTCProvider.h
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  Allow to initialize LibWebRTCProvider just before creating its factory
https://bugs.webkit.org/show_bug.cgi?id=250827
rdar://104419959

Reviewed by Eric Carlson.

Just before creating LibWebRTCProvider factory we call willInitializeFactory.
This allows WebKit to do further initialization of LibWebRTCCodecs.

* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:
(WebCore::LibWebRTCProvider::createPeerConnectionFactory):
* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.h:
* Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp:
(WebKit::LibWebRTCCodecs::setHasVP9ExtensionSupport):
(WebKit::LibWebRTCCodecs::initializeIfNeeded):
* Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.h:
(WebKit::LibWebRTCCodecs::setHasVP9ExtensionSupport): Deleted.
* Source/WebKit/WebProcess/Network/webrtc/LibWebRTCProvider.cpp:
(WebKit::LibWebRTCProvider::willCreatePeerConnectionFactory):
* Source/WebKit/WebProcess/Network/webrtc/LibWebRTCProvider.h:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):

Canonical link: https://commits.webkit.org/259083@main




More information about the webkit-changes mailing list