Interface Mp2Settings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Mp2Settings.Builder,
,Mp2Settings> SdkBuilder<Mp2Settings.Builder,
,Mp2Settings> SdkPojo
- Enclosing class:
Mp2Settings
@Mutable
@NotThreadSafe
public static interface Mp2Settings.Builder
extends SdkPojo, CopyableBuilder<Mp2Settings.Builder,Mp2Settings>
-
Method Summary
Modifier and TypeMethodDescriptionaudioDescriptionMix
(String audioDescriptionMix) Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair.audioDescriptionMix
(Mp2AudioDescriptionMix audioDescriptionMix) Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair.Specify the average bitrate in bits per second.Set Channels to specify the number of channels in this output audio track.sampleRate
(Integer sampleRate) Sample rate in Hz.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
audioDescriptionMix
Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NONE when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.- Parameters:
audioDescriptionMix
- Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NONE when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
audioDescriptionMix
Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NONE when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.- Parameters:
audioDescriptionMix
- Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NONE when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bitrate
Specify the average bitrate in bits per second.- Parameters:
bitrate
- Specify the average bitrate in bits per second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
Set Channels to specify the number of channels in this output audio track. Choosing Mono in will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.- Parameters:
channels
- Set Channels to specify the number of channels in this output audio track. Choosing Mono in will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleRate
Sample rate in Hz.- Parameters:
sampleRate
- Sample rate in Hz.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-