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_ORTCRTPRECEIVERADAPTER_H_ | 11 #ifndef WEBRTC_ORTC_ORTCRTPRECEIVERADAPTER_H_ |
12 #define WEBRTC_ORTC_ORTCRTPRECEIVERADAPTER_H_ | 12 #define WEBRTC_ORTC_ORTCRTPRECEIVERADAPTER_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
16 #include "webrtc/api/ortc/ortcrtpreceiverinterface.h" | 16 #include "webrtc/api/ortc/ortcrtpreceiverinterface.h" |
17 #include "webrtc/api/rtcerror.h" | 17 #include "webrtc/api/rtcerror.h" |
18 #include "webrtc/api/rtpparameters.h" | 18 #include "webrtc/api/rtpparameters.h" |
| 19 #include "webrtc/base/constructormagic.h" |
| 20 #include "webrtc/base/sigslot.h" |
| 21 #include "webrtc/base/thread.h" |
19 #include "webrtc/ortc/rtptransportcontrolleradapter.h" | 22 #include "webrtc/ortc/rtptransportcontrolleradapter.h" |
20 #include "webrtc/pc/rtpreceiver.h" | 23 #include "webrtc/pc/rtpreceiver.h" |
21 #include "webrtc/rtc_base/constructormagic.h" | |
22 #include "webrtc/rtc_base/sigslot.h" | |
23 #include "webrtc/rtc_base/thread.h" | |
24 | 24 |
25 namespace webrtc { | 25 namespace webrtc { |
26 | 26 |
27 // Implementation of OrtcRtpReceiverInterface that works with | 27 // Implementation of OrtcRtpReceiverInterface that works with |
28 // RtpTransportAdapter, and wraps a VideoRtpReceiver/AudioRtpReceiver that's | 28 // RtpTransportAdapter, and wraps a VideoRtpReceiver/AudioRtpReceiver that's |
29 // normally used with the PeerConnection. | 29 // normally used with the PeerConnection. |
30 // | 30 // |
31 // TODO(deadbeef): When BaseChannel is split apart into separate | 31 // TODO(deadbeef): When BaseChannel is split apart into separate |
32 // "RtpReceiver"/"RtpTransceiver"/"RtpReceiver"/"RtpReceiver" objects, this | 32 // "RtpReceiver"/"RtpTransceiver"/"RtpReceiver"/"RtpReceiver" objects, this |
33 // adapter object can be removed. | 33 // adapter object can be removed. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // reference holder. | 70 // reference holder. |
71 rtc::scoped_refptr<RtpReceiverInternal> internal_receiver_; | 71 rtc::scoped_refptr<RtpReceiverInternal> internal_receiver_; |
72 RtpParameters last_applied_parameters_; | 72 RtpParameters last_applied_parameters_; |
73 | 73 |
74 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(OrtcRtpReceiverAdapter); | 74 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(OrtcRtpReceiverAdapter); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace webrtc | 77 } // namespace webrtc |
78 | 78 |
79 #endif // WEBRTC_ORTC_ORTCRTPRECEIVERADAPTER_H_ | 79 #endif // WEBRTC_ORTC_ORTCRTPRECEIVERADAPTER_H_ |
OLD | NEW |