interface ChannelProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Ivs.Alpha.ChannelProps |
Go | github.com/aws/aws-cdk-go/awscdkivsalpha/v2#ChannelProps |
Java | software.amazon.awscdk.services.ivs.alpha.ChannelProps |
Python | aws_cdk.aws_ivs_alpha.ChannelProps |
TypeScript (source) | @aws-cdk/aws-ivs-alpha ยป ChannelProps |
Properties for creating a new Channel.
Example
const myRtmpChannel = new ivs.Channel(this, 'myRtmpChannel', {
type: ivs.ChannelType.STANDARD,
insecureIngest: true, // default value is false
});
Properties
Name | Type | Description |
---|---|---|
authorized? | boolean | Whether the channel is authorized. |
channel | string | A name for the channel. |
insecure | boolean | Whether the channel allows insecure RTMP ingest. |
latency | Latency | Channel latency mode. |
preset? | Preset | An optional transcode preset for the channel. |
recording | IRecording | A recording configuration for the channel. |
type? | Channel | The channel type, which determines the allowable resolution and bitrate. |
authorized?
Type:
boolean
(optional, default: false)
Whether the channel is authorized.
If you wish to make an authorized channel, you will need to ensure that a PlaybackKeyPair has been uploaded to your account as this is used to validate the signed JWT that is required for authorization
channelName?
Type:
string
(optional, default: Automatically generated name)
A name for the channel.
insecureIngest?
Type:
boolean
(optional, default: false)
Whether the channel allows insecure RTMP ingest.
latencyMode?
Type:
Latency
(optional, default: LatencyMode.LOW)
Channel latency mode.
preset?
Type:
Preset
(optional, default: Preset.HIGHER_BANDWIDTH_DELIVERY if channelType is ADVANCED_SD or ADVANCED_HD, none otherwise)
An optional transcode preset for the channel.
Can be used for ADVANCED_HD and ADVANCED_SD channel types. When LOW or STANDARD is used, the preset will be overridden and set to none regardless of the value provided.
recordingConfiguration?
Type:
IRecording
(optional, default: recording is disabled)
A recording configuration for the channel.
type?
Type:
Channel
(optional, default: ChannelType.STANDARD)
The channel type, which determines the allowable resolution and bitrate.
If you exceed the allowable resolution or bitrate, the stream will disconnect immediately