Chromium Code Reviews| Index: webrtc/voice_engine/channel_proxy.cc |
| diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc |
| index 614b7b72fec1c4bde156085710acf0660de294b2..5b4decbc6f25ba03e1ba2d0a1c8f45e980959655 100644 |
| --- a/webrtc/voice_engine/channel_proxy.cc |
| +++ b/webrtc/voice_engine/channel_proxy.cc |
| @@ -52,6 +52,11 @@ void ChannelProxy::SetSendAudioLevelIndicationStatus(bool enable, int id) { |
| RTC_DCHECK_EQ(0, error); |
| } |
| +void ChannelProxy::EnableSendTransportSequenceNumber(int id) { |
| + RTC_DCHECK(channel_owner_.channel()); |
|
the sun
2015/12/03 11:10:29
Remove this DCHECK and add
RTC_DCHECK(thread_check
stefan-webrtc
2015/12/04 10:31:43
Done.
|
| + channel()->EnableSendTransportSequenceNumber(id); |
| +} |
| + |
| void ChannelProxy::SetReceiveAbsoluteSenderTimeStatus(bool enable, int id) { |
| RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| int error = channel()->SetReceiveAbsoluteSenderTimeStatus(enable, id); |
| @@ -64,6 +69,14 @@ void ChannelProxy::SetReceiveAudioLevelIndicationStatus(bool enable, int id) { |
| RTC_DCHECK_EQ(0, error); |
| } |
| +void ChannelProxy::SetCongestionControlObjects( |
| + RtpPacketSender* rtp_packet_sender, |
| + TransportFeedbackObserver* transport_feedback_observer, |
| + PacketRouter* packet_router) { |
|
the sun
2015/12/03 11:10:29
RTC_DCHECK(thread_checker_.CalledOnValidThread());
stefan-webrtc
2015/12/04 10:31:43
Done.
|
| + channel()->SetCongestionControlObjects( |
| + rtp_packet_sender, transport_feedback_observer, packet_router); |
| +} |
| + |
| CallStatistics ChannelProxy::GetRTCPStatistics() const { |
| RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
| CallStatistics stats = {0}; |
| @@ -112,5 +125,6 @@ Channel* ChannelProxy::channel() const { |
| RTC_DCHECK(channel_owner_.channel()); |
| return channel_owner_.channel(); |
| } |
| + |
| } // namespace voe |
| } // namespace webrtc |