OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 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_ORTC_RTPTRANSPORTADAPTER_H_ | 11 #ifndef WEBRTC_ORTC_RTPTRANSPORTADAPTER_H_ |
12 #define WEBRTC_ORTC_RTPTRANSPORTADAPTER_H_ | 12 #define WEBRTC_ORTC_RTPTRANSPORTADAPTER_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/api/ortc/srtptransportinterface.h" | 17 #include "webrtc/api/ortc/srtptransportinterface.h" |
18 #include "webrtc/api/rtcerror.h" | 18 #include "webrtc/api/rtcerror.h" |
| 19 #include "webrtc/base/constructormagic.h" |
| 20 #include "webrtc/base/sigslot.h" |
19 #include "webrtc/media/base/streamparams.h" | 21 #include "webrtc/media/base/streamparams.h" |
20 #include "webrtc/ortc/rtptransportcontrolleradapter.h" | 22 #include "webrtc/ortc/rtptransportcontrolleradapter.h" |
21 #include "webrtc/pc/channel.h" | 23 #include "webrtc/pc/channel.h" |
22 #include "webrtc/rtc_base/constructormagic.h" | |
23 #include "webrtc/rtc_base/sigslot.h" | |
24 | 24 |
25 namespace webrtc { | 25 namespace webrtc { |
26 | 26 |
27 // Implementation of SrtpTransportInterface to be used with RtpSenderAdapter, | 27 // Implementation of SrtpTransportInterface to be used with RtpSenderAdapter, |
28 // RtpReceiverAdapter, and RtpTransportControllerAdapter classes. This class | 28 // RtpReceiverAdapter, and RtpTransportControllerAdapter classes. This class |
29 // is used to implement both a secure and insecure RTP transport. | 29 // is used to implement both a secure and insecure RTP transport. |
30 // | 30 // |
31 // TODO(deadbeef): When BaseChannel is split apart into separate | 31 // TODO(deadbeef): When BaseChannel is split apart into separate |
32 // "RtpTransport"/"RtpTransceiver"/"RtpSender"/"RtpReceiver" objects, this | 32 // "RtpTransport"/"RtpTransceiver"/"RtpSender"/"RtpReceiver" objects, this |
33 // adapter object can be removed. | 33 // adapter object can be removed. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 rtc::Optional<cricket::CryptoParams> send_key_; | 100 rtc::Optional<cricket::CryptoParams> send_key_; |
101 rtc::Optional<cricket::CryptoParams> receive_key_; | 101 rtc::Optional<cricket::CryptoParams> receive_key_; |
102 bool is_srtp_transport_; | 102 bool is_srtp_transport_; |
103 | 103 |
104 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtpTransportAdapter); | 104 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtpTransportAdapter); |
105 }; | 105 }; |
106 | 106 |
107 } // namespace webrtc | 107 } // namespace webrtc |
108 | 108 |
109 #endif // WEBRTC_ORTC_RTPTRANSPORTADAPTER_H_ | 109 #endif // WEBRTC_ORTC_RTPTRANSPORTADAPTER_H_ |
OLD | NEW |