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_ORTCRTPSENDERADAPTER_H_ | 11 #ifndef WEBRTC_ORTC_ORTCRTPSENDERADAPTER_H_ |
12 #define WEBRTC_ORTC_ORTCRTPSENDERADAPTER_H_ | 12 #define WEBRTC_ORTC_ORTCRTPSENDERADAPTER_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
16 #include "webrtc/api/ortc/ortcrtpsenderinterface.h" | 16 #include "webrtc/api/ortc/ortcrtpsenderinterface.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" |
19 #include "webrtc/ortc/rtptransportcontrolleradapter.h" | 21 #include "webrtc/ortc/rtptransportcontrolleradapter.h" |
20 #include "webrtc/pc/rtpsender.h" | 22 #include "webrtc/pc/rtpsender.h" |
21 #include "webrtc/rtc_base/constructormagic.h" | |
22 #include "webrtc/rtc_base/sigslot.h" | |
23 | 23 |
24 namespace webrtc { | 24 namespace webrtc { |
25 | 25 |
26 // Implementation of OrtcRtpSenderInterface that works with RtpTransportAdapter, | 26 // Implementation of OrtcRtpSenderInterface that works with RtpTransportAdapter, |
27 // and wraps a VideoRtpSender/AudioRtpSender that's normally used with the | 27 // and wraps a VideoRtpSender/AudioRtpSender that's normally used with the |
28 // PeerConnection. | 28 // PeerConnection. |
29 // | 29 // |
30 // TODO(deadbeef): When BaseChannel is split apart into separate | 30 // TODO(deadbeef): When BaseChannel is split apart into separate |
31 // "RtpSender"/"RtpTransceiver"/"RtpSender"/"RtpReceiver" objects, this adapter | 31 // "RtpSender"/"RtpTransceiver"/"RtpSender"/"RtpReceiver" objects, this adapter |
32 // object can be removed. | 32 // object can be removed. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 rtc::scoped_refptr<RtpSenderInternal> internal_sender_; | 70 rtc::scoped_refptr<RtpSenderInternal> internal_sender_; |
71 rtc::scoped_refptr<MediaStreamTrackInterface> track_; | 71 rtc::scoped_refptr<MediaStreamTrackInterface> track_; |
72 RtpParameters last_applied_parameters_; | 72 RtpParameters last_applied_parameters_; |
73 | 73 |
74 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(OrtcRtpSenderAdapter); | 74 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(OrtcRtpSenderAdapter); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace webrtc | 77 } // namespace webrtc |
78 | 78 |
79 #endif // WEBRTC_ORTC_ORTCRTPSENDERADAPTER_H_ | 79 #endif // WEBRTC_ORTC_ORTCRTPSENDERADAPTER_H_ |
OLD | NEW |