⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 268978 in webkit


Ignore:
Timestamp:
Oct 26, 2020, 7:54:53 AM (6 years ago)
Author:
youenn@apple.com
Message:

Make use of signalling thread when creating the peer connection factory
​https://bugs.webkit.org/show_bug.cgi?id=218169

Reviewed by Eric Carlson.

Covered by existing tests.

  • platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:

(WebCore::LibWebRTCProvider::factory):
This will free the networking thread from some tasks which is better for performance reasons,
as well as more consistent.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r268977 r268978  
     12020-10-26  Youenn Fablet  <youenn@apple.com>
     2
     3        Make use of signalling thread when creating the peer connection factory
     4        https://bugs.webkit.org/show_bug.cgi?id=218169
     5
     6        Reviewed by Eric Carlson.
     7
     8        Covered by existing tests.
     9
     10        * platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:
     11        (WebCore::LibWebRTCProvider::factory):
     12        This will free the networking thread from some tasks which is better for performance reasons,
     13        as well as more consistent.
     14
    1152020-10-26  Xabier Rodriguez Calvar  <calvaris@igalia.com>
    216
  • trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp

    r268592 r268978  
    265265    auto& factoryAndThreads = getStaticFactoryAndThreads(m_useNetworkThreadWithSocketServer);
    266266
    267     m_factory = createPeerConnectionFactory(factoryAndThreads.networkThread.get(), factoryAndThreads.networkThread.get());
     267    m_factory = createPeerConnectionFactory(factoryAndThreads.networkThread.get(), factoryAndThreads.signalingThread.get());
    268268
    269269    return m_factory;
Note: See TracChangeset for help on using the changeset viewer.