Index: webrtc/call/fake_rtp_transport_controller_send.h |
diff --git a/webrtc/call/fake_rtp_transport_controller_send.h b/webrtc/call/fake_rtp_transport_controller_send.h |
index 2456228f5315ba642777b09f9d0c7f1fb3605980..ac612ce87e5e73ac0ca447ba3a4fb5917c1719da 100644 |
--- a/webrtc/call/fake_rtp_transport_controller_send.h |
+++ b/webrtc/call/fake_rtp_transport_controller_send.h |
@@ -12,6 +12,7 @@ |
#define WEBRTC_CALL_FAKE_RTP_TRANSPORT_CONTROLLER_SEND_H_ |
#include "webrtc/call/rtp_transport_controller_send_interface.h" |
+#include "webrtc/common_types.h" |
#include "webrtc/modules/congestion_controller/include/send_side_congestion_controller.h" |
#include "webrtc/modules/pacing/packet_router.h" |
@@ -39,9 +40,18 @@ class FakeRtpTransportControllerSend |
RtpPacketSender* packet_sender() override { return send_side_cc_->pacer(); } |
+ const RtpKeepAliveConfig& keepalive_config() const override { |
+ return keepalive_; |
+ } |
+ |
+ void set_keepalive_config(const RtpKeepAliveConfig& keepalive_config) { |
+ keepalive_ = keepalive_config; |
+ } |
+ |
private: |
PacketRouter* packet_router_; |
SendSideCongestionController* send_side_cc_; |
+ RtpKeepAliveConfig keepalive_; |
}; |
} // namespace webrtc |