OLD | NEW |
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_H_ | 11 #ifndef WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_INTERFACE_H_ |
12 #define WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_ | 12 #define WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_INTERFACE_H_ |
13 | 13 |
14 namespace webrtc { | 14 namespace webrtc { |
15 | 15 |
16 class Module; | |
17 class PacketRouter; | 16 class PacketRouter; |
18 class RtpPacketSender; | 17 class RtpPacketSender; |
19 class SendSideCongestionController; | 18 class SendSideCongestionController; |
20 class TransportFeedbackObserver; | 19 class TransportFeedbackObserver; |
21 | 20 |
22 // An RtpTransportController should own everything related to the RTP | 21 // An RtpTransportController should own everything related to the RTP |
23 // transport to/from a remote endpoint. We should have separate | 22 // transport to/from a remote endpoint. We should have separate |
24 // interfaces for send and receive side, even if they are implemented | 23 // interfaces for send and receive side, even if they are implemented |
25 // by the same class. This is an ongoing refactoring project. At some | 24 // by the same class. This is an ongoing refactoring project. At some |
26 // point, this class should be promoted to a public api under | 25 // point, this class should be promoted to a public api under |
(...skipping 21 matching lines...) Expand all Loading... |
48 virtual PacketRouter* packet_router() = 0; | 47 virtual PacketRouter* packet_router() = 0; |
49 // Currently returning the same pointer, but with different types. | 48 // Currently returning the same pointer, but with different types. |
50 virtual SendSideCongestionController* send_side_cc() = 0; | 49 virtual SendSideCongestionController* send_side_cc() = 0; |
51 virtual TransportFeedbackObserver* transport_feedback_observer() = 0; | 50 virtual TransportFeedbackObserver* transport_feedback_observer() = 0; |
52 | 51 |
53 virtual RtpPacketSender* packet_sender() = 0; | 52 virtual RtpPacketSender* packet_sender() = 0; |
54 }; | 53 }; |
55 | 54 |
56 } // namespace webrtc | 55 } // namespace webrtc |
57 | 56 |
58 #endif // WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_ | 57 #endif // WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_INTERFACE_H_ |
OLD | NEW |