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

Unified Diff: webrtc/call/rtp_transport_controller_send.cc

Issue 2981513002: Wire up RTP keep-alive in ortc api. (Closed)
Patch Set: Move keep-alive config from Call::Config to RtpTransportControllerSend Created 3 years, 4 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/call/rtp_transport_controller_send.cc
diff --git a/webrtc/call/rtp_transport_controller_send.cc b/webrtc/call/rtp_transport_controller_send.cc
index 878aa191a37332c3bde8bf697bfa841d3566ad52..b8b65a0d554dfbcba8fc48c37cb62536bf7b6c1f 100644
--- a/webrtc/call/rtp_transport_controller_send.cc
+++ b/webrtc/call/rtp_transport_controller_send.cc
@@ -35,4 +35,13 @@ RtpPacketSender* RtpTransportControllerSend::packet_sender() {
return send_side_cc_.pacer();
}
+const RtpKeepAliveConfig& RtpTransportControllerSend::keepalive_config() const {
+ return keepalive_;
+}
+
+void RtpTransportControllerSend::SetKeepAliveConfig(
+ const RtpKeepAliveConfig& config) {
+ keepalive_ = config;
+}
+
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698