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

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

Issue 1406903002: Expose codec implementation names in stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: report what we fell back from 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const RTPVideoHeader* rtp_video_header); 47 const RTPVideoHeader* rtp_video_header);
48 // Used to update incoming frame rate. 48 // Used to update incoming frame rate.
49 void OnIncomingFrame(int width, int height); 49 void OnIncomingFrame(int width, int height);
50 50
51 // Used to update encode time of frames. 51 // Used to update encode time of frames.
52 void OnEncodedFrame(int encode_time_ms); 52 void OnEncodedFrame(int encode_time_ms);
53 53
54 // From VideoEncoderRateObserver. 54 // From VideoEncoderRateObserver.
55 void OnSetRates(uint32_t bitrate_bps, int framerate) override; 55 void OnSetRates(uint32_t bitrate_bps, int framerate) override;
56 56
57 void OnEncoderImplementationName(const char* implementation_name);
57 void OnOutgoingRate(uint32_t framerate, uint32_t bitrate); 58 void OnOutgoingRate(uint32_t framerate, uint32_t bitrate);
58 void OnSuspendChange(bool is_suspended); 59 void OnSuspendChange(bool is_suspended);
59 void OnInactiveSsrc(uint32_t ssrc); 60 void OnInactiveSsrc(uint32_t ssrc);
60 61
61 protected: 62 protected:
62 // From CpuOveruseMetricsObserver. 63 // From CpuOveruseMetricsObserver.
63 void CpuOveruseMetricsUpdated(const CpuOveruseMetrics& metrics) override; 64 void CpuOveruseMetricsUpdated(const CpuOveruseMetrics& metrics) override;
64 // From RtcpStatisticsCallback. 65 // From RtcpStatisticsCallback.
65 void StatisticsUpdated(const RtcpStatistics& statistics, 66 void StatisticsUpdated(const RtcpStatistics& statistics,
66 uint32_t ssrc) override; 67 uint32_t ssrc) override;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 SampleCounter encode_time_counter_ GUARDED_BY(crit_); 140 SampleCounter encode_time_counter_ GUARDED_BY(crit_);
140 BoolSampleCounter key_frame_counter_ GUARDED_BY(crit_); 141 BoolSampleCounter key_frame_counter_ GUARDED_BY(crit_);
141 BoolSampleCounter quality_limited_frame_counter_ GUARDED_BY(crit_); 142 BoolSampleCounter quality_limited_frame_counter_ GUARDED_BY(crit_);
142 SampleCounter quality_downscales_counter_ GUARDED_BY(crit_); 143 SampleCounter quality_downscales_counter_ GUARDED_BY(crit_);
143 BoolSampleCounter bw_limited_frame_counter_ GUARDED_BY(crit_); 144 BoolSampleCounter bw_limited_frame_counter_ GUARDED_BY(crit_);
144 SampleCounter bw_resolutions_disabled_counter_ GUARDED_BY(crit_); 145 SampleCounter bw_resolutions_disabled_counter_ GUARDED_BY(crit_);
145 }; 146 };
146 147
147 } // namespace webrtc 148 } // namespace webrtc
148 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ 149 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698