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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_packet.h

Issue 2766323006: Correcting the amount of padding when send side bwe includes RTP overhead.
Patch Set: Fix and unittests Created 3 years, 9 months 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
Index: webrtc/modules/rtp_rtcp/source/rtp_packet.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_packet.h b/webrtc/modules/rtp_rtcp/source/rtp_packet.h
index 3c02125e082bfbce2921bd6057f9f4bcc74d9bdc..578ea2cd03bf241f570a9bfbd972dbae7d0a12c7 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_packet.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_packet.h
@@ -51,7 +51,7 @@ class Packet {
// directly. Function is there just for easier backward compatibilty.
void GetHeader(RTPHeader* header) const;
- size_t headers_size() const;
+ virtual size_t headers_size() const;
philipel 2017/03/30 11:52:11 remove virtual
minyue-webrtc 2017/03/30 13:07:11 oh, I forgot
// Payload.
size_t payload_size() const;
@@ -61,7 +61,7 @@ class Packet {
// Buffer.
rtc::CopyOnWriteBuffer Buffer() const;
size_t capacity() const;
- size_t size() const;
+ virtual size_t size() const;
philipel 2017/03/30 11:52:11 remove virtual
minyue-webrtc 2017/03/30 13:07:11 Done.
const uint8_t* data() const;
size_t FreeCapacity() const;
size_t MaxPayloadSize() const;

Powered by Google App Engine
This is Rietveld 408576698