Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(973)

Unified Diff: webrtc/pc/mediasession.h

Issue 2815513012: Negotiate the same SRTP crypto suites for every DTLS association formed. (Closed)
Patch Set: Merge with master Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/pc/channelmanager.cc ('k') | webrtc/pc/mediasession.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/mediasession.h
diff --git a/webrtc/pc/mediasession.h b/webrtc/pc/mediasession.h
index 9474256ee3cc701b56650960d4aeaaf25ad4c365..edf2dd0f400c00ca51fee13be1113d92eb97aab2 100644
--- a/webrtc/pc/mediasession.h
+++ b/webrtc/pc/mediasession.h
@@ -613,21 +613,21 @@ VideoContentDescription* GetFirstVideoContentDescription(
DataContentDescription* GetFirstDataContentDescription(
SessionDescription* sdesc);
-void GetSupportedAudioCryptoSuites(const rtc::CryptoOptions& crypto_options,
- std::vector<int>* crypto_suites);
-void GetSupportedVideoCryptoSuites(const rtc::CryptoOptions& crypto_options,
- std::vector<int>* crypto_suites);
-void GetSupportedDataCryptoSuites(const rtc::CryptoOptions& crypto_options,
- std::vector<int>* crypto_suites);
-void GetDefaultSrtpCryptoSuites(const rtc::CryptoOptions& crypto_options,
- std::vector<int>* crypto_suites);
-void GetSupportedAudioCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
+// Helper functions to return crypto suites used for SDES.
+void GetSupportedAudioSdesCryptoSuites(const rtc::CryptoOptions& crypto_options,
+ std::vector<int>* crypto_suites);
+void GetSupportedVideoSdesCryptoSuites(const rtc::CryptoOptions& crypto_options,
+ std::vector<int>* crypto_suites);
+void GetSupportedDataSdesCryptoSuites(const rtc::CryptoOptions& crypto_options,
+ std::vector<int>* crypto_suites);
+void GetSupportedAudioSdesCryptoSuiteNames(
+ const rtc::CryptoOptions& crypto_options,
std::vector<std::string>* crypto_suite_names);
-void GetSupportedVideoCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
+void GetSupportedVideoSdesCryptoSuiteNames(
+ const rtc::CryptoOptions& crypto_options,
std::vector<std::string>* crypto_suite_names);
-void GetSupportedDataCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
- std::vector<std::string>* crypto_suite_names);
-void GetDefaultSrtpCryptoSuiteNames(const rtc::CryptoOptions& crypto_options,
+void GetSupportedDataSdesCryptoSuiteNames(
+ const rtc::CryptoOptions& crypto_options,
std::vector<std::string>* crypto_suite_names);
} // namespace cricket
« no previous file with comments | « webrtc/pc/channelmanager.cc ('k') | webrtc/pc/mediasession.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698