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

Side by Side Diff: modules/audio_coding/audio_network_adaptor/include/audio_network_adaptor_config.h

Issue 3013613002: Added configurable offsets to the per-packet overhead in ANA. (Closed)
Patch Set: Added conversion to size_t in DCHECK. Created 3 years, 3 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 | « modules/audio_coding/audio_network_adaptor/frame_length_controller_unittest.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 14 matching lines...) Expand all
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_
OLDNEW
« no previous file with comments | « modules/audio_coding/audio_network_adaptor/frame_length_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698