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

Side by Side Diff: webrtc/voice_engine/channel.cc

Issue 2745473003: Resolve cyclic dependency between audio network adaptor and event log api (Closed)
Patch Set: Revert "Activated checks for rtc_event_log_api" Created 3 years, 8 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 | « webrtc/tools/event_log_visualizer/analyzer.h ('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) 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 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 void LogDelayBasedBweUpdate(int32_t bitrate_bps, 154 void LogDelayBasedBweUpdate(int32_t bitrate_bps,
155 BandwidthUsage detector_state) override { 155 BandwidthUsage detector_state) override {
156 rtc::CritScope lock(&crit_); 156 rtc::CritScope lock(&crit_);
157 if (event_log_) { 157 if (event_log_) {
158 event_log_->LogDelayBasedBweUpdate(bitrate_bps, detector_state); 158 event_log_->LogDelayBasedBweUpdate(bitrate_bps, detector_state);
159 } 159 }
160 } 160 }
161 161
162 void LogAudioNetworkAdaptation( 162 void LogAudioNetworkAdaptation(
163 const AudioNetworkAdaptor::EncoderRuntimeConfig& config) override { 163 const AudioEncoderRuntimeConfig& config) override {
164 rtc::CritScope lock(&crit_); 164 rtc::CritScope lock(&crit_);
165 if (event_log_) { 165 if (event_log_) {
166 event_log_->LogAudioNetworkAdaptation(config); 166 event_log_->LogAudioNetworkAdaptation(config);
167 } 167 }
168 } 168 }
169 169
170 void LogProbeClusterCreated(int id, 170 void LogProbeClusterCreated(int id,
171 int bitrate_bps, 171 int bitrate_bps,
172 int min_probes, 172 int min_probes,
173 int min_bytes) override { 173 int min_bytes) override {
(...skipping 2887 matching lines...) Expand 10 before | Expand all | Expand 10 after
3061 int64_t min_rtt = 0; 3061 int64_t min_rtt = 0;
3062 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != 3062 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) !=
3063 0) { 3063 0) {
3064 return 0; 3064 return 0;
3065 } 3065 }
3066 return rtt; 3066 return rtt;
3067 } 3067 }
3068 3068
3069 } // namespace voe 3069 } // namespace voe
3070 } // namespace webrtc 3070 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698