Title: [211286] trunk/Source/WebCore
Revision
211286
Author
commit-qu...@webkit.org
Date
2017-01-27 10:20:01 -0800 (Fri, 27 Jan 2017)

Log Message

[WebRTC] Use MediaEndPointPeerConnection if not using libwebrtc
https://bugs.webkit.org/show_bug.cgi?id=167504

Patch by Youenn Fablet <youe...@gmail.com> on 2017-01-27
Reviewed by Alex Christensen.

No change of behavior.

* Modules/mediastream/MediaEndpointPeerConnection.cpp: If libwebrtc, we should use libwebrtc peer connection backend.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (211285 => 211286)


--- trunk/Source/WebCore/ChangeLog	2017-01-27 17:29:33 UTC (rev 211285)
+++ trunk/Source/WebCore/ChangeLog	2017-01-27 18:20:01 UTC (rev 211286)
@@ -1,3 +1,14 @@
+2017-01-27  Youenn Fablet  <youe...@gmail.com>
+
+        [WebRTC] Use MediaEndPointPeerConnection if not using libwebrtc
+        https://bugs.webkit.org/show_bug.cgi?id=167504
+
+        Reviewed by Alex Christensen.
+
+        No change of behavior.
+
+        * Modules/mediastream/MediaEndpointPeerConnection.cpp: If libwebrtc, we should use libwebrtc peer connection backend.
+
 2017-01-27  Ryan Haddad  <ryanhad...@apple.com>
 
         Rebaseline bindings tests after r211238.

Modified: trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp (211285 => 211286)


--- trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp	2017-01-27 17:29:33 UTC (rev 211285)
+++ trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp	2017-01-27 18:20:01 UTC (rev 211286)
@@ -68,6 +68,7 @@
 // Size range from 22 to 256 ice-chars defined in RFC 5245.
 static const size_t icePasswordSize = 24;
 
+#if !USE(LIBWEBRTC)
 static std::unique_ptr<PeerConnectionBackend> createMediaEndpointPeerConnection(RTCPeerConnection& peerConnection)
 {
     return std::unique_ptr<PeerConnectionBackend>(new MediaEndpointPeerConnection(peerConnection));
@@ -74,6 +75,7 @@
 }
 
 CreatePeerConnectionBackend PeerConnectionBackend::create = createMediaEndpointPeerConnection;
+#endif
 
 static String randomString(size_t size)
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to