Package com.amazonaws.ivs.broadcast
Class StageAudioConfiguration
- java.lang.Object
- 
- com.amazonaws.ivs.broadcast.StageAudioConfiguration
 
- 
 public class StageAudioConfiguration extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description StageAudioConfiguration()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenableNoiseSuppression(boolean enable)Setting this to true will enable noise suppression.intgetMaxBitrate()booleanisNoiseSuppressionEnabled()voidsetMaxBitrate(int maxBitrate)Sets the maximum bitrate for the publishing audio stream.
 
- 
- 
- 
Method Detail- 
getMaxBitratepublic int getMaxBitrate() - Returns:
- The maximum bitrate for the publishing audio stream. By default this is 64k.
 
 - 
setMaxBitratepublic void setMaxBitrate(int maxBitrate) Sets the maximum bitrate for the publishing audio stream. This value must be between 12k and 128k. If the provided bitrate falls outside this range, the bitrate will not be set and anIllegalArgumentExceptionwill be thrown.- Parameters:
- maxBitrate- the desired maximum bitrate
- Throws:
- java.lang.IllegalArgumentException- if bitrate is not valid
 
 - 
isNoiseSuppressionEnabledpublic boolean isNoiseSuppressionEnabled() - Returns:
- Whether noise suppression is enabled.
 
 - 
enableNoiseSuppressionpublic void enableNoiseSuppression(boolean enable) Setting this to true will enable noise suppression. By default this is true.- Parameters:
- enable- whether to enable noise suppression
 
 
- 
 
-