interface AvailBlanking
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.AvailBlanking |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#AvailBlanking |
Java | software.amazon.awscdk.services.medialive.alpha.AvailBlanking |
Python | aws_cdk.aws_medialive_alpha.AvailBlanking |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป AvailBlanking |
Settings for blanking video, audio, and captions during ad avails.
Example
declare const stack: Stack;
declare const input: medialive.IInput;
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
new medialive.Channel(stack, 'Channel', {
inputs: [{ input }],
availBlanking: {
state: medialive.AvailBlankingState.ENABLED,
image: medialive.FileLocation.fromBucket(bucket, 'slates/avail.png'),
},
blackoutSlate: {
state: medialive.BlackoutSlateState.ENABLED,
image: medialive.FileLocation.fromBucket(bucket, 'slates/blackout.png'),
},
outputGroups: [
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
outputs: [{ encodes: [video], outputName: 'hls_out' }],
}),
],
});
Properties
| Name | Type | Description |
|---|---|---|
| image? | File | A blanking image to display during ad avails. |
| state? | Avail | Whether to blank the output during ad avails. |
image?
Type:
File
(optional, default: solid black)
A blanking image to display during ad avails.
Provide a FileLocation referencing an S3
bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url).
Only .bmp and .png images are supported. If not set, solid black is used.
state?
Type:
Avail
(optional, default: ENABLED if image is provided, DISABLED otherwise)
Whether to blank the output during ad avails.

.NET
Go
Java
Python
TypeScript (