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_; |
}; |