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

Unified Diff: webrtc/common_types.h

Issue 2495553002: Add overhead per packet observer to the rtp_sender. (Closed)
Patch Set: 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
Index: webrtc/common_types.h
diff --git a/webrtc/common_types.h b/webrtc/common_types.h
index d4f2f908304be732a9f492cd3234fe24139e88ed..462ff11d16b7d96fd54ef88381cda7ea4afba54e 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -298,6 +298,14 @@ class SendPacketObserver {
uint32_t ssrc) = 0;
};
+// Callback, used to notify an observer when the overhead per packet
+// has changed.
+class OverheadPerPacketObserver {
+ public:
+ virtual ~OverheadPerPacketObserver() = default;
+ virtual void OnOverheadPerPacketChange(int overhead_per_packet) = 0;
+};
+
// ==================================================================
// Voice specific types
// ==================================================================
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/include/rtp_rtcp.h » ('j') | webrtc/modules/rtp_rtcp/include/rtp_rtcp.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698