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_H_ |
12 #define WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_ | 12 #define WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_ |
13 | 13 |
14 namespace webrtc { | 14 namespace webrtc { |
15 | 15 |
16 class Module; | 16 class Module; |
17 class PacketRouter; | 17 class PacketRouter; |
18 class RtpPacketSender; | 18 class RtpPacketSender; |
19 class SendSideCongestionController; | 19 class SendSideCongestionController; |
20 class TransportFeedbackObserver; | 20 class TransportFeedbackObserver; |
21 class VieRemb; | |
22 | 21 |
23 // An RtpTransportController should own everything related to the RTP | 22 // An RtpTransportController should own everything related to the RTP |
24 // transport to/from a remote endpoint. We should have separate | 23 // transport to/from a remote endpoint. We should have separate |
25 // interfaces for send and receive side, even if they are implemented | 24 // interfaces for send and receive side, even if they are implemented |
26 // 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 |
27 // point, this class should be promoted to a public api under | 26 // point, this class should be promoted to a public api under |
28 // webrtc/api/rtp/. | 27 // webrtc/api/rtp/. |
29 // | 28 // |
30 // For a start, this object is just a collection of the objects needed | 29 // For a start, this object is just a collection of the objects needed |
31 // by the VideoSendStream constructor. The plan is to move ownership | 30 // by the VideoSendStream constructor. The plan is to move ownership |
(...skipping 18 matching lines...) Loading... |
50 // Currently returning the same pointer, but with different types. | 49 // Currently returning the same pointer, but with different types. |
51 virtual SendSideCongestionController* send_side_cc() = 0; | 50 virtual SendSideCongestionController* send_side_cc() = 0; |
52 virtual TransportFeedbackObserver* transport_feedback_observer() = 0; | 51 virtual TransportFeedbackObserver* transport_feedback_observer() = 0; |
53 | 52 |
54 virtual RtpPacketSender* packet_sender() = 0; | 53 virtual RtpPacketSender* packet_sender() = 0; |
55 }; | 54 }; |
56 | 55 |
57 } // namespace webrtc | 56 } // namespace webrtc |
58 | 57 |
59 #endif // WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_ | 58 #endif // WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_ |
OLD | NEW |