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

Unified Diff: webrtc/pc/channel.h

Issue 2812243005: Move ready to send logic from BaseChannel to RtpTransport. (Closed)
Patch Set: Created 3 years, 8 months 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/pc/channel.h
diff --git a/webrtc/pc/channel.h b/webrtc/pc/channel.h
index 2bec643b47a09bc9440e61deaa67307477d6ba1f..5df8730f88372f822c0ea5ad8f9a1d5695410e56 100644
--- a/webrtc/pc/channel.h
+++ b/webrtc/pc/channel.h
@@ -263,7 +263,7 @@ class BaseChannel
size_t len,
const rtc::PacketTime& packet_time,
int flags);
- void OnReadyToSend(rtc::PacketTransportInternal* transport);
+ void OnTransportReadyToSend(bool ready);
Taylor Brandstetter 2017/04/14 18:05:33 Could you add an "// From RtpTransport." comment a
Zach Stein 2017/04/18 23:39:29 Done.
void OnDtlsState(DtlsTransportInternal* transport, DtlsTransportState state);
@@ -412,8 +412,6 @@ class BaseChannel
SrtpFilter srtp_filter_;
RtcpMuxFilter rtcp_mux_filter_;
BundleFilter bundle_filter_;
- bool rtp_ready_to_send_ = false;
- bool rtcp_ready_to_send_ = false;
bool writable_ = false;
bool was_ever_writable_ = false;
bool has_received_packet_ = false;
« no previous file with comments | « webrtc/pc/BUILD.gn ('k') | webrtc/pc/channel.cc » ('j') | webrtc/pc/channel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698