public static interface AudioDescription.Builder extends CopyableBuilder<AudioDescription.Builder,AudioDescription>
Modifier and Type | Method and Description |
---|---|
AudioDescription.Builder |
audioNormalizationSettings(AudioNormalizationSettings audioNormalizationSettings)
Advanced audio normalization settings.
|
default AudioDescription.Builder |
audioNormalizationSettings(Consumer<AudioNormalizationSettings.Builder> audioNormalizationSettings)
Advanced audio normalization settings.
|
AudioDescription.Builder |
audioSelectorName(String audioSelectorName)
The name of the AudioSelector used as the source for this AudioDescription.
|
AudioDescription.Builder |
audioType(AudioType audioType)
Applies only if audioTypeControl is useConfigured.
|
AudioDescription.Builder |
audioType(String audioType)
Applies only if audioTypeControl is useConfigured.
|
AudioDescription.Builder |
audioTypeControl(AudioDescriptionAudioTypeControl audioTypeControl)
Determines how audio type is determined.
|
AudioDescription.Builder |
audioTypeControl(String audioTypeControl)
Determines how audio type is determined.
|
AudioDescription.Builder |
codecSettings(AudioCodecSettings codecSettings)
Audio codec settings.
|
default AudioDescription.Builder |
codecSettings(Consumer<AudioCodecSettings.Builder> codecSettings)
Audio codec settings.
|
AudioDescription.Builder |
languageCode(String languageCode)
Indicates the language of the audio output track.
|
AudioDescription.Builder |
languageCodeControl(AudioDescriptionLanguageCodeControl languageCodeControl)
Choosing followInput will cause the ISO 639 language code of the output to follow the ISO 639 language code
of the input.
|
AudioDescription.Builder |
languageCodeControl(String languageCodeControl)
Choosing followInput will cause the ISO 639 language code of the output to follow the ISO 639 language code
of the input.
|
AudioDescription.Builder |
name(String name)
The name of this AudioDescription.
|
default AudioDescription.Builder |
remixSettings(Consumer<RemixSettings.Builder> remixSettings)
Settings that control how input audio channels are remixed into the output audio channels.
|
AudioDescription.Builder |
remixSettings(RemixSettings remixSettings)
Settings that control how input audio channels are remixed into the output audio channels.
|
AudioDescription.Builder |
streamName(String streamName)
Used for MS Smooth and Apple HLS outputs.
|
copy
apply, build
AudioDescription.Builder audioNormalizationSettings(AudioNormalizationSettings audioNormalizationSettings)
audioNormalizationSettings
- Advanced audio normalization settings.default AudioDescription.Builder audioNormalizationSettings(Consumer<AudioNormalizationSettings.Builder> audioNormalizationSettings)
AudioNormalizationSettings.Builder
avoiding the need to create one manually via
AudioNormalizationSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to audioNormalizationSettings(AudioNormalizationSettings)
.audioNormalizationSettings
- a consumer that will call methods on AudioNormalizationSettings.Builder
audioNormalizationSettings(AudioNormalizationSettings)
AudioDescription.Builder audioSelectorName(String audioSelectorName)
audioSelectorName
- The name of the AudioSelector used as the source for this AudioDescription.AudioDescription.Builder audioType(String audioType)
AudioDescription.Builder audioType(AudioType audioType)
AudioDescription.Builder audioTypeControl(String audioTypeControl)
audioTypeControl
- Determines how audio type is determined. followInput: If the input contains an ISO 639 audioType, then
that value is passed through to the output. If the input contains no ISO 639 audioType, the value in
Audio Type is included in the output. useConfigured: The value in Audio Type is included in the
output. Note that this field and audioType are both ignored if inputType is broadcasterMixedAd.AudioDescriptionAudioTypeControl
,
AudioDescriptionAudioTypeControl
AudioDescription.Builder audioTypeControl(AudioDescriptionAudioTypeControl audioTypeControl)
audioTypeControl
- Determines how audio type is determined. followInput: If the input contains an ISO 639 audioType, then
that value is passed through to the output. If the input contains no ISO 639 audioType, the value in
Audio Type is included in the output. useConfigured: The value in Audio Type is included in the
output. Note that this field and audioType are both ignored if inputType is broadcasterMixedAd.AudioDescriptionAudioTypeControl
,
AudioDescriptionAudioTypeControl
AudioDescription.Builder codecSettings(AudioCodecSettings codecSettings)
codecSettings
- Audio codec settings.default AudioDescription.Builder codecSettings(Consumer<AudioCodecSettings.Builder> codecSettings)
AudioCodecSettings.Builder
avoiding the need to create one manually via
AudioCodecSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to codecSettings(AudioCodecSettings)
.codecSettings
- a consumer that will call methods on AudioCodecSettings.Builder
codecSettings(AudioCodecSettings)
AudioDescription.Builder languageCode(String languageCode)
languageCode
- Indicates the language of the audio output track. Only used if languageControlMode is useConfigured,
or there is no ISO 639 language code specified in the input.AudioDescription.Builder languageCodeControl(String languageCodeControl)
languageCodeControl
- Choosing followInput will cause the ISO 639 language code of the output to follow the ISO 639 language
code of the input. The languageCode will be used when useConfigured is set, or when followInput is
selected but there is no ISO 639 language code specified by the input.AudioDescriptionLanguageCodeControl
,
AudioDescriptionLanguageCodeControl
AudioDescription.Builder languageCodeControl(AudioDescriptionLanguageCodeControl languageCodeControl)
languageCodeControl
- Choosing followInput will cause the ISO 639 language code of the output to follow the ISO 639 language
code of the input. The languageCode will be used when useConfigured is set, or when followInput is
selected but there is no ISO 639 language code specified by the input.AudioDescriptionLanguageCodeControl
,
AudioDescriptionLanguageCodeControl
AudioDescription.Builder name(String name)
name
- The name of this AudioDescription. Outputs will use this name to uniquely identify this
AudioDescription. Description names should be unique within this Live Event.AudioDescription.Builder remixSettings(RemixSettings remixSettings)
remixSettings
- Settings that control how input audio channels are remixed into the output audio channels.default AudioDescription.Builder remixSettings(Consumer<RemixSettings.Builder> remixSettings)
RemixSettings.Builder
avoiding the need to create one
manually via RemixSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to remixSettings(RemixSettings)
.remixSettings
- a consumer that will call methods on RemixSettings.Builder
remixSettings(RemixSettings)
AudioDescription.Builder streamName(String streamName)
streamName
- Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by the player (eg. English, or
Director Commentary).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.