Index: talk/session/media/channel.h |
diff --git a/talk/session/media/channel.h b/talk/session/media/channel.h |
index 603115cee7f58a06a37cbaff94cd5cd56c1837c3..9342d31a257c79b4de5d37cde08242ae0c79acbb 100644 |
--- a/talk/session/media/channel.h |
+++ b/talk/session/media/channel.h |
@@ -236,7 +236,7 @@ class BaseChannel |
// |rtcp_channel| indicates whether to set up the RTP or RTCP filter. |
bool SetupDtlsSrtp(bool rtcp_channel); |
// Set the DTLS-SRTP cipher policy on this channel as appropriate. |
- bool SetDtlsSrtpCiphers(TransportChannel *tc, bool rtcp); |
+ bool SetDtlsSrtpCryptoSuites(TransportChannel* tc, bool rtcp); |
virtual void ChangeState() = 0; |
@@ -282,9 +282,8 @@ class BaseChannel |
void OnMessage(rtc::Message* pmsg) override; |
// Handled in derived classes |
- // Get the SRTP ciphers to use for RTP media |
- virtual void GetSrtpCryptoSuiteNames( |
- std::vector<std::string>* ciphers) const = 0; |
+ // Get the SRTP crypto suites to use for RTP media |
+ virtual void GetSrtpCryptoSuites(std::vector<int>* crypto_suites) const = 0; |
virtual void OnConnectionMonitorUpdate(ConnectionMonitor* monitor, |
const std::vector<ConnectionInfo>& infos) = 0; |
@@ -407,7 +406,7 @@ class VoiceChannel : public BaseChannel { |
bool GetStats_w(VoiceMediaInfo* stats); |
virtual void OnMessage(rtc::Message* pmsg); |
- virtual void GetSrtpCryptoSuiteNames(std::vector<std::string>* ciphers) const; |
+ virtual void GetSrtpCryptoSuites(std::vector<int>* crypto_suites) const; |
virtual void OnConnectionMonitorUpdate( |
ConnectionMonitor* monitor, const std::vector<ConnectionInfo>& infos); |
virtual void OnMediaMonitorUpdate( |
@@ -497,7 +496,7 @@ class VideoChannel : public BaseChannel { |
bool GetStats_w(VideoMediaInfo* stats); |
virtual void OnMessage(rtc::Message* pmsg); |
- virtual void GetSrtpCryptoSuiteNames(std::vector<std::string>* ciphers) const; |
+ virtual void GetSrtpCryptoSuites(std::vector<int>* crypto_suites) const; |
virtual void OnConnectionMonitorUpdate( |
ConnectionMonitor* monitor, const std::vector<ConnectionInfo>& infos); |
virtual void OnMediaMonitorUpdate( |
@@ -614,7 +613,7 @@ class DataChannel : public BaseChannel { |
virtual bool WantsPacket(bool rtcp, rtc::Buffer* packet); |
virtual void OnMessage(rtc::Message* pmsg); |
- virtual void GetSrtpCryptoSuiteNames(std::vector<std::string>* ciphers) const; |
+ virtual void GetSrtpCryptoSuites(std::vector<int>* crypto_suites) const; |
virtual void OnConnectionMonitorUpdate( |
ConnectionMonitor* monitor, const std::vector<ConnectionInfo>& infos); |
virtual void OnMediaMonitorUpdate( |