commit | 2764e1027a08a5543e04b854a27a520801faf6eb | [log] [tgz] |
---|---|---|
author | guoweis <guoweis@webrtc.org> | Thu Nov 19 02:02:32 2015 |
committer | Commit bot <commit-bot@chromium.org> | Thu Nov 19 02:02:40 2015 |
tree | 22ed2b1154a4af71a56e90a09ad9a6eab9daea71 | |
parent | 3c652b67468d182bd36aee4c31557621be50cc92 [diff] |
Convert internal representation of Srtp cryptos from string to int. Note that the coversion from int to string happens in 3 places 1) SDP layer from int to external names. mediasession.cc GetSupportedSuiteNames. 2) for SSL_CTX_set_tlsext_use_srtp(), converting from int to internal names. 3) stats collection also needs external names. External names are like AES_CM_128_HMAC_SHA1_80, specified in sslstreamadapter.cc. Internal names are like SRTP_AES128_CM_SHA1_80, specified in opensslstreamadapter.cc. The conversion from string to int happens in one place only, SDP layer, SrtpFilter::ApplyParams(). BUG=webrtc:5043 Review URL: https://codereview.webrtc.org/1416673006 Cr-Commit-Position: refs/heads/master@{#10701}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.