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

Unified Diff: webrtc/common_types.h

Issue 1478253002: Add histogram stats for send delay for a sent video stream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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 048485fa2fc89f99483230cb2f0b5f479acb7ed0..50804293f735fbd96153d6ee227007d90b080afd 100644
--- a/webrtc/common_types.h
+++ b/webrtc/common_types.h
@@ -281,6 +281,15 @@ class SendSideDelayObserver {
uint32_t ssrc) = 0;
};
+// Callback, used to notify an observer whenever a packet is sent to network.
stefan-webrtc 2016/01/18 19:48:25 Maybe "sent to the transport" since this is when t
åsapersson 2016/04/06 14:52:37 Done.
+class SendPacketObserver {
+ public:
+ virtual ~SendPacketObserver() {}
+ virtual void OnSendPacket(uint16_t packet_id,
+ int64_t capture_time_ms,
+ uint32_t ssrc) = 0;
+};
+
// ==================================================================
// Voice specific types
// ==================================================================

Powered by Google App Engine
This is Rietveld 408576698