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

The channel type, which determines the allowable resolution and bitrate.

If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/channel.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-ivs-alpha/lib/channel.ts#L77)

## Example

TypeScript:

```ts
const myChannel = new ivs.Channel(this, 'myChannel', {
  type: ivs.ChannelType.ADVANCED_HD,
  preset: ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY,
});
```

Python:

```python
my_channel = ivs.Channel(self, "myChannel",
    type=ivs.ChannelType.ADVANCED_HD,
    preset=ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY
)
```

Java:

```java
Channel myChannel = Channel.Builder.create(this, "myChannel")
        .type(ChannelType.ADVANCED_HD)
        .preset(Preset.CONSTRAINED_BANDWIDTH_DELIVERY)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.IVS.Alpha
var myChannel = new Channel(this, "myChannel", new ChannelProps {
    Type = ChannelType.ADVANCED_HD,
    Preset = Preset.CONSTRAINED_BANDWIDTH_DELIVERY
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkivsalpha/v2
myChannel := ivs.NewChannel(this, jsii.String("myChannel"), &ChannelProps{
	Type: ivs.ChannelType_ADVANCED_HD,
	Preset: ivs.Preset_CONSTRAINED_BANDWIDTH_DELIVERY,
})
```

## Members

| Member | Description |
| --- | --- |
| `STANDARD` | Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. |
| `BASIC` | Delivers the original input to viewers. |
| `ADVANCED_SD` | Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. |
| `ADVANCED_HD` | Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. |

## Referenced by

- [`ChannelProps`](/v2/docs/@aws-cdk_aws-ivs-alpha.ChannelProps).type
