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

Side by Side Diff: webrtc/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: Set prev_direction_increase in the Frame length controller. 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
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 13 matching lines...) Expand all
24 // Note: This is what we tell the encoder. It doesn't have to reflect 24 // Note: This is what we tell the encoder. It doesn't have to reflect
25 // the actual NetworkMetrics; it's subject to our decision. 25 // the actual NetworkMetrics; it's subject to our decision.
26 rtc::Optional<float> uplink_packet_loss_fraction; 26 rtc::Optional<float> uplink_packet_loss_fraction;
27 rtc::Optional<bool> enable_fec; 27 rtc::Optional<bool> enable_fec;
28 rtc::Optional<bool> enable_dtx; 28 rtc::Optional<bool> enable_dtx;
29 29
30 // Some encoders can encode fewer channels than the actual input to make 30 // Some encoders can encode fewer channels than the actual input to make
31 // better use of the bandwidth. |num_channels| sets the number of channels 31 // better use of the bandwidth. |num_channels| sets the number of channels
32 // to encode. 32 // to encode.
33 rtc::Optional<size_t> num_channels; 33 rtc::Optional<size_t> num_channels;
34
35 // This is true if the last frame length change was an increase, and otherwise
36 // false. Note that the default value of this variable may need to be updated
ossu 2017/09/14 12:16:14 "Note that the default value of this variable may
ivoc 2017/09/14 13:03:39 I guess this is a bit arbitrary and probably doesn
37 // if the default frame length is increased.
38 bool last_fl_change_increase = false;
34 }; 39 };
35 40
36 } // namespace webrtc 41 } // namespace webrtc
37 42
38 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWO RK_ADAPTOR_CONFIG_H_ 43 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_INCLUDE_AUDIO_NETWO RK_ADAPTOR_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698