Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AncillaryCaptionSourceOptions Struct
Options for an ancillary caption source.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const ancillaryCaptionSourceOptions: medialive_alpha.AncillaryCaptionSourceOptions = {
sourceChannelNumber: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
ancillary_caption_source_options = medialive_alpha.AncillaryCaptionSourceOptions(
source_channel_number=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
AncillaryCaptionSourceOptions ancillaryCaptionSourceOptions = AncillaryCaptionSourceOptions.builder()
.sourceChannelNumber(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
var ancillaryCaptionSourceOptions = new AncillaryCaptionSourceOptions {
SourceChannelNumber = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
ancillaryCaptionSourceOptions := &AncillaryCaptionSourceOptions{
SourceChannelNumber: jsii.Number(123),
}
Properties
sourceChannelNumberoptionalnumbersource_channel_numberoptionalint | floatsourceChannelNumberoptionalNumberSourceChannelNumberoptionaldoubleSourceChannelNumberoptional*float64#The captions channel (1-4) to extract from the ancillary captions.
Default: MediaLive ignores the channel (passthrough)
Required when converting to another caption format; ignored when passing through as embedded.