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

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

Issue 1905583002: Reland of Deprecate VCMPacketizationCallback::SendData and use EncodedImageCallback instead. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « webrtc/video/payload_router_unittest.cc ('k') | webrtc/video/send_statistics_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 static const int kStatsTimeoutMs; 42 static const int kStatsTimeoutMs;
43 43
44 SendStatisticsProxy(Clock* clock, 44 SendStatisticsProxy(Clock* clock,
45 const VideoSendStream::Config& config, 45 const VideoSendStream::Config& config,
46 VideoEncoderConfig::ContentType content_type); 46 VideoEncoderConfig::ContentType content_type);
47 virtual ~SendStatisticsProxy(); 47 virtual ~SendStatisticsProxy();
48 48
49 VideoSendStream::Stats GetStats(); 49 VideoSendStream::Stats GetStats();
50 50
51 virtual void OnSendEncodedImage(const EncodedImage& encoded_image, 51 virtual void OnSendEncodedImage(const EncodedImage& encoded_image,
52 const RTPVideoHeader* rtp_video_header); 52 const CodecSpecificInfo* codec_info);
53 // Used to update incoming frame rate. 53 // Used to update incoming frame rate.
54 void OnIncomingFrame(int width, int height); 54 void OnIncomingFrame(int width, int height);
55 55
56 void OnEncoderImplementationName(const char* implementation_name); 56 void OnEncoderImplementationName(const char* implementation_name);
57 void OnOutgoingRate(uint32_t framerate, uint32_t bitrate); 57 void OnOutgoingRate(uint32_t framerate, uint32_t bitrate);
58 void OnSuspendChange(bool is_suspended); 58 void OnSuspendChange(bool is_suspended);
59 void OnInactiveSsrc(uint32_t ssrc); 59 void OnInactiveSsrc(uint32_t ssrc);
60 60
61 // Used to indicate change in content type, which may require a change in 61 // Used to indicate change in content type, which may require a change in
62 // how stats are collected. 62 // how stats are collected.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 const VideoSendStream::Stats start_stats_; 178 const VideoSendStream::Stats start_stats_;
179 std::map<int, QpCounters> 179 std::map<int, QpCounters>
180 qp_counters_; // QP counters mapped by spatial idx. 180 qp_counters_; // QP counters mapped by spatial idx.
181 }; 181 };
182 182
183 std::unique_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_); 183 std::unique_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_);
184 }; 184 };
185 185
186 } // namespace webrtc 186 } // namespace webrtc
187 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ 187 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/video/payload_router_unittest.cc ('k') | webrtc/video/send_statistics_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698