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

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

Issue 3000253002: Move video send/receive stream headers to webrtc/call. (Closed)
Patch Set: Headers moved to 'webrtc/call' instead of 'webrtc/api'. Created 3 years, 4 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_RECEIVE_STATISTICS_PROXY_H_ 11 #ifndef WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_
12 #define WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ 12 #define WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_
13 13
14 #include <map> 14 #include <map>
15 #include <string> 15 #include <string>
16 16
17 #include "webrtc/call/video_receive_stream.h"
17 #include "webrtc/common_types.h" 18 #include "webrtc/common_types.h"
18 #include "webrtc/common_video/include/frame_callback.h" 19 #include "webrtc/common_video/include/frame_callback.h"
19 #include "webrtc/modules/video_coding/include/video_coding_defines.h" 20 #include "webrtc/modules/video_coding/include/video_coding_defines.h"
20 #include "webrtc/rtc_base/criticalsection.h" 21 #include "webrtc/rtc_base/criticalsection.h"
21 #include "webrtc/rtc_base/rate_statistics.h" 22 #include "webrtc/rtc_base/rate_statistics.h"
22 #include "webrtc/rtc_base/ratetracker.h" 23 #include "webrtc/rtc_base/ratetracker.h"
23 #include "webrtc/rtc_base/thread_annotations.h" 24 #include "webrtc/rtc_base/thread_annotations.h"
24 #include "webrtc/video/quality_threshold.h" 25 #include "webrtc/video/quality_threshold.h"
25 #include "webrtc/video/report_block_stats.h" 26 #include "webrtc/video/report_block_stats.h"
26 #include "webrtc/video/stats_counter.h" 27 #include "webrtc/video/stats_counter.h"
27 #include "webrtc/video/video_stream_decoder.h" 28 #include "webrtc/video/video_stream_decoder.h"
28 #include "webrtc/video_receive_stream.h"
29 29
30 namespace webrtc { 30 namespace webrtc {
31 31
32 class Clock; 32 class Clock;
33 class ViECodec; 33 class ViECodec;
34 class ViEDecoderObserver; 34 class ViEDecoderObserver;
35 struct CodecSpecificInfo; 35 struct CodecSpecificInfo;
36 36
37 class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback, 37 class ReceiveStatisticsProxy : public VCMReceiveStatisticsCallback,
38 public RtcpStatisticsCallback, 38 public RtcpStatisticsCallback,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 std::map<uint32_t, StreamDataCounters> rtx_stats_ GUARDED_BY(crit_); 159 std::map<uint32_t, StreamDataCounters> rtx_stats_ GUARDED_BY(crit_);
160 int64_t avg_rtt_ms_ GUARDED_BY(crit_); 160 int64_t avg_rtt_ms_ GUARDED_BY(crit_);
161 mutable std::map<int64_t, size_t> frame_window_ GUARDED_BY(&crit_); 161 mutable std::map<int64_t, size_t> frame_window_ GUARDED_BY(&crit_);
162 VideoContentType last_content_type_ GUARDED_BY(&crit_); 162 VideoContentType last_content_type_ GUARDED_BY(&crit_);
163 rtc::Optional<int64_t> last_decoded_frame_time_ms_; 163 rtc::Optional<int64_t> last_decoded_frame_time_ms_;
164 rtc::Optional<TimingFrameInfo> timing_frame_info_ GUARDED_BY(&crit_); 164 rtc::Optional<TimingFrameInfo> timing_frame_info_ GUARDED_BY(&crit_);
165 }; 165 };
166 166
167 } // namespace webrtc 167 } // namespace webrtc
168 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ 168 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698