> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# FecOutputSettings

Forward Error Correction (FEC) settings for a UDP output (SMPTE 2022-1).

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/outputs.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0-alpha.0/packages/@aws-cdk/aws-medialive-alpha/lib/outputs.ts#L290)

## Example

```ts
declare const video: medialive.EncodeConfiguration;

medialive.OutputGroupConfiguration.udp({
  name: 'udp',
  destinations: [medialive.UdpOutputDestination.rtp({ address: '203.0.113.5', port: 5000 })],
  outputs: [{
    encodes: [video],
    outputName: 'ts',
    fec: { mode: medialive.FecMode.COLUMN_AND_ROW, columnDepth: 10, rowLength: 10 },
  }],
});
```

## Properties

- `columnDepth`: number — Parameter D from SMPTE 2022-1 — the height of the FEC protection matrix (number of transport stream packets per column error-correction packet).

  **Default:** service default

  Must be 4..20.

- `mode`: [FecMode](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.FecMode.html) — Whether to enable column-only or column-and-row FEC.

  **Default:** service default

- `rowLength`: number — Parameter L from SMPTE 2022-1 — the width of the FEC protection matrix.

  **Default:** service default

  Must be 1..20
  for column-only FEC, or 4..20 for column-and-row FEC.
