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

Unified Diff: webrtc/video_receive_stream.h

Issue 2133073002: Add periodic logging of video stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « webrtc/video/video_send_stream.cc ('k') | webrtc/video_send_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_receive_stream.h
diff --git a/webrtc/video_receive_stream.h b/webrtc/video_receive_stream.h
index 410d5aff7f62adcec88ab455b79de43cd9b64303..a6499ef775df4fb06343851e3afd2f1a847132c7 100644
--- a/webrtc/video_receive_stream.h
+++ b/webrtc/video_receive_stream.h
@@ -46,6 +46,8 @@ class VideoReceiveStream {
};
struct Stats {
+ std::string ToString(int64_t time_ms) const;
+
int network_frame_rate = 0;
int decode_frame_rate = 0;
int render_frame_rate = 0;
@@ -66,6 +68,9 @@ class VideoReceiveStream {
int total_bitrate_bps = 0;
int discarded_packets = 0;
+ int width = 0;
+ int height = 0;
+
int sync_offset_ms = std::numeric_limits<int>::max();
uint32_t ssrc = 0;
« no previous file with comments | « webrtc/video/video_send_stream.cc ('k') | webrtc/video_send_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698