| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 channel()->RegisterSenderCongestionControlObjects(transport, | 83 channel()->RegisterSenderCongestionControlObjects(transport, |
| 84 bandwidth_observer); | 84 bandwidth_observer); |
| 85 } | 85 } |
| 86 | 86 |
| 87 void ChannelProxy::RegisterReceiverCongestionControlObjects( | 87 void ChannelProxy::RegisterReceiverCongestionControlObjects( |
| 88 PacketRouter* packet_router) { | 88 PacketRouter* packet_router) { |
| 89 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 89 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 90 channel()->RegisterReceiverCongestionControlObjects(packet_router); | 90 channel()->RegisterReceiverCongestionControlObjects(packet_router); |
| 91 } | 91 } |
| 92 | 92 |
| 93 void ChannelProxy::ResetCongestionControlObjects() { | 93 void ChannelProxy::ResetSenderCongestionControlObjects() { |
| 94 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 94 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 95 channel()->ResetCongestionControlObjects(); | 95 channel()->ResetSenderCongestionControlObjects(); |
| 96 } |
| 97 |
| 98 void ChannelProxy::ResetReceiverCongestionControlObjects() { |
| 99 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 100 channel()->ResetReceiverCongestionControlObjects(); |
| 96 } | 101 } |
| 97 | 102 |
| 98 CallStatistics ChannelProxy::GetRTCPStatistics() const { | 103 CallStatistics ChannelProxy::GetRTCPStatistics() const { |
| 99 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 104 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 100 CallStatistics stats = {0}; | 105 CallStatistics stats = {0}; |
| 101 int error = channel()->GetRTPStatistics(stats); | 106 int error = channel()->GetRTPStatistics(stats); |
| 102 RTC_DCHECK_EQ(0, error); | 107 RTC_DCHECK_EQ(0, error); |
| 103 return stats; | 108 return stats; |
| 104 } | 109 } |
| 105 | 110 |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 channel()->RegisterLegacyReceiveCodecs(); | 396 channel()->RegisterLegacyReceiveCodecs(); |
| 392 } | 397 } |
| 393 | 398 |
| 394 Channel* ChannelProxy::channel() const { | 399 Channel* ChannelProxy::channel() const { |
| 395 RTC_DCHECK(channel_owner_.channel()); | 400 RTC_DCHECK(channel_owner_.channel()); |
| 396 return channel_owner_.channel(); | 401 return channel_owner_.channel(); |
| 397 } | 402 } |
| 398 | 403 |
| 399 } // namespace voe | 404 } // namespace voe |
| 400 } // namespace webrtc | 405 } // namespace webrtc |
| OLD | NEW |