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

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: Comments addressed. 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..2ca72a844c0a1e15cc99735232327c7541bb1087 100644
--- a/webrtc/voice_engine/channel_proxy.cc
+++ b/webrtc/voice_engine/channel_proxy.cc
@@ -64,6 +64,20 @@ void ChannelProxy::SetReceiveAudioLevelIndicationStatus(bool enable, int id) {
RTC_DCHECK_EQ(0, error);
}
+void ChannelProxy::SetSendTransportSequenceNumber(int id) {
the sun 2015/12/01 10:25:36 soo nit: but can you please move me with the other
stefan-webrtc 2015/12/01 16:19:33 Done.
+ RTC_DCHECK(channel_owner_.channel());
the sun 2015/12/01 10:25:36 no need for this DCHECK; already done in channel()
stefan-webrtc 2015/12/01 16:19:33 Done.
+ channel()->SetSendTransportSequenceNumber(id);
+}
+
+void ChannelProxy::SetCongestionControlObjects(
+ RtpPacketSender* rtp_packet_sender,
+ TransportFeedbackObserver* transport_feedback_observer,
+ PacketRouter* packet_router) {
+ RTC_DCHECK(channel_owner_.channel());
+ channel()->SetCongestionControlObjects(
+ rtp_packet_sender, transport_feedback_observer, packet_router);
+}
+
CallStatistics ChannelProxy::GetRTCPStatistics() const {
RTC_DCHECK(thread_checker_.CalledOnValidThread());
CallStatistics stats = {0};
@@ -112,5 +126,6 @@ Channel* ChannelProxy::channel() const {
RTC_DCHECK(channel_owner_.channel());
return channel_owner_.channel();
}
+
} // namespace voe
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698