Title: [268978] trunk/Source/WebCore
Revision
268978
Author
[email protected]
Date
2020-10-26 07:54:53 -0700 (Mon, 26 Oct 2020)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (268977 => 268978)


--- trunk/Source/WebCore/ChangeLog	2020-10-26 13:59:43 UTC (rev 268977)
+++ trunk/Source/WebCore/ChangeLog	2020-10-26 14:54:53 UTC (rev 268978)
@@ -1,3 +1,17 @@
+2020-10-26  Youenn Fablet  <[email protected]>
+
+        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.
+
 2020-10-26  Xabier Rodriguez Calvar  <[email protected]>
 
         [GStreamer][EME] Remove unused protection even in common decryptor

Modified: trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp (268977 => 268978)


--- trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp	2020-10-26 13:59:43 UTC (rev 268977)
+++ trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp	2020-10-26 14:54:53 UTC (rev 268978)
@@ -264,7 +264,7 @@
 
     auto& factoryAndThreads = getStaticFactoryAndThreads(m_useNetworkThreadWithSocketServer);
 
-    m_factory = createPeerConnectionFactory(factoryAndThreads.networkThread.get(), factoryAndThreads.networkThread.get());
+    m_factory = createPeerConnectionFactory(factoryAndThreads.networkThread.get(), factoryAndThreads.signalingThread.get());
 
     return m_factory;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to