| Index: webrtc/video/receive_statistics_proxy.h
|
| diff --git a/webrtc/video/receive_statistics_proxy.h b/webrtc/video/receive_statistics_proxy.h
|
| index 2e93d70f153770d775a3fd08112b7570ca7cb518..2aaacf3e178eae5a4c39e20c8947b9c5379d1dfb 100644
|
| --- a/webrtc/video/receive_statistics_proxy.h
|
| +++ b/webrtc/video/receive_statistics_proxy.h
|
| @@ -47,8 +47,6 @@ class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback,
|
|
|
| VideoReceiveStream::Stats GetStats() const;
|
|
|
| - rtc::Optional<TimingFrameInfo> GetAndResetTimingFrameInfo();
|
| -
|
| void OnDecodedFrame(rtc::Optional<uint8_t> qp, VideoContentType content_type);
|
| void OnSyncOffsetUpdated(int64_t sync_offset_ms, double estimated_freq_khz);
|
| void OnRenderedFrame(const VideoFrame& frame);
|
| @@ -167,7 +165,10 @@ class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback,
|
| mutable std::map<int64_t, size_t> frame_window_ GUARDED_BY(&crit_);
|
| VideoContentType last_content_type_ GUARDED_BY(&crit_);
|
| rtc::Optional<int64_t> last_decoded_frame_time_ms_ GUARDED_BY(&crit_);
|
| - rtc::Optional<TimingFrameInfo> timing_frame_info_ GUARDED_BY(&crit_);
|
| + // Mutable because calling Max() on MovingMaxCounter is not const. Yet it is
|
| + // called from const GetStats().
|
| + mutable rtc::MovingMaxCounter<TimingFrameInfo> timing_frame_info_counter_
|
| + GUARDED_BY(&crit_);
|
| };
|
|
|
| } // namespace webrtc
|
|
|