| OLD | NEW |
| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual void SetBitrates(int start_bitrate_bps, | 72 virtual void SetBitrates(int start_bitrate_bps, |
| 73 int min_bitrate_bps, | 73 int min_bitrate_bps, |
| 74 int max_bitrate_bps) = 0; | 74 int max_bitrate_bps) = 0; |
| 75 | 75 |
| 76 virtual void ResetBitrates(int bitrate_bps, | 76 virtual void ResetBitrates(int bitrate_bps, |
| 77 int min_bitrate_bps, | 77 int min_bitrate_bps, |
| 78 int max_bitrate_bps) = 0; | 78 int max_bitrate_bps) = 0; |
| 79 | 79 |
| 80 virtual void UpdateDelayBasedEstimate(uint32_t bitrate_bps) = 0; | 80 virtual void UpdateDelayBasedEstimate(uint32_t bitrate_bps) = 0; |
| 81 | 81 |
| 82 virtual void UpdateProbeBitrate(uint32_t bitrate_bps) = 0; |
| 83 |
| 82 // Gets the available payload bandwidth in bits per second. Note that | 84 // Gets the available payload bandwidth in bits per second. Note that |
| 83 // this bandwidth excludes packet headers. | 85 // this bandwidth excludes packet headers. |
| 84 virtual bool AvailableBandwidth(uint32_t* bandwidth) const = 0; | 86 virtual bool AvailableBandwidth(uint32_t* bandwidth) const = 0; |
| 85 | 87 |
| 86 virtual void SetReservedBitrate(uint32_t reserved_bitrate_bps) = 0; | 88 virtual void SetReservedBitrate(uint32_t reserved_bitrate_bps) = 0; |
| 87 | 89 |
| 88 virtual bool GetNetworkParameters(uint32_t* bitrate, | 90 virtual bool GetNetworkParameters(uint32_t* bitrate, |
| 89 uint8_t* fraction_loss, | 91 uint8_t* fraction_loss, |
| 90 int64_t* rtt) = 0; | 92 int64_t* rtt) = 0; |
| 91 }; | 93 }; |
| 92 } // namespace webrtc | 94 } // namespace webrtc |
| 93 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_BITRATE_CONTROLLER_H_ | 95 #endif // WEBRTC_MODULES_BITRATE_CONTROLLER_INCLUDE_BITRATE_CONTROLLER_H_ |
| OLD | NEW |