OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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_MODULES_PACING_PACED_SENDER_H_ | 11 #ifndef WEBRTC_MODULES_PACING_PACED_SENDER_H_ |
12 #define WEBRTC_MODULES_PACING_PACED_SENDER_H_ | 12 #define WEBRTC_MODULES_PACING_PACED_SENDER_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <memory> | 15 #include <memory> |
16 #include <set> | 16 #include <set> |
17 | 17 |
| 18 #include "webrtc/base/criticalsection.h" |
| 19 #include "webrtc/base/optional.h" |
| 20 #include "webrtc/base/thread_annotations.h" |
18 #include "webrtc/modules/include/module.h" | 21 #include "webrtc/modules/include/module.h" |
19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 22 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
20 #include "webrtc/rtc_base/criticalsection.h" | |
21 #include "webrtc/rtc_base/optional.h" | |
22 #include "webrtc/rtc_base/thread_annotations.h" | |
23 #include "webrtc/typedefs.h" | 23 #include "webrtc/typedefs.h" |
24 | 24 |
25 namespace webrtc { | 25 namespace webrtc { |
26 class AlrDetector; | 26 class AlrDetector; |
27 class BitrateProber; | 27 class BitrateProber; |
28 class Clock; | 28 class Clock; |
29 class ProbeClusterCreatedObserver; | 29 class ProbeClusterCreatedObserver; |
30 class RtcEventLog; | 30 class RtcEventLog; |
31 | 31 |
32 namespace paced_sender { | 32 namespace paced_sender { |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 195 |
196 std::unique_ptr<paced_sender::PacketQueue> packets_ GUARDED_BY(critsect_); | 196 std::unique_ptr<paced_sender::PacketQueue> packets_ GUARDED_BY(critsect_); |
197 uint64_t packet_counter_; | 197 uint64_t packet_counter_; |
198 ProcessThread* process_thread_ = nullptr; | 198 ProcessThread* process_thread_ = nullptr; |
199 | 199 |
200 float pacing_factor_ GUARDED_BY(critsect_); | 200 float pacing_factor_ GUARDED_BY(critsect_); |
201 int64_t queue_time_limit GUARDED_BY(critsect_); | 201 int64_t queue_time_limit GUARDED_BY(critsect_); |
202 }; | 202 }; |
203 } // namespace webrtc | 203 } // namespace webrtc |
204 #endif // WEBRTC_MODULES_PACING_PACED_SENDER_H_ | 204 #endif // WEBRTC_MODULES_PACING_PACED_SENDER_H_ |
OLD | NEW |