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..3c8df1a6243820dbee304af7de91c99cb35f2b16 100644 |
| --- a/webrtc/voice_engine/channel_proxy.cc |
| +++ b/webrtc/voice_engine/channel_proxy.cc |
| @@ -11,6 +11,7 @@ |
| #include "webrtc/voice_engine/channel_proxy.h" |
| #include "webrtc/base/checks.h" |
| +#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
|
the sun
2015/11/30 12:37:20
not needed?
stefan-webrtc
2015/11/30 15:22:02
Done.
|
| #include "webrtc/voice_engine/channel.h" |
| namespace webrtc { |
| @@ -112,5 +113,19 @@ Channel* ChannelProxy::channel() const { |
| RTC_DCHECK(channel_owner_.channel()); |
| return channel_owner_.channel(); |
| } |
| + |
| +void ChannelProxy::SetSendTransportSequenceNumber(int id) { |
| + RTC_DCHECK(channel_owner_.channel()); |
| + channel_owner_.channel()->SetSendTransportSequenceNumber(id); |
|
the sun
2015/11/30 12:37:20
Use the channel() helper instead of the DCHECK+cal
stefan-webrtc
2015/11/30 15:22:02
Ah, I don't think channel() was available when I w
|
| +} |
| + |
| +void ChannelProxy::SetCongestionControlObjects( |
| + RtpPacketSender* rtp_packet_sender, |
| + TransportFeedbackObserver* transport_feedback_observer, |
| + PacketRouter* packet_router) { |
| + RTC_DCHECK(channel_owner_.channel()); |
| + channel_owner_.channel()->SetCongestionControlObjects( |
| + rtp_packet_sender, transport_feedback_observer, packet_router); |
| +} |
| } // namespace voe |
| } // namespace webrtc |