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_RTP_RTCP_SOURCE_FORWARD_ERROR_CORRECTION_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_FORWARD_ERROR_CORRECTION_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_FORWARD_ERROR_CORRECTION_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_FORWARD_ERROR_CORRECTION_H_ |
13 | 13 |
14 #include <stdint.h> | 14 #include <stdint.h> |
15 | 15 |
16 #include <list> | 16 #include <list> |
17 #include <memory> | 17 #include <memory> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
| 20 #include "webrtc/base/basictypes.h" |
| 21 #include "webrtc/base/constructormagic.h" |
| 22 #include "webrtc/base/refcount.h" |
| 23 #include "webrtc/base/scoped_ref_ptr.h" |
20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 24 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
21 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h" | 25 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h" |
22 #include "webrtc/rtc_base/basictypes.h" | |
23 #include "webrtc/rtc_base/constructormagic.h" | |
24 #include "webrtc/rtc_base/refcount.h" | |
25 #include "webrtc/rtc_base/scoped_ref_ptr.h" | |
26 | 26 |
27 namespace webrtc { | 27 namespace webrtc { |
28 | 28 |
29 class FecHeaderReader; | 29 class FecHeaderReader; |
30 class FecHeaderWriter; | 30 class FecHeaderWriter; |
31 | 31 |
32 // Performs codec-independent forward error correction (FEC), based on RFC 5109. | 32 // Performs codec-independent forward error correction (FEC), based on RFC 5109. |
33 // Option exists to enable unequal protection (UEP) across packets. | 33 // Option exists to enable unequal protection (UEP) across packets. |
34 // This is not to be confused with protection within packets | 34 // This is not to be confused with protection within packets |
35 // (referred to as uneven level protection (ULP) in RFC 5109). | 35 // (referred to as uneven level protection (ULP) in RFC 5109). |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 size_t max_packet_overhead); | 412 size_t max_packet_overhead); |
413 | 413 |
414 const size_t max_media_packets_; | 414 const size_t max_media_packets_; |
415 const size_t max_fec_packets_; | 415 const size_t max_fec_packets_; |
416 const size_t max_packet_overhead_; | 416 const size_t max_packet_overhead_; |
417 }; | 417 }; |
418 | 418 |
419 } // namespace webrtc | 419 } // namespace webrtc |
420 | 420 |
421 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_FORWARD_ERROR_CORRECTION_H_ | 421 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_FORWARD_ERROR_CORRECTION_H_ |
OLD | NEW |