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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 void OnDecodedFrame(); | 44 void OnDecodedFrame(); |
45 void OnRenderedFrame(int width, int height); | 45 void OnRenderedFrame(int width, int height); |
46 void OnIncomingPayloadType(int payload_type); | 46 void OnIncomingPayloadType(int payload_type); |
47 void OnIncomingRate(unsigned int framerate, unsigned int bitrate_bps); | 47 void OnIncomingRate(unsigned int framerate, unsigned int bitrate_bps); |
48 void OnDecoderTiming(int decode_ms, | 48 void OnDecoderTiming(int decode_ms, |
49 int max_decode_ms, | 49 int max_decode_ms, |
50 int current_delay_ms, | 50 int current_delay_ms, |
51 int target_delay_ms, | 51 int target_delay_ms, |
52 int jitter_buffer_ms, | 52 int jitter_buffer_ms, |
53 int min_playout_delay_ms, | 53 int min_playout_delay_ms, |
54 int render_delay_ms); | 54 int render_delay_ms, |
| 55 int64_t rtt_ms); |
55 | 56 |
56 // Overrides VCMReceiveStatisticsCallback. | 57 // Overrides VCMReceiveStatisticsCallback. |
57 void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) override; | 58 void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) override; |
58 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; | 59 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; |
59 void OnDiscardedPacketsUpdated(int discarded_packets) override; | 60 void OnDiscardedPacketsUpdated(int discarded_packets) override; |
60 | 61 |
61 // Overrides RtcpStatisticsCallback. | 62 // Overrides RtcpStatisticsCallback. |
62 void StatisticsUpdated(const webrtc::RtcpStatistics& statistics, | 63 void StatisticsUpdated(const webrtc::RtcpStatistics& statistics, |
63 uint32_t ssrc) override; | 64 uint32_t ssrc) override; |
64 void CNameChanged(const char* cname, uint32_t ssrc) override; | 65 void CNameChanged(const char* cname, uint32_t ssrc) override; |
(...skipping 22 matching lines...) Expand all Loading... |
87 Clock* const clock_; | 88 Clock* const clock_; |
88 | 89 |
89 mutable rtc::CriticalSection crit_; | 90 mutable rtc::CriticalSection crit_; |
90 VideoReceiveStream::Stats stats_ GUARDED_BY(crit_); | 91 VideoReceiveStream::Stats stats_ GUARDED_BY(crit_); |
91 RateStatistics decode_fps_estimator_ GUARDED_BY(crit_); | 92 RateStatistics decode_fps_estimator_ GUARDED_BY(crit_); |
92 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_); | 93 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_); |
93 rtc::RateTracker render_fps_tracker_ GUARDED_BY(crit_); | 94 rtc::RateTracker render_fps_tracker_ GUARDED_BY(crit_); |
94 SampleCounter render_width_counter_ GUARDED_BY(crit_); | 95 SampleCounter render_width_counter_ GUARDED_BY(crit_); |
95 SampleCounter render_height_counter_ GUARDED_BY(crit_); | 96 SampleCounter render_height_counter_ GUARDED_BY(crit_); |
96 SampleCounter decode_time_counter_ GUARDED_BY(crit_); | 97 SampleCounter decode_time_counter_ GUARDED_BY(crit_); |
| 98 SampleCounter delay_counter_ GUARDED_BY(crit_); |
97 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); | 99 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); |
98 }; | 100 }; |
99 | 101 |
100 } // namespace webrtc | 102 } // namespace webrtc |
101 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ | 103 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ |
OLD | NEW |