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_API_ORTC_RTPTRANSPORTINTERFACE_H_ | 11 #ifndef WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_ |
12 #define WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_ | 12 #define WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 | 15 |
| 16 #include "webrtc/api/optional.h" |
16 #include "webrtc/api/ortc/packettransportinterface.h" | 17 #include "webrtc/api/ortc/packettransportinterface.h" |
17 #include "webrtc/api/rtcerror.h" | 18 #include "webrtc/api/rtcerror.h" |
18 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" |
19 #include "webrtc/rtc_base/optional.h" | |
20 | 20 |
21 namespace webrtc { | 21 namespace webrtc { |
22 | 22 |
23 class RtpTransportAdapter; | 23 class RtpTransportAdapter; |
24 | 24 |
25 struct RtcpParameters final { | 25 struct RtcpParameters final { |
26 // The SSRC to be used in the "SSRC of packet sender" field. If not set, one | 26 // The SSRC to be used in the "SSRC of packet sender" field. If not set, one |
27 // will be chosen by the implementation. | 27 // will be chosen by the implementation. |
28 // TODO(deadbeef): Not implemented. | 28 // TODO(deadbeef): Not implemented. |
29 rtc::Optional<uint32_t> ssrc; | 29 rtc::Optional<uint32_t> ssrc; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 friend class OrtcFactory; | 114 friend class OrtcFactory; |
115 friend class OrtcRtpSenderAdapter; | 115 friend class OrtcRtpSenderAdapter; |
116 friend class OrtcRtpReceiverAdapter; | 116 friend class OrtcRtpReceiverAdapter; |
117 friend class RtpTransportControllerAdapter; | 117 friend class RtpTransportControllerAdapter; |
118 friend class RtpTransportAdapter; | 118 friend class RtpTransportAdapter; |
119 }; | 119 }; |
120 | 120 |
121 } // namespace webrtc | 121 } // namespace webrtc |
122 | 122 |
123 #endif // WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_ | 123 #endif // WEBRTC_API_ORTC_RTPTRANSPORTINTERFACE_H_ |
OLD | NEW |