| Index: talk/session/media/channel.h
|
| diff --git a/talk/session/media/channel.h b/talk/session/media/channel.h
|
| index 9342d31a257c79b4de5d37cde08242ae0c79acbb..603115cee7f58a06a37cbaff94cd5cd56c1837c3 100644
|
| --- a/talk/session/media/channel.h
|
| +++ b/talk/session/media/channel.h
|
| @@ -236,7 +236,7 @@
|
| // |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 SetDtlsSrtpCryptoSuites(TransportChannel* tc, bool rtcp);
|
| + bool SetDtlsSrtpCiphers(TransportChannel *tc, bool rtcp);
|
|
|
| virtual void ChangeState() = 0;
|
|
|
| @@ -282,8 +282,9 @@
|
| void OnMessage(rtc::Message* pmsg) override;
|
|
|
| // Handled in derived classes
|
| - // Get the SRTP crypto suites to use for RTP media
|
| - virtual void GetSrtpCryptoSuites(std::vector<int>* crypto_suites) const = 0;
|
| + // Get the SRTP ciphers to use for RTP media
|
| + virtual void GetSrtpCryptoSuiteNames(
|
| + std::vector<std::string>* ciphers) const = 0;
|
| virtual void OnConnectionMonitorUpdate(ConnectionMonitor* monitor,
|
| const std::vector<ConnectionInfo>& infos) = 0;
|
|
|
| @@ -406,7 +407,7 @@
|
| bool GetStats_w(VoiceMediaInfo* stats);
|
|
|
| virtual void OnMessage(rtc::Message* pmsg);
|
| - virtual void GetSrtpCryptoSuites(std::vector<int>* crypto_suites) const;
|
| + virtual void GetSrtpCryptoSuiteNames(std::vector<std::string>* ciphers) const;
|
| virtual void OnConnectionMonitorUpdate(
|
| ConnectionMonitor* monitor, const std::vector<ConnectionInfo>& infos);
|
| virtual void OnMediaMonitorUpdate(
|
| @@ -496,7 +497,7 @@
|
| bool GetStats_w(VideoMediaInfo* stats);
|
|
|
| virtual void OnMessage(rtc::Message* pmsg);
|
| - virtual void GetSrtpCryptoSuites(std::vector<int>* crypto_suites) const;
|
| + virtual void GetSrtpCryptoSuiteNames(std::vector<std::string>* ciphers) const;
|
| virtual void OnConnectionMonitorUpdate(
|
| ConnectionMonitor* monitor, const std::vector<ConnectionInfo>& infos);
|
| virtual void OnMediaMonitorUpdate(
|
| @@ -613,7 +614,7 @@
|
| virtual bool WantsPacket(bool rtcp, rtc::Buffer* packet);
|
|
|
| virtual void OnMessage(rtc::Message* pmsg);
|
| - virtual void GetSrtpCryptoSuites(std::vector<int>* crypto_suites) const;
|
| + virtual void GetSrtpCryptoSuiteNames(std::vector<std::string>* ciphers) const;
|
| virtual void OnConnectionMonitorUpdate(
|
| ConnectionMonitor* monitor, const std::vector<ConnectionInfo>& infos);
|
| virtual void OnMediaMonitorUpdate(
|
|
|