Class AudioLanguageSelectionPolicy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.medialive.alpha.AudioLanguageSelectionPolicy
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:40.910Z") @Stability(Experimental) public class AudioLanguageSelectionPolicy extends software.amazon.jsii.JsiiObject
(experimental) Policy for how MediaLive identifies the audio stream when selecting by language, on a transport-stream PMT update.

Example:

 Stack stack;
 IInput input;
 IBucket bucket;
 EncodeConfiguration video;
 Channel.Builder.create(stack, "Channel")
         .inputs(List.of(InputAttachment.builder()
                 .input(input)
                 .audioSelectors(List.of(AudioSelector.byLanguage("eng", "eng", AudioLanguageSelectionPolicy.STRICT)))
                 .captionSelectors(List.of(CaptionSelector.embedded("embedded")))
                 .videoSelector(VideoSelectorSettings.builder()
                         .colorSpace(VideoColorSpace.HDR10)
                         .colorSpaceUsage(VideoColorSpaceUsage.FORCE)
                         .selectBy(VideoSelection.byProgramId(1))
                         .build())
                 .build()))
         .outputGroups(List.of(OutputGroupConfiguration.hls(HlsOutputGroupProps.builder()
                 .name("hls")
                 .destinations(List.of(OutputDestination.toBucket(bucket, "live/stream")))
                 .outputs(List.of(HlsOutputDefinition.builder().encodes(List.of(video)).outputName("hls_out").build()))
                 .build())))
         .build();
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (experimental) On a PMT update, fall back to another audio stream of the same type in the program if a stream with the same language can't be found.
    (experimental) Strictly identify audio by its language descriptor.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AudioLanguageSelectionPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    AudioLanguageSelectionPolicy(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The underlying string value passed to CloudFormation.
    of(String value)
    (experimental) A value not yet modelled by AWS CDK.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • LOOSE

      @Stability(Experimental) public static final AudioLanguageSelectionPolicy LOOSE
      (experimental) On a PMT update, fall back to another audio stream of the same type in the program if a stream with the same language can't be found.
    • STRICT

      @Stability(Experimental) public static final AudioLanguageSelectionPolicy STRICT
      (experimental) Strictly identify audio by its language descriptor.

      If the matching language is no longer present after a PMT update, mute is encoded until the language returns.

  • Constructor Details

    • AudioLanguageSelectionPolicy

      protected AudioLanguageSelectionPolicy(software.amazon.jsii.JsiiObjectRef objRef)
    • AudioLanguageSelectionPolicy

      protected AudioLanguageSelectionPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • of

      @Stability(Experimental) @NotNull public static AudioLanguageSelectionPolicy of(@NotNull String value)
      (experimental) A value not yet modelled by AWS CDK.

      Parameters:
      value - This parameter is required.
    • getValue

      @Stability(Experimental) @NotNull public String getValue()
      (experimental) The underlying string value passed to CloudFormation.