Experimental
@aws-cdk/aws-mediapackagev2-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
DashTtmlConfiguration Struct
Configuration for TTML subtitles in DASH manifests.
| Stability | Experimental |
|---|---|
| Source | lib/endpoint.ts |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediapackagev2_alpha from '@aws-cdk/aws-mediapackagev2-alpha';
const dashTtmlConfiguration: mediapackagev2_alpha.DashTtmlConfiguration = {
ttmlProfile: mediapackagev2_alpha.TtmlProfile.IMSC_1,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediapackagev2_alpha as mediapackagev2_alpha
dash_ttml_configuration = mediapackagev2_alpha.DashTtmlConfiguration(
ttml_profile=mediapackagev2_alpha.TtmlProfile.IMSC_1
)
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.mediapackagev2.alpha.*;
DashTtmlConfiguration dashTtmlConfiguration = DashTtmlConfiguration.builder()
.ttmlProfile(TtmlProfile.IMSC_1)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaPackageV2.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaPackageV2.Alpha;
var dashTtmlConfiguration = new DashTtmlConfiguration {
TtmlProfile = TtmlProfile.IMSC_1
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmediapackagev2alpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediapackagev2_alpha "github.com/aws/aws-cdk-go/awsmediapackagev2alpha"
dashTtmlConfiguration := &DashTtmlConfiguration{
TtmlProfile: mediapackagev2_alpha.TtmlProfile_IMSC_1,
}
Properties
ttmlProfileTtmlProfilettml_profileTtmlProfilettmlProfileTtmlProfileTtmlProfileTtmlProfileTtmlProfileTtmlProfile required #The profile that MediaPackage uses when signaling subtitles in the manifest.
notes
IMSC is the default profile. EBU-TT-D produces subtitles that are compliant with the EBU-TT-D TTML profile. MediaPackage passes through subtitle styles to the manifest. For more information about EBU-TT-D subtitles, see EBU-TT-D Subtitling Distribution Format.