OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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_VIDEO_CODING_NACK_MODULE_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <vector> | 15 #include <vector> |
16 #include <set> | 16 #include <set> |
17 | 17 |
18 #include "webrtc/base/criticalsection.h" | |
19 #include "webrtc/base/thread_annotations.h" | |
20 #include "webrtc/modules/include/module.h" | 18 #include "webrtc/modules/include/module.h" |
| 19 #include "webrtc/modules/video_coding/histogram.h" |
21 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 20 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
22 #include "webrtc/modules/video_coding/packet.h" | 21 #include "webrtc/modules/video_coding/packet.h" |
23 #include "webrtc/modules/video_coding/histogram.h" | |
24 #include "webrtc/modules/video_coding/sequence_number_util.h" | 22 #include "webrtc/modules/video_coding/sequence_number_util.h" |
| 23 #include "webrtc/rtc_base/criticalsection.h" |
| 24 #include "webrtc/rtc_base/thread_annotations.h" |
25 #include "webrtc/system_wrappers/include/clock.h" | 25 #include "webrtc/system_wrappers/include/clock.h" |
26 | 26 |
27 namespace webrtc { | 27 namespace webrtc { |
28 | 28 |
29 class NackModule : public Module { | 29 class NackModule : public Module { |
30 public: | 30 public: |
31 NackModule(Clock* clock, | 31 NackModule(Clock* clock, |
32 NackSender* nack_sender, | 32 NackSender* nack_sender, |
33 KeyFrameRequestSender* keyframe_request_sender); | 33 KeyFrameRequestSender* keyframe_request_sender); |
34 | 34 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 int64_t rtt_ms_ GUARDED_BY(crit_); | 93 int64_t rtt_ms_ GUARDED_BY(crit_); |
94 uint16_t newest_seq_num_ GUARDED_BY(crit_); | 94 uint16_t newest_seq_num_ GUARDED_BY(crit_); |
95 | 95 |
96 // Only touched on the process thread. | 96 // Only touched on the process thread. |
97 int64_t next_process_time_ms_; | 97 int64_t next_process_time_ms_; |
98 }; | 98 }; |
99 | 99 |
100 } // namespace webrtc | 100 } // namespace webrtc |
101 | 101 |
102 #endif // WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_ | 102 #endif // WEBRTC_MODULES_VIDEO_CODING_NACK_MODULE_H_ |
OLD | NEW |