blob: fa353427641b5a22e48bdf9e3226ba2f1d286327 [file] [log] [blame]
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
namespace webrtc {
// Types for the FEC packet masks. The type `kFecMaskRandom` is based on a
// random loss model. The type `kFecMaskBursty` is based on a bursty/consecutive
// loss model. The packet masks are defined in
// modules/rtp_rtcp/fec_private_tables_random(bursty).h
enum FecMaskType {
// Struct containing forward error correction settings.
struct FecProtectionParams {
int fec_rate = 0;
int max_fec_frames = 0;
FecMaskType fec_mask_type = FecMaskType::kFecMaskRandom;
} // namespace webrtc