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

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

Issue 1406903002: Expose codec implementation names in stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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
(...skipping 26 matching lines...) Expand all
37 public StreamDataCountersCallback { 37 public StreamDataCountersCallback {
38 public: 38 public:
39 ReceiveStatisticsProxy(uint32_t ssrc, Clock* clock); 39 ReceiveStatisticsProxy(uint32_t ssrc, Clock* clock);
40 virtual ~ReceiveStatisticsProxy(); 40 virtual ~ReceiveStatisticsProxy();
41 41
42 VideoReceiveStream::Stats GetStats() const; 42 VideoReceiveStream::Stats GetStats() const;
43 43
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 OnDecoderImplementationName(const char* implementation_name);
47 void OnIncomingRate(unsigned int framerate, unsigned int bitrate_bps); 48 void OnIncomingRate(unsigned int framerate, unsigned int bitrate_bps);
48 void OnDecoderTiming(int decode_ms, 49 void OnDecoderTiming(int decode_ms,
49 int max_decode_ms, 50 int max_decode_ms,
50 int current_delay_ms, 51 int current_delay_ms,
51 int target_delay_ms, 52 int target_delay_ms,
52 int jitter_buffer_ms, 53 int jitter_buffer_ms,
53 int min_playout_delay_ms, 54 int min_playout_delay_ms,
54 int render_delay_ms, 55 int render_delay_ms,
55 int64_t rtt_ms); 56 int64_t rtt_ms);
56 57
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 rtc::RateTracker render_pixel_tracker_ GUARDED_BY(crit_); 96 rtc::RateTracker render_pixel_tracker_ GUARDED_BY(crit_);
96 SampleCounter render_width_counter_ GUARDED_BY(crit_); 97 SampleCounter render_width_counter_ GUARDED_BY(crit_);
97 SampleCounter render_height_counter_ GUARDED_BY(crit_); 98 SampleCounter render_height_counter_ GUARDED_BY(crit_);
98 SampleCounter decode_time_counter_ GUARDED_BY(crit_); 99 SampleCounter decode_time_counter_ GUARDED_BY(crit_);
99 SampleCounter delay_counter_ GUARDED_BY(crit_); 100 SampleCounter delay_counter_ GUARDED_BY(crit_);
100 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); 101 ReportBlockStats report_block_stats_ GUARDED_BY(crit_);
101 }; 102 };
102 103
103 } // namespace webrtc 104 } // namespace webrtc
104 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ 105 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698