| 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 2593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2604 rinfo.secondary_decoded_rate = stats.secondary_decoded_rate; | 2604 rinfo.secondary_decoded_rate = stats.secondary_decoded_rate; |
| 2605 rinfo.accelerate_rate = stats.accelerate_rate; | 2605 rinfo.accelerate_rate = stats.accelerate_rate; |
| 2606 rinfo.preemptive_expand_rate = stats.preemptive_expand_rate; | 2606 rinfo.preemptive_expand_rate = stats.preemptive_expand_rate; |
| 2607 rinfo.decoding_calls_to_silence_generator = | 2607 rinfo.decoding_calls_to_silence_generator = |
| 2608 stats.decoding_calls_to_silence_generator; | 2608 stats.decoding_calls_to_silence_generator; |
| 2609 rinfo.decoding_calls_to_neteq = stats.decoding_calls_to_neteq; | 2609 rinfo.decoding_calls_to_neteq = stats.decoding_calls_to_neteq; |
| 2610 rinfo.decoding_normal = stats.decoding_normal; | 2610 rinfo.decoding_normal = stats.decoding_normal; |
| 2611 rinfo.decoding_plc = stats.decoding_plc; | 2611 rinfo.decoding_plc = stats.decoding_plc; |
| 2612 rinfo.decoding_cng = stats.decoding_cng; | 2612 rinfo.decoding_cng = stats.decoding_cng; |
| 2613 rinfo.decoding_plc_cng = stats.decoding_plc_cng; | 2613 rinfo.decoding_plc_cng = stats.decoding_plc_cng; |
| 2614 rinfo.decoding_muted_output = stats.decoding_muted_output; |
| 2614 rinfo.capture_start_ntp_time_ms = stats.capture_start_ntp_time_ms; | 2615 rinfo.capture_start_ntp_time_ms = stats.capture_start_ntp_time_ms; |
| 2615 info->receivers.push_back(rinfo); | 2616 info->receivers.push_back(rinfo); |
| 2616 } | 2617 } |
| 2617 | 2618 |
| 2618 return true; | 2619 return true; |
| 2619 } | 2620 } |
| 2620 | 2621 |
| 2621 void WebRtcVoiceMediaChannel::SetRawAudioSink( | 2622 void WebRtcVoiceMediaChannel::SetRawAudioSink( |
| 2622 uint32_t ssrc, | 2623 uint32_t ssrc, |
| 2623 std::unique_ptr<webrtc::AudioSinkInterface> sink) { | 2624 std::unique_ptr<webrtc::AudioSinkInterface> sink) { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2660 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 2661 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 2661 const auto it = send_streams_.find(ssrc); | 2662 const auto it = send_streams_.find(ssrc); |
| 2662 if (it != send_streams_.end()) { | 2663 if (it != send_streams_.end()) { |
| 2663 return it->second->channel(); | 2664 return it->second->channel(); |
| 2664 } | 2665 } |
| 2665 return -1; | 2666 return -1; |
| 2666 } | 2667 } |
| 2667 } // namespace cricket | 2668 } // namespace cricket |
| 2668 | 2669 |
| 2669 #endif // HAVE_WEBRTC_VOICE | 2670 #endif // HAVE_WEBRTC_VOICE |
| OLD | NEW |