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

Changeset 283315 in webkit


Ignore:
Timestamp:
Sep 30, 2021, 9:05:34 AM (5 years ago)
Author:
youenn@apple.com
Message:

Support AES GCM ciphers in WebRTC
https://bugs.webkit.org/show_bug.cgi?id=214402
<rdar://problem/65700381>

Reviewed by Eric Carlson.

Source/ThirdParty/libwebrtc:

  • Configurations/libwebrtc.iOS.exp:
  • Configurations/libwebrtc.iOSsim.exp:
  • Configurations/libwebrtc.mac.exp:

Source/WebCore:

Enable GCM ciphers in WebRTC as done by Chrome.
The default ciphers remain the same so use of these ciphers is opt-in by SFUs.

Manually tested.

  • Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:

(WebCore::LibWebRTCMediaEndpoint::setConfiguration):

Location:
trunk/Source
Files:
6 edited

Legend:

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

    r283174 r283315  
     12021-09-30  Youenn Fablet  <youenn@apple.com>
     2
     3        Support AES GCM ciphers in WebRTC
     4        https://bugs.webkit.org/show_bug.cgi?id=214402
     5        <rdar://problem/65700381>
     6
     7        Reviewed by Eric Carlson.
     8
     9        * Configurations/libwebrtc.iOS.exp:
     10        * Configurations/libwebrtc.iOSsim.exp:
     11        * Configurations/libwebrtc.mac.exp:
     12
    1132021-09-28  Alex Christensen  <achristensen@webkit.org>
    214
  • trunk/Source/ThirdParty/libwebrtc/Configurations/libwebrtc.iOS.exp

    r282831 r283315  
    328328__ZN6webrtc24SctpTransportInformationD1Ev
    329329__ZNK3rtc9IPAddressneERKS0_
     330__ZN6webrtc13CryptoOptionsC1Ev
  • trunk/Source/ThirdParty/libwebrtc/Configurations/libwebrtc.iOSsim.exp

    r282831 r283315  
    328328__ZN6webrtc24SctpTransportInformationD1Ev
    329329__ZNK3rtc9IPAddressneERKS0_
     330__ZN6webrtc13CryptoOptionsC1Ev
  • trunk/Source/ThirdParty/libwebrtc/Configurations/libwebrtc.mac.exp

    r282831 r283315  
    328328__ZN6webrtc24SctpTransportInformationD1Ev
    329329__ZNK3rtc9IPAddressneERKS0_
     330__ZN6webrtc13CryptoOptionsC1Ev
  • trunk/Source/WebCore/ChangeLog

    r283314 r283315  
     12021-09-30  Youenn Fablet  <youenn@apple.com>
     2
     3        Support AES GCM ciphers in WebRTC
     4        https://bugs.webkit.org/show_bug.cgi?id=214402
     5        <rdar://problem/65700381>
     6
     7        Reviewed by Eric Carlson.
     8
     9        Enable GCM ciphers in WebRTC as done by Chrome.
     10        The default ciphers remain the same so use of these ciphers is opt-in by SFUs.
     11
     12        Manually tested.
     13
     14        * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:
     15        (WebCore::LibWebRTCMediaEndpoint::setConfiguration):
     16
    1172021-09-30  Alan Bujtas  <zalan@apple.com>
    218
  • trunk/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp

    r282860 r283315  
    9393{
    9494    configuration.sdp_semantics = webrtc::SdpSemantics::kUnifiedPlan;
     95    configuration.crypto_options = webrtc::CryptoOptions { };
     96    configuration.crypto_options->srtp.enable_gcm_crypto_suites = true;
    9597
    9698    if (!m_backend) {
Note: See TracChangeset for help on using the changeset viewer.