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.
| Stability | Experimental |
|---|---|
| Source | lib/channel.ts |
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
| 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.typetypetypeTypeType