Index: webrtc/pc/srtpfilter.h |
diff --git a/webrtc/pc/srtpfilter.h b/webrtc/pc/srtpfilter.h |
index abea50744d0195398bea7be36fd75d2930722c57..b1d640635b5a9b022a0fd3d0627444bde92e92fd 100644 |
--- a/webrtc/pc/srtpfilter.h |
+++ b/webrtc/pc/srtpfilter.h |
@@ -116,6 +116,9 @@ class SrtpFilter { |
// Returns rtp auth params from srtp context. |
bool GetRtpAuthParams(uint8_t** key, int* key_len, int* tag_len); |
+ // Returns srtp overhead for rtp packets. |
+ bool GetSrtpOverhead(int* srtp_overhead) const; |
+ |
// Update the silent threshold (in ms) for signaling errors. |
void set_signal_silent_time(int signal_silent_time_in_ms); |
@@ -206,6 +209,8 @@ class SrtpSession { |
// Helper method to get authentication params. |
bool GetRtpAuthParams(uint8_t** key, int* key_len, int* tag_len); |
+ int GetSrtpOverhead() const; |
+ |
// Update the silent threshold (in ms) for signaling errors. |
void set_signal_silent_time(int signal_silent_time_in_ms); |