Index: webrtc/modules/rtp_rtcp/include/rtp_rtcp.h |
diff --git a/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h b/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h |
index fe88b1b674c90fdacba76702b9de3fc97d7715c9..1e4da64220d1d91577a38ed3e1277a349bcdff59 100644 |
--- a/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h |
+++ b/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h |
@@ -116,10 +116,14 @@ class RtpRtcp : public Module { |
// |authentication_overhead| - number of bytes to leave for an authentication |
// header. |
// Returns -1 on failure else 0 |
+ // TODO(michaelt): deprecate the function. |
virtual int32_t SetTransportOverhead(bool tcp, |
bool ipv6, |
uint8_t authentication_overhead = 0) = 0; |
+ // Sets transtport overhead per packet. |
+ virtual void SetTransportOverhead(int transport_overhead_per_packet) = 0; |
+ |
// Returns max payload length, which is a combination of the configuration |
// MaxTransferUnit and TransportOverhead. |
// Does not account for RTP headers and FEC/ULP/RED overhead (when FEC is |