OLD | NEW |
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 14 matching lines...) Expand all Loading... |
25 // Note: This is what we tell the encoder. It doesn't have to reflect | 25 // Note: This is what we tell the encoder. It doesn't have to reflect |
26 // the actual NetworkMetrics; it's subject to our decision. | 26 // the actual NetworkMetrics; it's subject to our decision. |
27 rtc::Optional<float> uplink_packet_loss_fraction; | 27 rtc::Optional<float> uplink_packet_loss_fraction; |
28 rtc::Optional<bool> enable_fec; | 28 rtc::Optional<bool> enable_fec; |
29 rtc::Optional<bool> enable_dtx; | 29 rtc::Optional<bool> enable_dtx; |
30 | 30 |
31 // Some encoders can encode fewer channels than the actual input to make | 31 // Some encoders can encode fewer channels than the actual input to make |
32 // better use of the bandwidth. |num_channels| sets the number of channels | 32 // better use of the bandwidth. |num_channels| sets the number of channels |
33 // to encode. | 33 // to encode. |
34 rtc::Optional<size_t> num_channels; | 34 rtc::Optional<size_t> num_channels; |
| 35 |
| 36 // This is true if the last frame length change was an increase, and otherwise |
| 37 // false. |
| 38 // The value of this boolean is used to apply a different offset to the |
| 39 // per-packet overhead that is reported by the BWE. The exact offset value |
| 40 // is most important right after a frame length change, because the frame |
| 41 // length change affects the overhead. In the steady state, the exact value is |
| 42 // not important because the BWE will compensate. |
| 43 bool last_fl_change_increase = false; |
35 }; | 44 }; |
36 | 45 |
37 } // namespace webrtc | 46 } // namespace webrtc |
38 | 47 |
39 #endif // MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWORK_ADAP
TOR_CONFIG_H_ | 48 #endif // MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWORK_ADAP
TOR_CONFIG_H_ |
OLD | NEW |