| 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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 : _instanceId(instanceId), | 715 : _instanceId(instanceId), |
| 716 _channelId(channelId), | 716 _channelId(channelId), |
| 717 event_log_(event_log), | 717 event_log_(event_log), |
| 718 rtp_header_parser_(RtpHeaderParser::Create()), | 718 rtp_header_parser_(RtpHeaderParser::Create()), |
| 719 rtp_payload_registry_( | 719 rtp_payload_registry_( |
| 720 new RTPPayloadRegistry(RTPPayloadStrategy::CreateStrategy(true))), | 720 new RTPPayloadRegistry(RTPPayloadStrategy::CreateStrategy(true))), |
| 721 rtp_receive_statistics_( | 721 rtp_receive_statistics_( |
| 722 ReceiveStatistics::Create(Clock::GetRealTimeClock())), | 722 ReceiveStatistics::Create(Clock::GetRealTimeClock())), |
| 723 rtp_receiver_( | 723 rtp_receiver_( |
| 724 RtpReceiver::CreateAudioReceiver(Clock::GetRealTimeClock(), | 724 RtpReceiver::CreateAudioReceiver(Clock::GetRealTimeClock(), |
| 725 nullptr, | |
| 726 this, | 725 this, |
| 727 this, | 726 this, |
| 728 rtp_payload_registry_.get())), | 727 rtp_payload_registry_.get())), |
| 729 telephone_event_handler_(rtp_receiver_->GetTelephoneEventHandler()), | 728 telephone_event_handler_(rtp_receiver_->GetTelephoneEventHandler()), |
| 730 _outputAudioLevel(), | 729 _outputAudioLevel(), |
| 731 _externalTransport(false), | 730 _externalTransport(false), |
| 732 _inputFilePlayerPtr(NULL), | 731 _inputFilePlayerPtr(NULL), |
| 733 _outputFilePlayerPtr(NULL), | 732 _outputFilePlayerPtr(NULL), |
| 734 _outputFileRecorderPtr(NULL), | 733 _outputFileRecorderPtr(NULL), |
| 735 // Avoid conflict with other channels by adding 1024 - 1026, | 734 // Avoid conflict with other channels by adding 1024 - 1026, |
| (...skipping 2793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3529 int64_t min_rtt = 0; | 3528 int64_t min_rtt = 0; |
| 3530 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != | 3529 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != |
| 3531 0) { | 3530 0) { |
| 3532 return 0; | 3531 return 0; |
| 3533 } | 3532 } |
| 3534 return rtt; | 3533 return rtt; |
| 3535 } | 3534 } |
| 3536 | 3535 |
| 3537 } // namespace voe | 3536 } // namespace voe |
| 3538 } // namespace webrtc | 3537 } // namespace webrtc |
| OLD | NEW |