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 |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" | 27 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
28 #include "webrtc/media/base/mediachannel.h" // For MediaConfig. | 28 #include "webrtc/media/base/mediachannel.h" // For MediaConfig. |
29 #include "webrtc/pc/channelmanager.h" | 29 #include "webrtc/pc/channelmanager.h" |
30 | 30 |
31 namespace webrtc { | 31 namespace webrtc { |
32 | 32 |
33 class RtpTransportAdapter; | 33 class RtpTransportAdapter; |
34 class OrtcRtpSenderAdapter; | 34 class OrtcRtpSenderAdapter; |
35 class OrtcRtpReceiverAdapter; | 35 class OrtcRtpReceiverAdapter; |
36 | 36 |
37 // Implementation of RtpTransportControllerInterface. Wraps a MediaController, | 37 // Implementation of RtpTransportControllerInterface. Wraps a Call, |
38 // a VoiceChannel and VideoChannel, and maintains a list of dependent RTP | 38 // a VoiceChannel and VideoChannel, and maintains a list of dependent RTP |
39 // transports. | 39 // transports. |
40 // | 40 // |
41 // When used along with an RtpSenderAdapter or RtpReceiverAdapter, the | 41 // When used along with an RtpSenderAdapter or RtpReceiverAdapter, the |
42 // sender/receiver passes its parameters along to this class, which turns them | 42 // sender/receiver passes its parameters along to this class, which turns them |
43 // into cricket:: media descriptions (the interface used by BaseChannel). | 43 // into cricket:: media descriptions (the interface used by BaseChannel). |
44 // | 44 // |
45 // Due to the fact that BaseChannel has different subclasses for audio/video, | 45 // Due to the fact that BaseChannel has different subclasses for audio/video, |
46 // the actual BaseChannel object is not created until an RtpSender/RtpReceiver | 46 // the actual BaseChannel object is not created until an RtpSender/RtpReceiver |
47 // needs them. | 47 // needs them. |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 bool have_video_sender_ = false; | 210 bool have_video_sender_ = false; |
211 bool have_audio_receiver_ = false; | 211 bool have_audio_receiver_ = false; |
212 bool have_video_receiver_ = false; | 212 bool have_video_receiver_ = false; |
213 | 213 |
214 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtpTransportControllerAdapter); | 214 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtpTransportControllerAdapter); |
215 }; | 215 }; |
216 | 216 |
217 } // namespace webrtc | 217 } // namespace webrtc |
218 | 218 |
219 #endif // WEBRTC_ORTC_RTPTRANSPORTCONTROLLERADAPTER_H_ | 219 #endif // WEBRTC_ORTC_RTPTRANSPORTCONTROLLERADAPTER_H_ |
OLD | NEW |