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

Unified Diff: webrtc/pc/channel.cc

Issue 2722423003: Improve testing of SRTP external auth code paths. (Closed)
Patch Set: Changes based on feedback from Taylor. Created 3 years, 10 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/BUILD.gn ('k') | webrtc/pc/externalhmac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/channel.cc
diff --git a/webrtc/pc/channel.cc b/webrtc/pc/channel.cc
index 68fdabb390d3806e4ddb91601d095815b25dae96..8a17f8fe95636c006b870d86b3012bd37d583454 100644
--- a/webrtc/pc/channel.cc
+++ b/webrtc/pc/channel.cc
@@ -172,6 +172,9 @@ BaseChannel::BaseChannel(rtc::Thread* worker_thread,
media_channel_(media_channel),
selected_candidate_pair_(nullptr) {
RTC_DCHECK(worker_thread_ == rtc::Thread::Current());
+#if defined(ENABLE_EXTERNAL_AUTH)
+ srtp_filter_->EnableExternalAuth();
+#endif
LOG(LS_INFO) << "Created channel for " << content_name;
}
« no previous file with comments | « webrtc/pc/BUILD.gn ('k') | webrtc/pc/externalhmac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698