OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; | 61 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; |
62 void OnDiscardedPacketsUpdated(int discarded_packets) override; | 62 void OnDiscardedPacketsUpdated(int discarded_packets) override; |
63 void OnCompleteFrame(bool is_keyframe, size_t size_bytes) override; | 63 void OnCompleteFrame(bool is_keyframe, size_t size_bytes) override; |
64 void OnFrameBufferTimingsUpdated(int decode_ms, | 64 void OnFrameBufferTimingsUpdated(int decode_ms, |
65 int max_decode_ms, | 65 int max_decode_ms, |
66 int current_delay_ms, | 66 int current_delay_ms, |
67 int target_delay_ms, | 67 int target_delay_ms, |
68 int jitter_buffer_ms, | 68 int jitter_buffer_ms, |
69 int min_playout_delay_ms, | 69 int min_playout_delay_ms, |
70 int render_delay_ms) override; | 70 int render_delay_ms) override; |
| 71 void OnTimingFrameInfoUpdated(const TimingFrameInfo& info) override; |
71 | 72 |
72 // Overrides RtcpStatisticsCallback. | 73 // Overrides RtcpStatisticsCallback. |
73 void StatisticsUpdated(const webrtc::RtcpStatistics& statistics, | 74 void StatisticsUpdated(const webrtc::RtcpStatistics& statistics, |
74 uint32_t ssrc) override; | 75 uint32_t ssrc) override; |
75 void CNameChanged(const char* cname, uint32_t ssrc) override; | 76 void CNameChanged(const char* cname, uint32_t ssrc) override; |
76 | 77 |
77 // Overrides RtcpPacketTypeCounterObserver. | 78 // Overrides RtcpPacketTypeCounterObserver. |
78 void RtcpPacketTypesCounterUpdated( | 79 void RtcpPacketTypesCounterUpdated( |
79 uint32_t ssrc, | 80 uint32_t ssrc, |
80 const RtcpPacketTypeCounter& packet_counter) override; | 81 const RtcpPacketTypeCounter& packet_counter) override; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 int64_t e2e_delay_max_ms_video_ GUARDED_BY(crit_); | 146 int64_t e2e_delay_max_ms_video_ GUARDED_BY(crit_); |
146 int64_t e2e_delay_max_ms_screenshare_ GUARDED_BY(crit_); | 147 int64_t e2e_delay_max_ms_screenshare_ GUARDED_BY(crit_); |
147 MaxCounter freq_offset_counter_ GUARDED_BY(crit_); | 148 MaxCounter freq_offset_counter_ GUARDED_BY(crit_); |
148 int64_t first_report_block_time_ms_ GUARDED_BY(crit_); | 149 int64_t first_report_block_time_ms_ GUARDED_BY(crit_); |
149 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); | 150 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); |
150 QpCounters qp_counters_; // Only accessed on the decoding thread. | 151 QpCounters qp_counters_; // Only accessed on the decoding thread. |
151 std::map<uint32_t, StreamDataCounters> rtx_stats_ GUARDED_BY(crit_); | 152 std::map<uint32_t, StreamDataCounters> rtx_stats_ GUARDED_BY(crit_); |
152 int64_t avg_rtt_ms_ GUARDED_BY(crit_); | 153 int64_t avg_rtt_ms_ GUARDED_BY(crit_); |
153 mutable std::map<int64_t, size_t> frame_window_ GUARDED_BY(&crit_); | 154 mutable std::map<int64_t, size_t> frame_window_ GUARDED_BY(&crit_); |
154 VideoContentType last_content_type_ GUARDED_BY(&crit_); | 155 VideoContentType last_content_type_ GUARDED_BY(&crit_); |
| 156 mutable TimingFrameInfo timing_frame_info_ GUARDED_BY(&crit_); |
155 }; | 157 }; |
156 | 158 |
157 } // namespace webrtc | 159 } // namespace webrtc |
158 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ | 160 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ |
OLD | NEW |