interface InputLossBehaviorProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MediaLive.CfnChannel.InputLossBehaviorProperty |
Java | software.amazon.awscdk.services.medialive.CfnChannel.InputLossBehaviorProperty |
Python | aws_cdk.aws_medialive.CfnChannel.InputLossBehaviorProperty |
TypeScript | @aws-cdk/aws-medialive » CfnChannel » InputLossBehaviorProperty |
The configuration of channel behavior when the input is lost.
The parent of this entity is GlobalConfiguration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive from '@aws-cdk/aws-medialive';
const inputLossBehaviorProperty: medialive.CfnChannel.InputLossBehaviorProperty = {
blackFrameMsec: 123,
inputLossImageColor: 'inputLossImageColor',
inputLossImageSlate: {
passwordParam: 'passwordParam',
uri: 'uri',
username: 'username',
},
inputLossImageType: 'inputLossImageType',
repeatFrameMsec: 123,
};
Properties
Name | Type | Description |
---|---|---|
black | number | On input loss, the number of milliseconds to substitute black into the output before switching to the frame specified by inputLossImageType. |
input | string | When the input loss image type is "color," this field specifies the color to use. |
input | IResolvable | Input | When the input loss image type is "slate," these fields specify the parameters for accessing the slate. |
input | string | Indicates whether to substitute a solid color or a slate into the output after the input loss exceeds blackFrameMsec. |
repeat | number | On input loss, the number of milliseconds to repeat the previous picture before substituting black into the output. |
blackFrameMsec?
Type:
number
(optional)
On input loss, the number of milliseconds to substitute black into the output before switching to the frame specified by inputLossImageType.
A value x, where 0 <= x <= 1,000,000 and a value of 1,000,000, is interpreted as infinite.
inputLossImageColor?
Type:
string
(optional)
When the input loss image type is "color," this field specifies the color to use.
Value: 6 hex characters that represent the values of RGB.
inputLossImageSlate?
Type:
IResolvable
|
Input
(optional)
When the input loss image type is "slate," these fields specify the parameters for accessing the slate.
inputLossImageType?
Type:
string
(optional)
Indicates whether to substitute a solid color or a slate into the output after the input loss exceeds blackFrameMsec.
repeatFrameMsec?
Type:
number
(optional)
On input loss, the number of milliseconds to repeat the previous picture before substituting black into the output.
A value x, where 0 <= x <= 1,000,000 and a value of 1,000,000, is interpreted as infinite.