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_RTP_RTCP_INCLUDE_FLEXFEC_RECEIVER_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_INCLUDE_FLEXFEC_RECEIVER_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_FLEXFEC_RECEIVER_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_FLEXFEC_RECEIVER_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
16 #include "webrtc/base/basictypes.h" | 16 #include "webrtc/base/basictypes.h" |
17 #include "webrtc/base/sequenced_task_checker.h" | 17 #include "webrtc/base/sequenced_task_checker.h" |
18 #include "webrtc/call/call.h" | |
19 #include "webrtc/modules/rtp_rtcp/include/ulpfec_receiver.h" | 18 #include "webrtc/modules/rtp_rtcp/include/ulpfec_receiver.h" |
20 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" | 19 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" |
21 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" | 20 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" |
22 #include "webrtc/system_wrappers/include/clock.h" | 21 #include "webrtc/system_wrappers/include/clock.h" |
23 | 22 |
24 namespace webrtc { | 23 namespace webrtc { |
25 | 24 |
26 class FlexfecReceiver { | 25 class FlexfecReceiver { |
27 public: | 26 public: |
28 FlexfecReceiver(uint32_t ssrc, | 27 FlexfecReceiver(uint32_t ssrc, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 Clock* const clock_; | 60 Clock* const clock_; |
62 int64_t last_recovered_packet_ms_ GUARDED_BY(sequence_checker_); | 61 int64_t last_recovered_packet_ms_ GUARDED_BY(sequence_checker_); |
63 FecPacketCounter packet_counter_ GUARDED_BY(sequence_checker_); | 62 FecPacketCounter packet_counter_ GUARDED_BY(sequence_checker_); |
64 | 63 |
65 rtc::SequencedTaskChecker sequence_checker_; | 64 rtc::SequencedTaskChecker sequence_checker_; |
66 }; | 65 }; |
67 | 66 |
68 } // namespace webrtc | 67 } // namespace webrtc |
69 | 68 |
70 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_FLEXFEC_RECEIVER_H_ | 69 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_FLEXFEC_RECEIVER_H_ |
OLD | NEW |