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

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

Issue 2131913003: Revert of Refactor NACK bitrate allocation (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 5 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/rtp_stream_receiver.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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void CNameChanged(const char* cname, uint32_t ssrc) override; 78 void CNameChanged(const char* cname, uint32_t ssrc) override;
79 // From RtcpPacketTypeCounterObserver. 79 // From RtcpPacketTypeCounterObserver.
80 void RtcpPacketTypesCounterUpdated( 80 void RtcpPacketTypesCounterUpdated(
81 uint32_t ssrc, 81 uint32_t ssrc,
82 const RtcpPacketTypeCounter& packet_counter) override; 82 const RtcpPacketTypeCounter& packet_counter) override;
83 // From StreamDataCountersCallback. 83 // From StreamDataCountersCallback.
84 void DataCountersUpdated(const StreamDataCounters& counters, 84 void DataCountersUpdated(const StreamDataCounters& counters,
85 uint32_t ssrc) override; 85 uint32_t ssrc) override;
86 86
87 // From BitrateStatisticsObserver. 87 // From BitrateStatisticsObserver.
88 void Notify(uint32_t total_bitrate_bps, 88 void Notify(const BitrateStatistics& total_stats,
89 uint32_t retransmit_bitrate_bps, 89 const BitrateStatistics& retransmit_stats,
90 uint32_t ssrc) override; 90 uint32_t ssrc) override;
91 91
92 // From FrameCountObserver. 92 // From FrameCountObserver.
93 void FrameCountUpdated(const FrameCounts& frame_counts, 93 void FrameCountUpdated(const FrameCounts& frame_counts,
94 uint32_t ssrc) override; 94 uint32_t ssrc) override;
95 95
96 void SendSideDelayUpdated(int avg_delay_ms, 96 void SendSideDelayUpdated(int avg_delay_ms,
97 int max_delay_ms, 97 int max_delay_ms,
98 uint32_t ssrc) override; 98 uint32_t ssrc) override;
99 99
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const VideoSendStream::Stats start_stats_; 180 const VideoSendStream::Stats start_stats_;
181 std::map<int, QpCounters> 181 std::map<int, QpCounters>
182 qp_counters_; // QP counters mapped by spatial idx. 182 qp_counters_; // QP counters mapped by spatial idx.
183 }; 183 };
184 184
185 std::unique_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_); 185 std::unique_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_);
186 }; 186 };
187 187
188 } // namespace webrtc 188 } // namespace webrtc
189 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ 189 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/video/rtp_stream_receiver.cc ('k') | webrtc/video/send_statistics_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698