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

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

Issue 2061423003: Refactor NACK bitrate allocation (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Moved rate limiter and addressed comments 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
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void CNameChanged(const char* cname, uint32_t ssrc) override; 79 void CNameChanged(const char* cname, uint32_t ssrc) override;
80 // From RtcpPacketTypeCounterObserver. 80 // From RtcpPacketTypeCounterObserver.
81 void RtcpPacketTypesCounterUpdated( 81 void RtcpPacketTypesCounterUpdated(
82 uint32_t ssrc, 82 uint32_t ssrc,
83 const RtcpPacketTypeCounter& packet_counter) override; 83 const RtcpPacketTypeCounter& packet_counter) override;
84 // From StreamDataCountersCallback. 84 // From StreamDataCountersCallback.
85 void DataCountersUpdated(const StreamDataCounters& counters, 85 void DataCountersUpdated(const StreamDataCounters& counters,
86 uint32_t ssrc) override; 86 uint32_t ssrc) override;
87 87
88 // From BitrateStatisticsObserver. 88 // From BitrateStatisticsObserver.
89 void Notify(const BitrateStatistics& total_stats, 89 void Notify(uint32_t total_bitrate_bps,
90 const BitrateStatistics& retransmit_stats, 90 uint32_t retransmit_bitrate_bps,
91 uint32_t ssrc) override; 91 uint32_t ssrc) override;
92 92
93 // From FrameCountObserver. 93 // From FrameCountObserver.
94 void FrameCountUpdated(const FrameCounts& frame_counts, 94 void FrameCountUpdated(const FrameCounts& frame_counts,
95 uint32_t ssrc) override; 95 uint32_t ssrc) override;
96 96
97 void SendSideDelayUpdated(int avg_delay_ms, 97 void SendSideDelayUpdated(int avg_delay_ms,
98 int max_delay_ms, 98 int max_delay_ms,
99 uint32_t ssrc) override; 99 uint32_t ssrc) override;
100 100
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 const VideoSendStream::Stats start_stats_; 181 const VideoSendStream::Stats start_stats_;
182 std::map<int, QpCounters> 182 std::map<int, QpCounters>
183 qp_counters_; // QP counters mapped by spatial idx. 183 qp_counters_; // QP counters mapped by spatial idx.
184 }; 184 };
185 185
186 std::unique_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_); 186 std::unique_ptr<UmaSamplesContainer> uma_container_ GUARDED_BY(crit_);
187 }; 187 };
188 188
189 } // namespace webrtc 189 } // namespace webrtc
190 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_ 190 #endif // WEBRTC_VIDEO_SEND_STATISTICS_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698