Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Unified Diff: webrtc/voice_engine/channel_proxy.cc

Issue 1479023002: Prepare the AudioSendStream to be hooked up to send-side BWE. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix GN bots. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698