| 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 | 
| 11 #include "webrtc/voice_engine/channel.h" | 11 #include "webrtc/voice_engine/channel.h" | 
| 12 | 12 | 
| 13 #include <algorithm> | 13 #include <algorithm> | 
| 14 | 14 | 
| 15 #include "webrtc/base/checks.h" | 15 #include "webrtc/base/checks.h" | 
| 16 #include "webrtc/base/format_macros.h" | 16 #include "webrtc/base/format_macros.h" | 
| 17 #include "webrtc/base/timeutils.h" | 17 #include "webrtc/base/timeutils.h" | 
| 18 #include "webrtc/common.h" | 18 #include "webrtc/common.h" | 
| 19 #include "webrtc/config.h" | 19 #include "webrtc/config.h" | 
| 20 #include "webrtc/modules/audio_device/include/audio_device.h" | 20 #include "webrtc/modules/audio_device/include/audio_device.h" | 
| 21 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 21 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 
| 22 #include "webrtc/modules/interface/module_common_types.h" | 22 #include "webrtc/modules/interface/module_common_types.h" | 
| 23 #include "webrtc/modules/rtp_rtcp/interface/receive_statistics.h" | 23 #include "webrtc/modules/rtp_rtcp/interface/receive_statistics.h" | 
| 24 #include "webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h" | 24 #include "webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h" | 
| 25 #include "webrtc/modules/rtp_rtcp/interface/rtp_receiver.h" | 25 #include "webrtc/modules/rtp_rtcp/interface/rtp_receiver.h" | 
| 26 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h" | 26 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h" | 
| 27 #include "webrtc/modules/utility/interface/audio_frame_operations.h" | 27 #include "webrtc/modules/utility/interface/audio_frame_operations.h" | 
| 28 #include "webrtc/modules/utility/interface/process_thread.h" | 28 #include "webrtc/modules/utility/interface/process_thread.h" | 
| 29 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 29 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 
| 30 #include "webrtc/system_wrappers/interface/logging.h" | 30 #include "webrtc/system_wrappers/include/logging.h" | 
| 31 #include "webrtc/system_wrappers/interface/trace.h" | 31 #include "webrtc/system_wrappers/include/trace.h" | 
| 32 #include "webrtc/voice_engine/include/voe_base.h" | 32 #include "webrtc/voice_engine/include/voe_base.h" | 
| 33 #include "webrtc/voice_engine/include/voe_external_media.h" | 33 #include "webrtc/voice_engine/include/voe_external_media.h" | 
| 34 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" | 34 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" | 
| 35 #include "webrtc/voice_engine/output_mixer.h" | 35 #include "webrtc/voice_engine/output_mixer.h" | 
| 36 #include "webrtc/voice_engine/statistics.h" | 36 #include "webrtc/voice_engine/statistics.h" | 
| 37 #include "webrtc/voice_engine/transmit_mixer.h" | 37 #include "webrtc/voice_engine/transmit_mixer.h" | 
| 38 #include "webrtc/voice_engine/utility.h" | 38 #include "webrtc/voice_engine/utility.h" | 
| 39 | 39 | 
| 40 #if defined(_WIN32) | 40 #if defined(_WIN32) | 
| 41 #include <Qos.h> | 41 #include <Qos.h> | 
| (...skipping 3911 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3953   int64_t min_rtt = 0; | 3953   int64_t min_rtt = 0; | 
| 3954   if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) | 3954   if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) | 
| 3955       != 0) { | 3955       != 0) { | 
| 3956     return 0; | 3956     return 0; | 
| 3957   } | 3957   } | 
| 3958   return rtt; | 3958   return rtt; | 
| 3959 } | 3959 } | 
| 3960 | 3960 | 
| 3961 }  // namespace voe | 3961 }  // namespace voe | 
| 3962 }  // namespace webrtc | 3962 }  // namespace webrtc | 
| OLD | NEW | 
|---|