Index: webrtc/modules/rtp_rtcp/source/forward_error_correction.h |
diff --git a/webrtc/modules/rtp_rtcp/source/forward_error_correction.h b/webrtc/modules/rtp_rtcp/source/forward_error_correction.h |
index ac2cfa76b6f93c8cd54d496fa977903568e4ea35..7d2e5aa51a9854143e5541026bfd9bf7332b187d 100644 |
--- a/webrtc/modules/rtp_rtcp/source/forward_error_correction.h |
+++ b/webrtc/modules/rtp_rtcp/source/forward_error_correction.h |
@@ -186,11 +186,11 @@ class ForwardErrorCorrection { |
// Get the number of generated FEC packets, given the number of media packets |
// and the protection factor. |
- int GetNumberOfFecPackets(int num_media_packets, int protection_factor); |
+ static int NumFecPackets(int num_media_packets, int protection_factor); |
- // Gets the size in bytes of the FEC/ULP headers, which must be accounted for |
- // as packet overhead. Returns the packet overhead in bytes. |
- static size_t PacketOverhead(); |
+ // Gets the maximum size of the FEC headers in bytes, which must be |
+ // accounted for as packet overhead. |
+ size_t MaxPacketOverhead() const; |
// Reset internal states from last frame and clear |recovered_packets|. |
// Frees all memory allocated by this class. |