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

Side by Side Diff: webrtc/video/send_statistics_proxy.h

Issue 1669623004: Use CallStats for RTT in Call, rather than VideoSendStream::GetRtt() (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Cleanup Created 4 years, 10 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 unified diff | Download patch
OLDNEW
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
11 #ifndef WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ 11 #ifndef WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
12 #define WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ 12 #define WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
13 13
14 #include <map> 14 #include <map>
15 #include <string> 15 #include <string>
16 16
17 #include "webrtc/base/criticalsection.h" 17 #include "webrtc/base/criticalsection.h"
18 #include "webrtc/base/exp_filter.h" 18 #include "webrtc/base/exp_filter.h"
19 #include "webrtc/base/ratetracker.h" 19 #include "webrtc/base/ratetracker.h"
20 #include "webrtc/base/scoped_ptr.h" 20 #include "webrtc/base/scoped_ptr.h"
21 #include "webrtc/base/thread_annotations.h" 21 #include "webrtc/base/thread_annotations.h"
22 #include "webrtc/common_types.h" 22 #include "webrtc/common_types.h"
23 #include "webrtc/modules/video_coding/include/video_codec_interface.h" 23 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
24 #include "webrtc/modules/video_coding/include/video_coding_defines.h" 24 #include "webrtc/modules/video_coding/include/video_coding_defines.h"
25 #include "webrtc/system_wrappers/include/clock.h" 25 #include "webrtc/system_wrappers/include/clock.h"
26 #include "webrtc/video/overuse_frame_detector.h" 26 #include "webrtc/video/overuse_frame_detector.h"
27 #include "webrtc/video/report_block_stats.h"
27 #include "webrtc/video/vie_encoder.h" 28 #include "webrtc/video/vie_encoder.h"
28 #include "webrtc/video_send_stream.h" 29 #include "webrtc/video_send_stream.h"
29 30
30 namespace webrtc { 31 namespace webrtc {
31 32
32 class SendStatisticsProxy : public CpuOveruseMetricsObserver, 33 class SendStatisticsProxy : public CpuOveruseMetricsObserver,
33 public RtcpStatisticsCallback, 34 public RtcpStatisticsCallback,
34 public RtcpPacketTypeCounterObserver, 35 public RtcpPacketTypeCounterObserver,
35 public StreamDataCountersCallback, 36 public StreamDataCountersCallback,
36 public BitrateStatisticsObserver, 37 public BitrateStatisticsObserver,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 SampleCounter encode_time_counter_; 158 SampleCounter encode_time_counter_;
158 BoolSampleCounter key_frame_counter_; 159 BoolSampleCounter key_frame_counter_;
159 BoolSampleCounter quality_limited_frame_counter_; 160 BoolSampleCounter quality_limited_frame_counter_;
160 SampleCounter quality_downscales_counter_; 161 SampleCounter quality_downscales_counter_;
161 BoolSampleCounter bw_limited_frame_counter_; 162 BoolSampleCounter bw_limited_frame_counter_;
162 SampleCounter bw_resolutions_disabled_counter_; 163 SampleCounter bw_resolutions_disabled_counter_;
163 SampleCounter delay_counter_; 164 SampleCounter delay_counter_;
164 SampleCounter max_delay_counter_; 165 SampleCounter max_delay_counter_;
165 rtc::RateTracker input_frame_rate_tracker_; 166 rtc::RateTracker input_frame_rate_tracker_;
166 rtc::RateTracker sent_frame_rate_tracker_; 167 rtc::RateTracker sent_frame_rate_tracker_;
168 int64_t first_rtcp_stats_time_ms_;
169 ReportBlockStats report_block_stats_;
167 }; 170 };
168 171
169 rtc::scoped_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_); 172 rtc::scoped_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_);
170 }; 173 };
171 174
172 } // namespace webrtc 175 } // namespace webrtc
173 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ 176 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698