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/api/optional.h" |
18 #include "webrtc/modules/pacing/pacer.h" | 19 #include "webrtc/modules/pacing/pacer.h" |
19 #include "webrtc/rtc_base/criticalsection.h" | 20 #include "webrtc/rtc_base/criticalsection.h" |
20 #include "webrtc/rtc_base/optional.h" | |
21 #include "webrtc/rtc_base/thread_annotations.h" | 21 #include "webrtc/rtc_base/thread_annotations.h" |
22 #include "webrtc/typedefs.h" | 22 #include "webrtc/typedefs.h" |
23 | 23 |
24 namespace webrtc { | 24 namespace webrtc { |
25 class AlrDetector; | 25 class AlrDetector; |
26 class BitrateProber; | 26 class BitrateProber; |
27 class Clock; | 27 class Clock; |
28 class ProbeClusterCreatedObserver; | 28 class ProbeClusterCreatedObserver; |
29 class RtcEventLog; | 29 class RtcEventLog; |
30 class IntervalBudget; | 30 class IntervalBudget; |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 std::unique_ptr<paced_sender::PacketQueue> packets_ GUARDED_BY(critsect_); | 194 std::unique_ptr<paced_sender::PacketQueue> packets_ GUARDED_BY(critsect_); |
195 uint64_t packet_counter_; | 195 uint64_t packet_counter_; |
196 ProcessThread* process_thread_ = nullptr; | 196 ProcessThread* process_thread_ = nullptr; |
197 | 197 |
198 float pacing_factor_ GUARDED_BY(critsect_); | 198 float pacing_factor_ GUARDED_BY(critsect_); |
199 int64_t queue_time_limit GUARDED_BY(critsect_); | 199 int64_t queue_time_limit GUARDED_BY(critsect_); |
200 }; | 200 }; |
201 } // namespace webrtc | 201 } // namespace webrtc |
202 #endif // WEBRTC_MODULES_PACING_PACED_SENDER_H_ | 202 #endif // WEBRTC_MODULES_PACING_PACED_SENDER_H_ |
OLD | NEW |