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

Unified Diff: webrtc/video/receive_statistics_proxy.h

Issue 2946413002: Report timing frames info in GetStats. (Closed)
Patch Set: Implement Hbos@ comments Created 3 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/video/receive_statistics_proxy.h
diff --git a/webrtc/video/receive_statistics_proxy.h b/webrtc/video/receive_statistics_proxy.h
index e1d097152e8d9bcd277d0226b8adc1d4bab7b717..3e823414493c004ec2d8ecbaea61396e936d9c0b 100644
--- a/webrtc/video/receive_statistics_proxy.h
+++ b/webrtc/video/receive_statistics_proxy.h
@@ -69,6 +69,8 @@ class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback,
int min_playout_delay_ms,
int render_delay_ms) override;
+ void OnTimingFrameInfoUpdated(const TimingFrameInfo& info) override;
+
// Overrides RtcpStatisticsCallback.
void StatisticsUpdated(const webrtc::RtcpStatistics& statistics,
uint32_t ssrc) override;
@@ -152,6 +154,7 @@ class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback,
int64_t avg_rtt_ms_ GUARDED_BY(crit_);
mutable std::map<int64_t, size_t> frame_window_ GUARDED_BY(&crit_);
VideoContentType last_content_type_ GUARDED_BY(&crit_);
+ mutable rtc::Optional<TimingFrameInfo> timing_frame_info_ GUARDED_BY(&crit_);
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698