public static interface AudioDescription.Builder extends SdkPojo, 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 |
audioSourceName(String audioSourceName)
Specifies which audio data to use from each input.
|
AudioDescription.Builder |
audioType(Integer audioType)
Applies only if Follow Input Audio Type is unchecked (false).
|
AudioDescription.Builder |
audioTypeControl(AudioTypeControl audioTypeControl)
When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to
the output.
|
AudioDescription.Builder |
audioTypeControl(String audioTypeControl)
When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed through to
the output.
|
AudioDescription.Builder |
codecSettings(AudioCodecSettings codecSettings)
Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to
audio encoding.
|
default AudioDescription.Builder |
codecSettings(Consumer<AudioCodecSettings.Builder> codecSettings)
Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to
audio encoding.
|
AudioDescription.Builder |
customLanguageCode(String customLanguageCode)
Specify the language for this audio output track, using the ISO 639-2 or ISO 639-3 three-letter language
code.
|
AudioDescription.Builder |
languageCode(LanguageCode languageCode)
Indicates the language of the audio output track.
|
AudioDescription.Builder |
languageCode(String languageCode)
Indicates the language of the audio output track.
|
AudioDescription.Builder |
languageCodeControl(AudioLanguageCodeControl languageCodeControl)
Choosing FOLLOW_INPUT 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 FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639 language code
of the input.
|
default AudioDescription.Builder |
remixSettings(Consumer<RemixSettings.Builder> remixSettings)
Advanced audio remixing settings.
|
AudioDescription.Builder |
remixSettings(RemixSettings remixSettings)
Advanced audio remixing settings.
|
AudioDescription.Builder |
streamName(String streamName)
Used for MS Smooth and Apple HLS outputs.
|
copy
applyMutation, 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 audioSourceName(String audioSourceName)
audioSourceName
- Specifies which audio data to use from each input. In the simplest case, specify an
"Audio Selector":#inputs-audio_selector by name based on its order within each input. For example if
you specify "Audio Selector 3", then the third audio selector will be used from each input. If an
input does not have an "Audio Selector 3", then the audio selector marked as "default" in that input
will be used. If there is no audio selector marked as "default", silence will be inserted for the
duration of that input. Alternatively, an "Audio Selector Group":#inputs-audio_selector_group name may
be specified, with similar default/silence behavior. If no audio_source_name is specified, then
"Audio Selector 1" will be chosen automatically.AudioDescription.Builder audioType(Integer audioType)
audioType
- Applies only if Follow Input Audio Type is unchecked (false). A number between 0 and 255. The
following are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 =
Visually Impaired Commentary, 4-255 = Reserved.AudioDescription.Builder audioTypeControl(String audioTypeControl)
audioTypeControl
- When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed
through to the output. If the input contains no ISO 639 audio_type, the value in Audio Type is
included in the output. Otherwise the value in Audio Type is included in the output. Note that this
field and audioType are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD.AudioTypeControl
,
AudioTypeControl
AudioDescription.Builder audioTypeControl(AudioTypeControl audioTypeControl)
audioTypeControl
- When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then that value is passed
through to the output. If the input contains no ISO 639 audio_type, the value in Audio Type is
included in the output. Otherwise the value in Audio Type is included in the output. Note that this
field and audioType are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTER_MIXED_AD.AudioTypeControl
,
AudioTypeControl
AudioDescription.Builder codecSettings(AudioCodecSettings codecSettings)
codecSettings
- Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related
to audio encoding. The settings in this group vary depending on the value you choose for Audio codec
(Codec). For each codec enum you choose, define the corresponding settings object. The following lists
the codec enum, settings object pairs. * AAC, AacSettings * MP2, Mp2Settings * WAV, WavSettings *
AIFF, AiffSettings * AC3, Ac3Settings * EAC3, Eac3Settingsdefault 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 customLanguageCode(String customLanguageCode)
customLanguageCode
- Specify the language for this audio output track, using the ISO 639-2 or ISO 639-3 three-letter
language code. The language specified will be used when 'Follow Input Language Code' is not selected
or when 'Follow Input Language Code' is selected but there is no ISO 639 language code specified by
the input.AudioDescription.Builder languageCode(String languageCode)
languageCode
- Indicates the language of the audio output track. The ISO 639 language specified in the 'Language
Code' drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input
Language Code' is selected but there is no ISO 639 language code specified by the input.LanguageCode
,
LanguageCode
AudioDescription.Builder languageCode(LanguageCode languageCode)
languageCode
- Indicates the language of the audio output track. The ISO 639 language specified in the 'Language
Code' drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input
Language Code' is selected but there is no ISO 639 language code specified by the input.LanguageCode
,
LanguageCode
AudioDescription.Builder languageCodeControl(String languageCodeControl)
languageCodeControl
- Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639
language code of the input. The language specified for languageCode' will be used when USE_CONFIGURED
is selected or when FOLLOW_INPUT is selected but there is no ISO 639 language code specified by the
input.AudioLanguageCodeControl
,
AudioLanguageCodeControl
AudioDescription.Builder languageCodeControl(AudioLanguageCodeControl languageCodeControl)
languageCodeControl
- Choosing FOLLOW_INPUT will cause the ISO 639 language code of the output to follow the ISO 639
language code of the input. The language specified for languageCode' will be used when USE_CONFIGURED
is selected or when FOLLOW_INPUT is selected but there is no ISO 639 language code specified by the
input.AudioLanguageCodeControl
,
AudioLanguageCodeControl
AudioDescription.Builder remixSettings(RemixSettings remixSettings)
remixSettings
- Advanced audio remixing settings.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). Alphanumeric characters, spaces, and underscore are legal.Copyright © 2019. All rights reserved.