Use default configuration for libwebrtc peerconnection
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Mar 2017 04:21:12 +0000 (04:21 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Mar 2017 04:21:12 +0000 (04:21 +0000)
https://bugs.webkit.org/show_bug.cgi?id=169239

Patch by Youenn Fablet <youenn@apple.com> on 2017-03-06
Reviewed by Alex Christensen.

* Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
(WebCore::configurationFromMediaEndpointConfiguration): Using the default configuration instead of the aggressive one.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213494 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp

index 47fddba..49953a6 100644 (file)
@@ -1,3 +1,13 @@
+2017-03-06  Youenn Fablet  <youenn@apple.com>
+
+        Use default configuration for libwebrtc peerconnection
+        https://bugs.webkit.org/show_bug.cgi?id=169239
+
+        Reviewed by Alex Christensen.
+
+        * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
+        (WebCore::configurationFromMediaEndpointConfiguration): Using the default configuration instead of the aggressive one.
+
 2017-03-06  Fujii Hironori  <Hironori.Fujii@sony.com>
 
         [CMake] SN-DBS fails to build: Cannot open include file: 'WebCoreTestSupportPrefix.h'
index 1c296b4..7a7116c 100644 (file)
@@ -71,7 +71,7 @@ LibWebRTCPeerConnectionBackend::~LibWebRTCPeerConnectionBackend()
 
 static webrtc::PeerConnectionInterface::RTCConfiguration configurationFromMediaEndpointConfiguration(MediaEndpointConfiguration&& configuration)
 {
-    webrtc::PeerConnectionInterface::RTCConfiguration rtcConfiguration(webrtc::PeerConnectionInterface::RTCConfigurationType::kAggressive);
+    webrtc::PeerConnectionInterface::RTCConfiguration rtcConfiguration;
 
     if (configuration.iceTransportPolicy == PeerConnectionStates::IceTransportPolicy::Relay)
         rtcConfiguration.type = webrtc::PeerConnectionInterface::kRelay;