Wire up RTP keep-alive in ortc api.

[This CL is work in progress.]

Wire up the rtp keep-alive in webrtc::Call::Config using new
SetRtpTransportParameters() method on RtpTransportInterface.

BUG=webrtc:7907

Review-Url: https://codereview.webrtc.org/2981513002
Cr-Commit-Position: refs/heads/master@{#19287}
This commit is contained in:
sprang
2017-08-09 06:42:32 -07:00
committed by Commit Bot
parent 3e69e5c2c0
commit db2a9fc6ec
38 changed files with 464 additions and 276 deletions

View File

@ -12,6 +12,7 @@
#define WEBRTC_CALL_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/rtc_base/constructormagic.h"
@ -31,10 +32,14 @@ class RtpTransportControllerSend : public RtpTransportControllerSendInterface {
SendSideCongestionController* send_side_cc() override;
TransportFeedbackObserver* transport_feedback_observer() override;
RtpPacketSender* packet_sender() override;
const RtpKeepAliveConfig& keepalive_config() const override;
void SetKeepAliveConfig(const RtpKeepAliveConfig& config);
private:
PacketRouter packet_router_;
SendSideCongestionController send_side_cc_;
RtpKeepAliveConfig keepalive_;
RTC_DISALLOW_COPY_AND_ASSIGN(RtpTransportControllerSend);
};