OLD | NEW |
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 Loading... |
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 |
OLD | NEW |