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

Side by Side Diff: webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.h

Issue 3007983002: Implement ANA statistics. (Closed)
Patch Set: 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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const Config config_; 68 const Config config_;
69 69
70 std::unique_ptr<ControllerManager> controller_manager_; 70 std::unique_ptr<ControllerManager> controller_manager_;
71 71
72 std::unique_ptr<DebugDumpWriter> debug_dump_writer_; 72 std::unique_ptr<DebugDumpWriter> debug_dump_writer_;
73 73
74 const std::unique_ptr<EventLogWriter> event_log_writer_; 74 const std::unique_ptr<EventLogWriter> event_log_writer_;
75 75
76 Controller::NetworkMetrics last_metrics_; 76 Controller::NetworkMetrics last_metrics_;
77 77
78 rtc::Optional<AudioEncoderRuntimeConfig> prev_config_;
79
80 AudioNetworkAdaptorStats stats_;
81
82 bool enable_bitrate_adaptation_ = true;
minyue-webrtc 2017/09/01 14:52:13 My comment: add const, then you need to 1. no
ivoc 2017/09/05 09:01:40 Done
83 bool enable_dtx_adaptation_ = true;
84 bool enable_fec_adaptation_ = true;
85 bool enable_channel_adaptation_ = true;
86 bool enable_frame_length_adaptation_ = true;
87
78 RTC_DISALLOW_COPY_AND_ASSIGN(AudioNetworkAdaptorImpl); 88 RTC_DISALLOW_COPY_AND_ASSIGN(AudioNetworkAdaptorImpl);
79 }; 89 };
80 90
81 } // namespace webrtc 91 } // namespace webrtc
82 92
83 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_AUDIO_NETWORK_ADAPT OR_IMPL_H_ 93 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_AUDIO_NETWORK_ADAPT OR_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698