Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1560)

Unified Diff: webrtc/modules/rtp_rtcp/include/rtp_rtcp.h

Issue 2437503004: Set actual transport overhead in rtp_rtcp (Closed)
Patch Set: Rename SignalTransportOverheadChanged to UpdateTransportOverhead. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/media/sctp/sctpdataengine.h ('k') | webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/media/sctp/sctpdataengine.h ('k') | webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698