OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 2242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2253 sinfo.total_input_duration = stats.total_input_duration; | 2253 sinfo.total_input_duration = stats.total_input_duration; |
2254 sinfo.aec_quality_min = stats.aec_quality_min; | 2254 sinfo.aec_quality_min = stats.aec_quality_min; |
2255 sinfo.echo_delay_median_ms = stats.echo_delay_median_ms; | 2255 sinfo.echo_delay_median_ms = stats.echo_delay_median_ms; |
2256 sinfo.echo_delay_std_ms = stats.echo_delay_std_ms; | 2256 sinfo.echo_delay_std_ms = stats.echo_delay_std_ms; |
2257 sinfo.echo_return_loss = stats.echo_return_loss; | 2257 sinfo.echo_return_loss = stats.echo_return_loss; |
2258 sinfo.echo_return_loss_enhancement = stats.echo_return_loss_enhancement; | 2258 sinfo.echo_return_loss_enhancement = stats.echo_return_loss_enhancement; |
2259 sinfo.residual_echo_likelihood = stats.residual_echo_likelihood; | 2259 sinfo.residual_echo_likelihood = stats.residual_echo_likelihood; |
2260 sinfo.residual_echo_likelihood_recent_max = | 2260 sinfo.residual_echo_likelihood_recent_max = |
2261 stats.residual_echo_likelihood_recent_max; | 2261 stats.residual_echo_likelihood_recent_max; |
2262 sinfo.typing_noise_detected = (send_ ? stats.typing_noise_detected : false); | 2262 sinfo.typing_noise_detected = (send_ ? stats.typing_noise_detected : false); |
| 2263 sinfo.ana_bitrate_action_counter = stats.ana_bitrate_action_counter; |
| 2264 sinfo.ana_channel_action_counter = stats.ana_channel_action_counter; |
| 2265 sinfo.ana_dtx_action_counter = stats.ana_dtx_action_counter; |
| 2266 sinfo.ana_fec_action_counter = stats.ana_fec_action_counter; |
| 2267 sinfo.ana_frame_length_action_counter = |
| 2268 stats.ana_frame_length_action_counter; |
2263 info->senders.push_back(sinfo); | 2269 info->senders.push_back(sinfo); |
2264 } | 2270 } |
2265 | 2271 |
2266 // Get SSRC and stats for each receiver. | 2272 // Get SSRC and stats for each receiver. |
2267 RTC_DCHECK_EQ(info->receivers.size(), 0U); | 2273 RTC_DCHECK_EQ(info->receivers.size(), 0U); |
2268 for (const auto& stream : recv_streams_) { | 2274 for (const auto& stream : recv_streams_) { |
2269 webrtc::AudioReceiveStream::Stats stats = stream.second->GetStats(); | 2275 webrtc::AudioReceiveStream::Stats stats = stream.second->GetStats(); |
2270 VoiceReceiverInfo rinfo; | 2276 VoiceReceiverInfo rinfo; |
2271 rinfo.add_ssrc(stats.remote_ssrc); | 2277 rinfo.add_ssrc(stats.remote_ssrc); |
2272 rinfo.bytes_rcvd = stats.bytes_rcvd; | 2278 rinfo.bytes_rcvd = stats.bytes_rcvd; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2376 ssrc); | 2382 ssrc); |
2377 if (it != unsignaled_recv_ssrcs_.end()) { | 2383 if (it != unsignaled_recv_ssrcs_.end()) { |
2378 unsignaled_recv_ssrcs_.erase(it); | 2384 unsignaled_recv_ssrcs_.erase(it); |
2379 return true; | 2385 return true; |
2380 } | 2386 } |
2381 return false; | 2387 return false; |
2382 } | 2388 } |
2383 } // namespace cricket | 2389 } // namespace cricket |
2384 | 2390 |
2385 #endif // HAVE_WEBRTC_VOICE | 2391 #endif // HAVE_WEBRTC_VOICE |
OLD | NEW |