OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 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 // This file contains classes that implement RtpSenderInterface. | 11 // This file contains classes that implement RtpSenderInterface. |
12 // An RtpSender associates a MediaStreamTrackInterface with an underlying | 12 // An RtpSender associates a MediaStreamTrackInterface with an underlying |
13 // transport (provided by AudioProviderInterface/VideoProviderInterface) | 13 // transport (provided by AudioProviderInterface/VideoProviderInterface) |
14 | 14 |
15 #ifndef WEBRTC_PC_RTPSENDER_H_ | 15 #ifndef WEBRTC_PC_RTPSENDER_H_ |
16 #define WEBRTC_PC_RTPSENDER_H_ | 16 #define WEBRTC_PC_RTPSENDER_H_ |
17 | 17 |
18 #include <memory> | 18 #include <memory> |
19 #include <string> | 19 #include <string> |
20 | 20 |
21 #include "webrtc/api/mediastreaminterface.h" | 21 #include "webrtc/api/mediastreaminterface.h" |
22 #include "webrtc/api/rtpsenderinterface.h" | 22 #include "webrtc/api/rtpsenderinterface.h" |
23 #include "webrtc/base/basictypes.h" | 23 #include "webrtc/base/basictypes.h" |
24 #include "webrtc/base/criticalsection.h" | 24 #include "webrtc/base/criticalsection.h" |
25 #include "webrtc/media/base/audiosource.h" | 25 // Adding 'nogncheck' to disable the gn include headers check to support modular |
| 26 // WebRTC build targets. |
| 27 #include "webrtc/media/base/audiosource.h" // nogncheck |
26 #include "webrtc/pc/channel.h" | 28 #include "webrtc/pc/channel.h" |
27 #include "webrtc/pc/dtmfsender.h" | 29 #include "webrtc/pc/dtmfsender.h" |
28 #include "webrtc/pc/statscollector.h" | 30 #include "webrtc/pc/statscollector.h" |
29 | 31 |
30 namespace webrtc { | 32 namespace webrtc { |
31 | 33 |
32 // Internal interface used by PeerConnection. | 34 // Internal interface used by PeerConnection. |
33 class RtpSenderInternal : public RtpSenderInterface { | 35 class RtpSenderInternal : public RtpSenderInterface { |
34 public: | 36 public: |
35 // Used to set the SSRC of the sender, once a local description has been set. | 37 // Used to set the SSRC of the sender, once a local description has been set. |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 uint32_t ssrc_ = 0; | 244 uint32_t ssrc_ = 0; |
243 bool cached_track_enabled_ = false; | 245 bool cached_track_enabled_ = false; |
244 VideoTrackInterface::ContentHint cached_track_content_hint_ = | 246 VideoTrackInterface::ContentHint cached_track_content_hint_ = |
245 VideoTrackInterface::ContentHint::kNone; | 247 VideoTrackInterface::ContentHint::kNone; |
246 bool stopped_ = false; | 248 bool stopped_ = false; |
247 }; | 249 }; |
248 | 250 |
249 } // namespace webrtc | 251 } // namespace webrtc |
250 | 252 |
251 #endif // WEBRTC_PC_RTPSENDER_H_ | 253 #endif // WEBRTC_PC_RTPSENDER_H_ |
OLD | NEW |