Changeset 216436 in webkit


Ignore:
Timestamp:
May 8, 2017 10:39:37 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

TURNS gathering is not working properly
https://bugs.webkit.org/show_bug.cgi?id=171747

Patch by Youenn Fablet <youenn@apple.com> on 2017-05-08
Reviewed by Eric Carlson.

Source/ThirdParty/libwebrtc:

  • Source/webrtc/base/openssladapter.cc: Adding support for SNI in case of TLS ice candidate gathering.

Source/WebCore:

Covered by manual tests.

  • Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:

(WebCore::configurationFromMediaEndpointConfiguration): Reveting TURNS ice server skipping.

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/libwebrtc/ChangeLog

    r215974 r216436  
     12017-05-08  Youenn Fablet  <youenn@apple.com>
     2
     3        TURNS gathering is not working properly
     4        https://bugs.webkit.org/show_bug.cgi?id=171747
     5
     6        Reviewed by Eric Carlson.
     7
     8        * Source/webrtc/base/openssladapter.cc: Adding support for SNI in case of TLS ice candidate gathering.
     9
    1102017-04-29  Dan Bernstein  <mitz@apple.com>
    211
  • trunk/Source/ThirdParty/libwebrtc/Source/webrtc/base/openssladapter.cc

    r213418 r216436  
    333333
    334334  SSL_set_app_data(ssl_, this);
     335  // WEBKIT Changes - Start
     336  if (ssl_host_name_.length()) {
     337    SSL_set_tlsext_host_name(ssl_, ssl_host_name_.c_str());
     338  }
     339  // WEBKIT Changes - End
    335340
    336341  SSL_set_bio(ssl_, bio, bio);
  • trunk/Source/WebCore/ChangeLog

    r216433 r216436  
     12017-05-08  Youenn Fablet  <youenn@apple.com>
     2
     3        TURNS gathering is not working properly
     4        https://bugs.webkit.org/show_bug.cgi?id=171747
     5
     6        Reviewed by Eric Carlson.
     7
     8        Covered by manual tests.
     9
     10        * Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp:
     11        (WebCore::configurationFromMediaEndpointConfiguration): Reveting TURNS ice server skipping.
     12
    1132017-05-08  Michael Catanzaro  <mcatanzaro@igalia.com>
    214
  • trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp

    r216285 r216436  
    8989        iceServer.username = server.username.utf8().data();
    9090        iceServer.password = server.credential.utf8().data();
    91         for (auto& url : server.urls) {
    92             // FIXME: If TURNS is failing, the whole ICE candidate gathering is failing.
    93             // We should fix that and reactivate TURNS gathering.
    94             if (!url.protocolIs("turns"))
    95                 iceServer.urls.push_back({ url.string().utf8().data() });
    96         }
    97         if (iceServer.urls.size())
    98             rtcConfiguration.servers.push_back(WTFMove(iceServer));
     91        for (auto& url : server.urls)
     92            iceServer.urls.push_back({ url.string().utf8().data() });
     93        rtcConfiguration.servers.push_back(WTFMove(iceServer));
    9994    }
    10095
Note: See TracChangeset for help on using the changeset viewer.