| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 void ChannelProxy::EnableSendTransportSequenceNumber(int id) { | 72 void ChannelProxy::EnableSendTransportSequenceNumber(int id) { |
| 73 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 73 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 74 channel()->EnableSendTransportSequenceNumber(id); | 74 channel()->EnableSendTransportSequenceNumber(id); |
| 75 } | 75 } |
| 76 | 76 |
| 77 void ChannelProxy::EnableReceiveTransportSequenceNumber(int id) { | 77 void ChannelProxy::EnableReceiveTransportSequenceNumber(int id) { |
| 78 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 78 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 79 channel()->EnableReceiveTransportSequenceNumber(id); | 79 channel()->EnableReceiveTransportSequenceNumber(id); |
| 80 } | 80 } |
| 81 | 81 |
| 82 void ChannelProxy::EnableSendPlayoutDelayLimit(int id) { |
| 83 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 84 channel()->EnableSendPlayoutDelayLimit(id); |
| 85 } |
| 86 |
| 87 void ChannelProxy::EnableReceivePlayoutDelayLimit(int id) { |
| 88 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 89 channel()->EnableReceivePlayoutDelayLimit(id); |
| 90 } |
| 91 |
| 82 void ChannelProxy::RegisterSenderCongestionControlObjects( | 92 void ChannelProxy::RegisterSenderCongestionControlObjects( |
| 83 RtpPacketSender* rtp_packet_sender, | 93 RtpPacketSender* rtp_packet_sender, |
| 84 TransportFeedbackObserver* transport_feedback_observer, | 94 TransportFeedbackObserver* transport_feedback_observer, |
| 85 PacketRouter* packet_router) { | 95 PacketRouter* packet_router) { |
| 86 RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 96 RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| 87 channel()->RegisterSenderCongestionControlObjects( | 97 channel()->RegisterSenderCongestionControlObjects( |
| 88 rtp_packet_sender, transport_feedback_observer, packet_router); | 98 rtp_packet_sender, transport_feedback_observer, packet_router); |
| 89 } | 99 } |
| 90 | 100 |
| 91 void ChannelProxy::RegisterReceiverCongestionControlObjects( | 101 void ChannelProxy::RegisterReceiverCongestionControlObjects( |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 return channel()->ReceivedRTCPPacket(packet, length) == 0; | 191 return channel()->ReceivedRTCPPacket(packet, length) == 0; |
| 182 } | 192 } |
| 183 | 193 |
| 184 Channel* ChannelProxy::channel() const { | 194 Channel* ChannelProxy::channel() const { |
| 185 RTC_DCHECK(channel_owner_.channel()); | 195 RTC_DCHECK(channel_owner_.channel()); |
| 186 return channel_owner_.channel(); | 196 return channel_owner_.channel(); |
| 187 } | 197 } |
| 188 | 198 |
| 189 } // namespace voe | 199 } // namespace voe |
| 190 } // namespace webrtc | 200 } // namespace webrtc |
| OLD | NEW |