| Index: talk/app/webrtc/statscollector.cc
|
| diff --git a/talk/app/webrtc/statscollector.cc b/talk/app/webrtc/statscollector.cc
|
| index 347a84640cf9973a72d86e5133d5b4bc038dbb72..253a7237fcd725e259d5638ad2bc0ea62766bfac 100644
|
| --- a/talk/app/webrtc/statscollector.cc
|
| +++ b/talk/app/webrtc/statscollector.cc
|
| @@ -730,17 +730,20 @@ void StatsCollector::ExtractSessionInfo() {
|
| channel_report->AddId(StatsReport::kStatsValueNameRemoteCertificateId,
|
| remote_cert_report_id);
|
| }
|
| - const std::string& srtp_cipher = channel_iter.srtp_cipher;
|
| - if (!srtp_cipher.empty()) {
|
| - channel_report->AddString(StatsReport::kStatsValueNameSrtpCipher,
|
| - srtp_cipher);
|
| + int srtp_crypto_suite = channel_iter.srtp_cipher;
|
| + if (srtp_crypto_suite &&
|
| + rtc::SrtpCryptoSuiteToName(srtp_crypto_suite).length()) {
|
| + channel_report->AddString(
|
| + StatsReport::kStatsValueNameSrtpCipher,
|
| + rtc::SrtpCryptoSuiteToName(srtp_crypto_suite));
|
| }
|
| - int ssl_cipher = channel_iter.ssl_cipher;
|
| - if (ssl_cipher &&
|
| - rtc::SSLStreamAdapter::GetSslCipherSuiteName(ssl_cipher).length()) {
|
| + int ssl_cipher_suite = channel_iter.ssl_cipher;
|
| + if (ssl_cipher_suite &&
|
| + rtc::SSLStreamAdapter::SslCipherSuiteToName(ssl_cipher_suite)
|
| + .length()) {
|
| channel_report->AddString(
|
| StatsReport::kStatsValueNameDtlsCipher,
|
| - rtc::SSLStreamAdapter::GetSslCipherSuiteName(ssl_cipher));
|
| + rtc::SSLStreamAdapter::SslCipherSuiteToName(ssl_cipher_suite));
|
| }
|
|
|
| int connection_id = 0;
|
|
|