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

Unified Diff: webrtc/pc/channelmanager.h

Issue 1528843005: Add support for GCM cipher suites from RFC 7714. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: More feedback from Matt Created 4 years, 7 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: webrtc/pc/channelmanager.h
diff --git a/webrtc/pc/channelmanager.h b/webrtc/pc/channelmanager.h
index 72a2f056b5a4c0b6bb797f1a5792f575bb8a9ee3..ee21a3c23a6f42fb430ebfac7cec9b68a2789bad 100644
--- a/webrtc/pc/channelmanager.h
+++ b/webrtc/pc/channelmanager.h
@@ -112,6 +112,10 @@ class ChannelManager {
// engines will start offering an RTX codec. Must be called before Init().
bool SetVideoRtxEnabled(bool enable);
+ // Define crypto options to set on newly created channels. Doesn't change
+ // options on already created channels.
+ bool SetCryptoOptions(const rtc::CryptoOptions& crypto_options);
+
// Starts/stops the local microphone and enables polling of the input level.
bool capturing() const { return capturing_; }
@@ -142,6 +146,7 @@ class ChannelManager {
bool InitMediaEngine_w();
void DestructorDeletes_w();
void Terminate_w();
+ bool SetCryptoOptions_w(const rtc::CryptoOptions& crypto_options);
VoiceChannel* CreateVoiceChannel_w(
webrtc::MediaControllerInterface* media_controller,
TransportController* transport_controller,
@@ -174,6 +179,7 @@ class ChannelManager {
int audio_output_volume_;
bool enable_rtx_;
+ rtc::CryptoOptions crypto_options_;
bool capturing_;
};

Powered by Google App Engine
This is Rietveld 408576698