Index: webrtc/pc/srtpfilter.h |
diff --git a/webrtc/pc/srtpfilter.h b/webrtc/pc/srtpfilter.h |
index ec91805e30d8c38ccf1faab53727b330ecb98ab6..06edddf80d97a4e6d1a8274c4710cb94c11fc4a6 100644 |
--- a/webrtc/pc/srtpfilter.h |
+++ b/webrtc/pc/srtpfilter.h |
@@ -111,6 +111,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); |
@@ -201,6 +204,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); |