Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: webrtc/voice_engine/channel.cc

Issue 1802993002: Clean away use of RtpAudioFeedback interface from RTP/RTCP receiver code. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@voe_dtmf_7
Patch Set: Reanimate CreateAudioReceiver() with 5 params, to not break downstream code. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698