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

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

Issue 2777423002: Let Call register ReceiveSideCongestionController as CallStatsObserver. (Closed)
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
« no previous file with comments | « webrtc/call/call.cc ('k') | no next file » | 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) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 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 28 matching lines...) Expand all
39 39
40 virtual void OnReceivedPacket(int64_t arrival_time_ms, 40 virtual void OnReceivedPacket(int64_t arrival_time_ms,
41 size_t payload_size, 41 size_t payload_size,
42 const RTPHeader& header); 42 const RTPHeader& header);
43 43
44 // TODO(nisse): Delete these methods, design a more specific interface. 44 // TODO(nisse): Delete these methods, design a more specific interface.
45 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator(bool send_side_bwe); 45 virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator(bool send_side_bwe);
46 virtual const RemoteBitrateEstimator* GetRemoteBitrateEstimator( 46 virtual const RemoteBitrateEstimator* GetRemoteBitrateEstimator(
47 bool send_side_bwe) const; 47 bool send_side_bwe) const;
48 48
49 // TODO(nisse): Called by CongestionController, but not otherwise wired up.
50 // Implements CallStatsObserver. 49 // Implements CallStatsObserver.
51 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; 50 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override;
52 51
53 // This is send bitrate, used to control the rate of feedback messages. 52 // This is send bitrate, used to control the rate of feedback messages.
54 void OnBitrateChanged(int bitrate_bps); 53 void OnBitrateChanged(int bitrate_bps);
55 54
56 // Implements Module. 55 // Implements Module.
57 int64_t TimeUntilNextProcess() override; 56 int64_t TimeUntilNextProcess() override;
58 void Process() override; 57 void Process() override;
59 58
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WrappingBitrateEstimator); 96 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WrappingBitrateEstimator);
98 }; 97 };
99 98
100 WrappingBitrateEstimator remote_bitrate_estimator_; 99 WrappingBitrateEstimator remote_bitrate_estimator_;
101 RemoteEstimatorProxy remote_estimator_proxy_; 100 RemoteEstimatorProxy remote_estimator_proxy_;
102 }; 101 };
103 102
104 } // namespace webrtc 103 } // namespace webrtc
105 104
106 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_RECEIVE_SIDE_CONGESTION_ CONTROLLER_H_ 105 #endif // WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_RECEIVE_SIDE_CONGESTION_ CONTROLLER_H_
OLDNEW
« no previous file with comments | « webrtc/call/call.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698