2 * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
11 #ifndef MODULES_INCLUDE_MODULE_FEC_TYPES_H_
12 #define MODULES_INCLUDE_MODULE_FEC_TYPES_H_
16 // Types for the FEC packet masks. The type `kFecMaskRandom` is based on a
17 // random loss model. The type `kFecMaskBursty` is based on a bursty/consecutive
18 // loss model. The packet masks are defined in
19 // modules/rtp_rtcp/fec_private_tables_random(bursty).h
25 // Struct containing forward error correction settings.
26 struct FecProtectionParams
{
28 int max_fec_frames
= 0;
29 FecMaskType fec_mask_type
= FecMaskType::kFecMaskRandom
;
34 #endif // MODULES_INCLUDE_MODULE_FEC_TYPES_H_