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

Side by Side Diff: webrtc/modules/bitrate_controller/bitrate_controller_impl.h

Issue 2098703004: Revert of Revert "Revert of Update the BWE when the network route changes. (patchset #5 id:180001 of https://… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@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/call/call.cc ('k') | webrtc/modules/bitrate_controller/bitrate_controller_impl.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) 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 * Usage: this class will register multiple RtcpBitrateObserver's one at each 10 * Usage: this class will register multiple RtcpBitrateObserver's one at each
(...skipping 28 matching lines...) Expand all
39 39
40 // Deprecated 40 // Deprecated
41 void SetStartBitrate(int start_bitrate_bps) override; 41 void SetStartBitrate(int start_bitrate_bps) override;
42 // Deprecated 42 // Deprecated
43 void SetMinMaxBitrate(int min_bitrate_bps, int max_bitrate_bps) override; 43 void SetMinMaxBitrate(int min_bitrate_bps, int max_bitrate_bps) override;
44 44
45 void SetBitrates(int start_bitrate_bps, 45 void SetBitrates(int start_bitrate_bps,
46 int min_bitrate_bps, 46 int min_bitrate_bps,
47 int max_bitrate_bps) override; 47 int max_bitrate_bps) override;
48 48
49 void ResetBitrates(int bitrate_bps,
50 int min_bitrate_bps,
51 int max_bitrate_bps) override;
52
53 void UpdateDelayBasedEstimate(uint32_t bitrate_bps) override; 49 void UpdateDelayBasedEstimate(uint32_t bitrate_bps) override;
54 50
55 void SetReservedBitrate(uint32_t reserved_bitrate_bps) override; 51 void SetReservedBitrate(uint32_t reserved_bitrate_bps) override;
56 52
57 void SetEventLog(RtcEventLog* event_log) override; 53 void SetEventLog(RtcEventLog* event_log) override;
58 54
59 // Returns true if the parameters have changed since the last call. 55 // Returns true if the parameters have changed since the last call.
60 bool GetNetworkParameters(uint32_t* bitrate, 56 bool GetNetworkParameters(uint32_t* bitrate,
61 uint8_t* fraction_loss, 57 uint8_t* fraction_loss,
62 int64_t* rtt) override; 58 int64_t* rtt) override;
(...skipping 30 matching lines...) Expand all
93 89
94 uint32_t last_bitrate_bps_ GUARDED_BY(critsect_); 90 uint32_t last_bitrate_bps_ GUARDED_BY(critsect_);
95 uint8_t last_fraction_loss_ GUARDED_BY(critsect_); 91 uint8_t last_fraction_loss_ GUARDED_BY(critsect_);
96 int64_t last_rtt_ms_ GUARDED_BY(critsect_); 92 int64_t last_rtt_ms_ GUARDED_BY(critsect_);
97 uint32_t last_reserved_bitrate_bps_ GUARDED_BY(critsect_); 93 uint32_t last_reserved_bitrate_bps_ GUARDED_BY(critsect_);
98 94
99 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(BitrateControllerImpl); 95 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(BitrateControllerImpl);
100 }; 96 };
101 } // namespace webrtc 97 } // namespace webrtc
102 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_BITRATE_CONTROLLER_IMPL_H_ 98 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_BITRATE_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/modules/bitrate_controller/bitrate_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698