AudioLanguageSelectionProperty Struct
Information about the audio language to extract.
The parent of this entity is AudioSelectorSettings.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const audioLanguageSelectionProperty: medialive.CfnChannel.AudioLanguageSelectionProperty = {
languageCode: 'languageCode',
languageSelectionPolicy: 'languageSelectionPolicy',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive
audio_language_selection_property = medialive.CfnChannel.AudioLanguageSelectionProperty(
language_code="languageCode",
language_selection_policy="languageSelectionPolicy"
)
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.*;
AudioLanguageSelectionProperty audioLanguageSelectionProperty = AudioLanguageSelectionProperty.builder()
.languageCode("languageCode")
.languageSelectionPolicy("languageSelectionPolicy")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;
var audioLanguageSelectionProperty = new AudioLanguageSelectionProperty {
LanguageCode = "languageCode",
LanguageSelectionPolicy = "languageSelectionPolicy"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
audioLanguageSelectionProperty := &AudioLanguageSelectionProperty{
LanguageCode: jsii.String("languageCode"),
LanguageSelectionPolicy: jsii.String("languageSelectionPolicy"),
}
Properties
languageCodeoptionalstringlanguage_codeoptionalstrlanguageCodeoptionalStringLanguageCodeoptionalstringLanguageCodeoptional*string #Selects a specific three-letter language code from within an audio source.
languageSelectionPolicyoptionalstringlanguage_selection_policyoptionalstrlanguageSelectionPolicyoptionalStringLanguageSelectionPolicyoptionalstringLanguageSelectionPolicyoptional*string #When set to "strict," the transport stream demux strictly identifies audio streams by their language descriptor.
notes
If a PMT update occurs such that an audio stream matching the initially selected language is no longer present, then mute is encoded until the language returns. If set to "loose," then on a PMT update the demux chooses another audio stream in the program with the same stream type if it can't find one with the same language.