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

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

Issue 2536653002: Update video histograms that do not have a minimum lifetime limit before being recorded. (Closed)
Patch Set: Split from https://codereview.webrtc.org/2482763003/ 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 | « no previous file | webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/include/ulpfec_receiver.h
diff --git a/webrtc/modules/rtp_rtcp/include/ulpfec_receiver.h b/webrtc/modules/rtp_rtcp/include/ulpfec_receiver.h
index fbb4b4c99c21a1e15347720ab134e136bd6130a3..af416f946925472c26b730732b169f85388ac922 100644
--- a/webrtc/modules/rtp_rtcp/include/ulpfec_receiver.h
+++ b/webrtc/modules/rtp_rtcp/include/ulpfec_receiver.h
@@ -18,11 +18,15 @@ namespace webrtc {
struct FecPacketCounter {
FecPacketCounter()
- : num_packets(0), num_fec_packets(0), num_recovered_packets(0) {}
+ : num_packets(0),
+ num_fec_packets(0),
+ num_recovered_packets(0),
+ first_packet_time_ms(-1) {}
size_t num_packets; // Number of received packets.
size_t num_fec_packets; // Number of received FEC packets.
size_t num_recovered_packets; // Number of recovered media packets using FEC.
+ int64_t first_packet_time_ms; // Time when first packet is received.
};
class UlpfecReceiver {
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/ulpfec_receiver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698