| 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 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 SendSideCongestionController* send_side_cc() override { | 31 SendSideCongestionController* send_side_cc() override { |
| 32 return &send_side_cc_; | 32 return &send_side_cc_; |
| 33 } | 33 } |
| 34 TransportFeedbackObserver* transport_feedback_observer() override { | 34 TransportFeedbackObserver* transport_feedback_observer() override { |
| 35 return &send_side_cc_; | 35 return &send_side_cc_; |
| 36 } | 36 } |
| 37 RtpPacketSender* packet_sender() override { return send_side_cc_.pacer(); } | 37 RtpPacketSender* packet_sender() override { return send_side_cc_.pacer(); } |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 PacketRouter packet_router_; | 40 PacketRouter packet_router_; |
| 41 // TODO(nisse): Should have a pointer to the |
| 42 // SendSideCongestionController, to be able to share it between |
| 43 // multiple transports. Unclear if the PacketRouter should be shared |
| 44 // as well? |
| 41 SendSideCongestionController send_side_cc_; | 45 SendSideCongestionController send_side_cc_; |
| 42 | 46 |
| 43 RTC_DISALLOW_COPY_AND_ASSIGN(RtpTransportControllerSend); | 47 RTC_DISALLOW_COPY_AND_ASSIGN(RtpTransportControllerSend); |
| 44 }; | 48 }; |
| 45 | 49 |
| 46 } // namespace webrtc | 50 } // namespace webrtc |
| 47 | 51 |
| 48 #endif // WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_ | 52 #endif // WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_ |
| OLD | NEW |