OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |