Index: webrtc/api/webrtcsession.h |
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h |
index 94f146ff57c7e4221cda105aa501514513f66965..e046b10e2b62ba71bb847f295b0601c30cd5fbab 100644 |
--- a/webrtc/api/webrtcsession.h |
+++ b/webrtc/api/webrtcsession.h |
@@ -197,7 +197,6 @@ class WebRtcSession : |
cricket::BaseChannel* GetChannel(const std::string& content_name); |
- void SetSdesPolicy(cricket::SecurePolicy secure_policy); |
cricket::SecurePolicy SdesPolicy() const; |
// Get current ssl role from transport. |
@@ -438,6 +437,10 @@ class WebRtcSession : |
const SessionDescriptionInterface* remote_desc, |
bool* valid); |
+ // Returns true if SRTP (either using DTLS-SRTP or SDES) is required by |
+ // this session. |
+ bool SrtpRequired() const; |
+ |
void OnTransportControllerConnectionState(cricket::IceConnectionState state); |
void OnTransportControllerReceiving(bool receiving); |
void OnTransportControllerGatheringState(cricket::IceGatheringState state); |