# MultiplexVideoSettingsProperty

The video configuration for each program in a multiplex.

- Source: Generated at build time
- Type last changed: v2.109.0 · 16 Nov 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const multiplexVideoSettingsProperty: medialive.CfnMultiplexprogram.MultiplexVideoSettingsProperty = {
  constantBitrate: 123,
  statmuxSettings: {
    maximumBitrate: 123,
    minimumBitrate: 123,
    priority: 123,
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

multiplex_video_settings_property = medialive.CfnMultiplexprogram.MultiplexVideoSettingsProperty(
    constant_bitrate=123,
    statmux_settings=medialive.CfnMultiplexprogram.MultiplexStatmuxVideoSettingsProperty(
        maximum_bitrate=123,
        minimum_bitrate=123,
        priority=123
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.*;

MultiplexVideoSettingsProperty multiplexVideoSettingsProperty = MultiplexVideoSettingsProperty.builder()
        .constantBitrate(123)
        .statmuxSettings(MultiplexStatmuxVideoSettingsProperty.builder()
                .maximumBitrate(123)
                .minimumBitrate(123)
                .priority(123)
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var multiplexVideoSettingsProperty = new MultiplexVideoSettingsProperty {
    ConstantBitrate = 123,
    StatmuxSettings = new MultiplexStatmuxVideoSettingsProperty {
        MaximumBitrate = 123,
        MinimumBitrate = 123,
        Priority = 123
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

multiplexVideoSettingsProperty := &MultiplexVideoSettingsProperty{
	ConstantBitrate: jsii.Number(123),
	StatmuxSettings: &MultiplexStatmuxVideoSettingsProperty{
		MaximumBitrate: jsii.Number(123),
		MinimumBitrate: jsii.Number(123),
		Priority: jsii.Number(123),
	},
}
```

## Properties

- `constantBitrate`: number — The constant bitrate configuration for the video encode.

  When this field is defined, StatmuxSettings must be undefined.

- `statmuxSettings`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnMultiplexprogram.MultiplexStatmuxVideoSettingsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnMultiplexprogram.MultiplexStatmuxVideoSettingsProperty.html) — Statmux rate control settings.

  When this field is defined, ConstantBitrate must be undefined.
