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

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

Issue 2638083002: Attach TransportFeedbackPacketLossTracker to ANA (PLR only) (Closed)
Patch Set: Fix UT Created 3 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 delay_ms = std::max(0, std::min(delay_ms, 10000)); 290 delay_ms = std::max(0, std::min(delay_ms, 10000));
291 int error = channel()->SetMinimumPlayoutDelay(delay_ms); 291 int error = channel()->SetMinimumPlayoutDelay(delay_ms);
292 RTC_DCHECK_EQ(0, error); 292 RTC_DCHECK_EQ(0, error);
293 } 293 }
294 294
295 void ChannelProxy::SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats) { 295 void ChannelProxy::SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats) {
296 RTC_DCHECK(thread_checker_.CalledOnValidThread()); 296 RTC_DCHECK(thread_checker_.CalledOnValidThread());
297 channel()->SetRtcpRttStats(rtcp_rtt_stats); 297 channel()->SetRtcpRttStats(rtcp_rtt_stats);
298 } 298 }
299 299
300 void ChannelProxy::HandleTransportFeedback(
301 const std::vector<uint16_t>& packets_sent_since_last_feedback,
302 const rtcp::TransportFeedback& feedback) {
303 RTC_DCHECK(thread_checker_.CalledOnValidThread());
304 channel()->HandleTransportFeedback(packets_sent_since_last_feedback,
305 feedback);
306 }
307
300 Channel* ChannelProxy::channel() const { 308 Channel* ChannelProxy::channel() const {
301 RTC_DCHECK(channel_owner_.channel()); 309 RTC_DCHECK(channel_owner_.channel());
302 return channel_owner_.channel(); 310 return channel_owner_.channel();
303 } 311 }
304 312
305 } // namespace voe 313 } // namespace voe
306 } // namespace webrtc 314 } // namespace webrtc
OLDNEW
« webrtc/voice_engine/channel.cc ('K') | « webrtc/voice_engine/channel_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698