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

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

Issue 1198853004: Add statistics gathering for packet loss. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 6 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/interface/rtp_rtcp.h
diff --git a/webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h b/webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h
index fac4d3a9d9ac1afb75c12263a8083998f7862ce8..3d94db1db18521d7c56c20a2e2d0ae7c311d9370 100644
--- a/webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h
+++ b/webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h
@@ -439,6 +439,13 @@ class RtpRtcp : public Module {
StreamDataCounters* rtx_counters) const = 0;
/*
+ * Get packet loss statistics for the RTP stream.
+ */
+ virtual void GetRtpPacketLossStats(
+ struct RtpPacketLossStats* incoming_loss,
+ struct RtpPacketLossStats* outgoing_loss) const = 0;
+
+ /*
* Get received RTCP sender info
*
* return -1 on failure else 0

Powered by Google App Engine
This is Rietveld 408576698