Skip to content
v2.277.0

Experimental

@aws-cdk/aws-ivs-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ChannelType Enum ​

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

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

Example ​

ts
const myChannel = new ivs.Channel(this, 'myChannel', {
  type: ivs.ChannelType.ADVANCED_HD,
  preset: ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY,
});
python
my_channel = ivs.Channel(self, "myChannel",
    type=ivs.ChannelType.ADVANCED_HD,
    preset=ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY
)
java
Channel myChannel = Channel.Builder.create(this, "myChannel")
        .type(ChannelType.ADVANCED_HD)
        .preset(Preset.CONSTRAINED_BANDWIDTH_DELIVERY)
        .build();
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
});
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 ​

MemberDescription
STANDARDMultiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.
BASICDelivers the original input to viewers.
ADVANCED_SDMultiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.
ADVANCED_HDMultiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.

Referenced by ​