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

Unified Diff: pc/srtptransport.cc

Issue 3012953002: Created the DtlsSrtpTransport.
Patch Set: Resolved the comments. Created 3 years, 3 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
Index: pc/srtptransport.cc
diff --git a/pc/srtptransport.cc b/pc/srtptransport.cc
index a4e99b5f3dc25a2ba38704dc0a71facd744196a3..65953d817652822e96334427c1352c9e291a7e94 100644
--- a/pc/srtptransport.cc
+++ b/pc/srtptransport.cc
@@ -253,16 +253,6 @@ void SrtpTransport::ResetParams() {
LOG(LS_INFO) << "The params in SRTP transport are reset.";
}
-void SrtpTransport::SetEncryptedHeaderExtensionIds(
- cricket::ContentSource source,
- const std::vector<int>& extension_ids) {
- if (source == cricket::CS_LOCAL) {
- recv_encrypted_header_extension_ids_ = extension_ids;
- } else {
- send_encrypted_header_extension_ids_ = extension_ids;
- }
-}
-
void SrtpTransport::CreateSrtpSessions() {
send_session_.reset(new cricket::SrtpSession());
recv_session_.reset(new cricket::SrtpSession());

Powered by Google App Engine
This is Rietveld 408576698