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

Side by Side Diff: webrtc/call/rtp_transport_controller_send_interface.h

Issue 2981513002: Wire up RTP keep-alive in ortc api. (Closed)
Patch Set: deps, again 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 unified diff | Download patch
« no previous file with comments | « webrtc/call/rtp_transport_controller_send.cc ('k') | webrtc/common_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_INTERFACE_H_ 11 #ifndef WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_INTERFACE_H_
12 #define WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_INTERFACE_H_ 12 #define WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_INTERFACE_H_
13 13
14 namespace webrtc { 14 namespace webrtc {
15 15
16 class PacketRouter; 16 class PacketRouter;
17 class RtpPacketSender; 17 class RtpPacketSender;
18 struct RtpKeepAliveConfig;
18 class SendSideCongestionController; 19 class SendSideCongestionController;
19 class TransportFeedbackObserver; 20 class TransportFeedbackObserver;
20 21
21 // An RtpTransportController should own everything related to the RTP 22 // An RtpTransportController should own everything related to the RTP
22 // transport to/from a remote endpoint. We should have separate 23 // transport to/from a remote endpoint. We should have separate
23 // interfaces for send and receive side, even if they are implemented 24 // interfaces for send and receive side, even if they are implemented
24 // by the same class. This is an ongoing refactoring project. At some 25 // by the same class. This is an ongoing refactoring project. At some
25 // point, this class should be promoted to a public api under 26 // point, this class should be promoted to a public api under
26 // webrtc/api/rtp/. 27 // webrtc/api/rtp/.
27 // 28 //
(...skipping 15 matching lines...) Expand all
43 // moving the transport here. 44 // moving the transport here.
44 class RtpTransportControllerSendInterface { 45 class RtpTransportControllerSendInterface {
45 public: 46 public:
46 virtual ~RtpTransportControllerSendInterface() {} 47 virtual ~RtpTransportControllerSendInterface() {}
47 virtual PacketRouter* packet_router() = 0; 48 virtual PacketRouter* packet_router() = 0;
48 // Currently returning the same pointer, but with different types. 49 // Currently returning the same pointer, but with different types.
49 virtual SendSideCongestionController* send_side_cc() = 0; 50 virtual SendSideCongestionController* send_side_cc() = 0;
50 virtual TransportFeedbackObserver* transport_feedback_observer() = 0; 51 virtual TransportFeedbackObserver* transport_feedback_observer() = 0;
51 52
52 virtual RtpPacketSender* packet_sender() = 0; 53 virtual RtpPacketSender* packet_sender() = 0;
54 virtual const RtpKeepAliveConfig& keepalive_config() const = 0;
53 }; 55 };
54 56
55 } // namespace webrtc 57 } // namespace webrtc
56 58
57 #endif // WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_INTERFACE_H_ 59 #endif // WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_INTERFACE_H_
OLDNEW
« no previous file with comments | « webrtc/call/rtp_transport_controller_send.cc ('k') | webrtc/common_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698