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

Side by Side Diff: webrtc/modules/congestion_controller/include/congestion_controller.h

Issue 2827333005: Moving overhead counting to bitrate estimators.
Patch Set: Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Implements CallStatsObserver. 117 // Implements CallStatsObserver.
118 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; 118 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override;
119 119
120 // Implements Module. 120 // Implements Module.
121 int64_t TimeUntilNextProcess() override; 121 int64_t TimeUntilNextProcess() override;
122 void Process() override; 122 void Process() override;
123 123
124 // Implements TransportFeedbackObserver. 124 // Implements TransportFeedbackObserver.
125 void AddPacket(uint32_t ssrc, 125 void AddPacket(uint32_t ssrc,
126 uint16_t sequence_number, 126 uint16_t sequence_number,
127 size_t length, 127 size_t payload_size,
128 size_t rtp_headers_size,
stefan-webrtc 2017/04/21 12:35:27 I don't like this since I want to move towards Con
minyue-webrtc 2017/04/21 12:58:14 I know that and would like to avoid this. But the
128 const PacedPacketInfo& pacing_info) override; 129 const PacedPacketInfo& pacing_info) override;
129 void OnTransportFeedback(const rtcp::TransportFeedback& feedback) override; 130 void OnTransportFeedback(const rtcp::TransportFeedback& feedback) override;
130 std::vector<PacketFeedback> GetTransportFeedbackVector() const override; 131 std::vector<PacketFeedback> GetTransportFeedbackVector() const override;
131 132
132 private: 133 private:
133 SendSideCongestionController send_side_cc_; 134 SendSideCongestionController send_side_cc_;
134 ReceiveSideCongestionController receive_side_cc_; 135 ReceiveSideCongestionController receive_side_cc_;
135 136
136 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); 137 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController);
137 }; 138 };
138 139
139 } // namespace webrtc 140 } // namespace webrtc
140 141
141 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ 142 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698