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 #include <utility> | 14 #include <utility> |
15 | 15 |
16 #include "webrtc/audio/utility/audio_frame_operations.h" | 16 #include "webrtc/audio/utility/audio_frame_operations.h" |
17 #include "webrtc/call/rtp_transport_controller_send_interface.h" | 17 #include "webrtc/call/rtp_transport_controller_send_interface.h" |
18 #include "webrtc/config.h" | |
19 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" | 18 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
20 #include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h" | 19 #include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h" |
21 #include "webrtc/modules/audio_device/include/audio_device.h" | 20 #include "webrtc/modules/audio_device/include/audio_device.h" |
22 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 21 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
23 #include "webrtc/modules/include/module_common_types.h" | 22 #include "webrtc/modules/include/module_common_types.h" |
24 #include "webrtc/modules/pacing/packet_router.h" | 23 #include "webrtc/modules/pacing/packet_router.h" |
25 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" | 24 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" |
26 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" | 25 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" |
27 #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" | 26 #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" |
28 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" | 27 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" |
(...skipping 3136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3165 int64_t min_rtt = 0; | 3164 int64_t min_rtt = 0; |
3166 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != | 3165 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != |
3167 0) { | 3166 0) { |
3168 return 0; | 3167 return 0; |
3169 } | 3168 } |
3170 return rtt; | 3169 return rtt; |
3171 } | 3170 } |
3172 | 3171 |
3173 } // namespace voe | 3172 } // namespace voe |
3174 } // namespace webrtc | 3173 } // namespace webrtc |
OLD | NEW |