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

Unified Diff: webrtc/ortc/rtptransportadapter.h

Issue 2981513002: Wire up RTP keep-alive in ortc api. (Closed)
Patch Set: wip Created 3 years, 5 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/ortc/rtptransportadapter.h
diff --git a/webrtc/ortc/rtptransportadapter.h b/webrtc/ortc/rtptransportadapter.h
index 6fbc162e999895b940afa4d1c1f058a9e13bdeab..277b251fbf9278ae3974b41538c018481d5ae1b2 100644
--- a/webrtc/ortc/rtptransportadapter.h
+++ b/webrtc/ortc/rtptransportadapter.h
@@ -54,6 +54,9 @@ class RtpTransportAdapter : public SrtpTransportInterface {
PacketTransportInterface* GetRtcpPacketTransport() const override;
RTCError SetRtcpParameters(const RtcpParameters& parameters) override;
RtcpParameters GetRtcpParameters() const override { return rtcp_parameters_; }
+ RTCError SetRtpTransportParameters(
+ const RtpTransportParameters& parameters) override;
+ RtpTransportParameters GetRtpTransportParameters() const override;
// SRTP specific implementation.
RTCError SetSrtpSendKey(const cricket::CryptoParams& params) override;
@@ -95,6 +98,7 @@ class RtpTransportAdapter : public SrtpTransportInterface {
std::unique_ptr<RtpTransportControllerInterface>
owned_rtp_transport_controller_;
RtcpParameters rtcp_parameters_;
+ RtpTransportParameters rtp_transport_parameters_;
// SRTP specific members.
rtc::Optional<cricket::CryptoParams> send_key_;

Powered by Google App Engine
This is Rietveld 408576698